Skip to content

chore: bump vitest and @vitest/coverage-v8 to 4.1.12 - #21

Merged
YouheiNozaki merged 1 commit into
mainfrom
chore/update-vitest-4-1-12
Nov 6, 2026
Merged

YouheiNozaki merged 1 commit into
mainfrom
chore/update-vitest-4-1-12

Conversation

@cursor

@cursor cursor Bot commented Nov 6, 2026

Copy link
Copy Markdown

何をアップデートしたか

  • vitest: 4.1.11 → 4.1.12
  • @vitest/coverage-v8: 4.1.11 → 4.1.12

まとめた理由

テストフレームワークと、同一バージョンで配信される coverage プラグインなので一緒に更新しました。

主な変更点・Breaking Changes

Breaking Changes はありません(パッチのみ)。

4.1.12

  • @vitest/mocker の manual mock と redirect mock を硬化する backport
  • このリポジトリは browser mode や mocker プラグインを直接は使っていません

lockfile 上、vitest が依存する関連パッケージも範囲内で追従しています。

  • vite 8.2.2 → 8.3.5(vitest の依存。GHSA 対象だった 8.2.2 を離れる)
  • source-map-js 1.2.1 → 1.2.2(GHSA-68fv-2mgg-jv7q)
  • rolldown 1.2.7 → 1.2.16、postcss 8.5.26 → 8.5.32、chai 6.2.2 → 6.3.0 など

参考: https://github.com/vitest-dev/vitest/releases/tag/v4.1.12

Migration ・設定変更

  • なし
  • Vitest 5 は Node.js 20 を engines から外し、Breaking Changes が多いためこの PR には含めていません。另途見送りです

検証

  • Node.js 22.23.4 / npm 10.9.9 で npm ci 後に確認
  • npx vitest run: 7 files / 25 tests すべて成功
  • npx vitest run --coverage: 25 tests 成功(coverage-v8 4.1.12)
  • npm run build: 成功(DTS rollup 含む)
  • Lint ・型チェック専用スクリプトはリポジトリにありません。型生成は npm run build の experimentalDts で確認しました
Open in Web View Automation 

Pick up the v4 backport that hardens @vitest/mocker against unauthenticated mock registration and a Windows redirect bypass.
@vercel

vercel Bot commented Nov 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
microcms-rich-editor-handler Ready Ready Preview Nov 6, 2026 1:10am UTC

Request Review

@nemuvski
nemuvski marked this pull request as ready for review November 6, 2026 07:02
@YouheiNozaki
YouheiNozaki merged commit 4ab6673 into main Nov 6, 2026
14 checks passed
@YouheiNozaki
YouheiNozaki deleted the chore/update-vitest-4-1-12 branch November 6, 2026 08:35

This branch was successfully deployed

1 active deployment
Preview — 2e147d71 Deployed Nov 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants