create-nuxt-nightly 3.32.0-20260106-124253-8928d35 → 3.32.1-20260119-102004-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.
@@ -41,8 +41,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
41
41
  enumerable: true
42
42
  }) : target, mod));
43
43
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
44
- var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
45
44
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
46
45
 
47
46
  //#endregion
48
- export { __toCommonJS as a, __require as i, __esmMin as n, __toDynamicImportESM as o, __exportAll as r, __toESM as s, __commonJSMin as t };
47
+ export { __toCommonJS as a, __require as i, __esmMin as n, __toESM as o, __exportAll as r, __commonJSMin as t };
@@ -1,7 +1,7 @@
1
- import { s as __toESM$1, t as __commonJSMin } from "./chunk-CjouNpmy.mjs";
1
+ import { o as __toESM$1, t as __commonJSMin } from "./chunk-nJFzdKgM.mjs";
2
2
  import { promises } from "node:fs";
3
3
 
4
- //#region ../../node_modules/.pnpm/@babel+parser@7.28.5/node_modules/@babel/parser/lib/index.js
4
+ //#region ../../node_modules/.pnpm/@babel+parser@7.28.6/node_modules/@babel/parser/lib/index.js
5
5
  var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  function _objectWithoutPropertiesLoose(r, e) {
@@ -276,17 +276,15 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
276
276
  }
