Skip to content

chore(deps-dev): Bump @vitest/coverage-v8 from 4.1.8 to 4.1.9 - #78

Merged
tomio2480 merged 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9
Aug 12, 2026
Merged

tomio2480 merged 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 21, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @vitest/coverage-v8 from 4.1.8 to 4.1.9.

Release notes

Sourced from @​vitest/coverage-v8's releases.

v4.1.9

🐞 Bug Fixes

View changes on GitHub
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 4.1.8 to 4.1.9.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.9/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 21, 2026
@tomio2480
tomio2480 merged commit 2ddfc79 into main Aug 12, 2026
1 check passed
@tomio2480
tomio2480 deleted the dependabot/npm_and_yarn/vitest/coverage-v8-4.1.9 branch August 12, 2026 14:59
tomio2480 added a commit that referenced this pull request Nov 26, 2026
npm の更新が 1 パッケージ 1 PR に分かれ,連動すべき版の食い違いが繰り返し起きている.

- @php-wasm は 2 度ずれた.
  1 度目は #75(web-8-4)と #76(web)が別々にマージされ,#84 で揃えた.
  2 度目は #91(web 3.1.49)と #93(universal 3.1.52)で,main に残っている.
  web と web-8-4 は universal を完全一致で要求する.
  このため lockfile に universal が 3.1.48・3.1.49・3.1.52 の 3 版並ぶ.
  src は web-8-4 を直接 import しないので,バンドルに入るのは 2 版である.
  本番ビルドで「Runtime with id 1 not found」が出て,PHP の初期化に失敗する.
  main(877fa4e)を build し,vite preview で市区町村を選んで再現した.
- vitest は #78(coverage-v8 4.1.9)と #79(vitest 4.1.10)が別々にマージされた.
  coverage-v8 の peerDependencies は vitest 本体と完全一致を要求する.
  main は coverage-v8 4.1.9・vitest 4.1.10 で食い違い,test:coverage で警告が出る.
  未マージの #104 も coverage-v8 だけを 5.0.0 へ上げる.

groups で両系統をそれぞれ 1 PR にまとめ,片方だけ上がる状態を防ぐ.

ただし groups は applies-to を省くと version updates にだけ効く.
公式 docs の dependabot-options-reference に次の記載がある.
「When undefined, defaults to version updates.」
security updates では従来どおり 1 パッケージ 1 PR になる.
本リポジトリは automated-security-fixes が無効のため,現時点で影響はない.
有効にする際の注意を dependabot.yml のコメントに残した.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
tomio2480 added a commit that referenced this pull request Nov 26, 2026
Dependabot の #104 は @vitest/coverage-v8 だけを 5.0.0 へ上げる.
coverage-v8 5.0.0 の peerDependencies は vitest 5.0.0 を要求する.
本体の vitest は 4.1.10 のまま残るため,test:coverage が
「coverageFilesDirectory is required」で 13 件の未処理エラーを出して失敗する.
deploy.yml は pnpm test しか実行しないため,CI では検出されない.

main では #78(coverage-v8 4.1.9)と #79(vitest 4.1.10)を別々にマージしたため,
すでに版が食い違っている.test:coverage の実行時には混在の警告が出る.
#116 で今後の Dependabot は両者を 1 PR にまとめるが,既存の食い違いは残る.
両パッケージを同じ版(5.1.1)へ揃えて上げ,どちらの食い違いも解消する.

