Repository navigation
fix(deps): update vitest to 4.1.12 and vite to 8.1.6 - #24
Merged
Merged
Conversation
Fix the @vitest/mocker advisories (code injection via unauthenticated manual mock registration, Windows backslash traversal) and the vite launch-editor and server.fs.allow advisories. vite was an auto-installed peer at 8.0.16, so pin it explicitly as a devDependency. Co-Authored-By: Claude Sonnet 5.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.
概要
Dependabot が報告した vitest / vite の脆弱性を修正するため,依存を更新する.
背景
@vitest/mocker4.1.11: 認証なしの手動モック登録によるコードインジェクションと,Windows のバックスラッシュによるパストラバーサル.4.1.12 で修正済み.vite8.0.16: launch-editor の advisory とserver.fs.allowの advisory.8.1.6 で修正済み.変更内容
vitestを 4.1.11 から 4.1.12 に更新(@vitest/mockerも 4.1.12 になる).viteは vitest の peer として自動的に 8.0.16 が入っていたため,devDependency として 8.1.6 を固定で明示.pnpm-lock.yamlを更新.minimumReleaseAgeの設定は変更していない(公開から 7 日経過後に実行).確認
pnpm run check(format,lint,typecheck,test,knip)が成功.lefthook run pre-commit --all-filesが成功.@vitest/mockerは 4.1.12,viteは 8.1.6.🤖 Generated with Claude Code