277
277
  function toParseErrorConstructor({ toMessage, code, reasonCode, syntaxPlugin }) {
278
278
  const hasMissingPlugin = reasonCode === "MissingPlugin" || reasonCode === "MissingOneOfPlugins";
279
- {
280
- const oldReasonCodes = {
281
- AccessorCannotDeclareThisParameter: "AccesorCannotDeclareThisParameter",
282
- AccessorCannotHaveTypeParameters: "AccesorCannotHaveTypeParameters",
283
- ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference: "ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",
284
- SetAccessorCannotHaveOptionalParameter: "SetAccesorCannotHaveOptionalParameter",
285
- SetAccessorCannotHaveRestParameter: "SetAccesorCannotHaveRestParameter",
286
- SetAccessorCannotHaveReturnType: "SetAccesorCannotHaveReturnType"
287
- };
288
- if (oldReasonCodes[reasonCode]) reasonCode = oldReasonCodes[reasonCode];
289
- }
279
+ const oldReasonCodes = {
280
+ AccessorCannotDeclareThisParameter: "AccesorCannotDeclareThisParameter",
281
+ AccessorCannotHaveTypeParameters: "AccesorCannotHaveTypeParameters",
282
+ ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference: "ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",
283
+ SetAccessorCannotHaveOptionalParameter: "SetAccesorCannotHaveOptionalParameter",
284
+ SetAccessorCannotHaveRestParameter: "SetAccesorCannotHaveRestParameter",
285
+ SetAccessorCannotHaveReturnType: "SetAccesorCannotHaveReturnType"
286
+ };
287
+ if (oldReasonCodes[reasonCode]) reasonCode = oldReasonCodes[reasonCode];
290
288
  return function constructor(loc, details) {
291
289
  const error = /* @__PURE__ */ new SyntaxError();
292
290
  error.code = code;
@@ -596,11 +594,10 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
596
594
  finishCallExpression(unfinished, optional) {
597
595
  const node = super.finishCallExpression(unfinished, optional);
598
596
  if (node.callee.type === "Import") {
599
- var _ref;
597
+ var _ref, _ref2;
600
598
  this.castNodeTo(node, "ImportExpression");
601
599
  node.source = node.arguments[0];
602
600
  node.options = (_ref = node.arguments[1]) != null ? _ref : null;
603
- var _ref2;
604
601
  node.attributes = (_ref2 = node.arguments[1]) != null ? _ref2 : null;
605
602
  delete node.arguments;
606
603
  delete node.callee;
@@ -5085,7 +5082,6 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
5085
5082
  if (this.input.charCodeAt(this.offsetToSourcePos(commentStart) - 1) === 44) switch (node.type) {
5086
5083
  case "ObjectExpression":
5087
5084
  case "ObjectPattern":
5088
- case "RecordExpression":
5089
5085
  adjustInnerComments(node, node.properties, commentWS);
5090
5086
  break;
5091
5087
  case "CallExpression":
@@ -5105,7 +5101,6 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
5105
5101
  break;
5106
5102
  case "ArrayExpression":
5107
5103
  case "ArrayPattern":
5108
- case "TupleExpression":
5109
5104
  adjustInnerComments(node, node.elements, commentWS);
5110
5105
  break;
5111
5106
  case "ExportNamedDeclaration":
@@ -5118,7 +5113,16 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
5118
5113
  case "TSEnumBody":
5119
5114
  adjustInnerComments(node, node.members, commentWS);
5120
5115
  break;
5121
- default: setInnerComments(node, comments);
5116
+ default:
5117
+ if (node.type === "RecordExpression") {
5118
+ adjustInnerComments(node, node.properties, commentWS);
5119
+ break;
5120
+ }
5121
+ if (node.type === "TupleExpression") {
5122
+ adjustInnerComments(node, node.elements, commentWS);
5123
+ break;
5124
+ }
5125
+ setInnerComments(node, comments);
5122
5126
  }
5123
5127
  else setInnerComments(node, comments);
5124
5128
  }
@@ -7593,12 +7597,10 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
7593
7597
  this.expectContextual(122);
7594
7598
  } else if (this.eatContextual(122)) node.readonly = true;
7595
7599
  this.expect(0);
7596
- {
7597
- const typeParameter = this.startNode();
7598
- typeParameter.name = this.tsParseTypeParameterName();
7599
- typeParameter.constraint = this.tsExpectThenParseType(58);
7600
- node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter");
7601
- }
7600
+ const typeParameter = this.startNode();
7601
+ typeParameter.name = this.tsParseTypeParameterName();
7602
+ typeParameter.constraint = this.tsExpectThenParseType(58);
7603
+ node.typeParameter = this.finishNode(typeParameter, "TSTypeParameter");
7602
7604
  node.nameType = this.eatContextual(93) ? this.tsParseType() : null;
7603
7605
  this.expect(3);
7604
7606
  if (this.match(53)) {
@@ -7720,11 +7722,9 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
7720
7722
  return this.finishNode(node, "TSLiteralType");
7721
7723
  }
7722
7724
  tsParseTemplateLiteralType() {
7723
- {
7724
- const node = this.startNode();
7725
- node.literal = super.parseTemplate(false);
7726
- return this.finishNode(node, "TSLiteralType");
7727
- }
7725
+ const node = this.startNode();
7726
+ node.literal = super.parseTemplate(false);
7727
+ return this.finishNode(node, "TSLiteralType");
7728
7728
  }
7729
7729
  parseTemplateSubstitution() {
7730
7730
  if (this.state.inType) return this.tsParseType();
@@ -7990,12 +7990,10 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
7990
7990
  tsParseHeritageClause(token) {
7991
7991
  const originalStartLoc = this.state.startLoc;
7992
7992
  const delimitedList = this.tsParseDelimitedList("HeritageClauseElement", () => {
7993
- {
7994
- const node = this.startNode();
7995
- node.expression = this.tsParseEntityName(3);
7996
- if (this.match(47)) node.typeParameters = this.tsParseTypeArguments();
7997
- return this.finishNode(node, "TSExpressionWithTypeArguments");
7998
- }
7993
+ const node = this.startNode();
7994
+ node.expression = this.tsParseEntityName(3);
7995
+ if (this.match(47)) node.typeParameters = this.tsParseTypeArguments();
7996
+ return this.finishNode(node, "TSExpressionWithTypeArguments");
7999
7997
  });
8000
7998
  if (!delimitedList.length) this.raise(TSErrors.EmptyHeritageClauseType, originalStartLoc, { token });
8001
7999
  return delimitedList;
@@ -9404,7 +9402,8 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
9404
9402
  return false;
9405
9403
  }
9406
9404
  verifyBreakContinue(node, isBreak) {
9407
- if (node.label && node.label.type === "Placeholder") return;
9405
+ var _node$label;
9406
+ if (((_node$label = node.label) == null ? void 0 : _node$label.type) === "Placeholder") return;
9408
9407
  super.verifyBreakContinue(node, isBreak);
9409
9408
  }
9410
9409
  parseExpressionStatement(node, expr) {
@@ -9557,6 +9556,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
9557
9556
  throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${proposalList}.`);
9558
9557
  }
9559
9558
  if (proposal === "hack") {
9559
+ var _pluginsMap$get;
9560
9560
  if (pluginsMap.has("placeholders")) throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");
9561
9561
  if (pluginsMap.has("v8intrinsic")) throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");
9562
9562
  const topicToken = pluginsMap.get("pipelineOperator").topicToken;
@@ -9564,7 +9564,6 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
9564
9564
  const tokenList = TOPIC_TOKENS.map((t) => `"${t}"`).join(", ");
9565
9565
  throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${tokenList}.`);
9566
9566
  }
9567
- var _pluginsMap$get;
9568
9567
  if (topicToken === "#" && ((_pluginsMap$get = pluginsMap.get("recordAndTuple")) == null ? void 0 : _pluginsMap$get.syntaxType) === "hash") throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple", pluginsMap.get("recordAndTuple")])}\`.`);
9569
9568
  } else if (proposal === "smart" && ((_pluginsMap$get2 = pluginsMap.get("recordAndTuple")) == null ? void 0 : _pluginsMap$get2.syntaxType) === "hash") throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple", pluginsMap.get("recordAndTuple")])}\`.`);
9570
9569
  }
