@nuxt/cli-nightly 3.31.2-20251208-101820-c12ef7d → 3.31.3-20251217-100503-2260a93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -187,7 +187,7 @@ function routeToRegExp(route = "/") {
187
187
  }
188
188
 
189
189
  //#endregion
190
- //#region ../../node_modules/.pnpm/h3@2.0.1-rc.5_crossws@0.4.1_srvx@0.9.7_/node_modules/h3/dist/h3.mjs
190
+ //#region ../../node_modules/.pnpm/h3@2.0.1-rc.6_crossws@0.4.1_srvx@0.9.8_/node_modules/h3/dist/h3.mjs
191
191
  const kEventNS = "h3.internal.event.";
192
192
  const kEventRes = /* @__PURE__ */ Symbol.for(`${kEventNS}res`);
193
193
  const kEventResHeaders = /* @__PURE__ */ Symbol.for(`${kEventNS}res.headers`);
@@ -369,6 +369,7 @@ function prepareResponse(val, event, config, nested) {
369
369
  }
370
370
  const preparedRes = event[kEventRes];
371
371
  const preparedHeaders = preparedRes?.[kEventResHeaders];
372
+ event[kEventRes] = void 0;
372
373
  if (!(val instanceof Response)) {
373
374
  const res = prepareResponseBody(val, event, config);
374
375
  const status = res.status || preparedRes?.status;
package/dist/index.mjs CHANGED
@@ -14,14 +14,14 @@ import tab from "@bomb.sh/tab/citty";
14
14
  const _rDefault = (r) => r.default || r;
15
15
  const commands = {
16
16
  add: () => import("./add-BRBkCPhK.mjs").then(_rDefault),
17
- analyze: () => import("./analyze-C5qqTkhe.mjs").then(_rDefault),
17
+ analyze: () => import("./analyze-CgRSg6Om.mjs").then(_rDefault),
18
18
  build: () => import("./build-BrNcO3Nf.mjs").then(_rDefault),
19
19
  cleanup: () => import("./cleanup-DKZcEgpd.mjs").then(_rDefault),
20
20
  _dev: () => import("./dev-child-DzglMUJH.mjs").then(_rDefault),
21
21
  dev: () => import("./dev-DzDtIj6D.mjs").then(_rDefault),
22
22
  devtools: () => import("./devtools-ChsGaImC.mjs").then(_rDefault),
23
23
  generate: () => import("./generate-E-Rug7g3.mjs").then(_rDefault),
24
- info: () => import("./info-D6cKlhLg.mjs").then(_rDefault),
24
+ info: () => import("./info-Bapw9nrN.mjs").then(_rDefault),
25
25
  init: () => import("./init-cKyx2_WR.mjs").then(_rDefault),
26
26
  module: () => import("./module-DgpPOW_T.mjs").then(_rDefault),
27
27
  prepare: () => import("./prepare-DKLHAJCM.mjs").then(_rDefault),
@@ -66,7 +66,7 @@ async function checkEngines() {
66
66
  //#endregion
67
67
  //#region package.json
68
68
  var name = "@nuxt/cli-nightly";
69
- var version = "3.31.2-20251208-101820-c12ef7d";
69
+ var version = "3.31.3-20251217-100503-2260a93";
70
70
  var description = "Nuxt CLI";
71
71
 
72
72
  //#endregion
@@ -17,7 +17,7 @@ import { copy } from "copy-paste";
17
17
  import { detectPackageManager } from "nypm";
18
18
 
19
19
  //#region ../nuxi/package.json
20
- var version = "3.31.2-20251208-101817-c12ef7d";
20
+ var version = "3.31.3-20251217-100450-2260a93";
21
21
 
22
22
  //#endregion
23
23
  //#region ../nuxi/src/commands/info.ts
@@ -89,8 +89,7 @@ var info_default = defineCommand({
89
89
  });
90
90
  let copyStr = `| ${" ".repeat(firstColumnLength)} | ${" ".repeat(secondColumnLength)} |\n| ${"-".repeat(firstColumnLength)} | ${"-".repeat(secondColumnLength)} |\n`;
91
91
  for (const [label, value] of entries) if (!isMinimal) copyStr += `| ${`**${label}**`.padEnd(firstColumnLength)} | ${(value.includes("`") ? value : `\`${value}\``).padEnd(secondColumnLength)} |\n`;
92
- const copied = !isMinimal && await new Promise((resolve$1) => copy(copyStr, (err) => resolve$1(!err)));
93
- box(`\n${boxStr}`, ` Nuxt project info ${copied ? colors.gray("(copied to clipboard) ") : ""}`, {
92
+ if (!isMinimal && await new Promise((resolve$1) => copy(copyStr, (err) => resolve$1(!err)))) box(`\n${boxStr}`, ` Nuxt project info ${colors.gray("(copied to clipboard) ")}`, {
94
93
  contentAlign: "left",
95
94
  titleAlign: "left",
96
95
  width: "auto",
@@ -98,6 +97,7 @@ var info_default = defineCommand({
98
97
  contentPadding: 2,
99
98
  rounded: true
100
99
  });
100
+ else logger.info(`Nuxt project info:\n${copyStr}`, { withGuide: false });
101
101
  const isNuxt3 = !isLegacy;
102
102
  const isBridge = !isNuxt3 && infoObj["Build modules"]?.includes("bridge");
103
103
  const repo = isBridge ? "nuxt/bridge" : "nuxt/nuxt";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/cli-nightly",
3
3
  "type": "module",
4
- "version": "3.31.2-20251208-101820-c12ef7d",
4
+ "version": "3.31.3-20251217-100503-2260a93",
5
5
  "description": "Nuxt CLI",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -33,8 +33,8 @@
33
33
  "prepack": "tsdown"
34
34
  },
35
35
  "dependencies": {
36
- "@bomb.sh/tab": "^0.0.9",
37
- "@clack/prompts": "1.0.0-alpha.7",
36
+ "@bomb.sh/tab": "^0.0.10",
37
+ "@clack/prompts": "1.0.0-alpha.8",
38
38
  "c12": "^3.3.2",
39
39
  "citty": "^0.1.6",
40
40
  "confbox": "^0.2.2",
@@ -55,25 +55,25 @@
55
55
  "pkg-types": "^2.3.0",
56
56
  "scule": "^1.3.0",
57
57
  "semver": "^7.7.3",
58
- "srvx": "^0.9.7",
58
+ "srvx": "^0.9.8",
59
59
  "std-env": "^3.10.0",
60
60
  "tinyexec": "^1.0.2",
61
61
  "ufo": "^1.6.1",
62
62
  "youch": "^4.1.0-beta.13"
63
63
  },
64
64
  "devDependencies": {
65
- "@nuxt/kit": "^4.2.1",
66
- "@nuxt/schema": "^4.2.1",
65
+ "@nuxt/kit": "^4.2.2",
66
+ "@nuxt/schema": "^4.2.2",
67
67
  "@types/debug": "^4.1.12",
68
- "@types/node": "^24.10.1",
68
+ "@types/node": "^24.10.4",
69
69
  "get-port-please": "^3.2.0",
70
70
  "h3": "^1.15.4",
71
- "h3-next": "npm:h3@^2.0.1-rc.5",
71
+ "h3-next": "npm:h3@^2.0.1-rc.6",
72
72
  "nitro": "^3.0.1-alpha.1",
73
73
  "nitropack": "^2.12.9",
74
- "rollup": "^4.53.3",
74
+ "rollup": "^4.53.4",
75
75
  "rollup-plugin-visualizer": "^6.0.5",
76
- "tsdown": "^0.17.1",
76
+ "tsdown": "^0.18.0",
77
77
  "typescript": "^5.9.3",
78
78
  "undici": "^7.16.0",
79
79
  "unplugin-purge-polyfills": "^0.1.0",