vitest 5.1.1 は次を要求する.本リポジトリの構成(CI の Node.js 26・Vite 8)は満たす.
- engines: Node.js ^22.12.0 || ^24.0.0 || >=26.0.0
- peerDependencies: vite ^6.4.0 || ^7.0.0 || ^8.0.0
Node.js 22.0〜22.11・23 系・25 系は範囲外となる.
README の前提(#117 で Node.js 24.18 以上)のうち,25 系だけが外れる.

v5.0.0 のリリースノートには挙動の変更もある.
各テスト前の mock の clear の既定化と,await しない非同期アサーションの失敗化である.
どちらも 128 件のテストがすべて成功し,影響はなかった.
非推奨エントリポイントの削除・sequential オプションの削除も影響しない.
src は vitest のサブパスを import せず,sequential も使っていない.
vite.config.ts が参照する vitest/config は v5 でも提供されている.

本変更で,次の Medium の advisory の範囲から外れる.
- GHSA-82fw-gwwq-j7x9(CVE-2026-84373): redirect mock 経由のパストラバーサル.
  vitest と @vitest/mocker の 4.1.11 未満が対象(Dependabot alert 20・21)
- GHSA-qxg6-89mg-rqv8(CVE-2026-112949): 認証のない manual mock 登録によるコード注入.
  @vitest/mocker の 4.1.12 未満と 5.0.3 未満の 5 系が対象(Dependabot alert 37)
pnpm audit の moderate は 11 件から 8 件に減り,high の 8 件は変わらない.

main(d8e2eeb)を基点に,Windows(Node.js 26.13.1・pnpm 11.5.0)で次を確認した.
- CI=true で node_modules を消してから pnpm install --frozen-lockfile が成功し,
  pnpm-lock.yaml が書き換わらない
- pnpm test: 13 files / 128 tests 成功
- pnpm build(tsc -b && vite build)成功.dist は main と 87 ファイルすべて同一
- pnpm run test:coverage 成功(カバレッジ値は main と同一,混在の警告は消える)
- vite preview で市町村を選ぶと 4 指標の集計が表示され,コンソールにエラーは出ない
- lock で追加した 19 パッケージの integrity は npm レジストリの値と一致する

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tomio2480 added a commit that referenced this pull request Nov 26, 2026
Dependabot の #104 は @vitest/coverage-v8 だけを 5.0.0 へ上げる.
coverage-v8 5.0.0 の peerDependencies は vitest 5.0.0 を要求する.
本体の vitest は 4.1.10 のまま残るため,test:coverage が
「coverageFilesDirectory is required」で 13 件の未処理エラーを出して失敗する.
deploy.yml は pnpm test しか実行しないため,CI では検出されない.

main では #78(coverage-v8 4.1.9)と #79(vitest 4.1.10)を別々にマージしたため,
すでに版が食い違っている.test:coverage の実行時には混在の警告が出る.
#116 で今後の Dependabot は両者を 1 PR にまとめるが,既存の食い違いは残る.
両パッケージを同じ版(5.1.1)へ揃えて上げ,どちらの食い違いも解消する.

vitest 5.1.1 は次を要求する.本リポジトリの構成(CI の Node.js 26・Vite 8)は満たす.
- engines: Node.js ^22.12.0 || ^24.0.0 || >=26.0.0
- peerDependencies: vite ^6.4.0 || ^7.0.0 || ^8.0.0
Node.js 22.0〜22.11・23 系・25 系は範囲外となる.
README の前提(#117 で Node.js 24.18 以上)のうち,25 系だけが外れる.

v5.0.0 のリリースノートには挙動の変更もある.
各テスト前の mock の clear の既定化と,await しない非同期アサーションの失敗化である.
どちらも 128 件のテストがすべて成功し,影響はなかった.
非推奨エントリポイントの削除・sequential オプションの削除も影響しない.
src は vitest のサブパスを import せず,sequential も使っていない.
vite.config.ts が参照する vitest/config は v5 でも提供されている.

本変更で,次の Medium の advisory の範囲から外れる.
- GHSA-82fw-gwwq-j7x9(CVE-2026-84373): redirect mock 経由のパストラバーサル.
  vitest と @vitest/mocker の 4.1.11 未満が対象(Dependabot alert 20・21)
- GHSA-qxg6-89mg-rqv8(CVE-2026-112949): 認証のない manual mock 登録によるコード注入.
  @vitest/mocker の 4.1.12 未満と 5.0.3 未満の 5 系が対象(Dependabot alert 37)
pnpm audit の moderate は 11 件から 8 件に減り,high の 8 件は変わらない.

main(d8e2eeb)を基点に,Windows(Node.js 26.13.1・pnpm 11.5.0)で次を確認した.
- CI=true で node_modules を消してから pnpm install --frozen-lockfile が成功し,
  pnpm-lock.yaml が書き換わらない
- pnpm test: 13 files / 128 tests 成功
- pnpm build(tsc -b && vite build)成功.dist は main と 87 ファイルすべて同一
- pnpm run test:coverage 成功(カバレッジ値は main と同一,混在の警告は消える)
- vite preview で市町村を選ぶと 4 指標の集計が表示され,コンソールにエラーは出ない
- lock で追加した 19 パッケージの integrity は npm レジストリの値と一致する

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant