Repository navigation
fix(deps): vite を 8.1.6 に上げて high 脆弱性を解消する - #42
Merged
Merged
Conversation
GHSA-587h-7wmj-h5pm (launch-editor の fs.existsSync 存在チェックが Windows で回避できる) が vite <=8.1.5 でも high として検出される ようになった。 vite は直接 devDependency なので、override ではなく package.json の 固定バージョンを修正版の下限である 8.1.6 へ上げる。vitest が使う vite もこの解決結果に揃うため、追加の override は要らない。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
2026-10-20 に公開された GHSA-587h-7wmj-h5pm により、既存の lockfile が
pnpm auditの high に該当するようになった。lockfile を変えていないNode 更新 PR (#41) の CI が落ちているのはこれが原因で、Node の変更とは
無関係である。
検出内容
vite>=8.0.0 <=8.1.5>=8.1.6.>vite(直接依存) および.>@vitest/coverage-v8>vitest>@vitest/mocker>vite変更内容
viteは直接 devDependency なので、override ではなくpackage.jsonの固定バージョンを修正版の下限である 8.1.6 へ上げた。
vitestが使うviteもこの解決結果に揃うため、追加の override は要らない。Dependabot の #40 との関係
同じ
vite8.1.6 への更新を Dependabot が #40 で出しているが、あちらのCI は次のエラーで落ちている。
Dependabot は lockfile を自前の解決で作るため、このリポジトリの
minimumReleaseAge: 10080を満たさないpostcssを引き込んでいる。postcssの override (postcss@<8.5.18: '>=8.5.18') に上限がないことが効いている。
この PR では pnpm 11.28.5 でポリシーを有効にしたまま lockfile を再生成
したので、
postcssは条件を満たす 8.5.30 に落ち着いている。#40 はこの PR で用意できているため、閉じてよい。
含まれるコミット
fix(deps): vite を 8.1.6 に上げて high 脆弱性を解消する検証
ローカル (Node v24.14.1 / pnpm 11.28.5) で実施した。
pnpm install --frozen-lockfile— 通るpnpm audit— exit 0 (No known vulnerabilities found)pnpm lint/pnpm test:vitest/pnpm build— 通る🤖 Generated with Claude Code