Skip to content

fix(deps): update vitest to 4.1.12 and vite to 8.1.6 - #24

Merged
furedea merged 1 commit into
mainfrom
fix/vitest-advisories
Oct 22, 2026
Merged

furedea merged 1 commit into
mainfrom
fix/vitest-advisories

Conversation

@furedea-agent

@furedea-agent furedea-agent Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

概要

Dependabot が報告した vitest / vite の脆弱性を修正するため,依存を更新する.

背景

  • @vitest/mocker 4.1.11: 認証なしの手動モック登録によるコードインジェクションと,Windows のバックスラッシュによるパストラバーサル.4.1.12 で修正済み.
  • vite 8.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 が成功.
  • lock の @vitest/mocker は 4.1.12,vite は 8.1.6.

🤖 Generated with Claude Code

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>
@furedea
furedea merged commit 8845f4d into main Oct 22, 2026
11 checks passed
@furedea
furedea deleted the fix/vitest-advisories branch October 22, 2026 15:34
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.

1 participant