@@ -9575,7 +9574,8 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports) => {
9575
9574
  if (pluginsMap.has("importAssertions")) {
9576
9575
  if (pluginsMap.has("deprecatedImportAssert")) throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");
9577
9576
  }
9578
- if (!pluginsMap.has("deprecatedImportAssert") && pluginsMap.has("importAttributes") && pluginsMap.get("importAttributes").deprecatedAssertSyntax) pluginsMap.set("deprecatedImportAssert", {});
9577
+ if (pluginsMap.has("deprecatedImportAssert"));
9578
+ else if (pluginsMap.has("importAttributes") && pluginsMap.get("importAttributes").deprecatedAssertSyntax) pluginsMap.set("deprecatedImportAssert", {});
9579
9579
  if (pluginsMap.has("recordAndTuple")) {
9580
9580
  const syntaxType = pluginsMap.get("recordAndTuple").syntaxType;
9581
9581
  if (syntaxType != null) {
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { a as __toCommonJS, i as __require, n as __esmMin, o as __toDynamicImportESM, r as __exportAll, s as __toESM, t as __commonJSMin } from "./chunk-CjouNpmy.mjs";
2
- import { n as require_node_fetch_native_DhEqb06g, t as require_node$1 } from "./node-CD3ZgbJD.mjs";
3
- import { a as le, c as ye$1, i as dt$1, n as Mn, o as qn, r as br, s as ut, t as Mi } from "./node-47hFQl2C.mjs";
4
- import { a as require_lte, c as require_eq, d as require_compare, f as require_semver$1, h as require_constants, i as require_cmp, l as require_lt, m as require_re, n as require_comparator, o as require_gte, p as require_identifiers, r as require_range, s as require_neq, t as require_satisfies, u as require_gt } from "./satisfies-C17BjsaE.mjs";
1
+ import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-nJFzdKgM.mjs";
2
+ import { n as require_node_fetch_native_DhEqb06g, t as require_node$1 } from "./node-CexC7EjI.mjs";
3
+ import { a as le, c as ye$1, i as dt$1, n as Mn, o as qn, r as br, s as ut, t as Mi } from "./node-B4CQ3VU-.mjs";
4
+ import { a as require_lte, c as require_eq, d as require_compare, f as require_semver$1, h as require_constants, i as require_cmp, l as require_lt, m as require_re, n as require_comparator, o as require_gte, p as require_identifiers, r as require_range, s as require_neq, t as require_satisfies, u as require_gt } from "./satisfies-BqTfrBtY.mjs";
5
5
  import { t as templates } from "./templates-Dc0okpQy.mjs";
6
6
  import { createRequire } from "node:module";
7
7
  import process$1, { cwd, stdin, stdout } from "node:process";
@@ -3726,8 +3726,8 @@ function moduleResolve(specifier, base, conditions, preserveSymlinks) {
3726
3726
  return finalizeResolution(resolved, base, preserveSymlinks);
3727
3727
  }
3728
3728
  const DEFAULT_CONDITIONS_SET = /* @__PURE__ */ new Set(["node", "import"]);
3729
- const isWindows = /* @__PURE__ */ (() => process.platform === "win32")();
3730
- const globalCache = /* @__PURE__ */ (() => globalThis["__EXSOLVE_CACHE__"] ||= /* @__PURE__ */ new Map())();
3729
+ const isWindows = process.platform === "win32";
3730
+ const globalCache = globalThis["__EXSOLVE_CACHE__"] ||= /* @__PURE__ */ new Map();
3731
3731
  /**
3732
3732
  * Synchronously resolves a module url based on the options provided.
3733
3733
  *
@@ -19312,7 +19312,7 @@ function destr(value, options = {}) {
19312
19312
  }
19313
19313
 
19314
19314
  //#endregion
19315
- //#region ../../node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.mjs
19315
+ //#region ../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs
19316
19316
  const r$1 = String.fromCharCode;
19317
19317
  const HASH_RE = /#/g;
19318
19318
  const AMPERSAND_RE = /&/g;
@@ -19413,7 +19413,10 @@ function withTrailingSlash(input = "", respectQueryAndFragment) {
19413
19413
  function withBase(input, base) {
19414
19414
  if (isEmptyURL(base) || hasProtocol(input)) return input;
19415
19415
  const _base = withoutTrailingSlash(base);
19416
- if (input.startsWith(_base)) return input;
19416
+ if (input.startsWith(_base)) {
19417
+ const nextChar = input[_base.length];
19418
+ if (!nextChar || nextChar === "/" || nextChar === "?") return input;
19419
+ }
19417
19420
  return joinURL(_base, input);
19418
19421
  }
19419
19422
  function withQuery(input, query) {
@@ -25900,7 +25903,7 @@ const UPDATABLE_EXTS = [
25900
25903
  * @experimental Update a config file or create a new one.
25901
25904
  */
25902
25905
  async function updateConfig(opts) {
25903
- const { parseModule } = await import("./dist-Cc8puZem.mjs");
25906
+ const { parseModule } = await import("./dist-B8ClIr69.mjs");
25904
25907
  let configFile = tryResolve(`./${opts.configFile}`, opts.cwd, SUPPORTED_EXTENSIONS) || tryResolve(`./.config/${opts.configFile}`, opts.cwd, SUPPORTED_EXTENSIONS) || tryResolve(`./.config/${opts.configFile.split(".")[0]}`, opts.cwd, SUPPORTED_EXTENSIONS);
25905
25908
  let created = false;
25906
25909
  if (!configFile) {
@@ -27801,7 +27804,7 @@ async function setupInitCompletions(command) {
27801
27804
  //#endregion
27802
27805
  //#region ../nuxi/src/utils/engines.ts
27803
27806
  async function checkEngines() {
27804
- const satisfies$2 = await import("./satisfies-DkDSjMV6.mjs").then(__toDynamicImportESM(1)).then((r$5) => r$5.default || r$5);
27807
+ const satisfies$2 = await import("./satisfies-B7DNUbXP.mjs").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((r$5) => r$5.default || r$5);
27805
27808
  const currentNode = process$1.versions.node;
27806
27809
  const nodeRange = ">= 18.0.0";
27807
27810
  if (!satisfies$2(currentNode, nodeRange)) logger.warn(`Current version of Node.js (${colors.cyan(currentNode)}) is unsupported and might cause issues.\n Please upgrade to a compatible version ${colors.cyan(nodeRange)}.`);
@@ -27810,7 +27813,7 @@ async function checkEngines() {
27810
27813
  //#endregion
27811
27814
  //#region package.json
27812
27815
  var name = "create-nuxt-nightly";
27813
- var version = "3.32.0-20260106-124253-8928d35";
27816
+ var version = "3.32.1-20260119-102004-362ab3a";
27814
27817
  var description = "Create a Nuxt app in seconds";
27815
27818
 
27816
27819
  //#endregion
@@ -1,4 +1,4 @@
1
- import { o as qn, r as br } from "./node-47hFQl2C.mjs";
1
+ import { o as qn, r as br } from "./node-B4CQ3VU-.mjs";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs
4
4
  var B = Object.defineProperty;
@@ -1,5 +1,5 @@
1
- import { i as __require, t as __commonJSMin } from "./chunk-CjouNpmy.mjs";
2
- import { n as require_node_fetch_native_DhEqb06g, t as require_node } from "./node-CD3ZgbJD.mjs";
1
+ import { i as __require, t as __commonJSMin } from "./chunk-nJFzdKgM.mjs";
2
+ import { n as require_node_fetch_native_DhEqb06g, t as require_node } from "./node-CexC7EjI.mjs";
3
3
 
4
4
  //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
5
5
  var require_multipart_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -1,4 +1,4 @@
1
- import { i as __require } from "./chunk-CjouNpmy.mjs";
1
+ import { i as __require } from "./chunk-nJFzdKgM.mjs";
2
2
  import { createReadStream, promises, statSync } from "node:fs";
3
3
  import { basename } from "node:path";
4
4
  import { deprecate, promisify, types } from "node:util";
@@ -2928,7 +2928,7 @@ const mr = Symbol.toStringTag, wi = n((i) => typeof i == "object" && typeof i.ap
2928
2928
  for (const [p, h] of l) f$1.append(p, h);
2929
2929
  return f$1;
2930
2930
  }
2931
- const { toFormData: a } = await import("./multipart-parser-SuBxx6cB.mjs");
2931
+ const { toFormData: a } = await import("./multipart-parser-BrG8QQAG.mjs");
2932
2932
  return a(this.body, o$1);
2933
2933
  }
2934
2934
  async blob() {
@@ -1,4 +1,4 @@
1
- import { i as __require, o as __toDynamicImportESM, t as __commonJSMin } from "./chunk-CjouNpmy.mjs";
1
+ import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-nJFzdKgM.mjs";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs
4
4
  var require_node_fetch_native_DhEqb06g = /* @__PURE__ */ __commonJSMin(((exports) => {
@@ -2928,7 +2928,7 @@ Content-Type: ${R.type || "application/octet-stream"}\r
2928
2928
  for (const [R, w] of b) g.append(R, w);
2929
2929
  return g;
2930
2930
  }
2931
- const { toFormData: d } = await import("./multipart-parser-v_Y3Njc8.mjs").then(__toDynamicImportESM(1));
2931
+ const { toFormData: d } = await import("./multipart-parser-CIDMJVt-.mjs").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
2932
2932
  return d(this.body, l);
2933
2933
  }
2934
2934
  async blob() {
@@ -0,0 +1,5 @@
1
+ import { t as require_satisfies } from "./satisfies-BqTfrBtY.mjs";
2
+
3
+ export default require_satisfies();
4
+
5
+ export { };
@@ -1,4 +1,4 @@
1
- import { t as __commonJSMin } from "./chunk-CjouNpmy.mjs";
1
+ import { t as __commonJSMin } from "./chunk-nJFzdKgM.mjs";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/semver@7.7.3/node_modules/semver/internal/constants.js
4
4
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-nuxt-nightly",
3
3
  "type": "module",
4
- "version": "3.32.0-20260106-124253-8928d35",
4
+ "version": "3.32.1-20260119-102004-362ab3a",
5
5
  "description": "Create a Nuxt app in seconds",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -33,10 +33,10 @@
33
33
  },
34
34
  "devDependencies": {
35
35
  "@bomb.sh/tab": "^0.0.11",
36
- "@types/node": "^24.10.4",
36
+ "@types/node": "^24.10.9",
37
37
  "rollup": "^4.55.1",
38
38
  "rollup-plugin-visualizer": "^6.0.5",
39
- "tsdown": "^0.18.4",
39
+ "tsdown": "^0.19.0",
40
40
  "typescript": "^5.9.3",
41
41
  "unplugin-purge-polyfills": "^0.1.0"
42
42
  }
@@ -1,5 +0,0 @@
1
- import { t as require_satisfies } from "./satisfies-C17BjsaE.mjs";
2
-
3
- export default require_satisfies();
4
-
5
- export { };