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 importu | 3 |
|---|---|
| Usunięte eksporty | 0 |
| Zmienione sygnatury | 1 |
| Usunięte składowe klas lub interfejsów | 0 |
| Zmienione składowe klas lub interfejsów | 0 |
| Nowo wycofane | 4 |
| Zmiany wymagań (engines, zależności peer) | 3 |
| Nowe eksporty | 15 |
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
| export | Przed | Po |
|---|---|---|
@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 · addCustomTab | Register 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 · extendServerRpc | Register 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 · startSubprocess | Use 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 · refreshCustomTabs | Update 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)
| Przed | Po | |
|---|---|---|
peerDependencies.nitro | — | * |
peerDependencies.@nuxt/kit | — | ^4.0.0-0 || ^5.0.0-0 |
peerDependencies.nitropack | — | ^2.0.0 |
Nowe eksporty (15)
| import | export | kind |
|---|---|---|
@nuxt/devtools-kit | deprecate | function |
@nuxt/devtools-kit | diagnosticCodes | variable |
@nuxt/devtools-kit | onDevtoolsReady | function |
@nuxt/devtools-kit | DeprecateOptions | interface |
@nuxt/devtools-kit | DeprecationParams | interface |
@nuxt/devtools-kit | defineDiagnostics | variable |
@nuxt/devtools-kit | deprecateWithNuxt | function |
@nuxt/devtools-kit | NuxtDiagnosticCode | type |
@nuxt/devtools-kit | consoleDiagnostics | variable |
@nuxt/devtools-kit | diagnosticsDocsBase | function |
@nuxt/devtools-kit | StartSubprocessReturn | interface |
@nuxt/devtools-kit | createConsoleReporter | variable |
@nuxt/devtools-kit | NUXT_DEVTOOLS_GROUP_ID | variable |
@nuxt/devtools-kit | registerHostDiagnostics | function |
@nuxt/devtools-kit | defineStandaloneDiagnostics | function |
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