Vigia

@nuxt/devtools-kit を 3.x から 4.x へアップグレード

@nuxt/devtools-kit 3.4.4 と 4.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス3
削除されたエクスポート0
変更されたシグネチャ1
削除されたクラス/インターフェースのメンバー0
変更されたクラス/インターフェースのメンバー0
新たに非推奨4
要件の変更(engines、peer 依存関係)3
新しいエクスポート15

削除されたインポートパス

削除されたインポートパス
@nuxt/devtools-kit/types
@nuxt/devtools-kit/host-client
@nuxt/devtools-kit/iframe-client

削除されたエクスポート

検出されませんでした。

変更されたシグネチャ

export変更前変更後
@nuxt/devtools-kit · startSubprocess(execaOptions: SubprocessOptions, tabOptions: TerminalState, nuxt?: any): { getProcess: () => ExecaChildProcess<string>; terminate: () => void; restart: () => void; clear: () => void; }(execaOptions: SubprocessOptions, tabOptions: TerminalState, nuxt?: any): StartSubprocessReturn

削除されたクラス/インターフェースのメンバー

検出されませんでした。

変更されたクラス/インターフェースのメンバー

検出されませんでした。

新たに非推奨

export@deprecated
@nuxt/devtools-kit · addCustomTabRegister a dock entry from the `devtools:ready` hook instead: `onDevtoolsReady((ctx) => ctx.docks.register(...))`. Still works as a shim, but emits the `NDT_DEP_0005` deprecation diagnostic. Note the docks host does not yet cover `vnode` views or tab categories.
@nuxt/devtools-kit · extendServerRpcRegister RPC functions from the `devtools:ready` hook instead: `onDevtoolsReady((ctx) => ctx.rpc.register(defineRpcFunction(...)))`. Still works as a shim, but emits the `NDT_DEP_0003` deprecation diagnostic.
@nuxt/devtools-kit · startSubprocessUse the Vite DevTools terminals host from the `devtools:ready` hook instead: `onDevtoolsReady((ctx) => ctx.terminals.startChildProcess(...))`. Still works as a shim, but emits the `NDT_DEP_0004` deprecation diagnostic.
@nuxt/devtools-kit · refreshCustomTabsUpdate dock entries directly via the handle returned by `ctx.docks.register(...)` inside the `devtools:ready` hook. Still works as a shim, but emits the `NDT_DEP_0006` deprecation diagnostic.

要件の変更(engines、peer 依存関係)

変更前変更後
peerDependencies.nitro—*
peerDependencies.@nuxt/kit—^4.0.0-0 || ^5.0.0-0
peerDependencies.nitropack—^2.0.0
新しいエクスポート (15)
importexportkind
@nuxt/devtools-kitdeprecatefunction
@nuxt/devtools-kitdiagnosticCodesvariable
@nuxt/devtools-kitonDevtoolsReadyfunction
@nuxt/devtools-kitDeprecateOptionsinterface
@nuxt/devtools-kitDeprecationParamsinterface
@nuxt/devtools-kitdefineDiagnosticsvariable
@nuxt/devtools-kitdeprecateWithNuxtfunction
@nuxt/devtools-kitNuxtDiagnosticCodetype
@nuxt/devtools-kitconsoleDiagnosticsvariable
@nuxt/devtools-kitdiagnosticsDocsBasefunction
@nuxt/devtools-kitStartSubprocessReturninterface
@nuxt/devtools-kitcreateConsoleReportervariable
@nuxt/devtools-kitNUXT_DEVTOOLS_GROUP_IDvariable
@nuxt/devtools-kitregisterHostDiagnosticsfunction
@nuxt/devtools-kitdefineStandaloneDiagnosticsfunction

このデータを AI エージェントに渡す

Vigia は無料の MCP サーバーです。コーディングエージェントがコードを書く前に、バージョン・破壊的変更・脆弱性を確認できます。登録も API キーも不要です。

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Cursor に追加VS Code に追加★ GitHub でスターを付ける

その他の MCP クライアント
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

エージェント用スキル (SKILL.md):Vigia を使うタイミングをエージェントに伝えます · プルリクエスト用 GitHub Action

よくある質問

@nuxt/devtools-kit を 3 から 4 にアップグレードする際の破壊的変更は?

@nuxt/devtools-kit 3.4.4 と 4.0.0 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 1 件、削除または変更されたクラス/インターフェースのメンバーを 0 件検出しました。

@nuxt/devtools-kit 4 で非推奨になったものは?

@nuxt/devtools-kit 4.0.0 では 4 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

GET https://vigia.coredls.cloud/v1/packages/npm/@nuxt/devtools-kit/upgrade?from=3.4.4&to=4.0.0