Vigia

Aktualizacja @nuxt/devtools-kit z 3.x do 4.x

Porównanie publicznego API @nuxt/devtools-kit 3.4.4 i 4.0.0, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.

Podsumowanie

Usunięte ścieżki importu3
Usunięte eksporty0
Zmienione sygnatury1
Usunięte składowe klas lub interfejsów0
Zmienione składowe klas lub interfejsów0
Nowo wycofane4
Zmiany wymagań (engines, zależności peer)3
Nowe eksporty15

Usunięte ścieżki importu

Usunięte ścieżki importu
@nuxt/devtools-kit/types
@nuxt/devtools-kit/host-client
@nuxt/devtools-kit/iframe-client

Usunięte eksporty

Nie wykryto.

Zmienione sygnatury

exportPrzedPo
@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

Usunięte składowe klas lub interfejsów

Nie wykryto.

Zmienione składowe klas lub interfejsów

Nie wykryto.

Nowo wycofane

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.

Zmiany wymagań (engines, zależności peer)

PrzedPo
peerDependencies.nitro—*
peerDependencies.@nuxt/kit—^4.0.0-0 || ^5.0.0-0
peerDependencies.nitropack—^2.0.0
Nowe eksporty (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

Przekaż te dane swojemu agentowi AI

Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.

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

Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie

Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów

Najczęściej zadawane pytania

Jakie są zmiany niekompatybilne przy aktualizacji @nuxt/devtools-kit z 3 do 4?

Między @nuxt/devtools-kit 3.4.4 a 4.0.0 Vigia znalazła 0 usuniętych eksportów, 1 zmienionych sygnatur i 0 usuniętych lub zmienionych składowych klas lub interfejsów.

Co zostało wycofane w @nuxt/devtools-kit 4?

4 eksportów lub składowych oznaczono w @nuxt/devtools-kit 4.0.0 jako wycofane.

Dla agentów

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