diff --git a/knip.json b/knip.json index 2c2ff59a3..f7b3fe475 100644 --- a/knip.json +++ b/knip.json @@ -29,12 +29,10 @@ "test/fixtures/*" ], "ignoreDependencies": [ - "@types/debug", "@bomb.sh/tab", "@clack/prompts", "c12", "confbox", - "debug", "defu", "exsolve", "fuse.js", @@ -46,6 +44,7 @@ "nitropack", "nypm", "ofetch", + "obug", "ohash", "pathe", "perfect-debounce", diff --git a/packages/nuxi/package.json b/packages/nuxi/package.json index 4e44b92f8..0c688687f 100644 --- a/packages/nuxi/package.json +++ b/packages/nuxi/package.json @@ -38,14 +38,12 @@ "@nuxt/kit": "^4.4.6", "@nuxt/schema": "^4.4.6", "@nuxt/test-utils": "^4.0.3", - "@types/debug": "^4.1.13", "@types/node": "^24.13.3", "@types/semver": "^7.7.1", "c12": "^3.3.4", "citty": "^0.2.2", "confbox": "^0.2.4", "consola": "^3.4.2", - "debug": "^4.4.3", "defu": "^6.1.7", "exsolve": "^1.1.0", "fuse.js": "^7.4.2", @@ -59,6 +57,7 @@ "nitro": "^3.0.1-alpha.2", "nitropack": "^2.13.4", "nypm": "^0.6.8", + "obug": "^2.1.1", "ofetch": "^1.5.1", "ohash": "^2.0.11", "pathe": "^2.0.3", diff --git a/packages/nuxi/src/utils/logger.ts b/packages/nuxi/src/utils/logger.ts index 00eb78182..a69f00dbd 100644 --- a/packages/nuxi/src/utils/logger.ts +++ b/packages/nuxi/src/utils/logger.ts @@ -1,5 +1,5 @@ import { log } from '@clack/prompts' -import createDebug from 'debug' +import { createDebug } from 'obug' export const logger = log export const debug = createDebug('nuxi') diff --git a/packages/nuxt-cli/package.json b/packages/nuxt-cli/package.json index a62cd1b24..562e00004 100644 --- a/packages/nuxt-cli/package.json +++ b/packages/nuxt-cli/package.json @@ -47,7 +47,6 @@ "citty": "^0.2.2", "confbox": "^0.2.4", "consola": "^3.4.2", - "debug": "^4.4.3", "defu": "^6.1.7", "exsolve": "^1.1.0", "fuse.js": "^7.4.2", @@ -56,6 +55,7 @@ "jiti": "^2.7.0", "listhen": "^1.10.0", "nypm": "^0.6.8", + "obug": "^2.1.1", "ofetch": "^1.5.1", "ohash": "^2.0.11", "pathe": "^2.0.3", @@ -73,7 +73,6 @@ "devDependencies": { "@nuxt/kit": "^4.4.6", "@nuxt/schema": "^4.4.6", - "@types/debug": "^4.1.13", "@types/node": "^24.13.3", "get-port-please": "^3.2.0", "h3": "^1.15.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cfc07b587..3a6a359f5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -130,9 +130,6 @@ importers: '@nuxt/test-utils': specifier: ^4.0.3 version: 4.0.3(crossws@0.4.5(srvx@0.11.22))(magicast@0.5.3)(typescript@6.0.3)(vite@7.3.3(@types/node@24.13.3)(jiti@2.7.0)(terser@5.46.2)(yaml@2.9.0))(vitest@4.1.10) - '@types/debug': - specifier: ^4.1.13 - version: 4.1.13 '@types/node': specifier: ^24.13.3 version: 24.13.3 @@ -151,9 +148,6 @@ importers: consola: specifier: ^3.4.2 version: 3.4.2 - debug: - specifier: ^4.4.3 - version: 4.4.3 defu: specifier: ^6.1.7 version: 6.1.7 @@ -193,6 +187,9 @@ importers: nypm: specifier: ^0.6.8 version: 0.6.8 + obug: + specifier: ^2.1.1 + version: 2.1.3 ofetch: specifier: ^1.5.1 version: 1.5.1 @@ -271,9 +268,6 @@ importers: consola: specifier: ^3.4.2 version: 3.4.2 - debug: - specifier: ^4.4.3 - version: 4.4.3 defu: specifier: ^6.1.7 version: 6.1.7 @@ -298,6 +292,9 @@ importers: nypm: specifier: ^0.6.8 version: 0.6.8 + obug: + specifier: ^2.1.1 + version: 2.1.3 ofetch: specifier: ^1.5.1 version: 1.5.1 @@ -344,9 +341,6 @@ importers: '@nuxt/schema': specifier: 4.4.6 version: 4.4.6 - '@types/debug': - specifier: ^4.1.13 - version: 4.1.13 '@types/node': specifier: ^24.13.3 version: 24.13.3