ترقية @nuxt/devtools-kit من 3.x إلى 4.x
مقارنة الواجهة العامة لـ @nuxt/devtools-kit بين 3.4.4 و4.0.0، محسوبة تلقائيًا من أنواع 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 · 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. |
تغييرات المتطلبات (engines واعتماديات peer)
| قبل | بعد | |
|---|---|---|
peerDependencies.nitro | — | * |
peerDependencies.@nuxt/kit | — | ^4.0.0-0 || ^5.0.0-0 |
peerDependencies.nitropack | — | ^2.0.0 |
صادرات جديدة (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 |
زوّد وكيل الذكاء الاصطناعي بهذه البيانات
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؟
عُلِّم 4 من الصادرات أو الأعضاء حديثًا على أنها موقوفة في @nuxt/devtools-kit 4.0.0.
للوكلاء
GET https://vigia.coredls.cloud/v1/packages/npm/@nuxt/devtools-kit/upgrade?from=3.4.4&to=4.0.0