@nuxt/cli-nightly 3.32.0-20260106-124311-8928d35 → 3.32.1-20260119-102022-362ab3a

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.
@@ -190,7 +190,7 @@ function routeToRegExp(route = "/") {
190
190
  }
191
191
 
192
192
  //#endregion
193
- //#region ../../node_modules/.pnpm/h3@2.0.1-rc.7_crossws@0.4.1_srvx@0.10.0_/node_modules/h3/dist/h3.mjs
193
+ //#region ../../node_modules/.pnpm/h3@2.0.1-rc.8_crossws@0.4.1_srvx@0.10.0_/node_modules/h3/dist/h3.mjs
194
194
  const kEventNS = "h3.internal.event.";
195
195
  const kEventRes = /* @__PURE__ */ Symbol.for(`${kEventNS}res`);
196
196
  const kEventResHeaders = /* @__PURE__ */ Symbol.for(`${kEventNS}res.headers`);
@@ -289,7 +289,6 @@ var HTTPError = class HTTPError$1 extends Error {
289
289
  ].filter(Boolean).join(" ");
290
290
  super(message, { cause: details });
291
291
  this.cause = details;
292
- Error.captureStackTrace?.(this, this.constructor);
293
292
  this.status = status;
294
293
  this.statusText = statusText || void 0;
295
294
  const rawHeaders = details?.headers || (details?.cause)?.headers;
@@ -34,8 +34,14 @@ function showVersionsFromConfig(cwd, config) {
34
34
  const vueVersion = getPkgVersion(cwd, "vue") || null;
35
35
  logger.info(green(`Nuxt ${bold(nuxtVersion)}`) + gray(" (with ") + (nitroVersion ? gray(`Nitro ${bold(nitroVersion)}`) : "") + gray(`, ${builder.name} ${bold(builder.version)}`) + (vueVersion ? gray(` and Vue ${bold(vueVersion)}`) : "") + gray(")"));
36
36
  }
