Skip to content

chore: @nuxt/test-utils を 4.3.2 へ更新 - #31

Merged
dc7290 merged 1 commit into
mainfrom
chore/nuxt-test-utils-4.3.2
Oct 9, 2026
Merged

dc7290 merged 1 commit into
mainfrom
chore/nuxt-test-utils-4.3.2

Conversation

@cursor

@cursor cursor Bot commented Oct 9, 2026

Copy link
Copy Markdown

何をアップデートしたか

  • @nuxt/test-utils 4.2.0 → 4.3.2(devDependencies のレンジは ^4.0.0 から ^4.3.2)

まとめた理由

テスト用のパッケージ単体の更新です。Nuxt 本体や ESLint とは別にしています。ロックファイル上、vitest-environment-nuxt が要求する @nuxt/test-utils@^4.0.0 も同じ 4.3.2 に解決しています。

主な変更点と Breaking Changes

  • 4.3.0: unmockNuxtImport を追加。Vitest 5 をサポート。単純な非 Nuxt 構成でのテストパターンのデフォルトをネストさせる
  • 4.3.1: Vitest ^5 を peer dependency として許容
  • 4.3.2: vitest/environments の import が Rolldown で不透明になるよう修正

このリポジトリには @nuxt/test-utils を使ったテストがないため、テストコードの migration はありません。

4.3.3(2026-10-02 公開、約7日未満)は .npmrc の min-release-age=7 に合わせて見送っています。そのリリースでは vue が peer dependency に移り、対応する Nuxt バージョンが peer として宣言されます。

依存として vue@^3.5.42 が追加され、ロック上は Vue 3.5.43 です。これは test-utils 側の解決で、playground のビルドは引き続き Nuxt 4.5.2 経由の Vue 3.5.42 です。

Migration と設定変更

不要です。dependencies は変更していません。

検証

Node.js 24.20.0(このブランチの .tool-versions)上で実行し、すべて成功しました。

  • yarn install --frozen-lockfile
  • yarn dev:prepare
  • yarn lint
  • yarn dev:build(playground の production build。Nuxt 4.5.2 / Vue 3.5.42)
Open in Web View Automation 

Move the test utility to the latest 4.3 release that is at least 7 days
old. @nuxt/test-utils 4.3.3 is newer but still inside the release-age window.
@dc7290
dc7290 marked this pull request as ready for review October 9, 2026 04:05
@dc7290
dc7290 merged commit 554a9cc into main Oct 9, 2026
1 check passed
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