37
- async function showVersions(cwd, kit) {
38
- return showVersionsFromConfig(cwd, await kit.loadNuxtConfig({ cwd }));
37
+ async function showVersions(cwd, kit, dotenv) {
38
+ return showVersionsFromConfig(cwd, await kit.loadNuxtConfig({
39
+ cwd,
40
+ dotenv: dotenv ? {
41
+ cwd,
42
+ fileName: dotenv
43
+ } : void 0
44
+ }));
39
45
  }
40
46
 
41
47
  //#endregion
@@ -3,7 +3,7 @@ import { n as logger } from "./logger-B4ge7MhP.mjs";
3
3
  import { t as overrideEnv } from "./env-BRiVSJMz.mjs";
4
4
  import { t as loadKit } from "./kit-4LNqcmNp.mjs";
5
5
  import "./versions-DD7jbeRR.mjs";
6
- import { n as showVersions } from "./banner-BrAj2w2K.mjs";
6
+ import { n as showVersions } from "./banner-tIQGyv1S.mjs";
7
7
  import { t as clearBuildDir } from "./fs-BNfOTIDu.mjs";
8
8
  import process from "node:process";
9
9
  import { defineCommand } from "citty";
@@ -38,7 +38,7 @@ var build_default = defineCommand({
38
38
  const cwd = resolve(ctx.args.cwd || ctx.args.rootDir);
39
39
  intro(colors.cyan("Building Nuxt for production..."));
40
40
  const kit = await loadKit(cwd);
41
- await showVersions(cwd, kit);
41
+ await showVersions(cwd, kit, ctx.args.dotenv);
42
42
  const nuxt = await kit.loadNuxt({
43
43
  cwd,
44
44
  dotenv: {
@@ -1,9 +1,9 @@
1
1
  import "../logger-B4ge7MhP.mjs";
2
2
  import "../env-BRiVSJMz.mjs";
3
- import { t as initialize } from "../dev-KB30iboK.mjs";
3
+ import { t as initialize } from "../dev-Cj5L9J6Z.mjs";
4
4
  import "../kit-4LNqcmNp.mjs";
5
5
  import "../versions-DD7jbeRR.mjs";
6
- import "../banner-BrAj2w2K.mjs";
6
+ import "../banner-tIQGyv1S.mjs";
7
7
  import "../fs-BNfOTIDu.mjs";
8
8
  import "../nuxt-4ILhz74C.mjs";
9
9
 
@@ -1,10 +1,10 @@
1
1
  import { a as legacyRootDirArgs, i as extendsArgs, n as dotEnvArgs, o as logLevelArgs, r as envNameArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
2
2
  import { n as logger, t as debug } from "./logger-B4ge7MhP.mjs";
3
3
  import "./env-BRiVSJMz.mjs";
4
- import { t as initialize } from "./dev-KB30iboK.mjs";
4
+ import { t as initialize } from "./dev-Cj5L9J6Z.mjs";
5
5
  import "./kit-4LNqcmNp.mjs";
6
6
  import "./versions-DD7jbeRR.mjs";
7
- import "./banner-BrAj2w2K.mjs";
7
+ import "./banner-tIQGyv1S.mjs";
8
8
  import "./fs-BNfOTIDu.mjs";
9
9
  import "./nuxt-4ILhz74C.mjs";
10
10
  import process from "node:process";
@@ -1,6 +1,6 @@
1
1
  import { t as overrideEnv } from "./env-BRiVSJMz.mjs";
2
2
  import { i as withNodePath, t as loadKit } from "./kit-4LNqcmNp.mjs";
3
- import { r as showVersionsFromConfig } from "./banner-BrAj2w2K.mjs";
3
+ import { r as showVersionsFromConfig } from "./banner-tIQGyv1S.mjs";
4
4
  import { t as clearBuildDir } from "./fs-BNfOTIDu.mjs";
5
5
  import { a as writeNuxtManifest, i as resolveNuxtManifest, n as loadNuxtManifest } from "./nuxt-4ILhz74C.mjs";
6
6
  import process from "node:process";
@@ -18,7 +18,7 @@ import { debounce } from "perfect-debounce";
18
18
  import { toNodeHandler } from "srvx/node";
19
19
  import { Youch } from "youch";
20
20
 
21
- //#region ../../node_modules/.pnpm/h3@1.15.4/node_modules/h3/dist/index.mjs
21
+ //#region ../../node_modules/.pnpm/h3@1.15.5/node_modules/h3/dist/index.mjs
22
22
  function hasProp(obj, prop) {
23
23
  try {
24
24
  return prop in obj;
@@ -1,9 +1,9 @@
1
1
  import "./logger-B4ge7MhP.mjs";
2
2
  import "./env-BRiVSJMz.mjs";
3
- import { t as initialize } from "./dev-KB30iboK.mjs";
3
+ import { t as initialize } from "./dev-Cj5L9J6Z.mjs";
4
4
  import "./kit-4LNqcmNp.mjs";
5
5
  import "./versions-DD7jbeRR.mjs";
6
- import "./banner-BrAj2w2K.mjs";
6
+ import "./banner-tIQGyv1S.mjs";
7
7
  import "./fs-BNfOTIDu.mjs";
8
8
  import "./nuxt-4ILhz74C.mjs";
9
9
 
@@ -25,7 +25,7 @@ var dev_child_default = defineCommand({
25
25
  async run(ctx) {
26
26
  if (!process.send && !isTest) console.warn("`nuxi _dev` is an internal command and should not be used directly. Please use `nuxi dev` instead.");
27
27
  const cwd = resolve(ctx.args.cwd || ctx.args.rootDir);
28
- const { initialize } = await import("./dev-D9us4AeN.mjs");
28
+ const { initialize } = await import("./dev-DRbTRgNo.mjs");
29
29
  await initialize({
30
30
  cwd,
31
31
  args: ctx.args
@@ -3,9 +3,9 @@ import "./logger-B4ge7MhP.mjs";
3
3
  import "./env-BRiVSJMz.mjs";
4
4
  import "./kit-4LNqcmNp.mjs";
5
5
  import "./versions-DD7jbeRR.mjs";
6
- import "./banner-BrAj2w2K.mjs";
6
+ import "./banner-tIQGyv1S.mjs";
7
7
  import "./fs-BNfOTIDu.mjs";
8
- import build_default from "./build-DF96Rh_E.mjs";
8
+ import build_default from "./build-xBDofBQy.mjs";
9
9
  import { defineCommand } from "citty";
10
10
 
11
11
  //#region ../nuxi/src/commands/generate.ts
package/dist/index.mjs CHANGED
@@ -16,14 +16,14 @@ const _rDefault = (r) => r.default || r;
16
16
  const commands = {
17
17
  "add": () => import("./add-Bznb4lxU.mjs").then(_rDefault),
18
18
  "add-template": () => import("./add-template-BqK8C-av.mjs").then(_rDefault),
19
- "analyze": () => import("./analyze-gZGHJ1Fr.mjs").then(_rDefault),
20
- "build": () => import("./build-DF96Rh_E.mjs").then(_rDefault),
19
+ "analyze": () => import("./analyze-HJN72PL9.mjs").then(_rDefault),
20
+ "build": () => import("./build-xBDofBQy.mjs").then(_rDefault),
21
21
  "cleanup": () => import("./cleanup-viSjdn1J.mjs").then(_rDefault),
22
- "_dev": () => import("./dev-child-D_yO61Et.mjs").then(_rDefault),
23
- "dev": () => import("./dev-CsAvgRwH.mjs").then(_rDefault),
22
+ "_dev": () => import("./dev-child-CTpoGVT-.mjs").then(_rDefault),
23
+ "dev": () => import("./dev-CAUc81j8.mjs").then(_rDefault),
24
24
  "devtools": () => import("./devtools-BTYlIJMv.mjs").then(_rDefault),
25
- "generate": () => import("./generate-eutQA4iL.mjs").then(_rDefault),
26
- "info": () => import("./info-BE5tkR_T.mjs").then(_rDefault),
25
+ "generate": () => import("./generate-Dl0M7pNO.mjs").then(_rDefault),
26
+ "info": () => import("./info-MHmVruyE.mjs").then(_rDefault),
27
27
  "init": () => import("./init-CbX2kZ7b.mjs").then(_rDefault),
28
28
  "module": () => import("./module-CsMeSzOg.mjs").then(_rDefault),
29
29
  "prepare": () => import("./prepare-D99IJFcY.mjs").then(_rDefault),
@@ -68,7 +68,7 @@ async function checkEngines() {
68
68
  //#endregion
69
69
  //#region package.json
70
70
  var name = "@nuxt/cli-nightly";
71
- var version = "3.32.0-20260106-124311-8928d35";
71
+ var version = "3.32.1-20260119-102022-362ab3a";
72
72
  var description = "Nuxt CLI";
73
73
 
74
74
  //#endregion
@@ -2,7 +2,7 @@ import { a as legacyRootDirArgs, t as cwdArgs } from "./_shared-BCYCnX0T.mjs";
2
2
  import { n as logger } from "./logger-B4ge7MhP.mjs";
3
3
  import { n as tryResolveNuxt } from "./kit-4LNqcmNp.mjs";
4
4
  import "./versions-DD7jbeRR.mjs";
5
- import { t as getBuilder } from "./banner-BrAj2w2K.mjs";
5
+ import { t as getBuilder } from "./banner-tIQGyv1S.mjs";
6
6
  import { t as formatInfoBox } from "./formatting-PESozNtr.mjs";
7
7
  import { t as getPackageManagerVersion } from "./packageManagers-BX7-V04a.mjs";
8
8
  import process from "node:process";
@@ -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.32.0-20260106-124300-8928d35";
20
+ var version = "3.32.1-20260119-102011-362ab3a";
21
21
 
22
22
  //#endregion
23
23
  //#region ../nuxi/src/commands/info.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nuxt/cli-nightly",
3
3
  "type": "module",
4
- "version": "3.32.0-20260106-124311-8928d35",
4
+ "version": "3.32.1-20260119-102022-362ab3a",
5
5
  "description": "Nuxt CLI",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -58,24 +58,24 @@
58
58
  "srvx": "^0.10.0",
59
59
  "std-env": "^3.10.0",
60
60
  "tinyexec": "^1.0.2",
61
- "ufo": "^1.6.1",
61
+ "ufo": "^1.6.3",
62
62
  "youch": "^4.1.0-beta.13"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@nuxt/kit": "^4.2.2",
66
66
  "@nuxt/schema": "^4.2.2",
67
67
  "@types/debug": "^4.1.12",
68
- "@types/node": "^24.10.4",
68
+ "@types/node": "^24.10.9",
69
69
  "get-port-please": "^3.2.0",
70
- "h3": "^1.15.4",
71
- "h3-next": "npm:h3@^2.0.1-rc.7",
70
+ "h3": "^1.15.5",
71
+ "h3-next": "npm:h3@^2.0.1-rc.8",
72
72
  "nitro": "^3.0.1-alpha.1",
73
- "nitropack": "^2.12.9",
73
+ "nitropack": "^2.13.1",
74
74
  "rollup": "^4.55.1",
75
75
  "rollup-plugin-visualizer": "^6.0.5",
76
- "tsdown": "^0.18.4",
76
+ "tsdown": "^0.19.0",
77
77
  "typescript": "^5.9.3",
78
- "undici": "^7.17.0",
78
+ "undici": "^7.18.2",
79
79
  "unplugin-purge-polyfills": "^0.1.0",
80
80
  "vitest": "^3.2.4",
81
81
  "youch": "^4.1.0-beta.13"