@storm-software/linting-tools 1.134.39 → 1.134.40

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.
Files changed (51) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-JVT6Y4EK.js → chunk-2EYSI6CQ.js} +2 -2
  3. package/bin/{chunk-BB7AII4Z.js → chunk-2OT5CMLL.js} +2 -2
  4. package/bin/{chunk-XVPSI5YI.js → chunk-2RZPMPOA.js} +1 -1
  5. package/bin/{chunk-VSYYREDY.cjs → chunk-7YHXX2ZG.cjs} +2 -2
  6. package/bin/{chunk-FN7YOJQF.cjs → chunk-ABH34GZZ.cjs} +5 -5
  7. package/bin/{chunk-XLBXFWBB.cjs → chunk-AZWNPJHN.cjs} +2 -2
  8. package/bin/{chunk-GNQHDIMU.cjs → chunk-CJRABAKC.cjs} +20 -20
  9. package/bin/{chunk-NXKDGL3Q.cjs → chunk-FKRXTX4L.cjs} +2 -2
  10. package/bin/{chunk-ILVV4H2U.js → chunk-HPJLDOCS.js} +20 -10
  11. package/bin/{chunk-64YA4I5I.cjs → chunk-IU67RK7A.cjs} +5 -5
  12. package/bin/{chunk-SNSRBC4K.cjs → chunk-J7X4W5WR.cjs} +93 -93
  13. package/bin/{chunk-JKSRJYM2.js → chunk-L34GNHFN.js} +1 -1
  14. package/bin/{chunk-G6VRBXQZ.js → chunk-OANM63BJ.js} +2 -2
  15. package/bin/{chunk-A4GH6YKL.js → chunk-OXTDBCCV.js} +1 -1
  16. package/bin/{chunk-ACBNBNAM.js → chunk-QW7FBKVS.js} +2 -2
  17. package/bin/{chunk-DGPF2454.cjs → chunk-SEMIOAS7.cjs} +32 -22
  18. package/bin/{chunk-SHCTKHBI.cjs → chunk-T2URNDZB.cjs} +5 -5
  19. package/bin/{chunk-BN657RWD.js → chunk-XNVETDTT.js} +2 -2
  20. package/bin/{chunk-5T4KSK6X.js → chunk-YU5W2BDC.js} +2 -2
  21. package/bin/{chunk-PSVSI5ZF.cjs → chunk-ZAKOAR7Y.cjs} +6 -6
  22. package/bin/{dist-HLUYBP5V.cjs → dist-3Q5IAMV7.cjs} +6 -6
  23. package/bin/{dist-F6MXQ7SZ.js → dist-GIWKEDAJ.js} +2 -2
  24. package/bin/{dist-SSP3POIX.cjs → dist-IO75YHOF.cjs} +206 -206
  25. package/bin/{dist-L3JBTH75.js → dist-LQ5D4AU5.js} +8 -8
  26. package/bin/{esm-UQPZKWZ3.cjs → esm-WCUI36EU.cjs} +4 -4
  27. package/bin/{esm-5SGWCP2V.js → esm-Y6ZA7M3U.js} +1 -1
  28. package/bin/json5-DL664IVS.cjs +10 -0
  29. package/bin/json5-QAWUP7YC.js +10 -0
  30. package/bin/{jsonc-JSJOGNST.js → jsonc-6VMGBPEF.js} +3 -3
  31. package/bin/jsonc-ECK46Q5F.cjs +15 -0
  32. package/bin/lint.cjs +2235 -2120
  33. package/bin/lint.js +297 -182
  34. package/bin/{multipart-parser-ASU6VPAI.js → multipart-parser-IK7BDPLV.js} +2 -2
  35. package/bin/{multipart-parser-FECCFVIV.cjs → multipart-parser-S4WPKQ5V.cjs} +6 -6
  36. package/bin/{package-json-NTJHTJOW.js → package-json-4SJ6XQAY.js} +2 -2
  37. package/bin/{package-json-XMMZCUV4.cjs → package-json-S4OZILYC.cjs} +94 -94
  38. package/bin/toml-22ULSR3T.js +10 -0
  39. package/bin/toml-E536UCEW.cjs +10 -0
  40. package/bin/{utils-WG3BMMTY.js → utils-JYSRR4DQ.js} +2 -2
  41. package/bin/{utils-4HADYUPW.cjs → utils-NW5T7QUM.cjs} +5 -5
  42. package/bin/yaml-CZQ5J3VV.js +10 -0
  43. package/bin/yaml-FQTGALXQ.cjs +10 -0
  44. package/package.json +2 -2
  45. package/bin/json5-65MYDKU6.js +0 -10
  46. package/bin/json5-B3QDMVIB.cjs +0 -10
  47. package/bin/jsonc-B56UOBJP.cjs +0 -15
  48. package/bin/toml-ECJPV37R.cjs +0 -10
  49. package/bin/toml-HTZAAZBD.js +0 -10
  50. package/bin/yaml-AYMYDPBM.js +0 -10
  51. package/bin/yaml-GEKG7FEH.cjs +0 -10
package/bin/lint.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  require_clean,
4
4
  require_semver,
5
5
  require_valid
6
- } from "./chunk-XVPSI5YI.js";
6
+ } from "./chunk-2RZPMPOA.js";
7
7
  import {
8
8
  basename,
9
9
  be,
@@ -15,12 +15,12 @@ import {
15
15
  join,
16
16
  readPackageJSON,
17
17
  resolve
18
- } from "./chunk-ILVV4H2U.js";
19
- import "./chunk-ACBNBNAM.js";
20
- import "./chunk-G6VRBXQZ.js";
21
- import "./chunk-BN657RWD.js";
22
- import "./chunk-BB7AII4Z.js";
23
- import "./chunk-JKSRJYM2.js";
18
+ } from "./chunk-HPJLDOCS.js";
19
+ import "./chunk-QW7FBKVS.js";
20
+ import "./chunk-OANM63BJ.js";
21
+ import "./chunk-XNVETDTT.js";
22
+ import "./chunk-2OT5CMLL.js";
23
+ import "./chunk-L34GNHFN.js";
24
24
  import {
25
25
  __commonJS,
26
26
  __dirname,
@@ -31,7 +31,7 @@ import {
31
31
  __require,
32
32
  __toESM,
33
33
  init_esm_shims
34
- } from "./chunk-JVT6Y4EK.js";
34
+ } from "./chunk-2EYSI6CQ.js";
35
35
 
36
36
  // ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json
37
37
  var package_exports = {};
@@ -18264,8 +18264,8 @@ Expecting one of '${allowedValues.join("', '")}'`);
18264
18264
  * @param {boolean} [combine] - if `true` or omitted, an optional value can be specified directly after the flag.
18265
18265
  * @return {Command} `this` command for chaining
18266
18266
  */
18267
- combineFlagAndOptionalValue(combine4 = true) {
18268
- this._combineFlagAndOptionalValue = !!combine4;
18267
+ combineFlagAndOptionalValue(combine5 = true) {
18268
+ this._combineFlagAndOptionalValue = !!combine5;
18269
18269
  return this;
18270
18270
  }
18271
18271
  /**
@@ -37891,7 +37891,7 @@ var require_src4 = __commonJS({
37891
37891
  }
37892
37892
  });
37893
37893
 
37894
- // ../../node_modules/.pnpm/flatted@3.4.2/node_modules/flatted/esm/index.js
37894
+ // ../../node_modules/.pnpm/flatted@3.4.4/node_modules/flatted/esm/index.js
37895
37895
  var esm_exports = {};
37896
37896
  __export(esm_exports, {
37897
37897
  fromJSON: () => fromJSON,
@@ -37901,7 +37901,7 @@ __export(esm_exports, {
37901
37901
  });
37902
37902
  var $parse, $stringify, keys3, Primitive, primitive, ignore, object2, noop, primitives, Primitives, resolver, set2, parse6, stringify3, toJSON, fromJSON;
37903
37903
  var init_esm = __esm({
37904
- "../../node_modules/.pnpm/flatted@3.4.2/node_modules/flatted/esm/index.js"() {
37904
+ "../../node_modules/.pnpm/flatted@3.4.4/node_modules/flatted/esm/index.js"() {
37905
37905
  init_esm_shims();
37906
37906
  ({ parse: $parse, stringify: $stringify } = JSON);
37907
37907
  ({ keys: keys3 } = Object);
@@ -41339,9 +41339,9 @@ var require_balanced_match = __commonJS({
41339
41339
  }
41340
41340
  });
41341
41341
 
41342
- // ../../node_modules/.pnpm/brace-expansion@2.1.2/node_modules/brace-expansion/index.js
41342
+ // ../../node_modules/.pnpm/brace-expansion@2.1.4/node_modules/brace-expansion/index.js
41343
41343
  var require_brace_expansion = __commonJS({
41344
- "../../node_modules/.pnpm/brace-expansion@2.1.2/node_modules/brace-expansion/index.js"(exports2, module) {
41344
+ "../../node_modules/.pnpm/brace-expansion@2.1.4/node_modules/brace-expansion/index.js"(exports2, module) {
41345
41345
  init_esm_shims();
41346
41346
  var __import_balancedMatch = __toESM(require_balanced_match());
41347
41347
  var balanced2 = __import_balancedMatch;
@@ -41351,6 +41351,8 @@ var require_brace_expansion = __commonJS({
41351
41351
  var escClose2 = "\0CLOSE" + Math.random() + "\0";
41352
41352
  var escComma2 = "\0COMMA" + Math.random() + "\0";
41353
41353
  var escPeriod2 = "\0PERIOD" + Math.random() + "\0";
41354
+ var EXPANSION_MAX2 = 1e5;
41355
+ var EXPANSION_MAX_LENGTH2 = 4e6;
41354
41356
  function numeric2(str2) {
41355
41357
  return parseInt(str2, 10) == str2 ? parseInt(str2, 10) : str2.charCodeAt(0);
41356
41358
  }
@@ -41384,11 +41386,12 @@ var require_brace_expansion = __commonJS({
41384
41386
  if (!str2)
41385
41387
  return [];
41386
41388
  options = options || {};
41387
- var max4 = options.max == null ? Infinity : options.max;
41389
+ var max4 = options.max == null ? EXPANSION_MAX2 : options.max;
41390
+ var maxLength = options.maxLength == null ? EXPANSION_MAX_LENGTH2 : options.maxLength;
41388
41391
  if (str2.substr(0, 2) === "{}") {
41389
41392
  str2 = "\\{\\}" + str2.substr(2);
41390
41393
  }
41391
- return expand5(escapeBraces2(str2), max4, true).map(unescapeBraces2);
41394
+ return expand5(escapeBraces2(str2), max4, maxLength, true).map(unescapeBraces2);
41392
41395
  }
41393
41396
  function embrace2(str2) {
41394
41397
  return "{" + str2 + "}";
@@ -41402,19 +41405,89 @@ var require_brace_expansion = __commonJS({
41402
41405
  function gte2(i5, y2) {
41403
41406
  return i5 >= y2;
41404
41407
  }
41405
- function expand5(str2, max4, isTop) {
41406
- var expansions = [];
41408
+ function combine5(acc, pre, values, max4, maxLength, dropEmpties) {
41409
+ var out = [];
41410
+ var length = 0;
41411
+ for (var a4 = 0; a4 < acc.length; a4++) {
41412
+ for (var v2 = 0; v2 < values.length; v2++) {
41413
+ if (out.length >= max4) return out;
41414
+ var expansion = acc[a4] + pre + values[v2];
41415
+ if (dropEmpties && !expansion) continue;
41416
+ if (length + expansion.length > maxLength) return out;
41417
+ out.push(expansion);
41418
+ length += expansion.length;
41419
+ }
41420
+ }
41421
+ return out;
41422
+ }
41423
+ function expandSequence2(body, isAlphaSequence, max4, maxLength) {
41424
+ var n14 = body.split(/\.\./);
41425
+ var N = [];
41426
+ if (n14[0] === void 0 || n14[1] === void 0) {
41427
+ return N;
41428
+ }
41429
+ var x2 = numeric2(n14[0]);
41430
+ var y2 = numeric2(n14[1]);
41431
+ var width = Math.max(n14[0].length, n14[1].length);
41432
+ var incr = n14.length === 3 && n14[2] !== void 0 ? Math.max(Math.abs(numeric2(n14[2])), 1) : 1;
41433
+ var test2 = lte2;
41434
+ var reverse = y2 < x2;
41435
+ if (reverse) {
41436
+ incr *= -1;
41437
+ test2 = gte2;
41438
+ }
41439
+ var pad = n14.some(isPadded2);
41440
+ var length = 0;
41441
+ for (var i5 = x2; test2(i5, y2) && N.length < max4; i5 += incr) {
41442
+ var c3;
41443
+ if (isAlphaSequence) {
41444
+ c3 = String.fromCharCode(i5);
41445
+ if (c3 === "\\") {
41446
+ c3 = "";
41447
+ }
41448
+ } else {
41449
+ c3 = String(i5);
41450
+ if (pad) {
41451
+ var need = width - c3.length;
41452
+ if (need > 0) {
41453
+ var z = new Array(need + 1).join("0");
41454
+ if (i5 < 0) {
41455
+ c3 = "-" + z + c3.slice(1);
41456
+ } else {
41457
+ c3 = z + c3;
41458
+ }
41459
+ }
41460
+ }
41461
+ }
41462
+ if (length + c3.length > maxLength) break;
41463
+ N.push(c3);
41464
+ length += c3.length;
41465
+ }
41466
+ return N;
41467
+ }
41468
+ function expand5(str2, max4, maxLength, isTop) {
41469
+ var acc = [""];
41470
+ var dropEmpties = false;
41471
+ var firstGroup = true;
41407
41472
  for (; ; ) {
41408
41473
  const m3 = balanced2("{", "}", str2);
41409
- if (!m3) return [str2];
41474
+ if (!m3) {
41475
+ return combine5(acc, str2, [""], max4, maxLength, dropEmpties);
41476
+ }
41410
41477
  const pre = m3.pre;
41411
- if (/\$$/.test(m3.pre)) {
41412
- const post2 = m3.post.length ? expand5(m3.post, max4, false) : [""];
41413
- for (let k4 = 0; k4 < post2.length && k4 < max4; k4++) {
41414
- const expansion2 = pre + "{" + m3.body + "}" + post2[k4];
41415
- expansions.push(expansion2);
41416
- }
41417
- return expansions;
41478
+ if (/\$$/.test(pre)) {
41479
+ acc = combine5(
41480
+ acc,
41481
+ pre + "{" + m3.body + "}",
41482
+ [""],
41483
+ max4,
41484
+ maxLength,
41485
+ dropEmpties && !m3.post.length
41486
+ );
41487
+ firstGroup = false;
41488
+ if (!m3.post.length) break;
41489
+ str2 = m3.post;
41490
+ continue;
41418
41491
  }
41419
41492
  var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m3.body);
41420
41493
  var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m3.body);
@@ -41426,73 +41499,66 @@ var require_brace_expansion = __commonJS({
41426
41499
  isTop = true;
41427
41500
  continue;
41428
41501
  }
41429
- return [str2];
41502
+ return combine5(
41503
+ acc,
41504
+ pre + "{" + m3.body + "}" + m3.post,
41505
+ [""],
41506
+ max4,
41507
+ maxLength,
41508
+ dropEmpties
41509
+ );
41430
41510
  }
41431
- const post = m3.post.length ? expand5(m3.post, max4, false) : [""];
41432
- var n14;
41511
+ if (firstGroup) {
41512
+ dropEmpties = isTop && !isSequence;
41513
+ firstGroup = false;
41514
+ }
41515
+ var values;
41433
41516
  if (isSequence) {
41434
- n14 = m3.body.split(/\.\./);
41517
+ values = expandSequence2(m3.body, isAlphaSequence, max4, maxLength);
41435
41518
  } else {
41436
- n14 = parseCommaParts2(m3.body);
41437
- if (n14.length === 1) {
41438
- n14 = expand5(n14[0], max4, false).map(embrace2);
41519
+ var n14 = parseCommaParts2(m3.body);
41520
+ if (n14.length === 1 && n14[0] !== void 0) {
41521
+ n14 = expand5(n14[0], max4, maxLength, false).map(embrace2);
41439
41522
  if (n14.length === 1) {
41440
- return post.map(function(p2) {
41441
- return m3.pre + n14[0] + p2;
41442
- });
41523
+ acc = combine5(
41524
+ acc,
41525
+ pre + n14[0],
41526
+ [""],
41527
+ max4,
41528
+ maxLength,
41529
+ dropEmpties && !m3.post.length
41530
+ );
41531
+ if (!m3.post.length) break;
41532
+ str2 = m3.post;
41533
+ continue;
41443
41534
  }
41444
41535
  }
41445
- }
41446
- var N;
41447
- if (isSequence) {
41448
- var x2 = numeric2(n14[0]);
41449
- var y2 = numeric2(n14[1]);
41450
- var width = Math.max(n14[0].length, n14[1].length);
41451
- var incr = n14.length == 3 ? Math.max(Math.abs(numeric2(n14[2])), 1) : 1;
41452
- var test2 = lte2;
41453
- var reverse = y2 < x2;
41454
- if (reverse) {
41455
- incr *= -1;
41456
- test2 = gte2;
41457
- }
41458
- var pad = n14.some(isPadded2);
41459
- N = [];
41460
- for (var i5 = x2; test2(i5, y2) && N.length < max4; i5 += incr) {
41461
- var c3;
41462
- if (isAlphaSequence) {
41463
- c3 = String.fromCharCode(i5);
41464
- if (c3 === "\\")
41465
- c3 = "";
41466
- } else {
41467
- c3 = String(i5);
41468
- if (pad) {
41469
- var need = width - c3.length;
41470
- if (need > 0) {
41471
- var z = new Array(need + 1).join("0");
41472
- if (i5 < 0)
41473
- c3 = "-" + z + c3.slice(1);
41474
- else
41475
- c3 = z + c3;
41476
- }
41477
- }
41536
+ var dropsEmpties = dropEmpties && !m3.post.length && !pre;
41537
+ for (var d5 = 0; dropsEmpties && d5 < acc.length; d5++) {
41538
+ if (acc[d5]) {
41539
+ dropsEmpties = false;
41478
41540
  }
41479
- N.push(c3);
41480
41541
  }
41481
- } else {
41482
- N = [];
41483
- for (var j2 = 0; j2 < n14.length; j2++) {
41484
- N.push.apply(N, expand5(n14[j2], max4, false));
41485
- }
41486
- }
41487
- for (var j2 = 0; j2 < N.length; j2++) {
41488
- for (var k3 = 0; k3 < post.length && expansions.length < max4; k3++) {
41489
- var expansion = pre + N[j2] + post[k3];
41490
- if (!isTop || isSequence || expansion)
41491
- expansions.push(expansion);
41542
+ values = [];
41543
+ var valuesLength = 0;
41544
+ outer: for (var j2 = 0; j2 < n14.length; j2++) {
41545
+ var expanded = expand5(n14[j2], max4, maxLength, false);
41546
+ for (var k3 = 0; k3 < expanded.length; k3++) {
41547
+ var v2 = expanded[k3];
41548
+ if (dropsEmpties && !v2) continue;
41549
+ if (values.length >= max4 || valuesLength + v2.length > maxLength) {
41550
+ break outer;
41551
+ }
41552
+ values.push(v2);
41553
+ valuesLength += v2.length;
41554
+ }
41492
41555
  }
41493
41556
  }
41494
- return expansions;
41557
+ acc = combine5(acc, pre, values, max4, maxLength, dropEmpties && !m3.post.length);
41558
+ if (!m3.post.length) break;
41559
+ str2 = m3.post;
41495
41560
  }
41561
+ return acc;
41496
41562
  }
41497
41563
  }
41498
41564
  });
@@ -50798,7 +50864,7 @@ var require_typescript = __commonJS({
50798
50864
  codefix: () => ts_codefix_exports,
50799
50865
  collapseTextChangeRangesAcrossMultipleVersions: () => collapseTextChangeRangesAcrossMultipleVersions,
50800
50866
  collectExternalModuleInfo: () => collectExternalModuleInfo,
50801
- combine: () => combine4,
50867
+ combine: () => combine5,
50802
50868
  combinePaths: () => combinePaths,
50803
50869
  commandLineOptionOfCustomType: () => commandLineOptionOfCustomType,
50804
50870
  commentPragmas: () => commentPragmas,
@@ -53370,7 +53436,7 @@ var require_typescript = __commonJS({
53370
53436
  to.push(value);
53371
53437
  return to;
53372
53438
  }
53373
- function combine4(xs, ys) {
53439
+ function combine5(xs, ys) {
53374
53440
  if (xs === void 0) return ys;
53375
53441
  if (ys === void 0) return xs;
53376
53442
  if (isArray2(xs)) return isArray2(ys) ? concatenate(xs, ys) : append(xs, ys);
@@ -219459,9 +219525,9 @@ ${newComment.split("\n").map((c3) => ` * ${c3}`).join("\n")}
219459
219525
  compilerOptions,
219460
219526
  preferences
219461
219527
  );
219462
- newDeclarations = combine4(newDeclarations, declarations);
219528
+ newDeclarations = combine5(newDeclarations, declarations);
219463
219529
  });
219464
- newDeclarations = combine4(newDeclarations, getCombinedVerbatimImports());
219530
+ newDeclarations = combine5(newDeclarations, getCombinedVerbatimImports());
219465
219531
  if (newDeclarations) {
219466
219532
  insertImports(
219467
219533
  changeTracker,
@@ -220494,7 +220560,7 @@ ${newComment.split("\n").map((c3) => ` * ${c3}`).join("\n")}
220494
220560
  (i5) => i5.addAsTypeOnly === 4
220495
220561
  /* NotAllowed */
220496
220562
  );
220497
- statements = combine4(
220563
+ statements = combine5(
220498
220564
  statements,
220499
220565
  makeImport(
220500
220566
  defaultImport && factory.createIdentifier(defaultImport.name),
@@ -220531,7 +220597,7 @@ ${newComment.split("\n").map((c3) => ` * ${c3}`).join("\n")}
220531
220597
  /*attributes*/
220532
220598
  void 0
220533
220599
  );
220534
- statements = combine4(statements, declaration);
220600
+ statements = combine5(statements, declaration);
220535
220601
  }
220536
220602
  return Debug.checkDefined(statements);
220537
220603
  }
@@ -220554,11 +220620,11 @@ ${newComment.split("\n").map((c3) => ` * ${c3}`).join("\n")}
220554
220620
  ));
220555
220621
  }
220556
220622
  const declaration = createConstEqualsRequireDeclaration(factory.createObjectBindingPattern(bindingElements), quotedModuleSpecifier);
220557
- statements = combine4(statements, declaration);
220623
+ statements = combine5(statements, declaration);
220558
220624
  }
220559
220625
  if (namespaceLikeImport) {
220560
220626
  const declaration = createConstEqualsRequireDeclaration(namespaceLikeImport.name, quotedModuleSpecifier);
220561
- statements = combine4(statements, declaration);
220627
+ statements = combine5(statements, declaration);
220562
220628
  }
220563
220629
  return Debug.checkDefined(statements);
220564
220630
  }
@@ -226044,7 +226110,7 @@ ${newComment.split("\n").map((c3) => ` * ${c3}`).join("\n")}
226044
226110
  function createModifiers() {
226045
226111
  let modifiers2;
226046
226112
  if (modifierFlags) {
226047
- modifiers2 = combine4(modifiers2, factory.createModifiersFromModifierFlags(modifierFlags));
226113
+ modifiers2 = combine5(modifiers2, factory.createModifiersFromModifierFlags(modifierFlags));
226048
226114
  }
226049
226115
  if (shouldAddOverrideKeyword()) {
226050
226116
  modifiers2 = append(modifiers2, factory.createToken(
@@ -246301,7 +246367,7 @@ ${options.prefix}` : "\n" : options.prefix
246301
246367
  codefix: () => ts_codefix_exports,
246302
246368
  collapseTextChangeRangesAcrossMultipleVersions: () => collapseTextChangeRangesAcrossMultipleVersions,
246303
246369
  collectExternalModuleInfo: () => collectExternalModuleInfo,
246304
- combine: () => combine4,
246370
+ combine: () => combine5,
246305
246371
  combinePaths: () => combinePaths,
246306
246372
  commandLineOptionOfCustomType: () => commandLineOptionOfCustomType,
246307
246373
  commentPragmas: () => commentPragmas,
@@ -284223,11 +284289,11 @@ function interpolate(target, source = {}, parse9 = (v2) => v2) {
284223
284289
  }
284224
284290
  var _normalize = (p2) => p2?.replace(/\\/g, "/");
284225
284291
  var ASYNC_LOADERS = {
284226
- ".yaml": () => import("./yaml-AYMYDPBM.js").then((r8) => r8.parseYAML),
284227
- ".yml": () => import("./yaml-AYMYDPBM.js").then((r8) => r8.parseYAML),
284228
- ".jsonc": () => import("./jsonc-JSJOGNST.js").then((r8) => r8.parseJSONC),
284229
- ".json5": () => import("./json5-65MYDKU6.js").then((r8) => r8.parseJSON5),
284230
- ".toml": () => import("./toml-HTZAAZBD.js").then((r8) => r8.parseTOML)
284292
+ ".yaml": () => import("./yaml-CZQ5J3VV.js").then((r8) => r8.parseYAML),
284293
+ ".yml": () => import("./yaml-CZQ5J3VV.js").then((r8) => r8.parseYAML),
284294
+ ".jsonc": () => import("./jsonc-6VMGBPEF.js").then((r8) => r8.parseJSONC),
284295
+ ".json5": () => import("./json5-QAWUP7YC.js").then((r8) => r8.parseJSON5),
284296
+ ".toml": () => import("./toml-22ULSR3T.js").then((r8) => r8.parseTOML)
284231
284297
  };
284232
284298
  var SUPPORTED_EXTENSIONS = [
284233
284299
  // with jiti
@@ -284427,8 +284493,8 @@ async function resolveConfig(source, options, sourceOptions = {}) {
284427
284493
  }
284428
284494
  const _merger = options.merger || defu;
284429
284495
  if (options.giget !== false && GIGET_PREFIXES.some((prefix) => source.startsWith(prefix))) {
284430
- const { downloadTemplate } = await import("./dist-L3JBTH75.js");
284431
- const { digest } = await import("./dist-F6MXQ7SZ.js");
284496
+ const { downloadTemplate } = await import("./dist-LQ5D4AU5.js");
284497
+ const { digest } = await import("./dist-GIWKEDAJ.js");
284432
284498
  const cloneName = source.replace(/\W+/g, "_").split("_").splice(0, 3).join("_") + "_" + digest(source).slice(0, 10).replace(/[-_]/g, "");
284433
284499
  let cloneDir;
284434
284500
  const localNodeModules = resolve(options.cwd, "node_modules");
@@ -289748,22 +289814,22 @@ function opBuffer(size) {
289748
289814
  // ../../node_modules/.pnpm/@cspell+cspell-pipe@8.19.4/node_modules/@cspell/cspell-pipe/dist/operators/combine.js
289749
289815
  init_esm_shims();
289750
289816
  function opCombineAsync(...fns) {
289751
- function combine4(iter) {
289817
+ function combine5(iter) {
289752
289818
  for (const fn of fns) {
289753
289819
  iter = fn(iter);
289754
289820
  }
289755
289821
  return iter;
289756
289822
  }
289757
- return combine4;
289823
+ return combine5;
289758
289824
  }
289759
289825
  function opCombineSync(...fns) {
289760
- function combine4(iter) {
289826
+ function combine5(iter) {
289761
289827
  for (const fn of fns) {
289762
289828
  iter = fn(iter);
289763
289829
  }
289764
289830
  return iter;
289765
289831
  }
289766
- return combine4;
289832
+ return combine5;
289767
289833
  }
289768
289834
 
289769
289835
  // ../../node_modules/.pnpm/@cspell+cspell-pipe@8.19.4/node_modules/@cspell/cspell-pipe/dist/operators/concatMap.js
@@ -330320,10 +330386,10 @@ var import_fs_extra = __toESM(require_lib6(), 1);
330320
330386
  // ../../node_modules/.pnpm/glob@11.1.0/node_modules/glob/dist/esm/index.js
330321
330387
  init_esm_shims();
330322
330388
 
330323
- // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js
330389
+ // ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/index.js
330324
330390
  init_esm_shims();
330325
330391
 
330326
- // ../../node_modules/.pnpm/brace-expansion@5.0.7/node_modules/brace-expansion/dist/esm/index.js
330392
+ // ../../node_modules/.pnpm/brace-expansion@5.0.9/node_modules/brace-expansion/dist/esm/index.js
330327
330393
  init_esm_shims();
330328
330394
 
330329
330395
  // ../../node_modules/.pnpm/balanced-match@4.0.4/node_modules/balanced-match/dist/esm/index.js
@@ -330380,7 +330446,7 @@ var range = (a4, b, str2) => {
330380
330446
  return result;
330381
330447
  };
330382
330448
 
330383
- // ../../node_modules/.pnpm/brace-expansion@5.0.7/node_modules/brace-expansion/dist/esm/index.js
330449
+ // ../../node_modules/.pnpm/brace-expansion@5.0.9/node_modules/brace-expansion/dist/esm/index.js
330384
330450
  var escSlash = "\0SLASH" + Math.random() + "\0";
330385
330451
  var escOpen = "\0OPEN" + Math.random() + "\0";
330386
330452
  var escClose = "\0CLOSE" + Math.random() + "\0";
@@ -330397,6 +330463,7 @@ var closePattern = /\\}/g;
330397
330463
  var commaPattern = /\\,/g;
330398
330464
  var periodPattern = /\\\./g;
330399
330465
  var EXPANSION_MAX = 1e5;
330466
+ var EXPANSION_MAX_LENGTH = 4e6;
330400
330467
  function numeric(str2) {
330401
330468
  return !isNaN(str2) ? parseInt(str2, 10) : str2.charCodeAt(0);
330402
330469
  }
@@ -330431,11 +330498,11 @@ function expand3(str2, options = {}) {
330431
330498
  if (!str2) {
330432
330499
  return [];
330433
330500
  }
330434
- const { max: max4 = EXPANSION_MAX } = options;
330501
+ const { max: max4 = EXPANSION_MAX, maxLength = EXPANSION_MAX_LENGTH } = options;
330435
330502
  if (str2.slice(0, 2) === "{}") {
330436
330503
  str2 = "\\{\\}" + str2.slice(2);
330437
330504
  }
330438
- return expand_(escapeBraces(str2), max4, true).map(unescapeBraces);
330505
+ return expand_(escapeBraces(str2), max4, maxLength, true).map(unescapeBraces);
330439
330506
  }
330440
330507
  function embrace(str2) {
330441
330508
  return "{" + str2 + "}";
@@ -330449,20 +330516,87 @@ function lte(i5, y2) {
330449
330516
  function gte(i5, y2) {
330450
330517
  return i5 >= y2;
330451
330518
  }
330452
- function expand_(str2, max4, isTop) {
330453
- const expansions = [];
330519
+ function combine4(acc, pre, values, max4, maxLength, dropEmpties) {
330520
+ const out = [];
330521
+ let length = 0;
330522
+ for (let a4 = 0; a4 < acc.length; a4++) {
330523
+ for (let v2 = 0; v2 < values.length; v2++) {
330524
+ if (out.length >= max4)
330525
+ return out;
330526
+ const expansion = acc[a4] + pre + values[v2];
330527
+ if (dropEmpties && !expansion)
330528
+ continue;
330529
+ if (length + expansion.length > maxLength)
330530
+ return out;
330531
+ out.push(expansion);
330532
+ length += expansion.length;
330533
+ }
330534
+ }
330535
+ return out;
330536
+ }
330537
+ function expandSequence(body, isAlphaSequence, max4, maxLength) {
330538
+ const n14 = body.split(/\.\./);
330539
+ const N = [];
330540
+ if (n14[0] === void 0 || n14[1] === void 0) {
330541
+ return N;
330542
+ }
330543
+ const x2 = numeric(n14[0]);
330544
+ const y2 = numeric(n14[1]);
330545
+ const width = Math.max(n14[0].length, n14[1].length);
330546
+ let incr = n14.length === 3 && n14[2] !== void 0 ? Math.max(Math.abs(numeric(n14[2])), 1) : 1;
330547
+ let test2 = lte;
330548
+ const reverse = y2 < x2;
330549
+ if (reverse) {
330550
+ incr *= -1;
330551
+ test2 = gte;
330552
+ }
330553
+ const pad = n14.some(isPadded);
330554
+ let length = 0;
330555
+ for (let i5 = x2; test2(i5, y2) && N.length < max4; i5 += incr) {
330556
+ let c3;
330557
+ if (isAlphaSequence) {
330558
+ c3 = String.fromCharCode(i5);
330559
+ if (c3 === "\\") {
330560
+ c3 = "";
330561
+ }
330562
+ } else {
330563
+ c3 = String(i5);
330564
+ if (pad) {
330565
+ const need = width - c3.length;
330566
+ if (need > 0) {
330567
+ const z = new Array(need + 1).join("0");
330568
+ if (i5 < 0) {
330569
+ c3 = "-" + z + c3.slice(1);
330570
+ } else {
330571
+ c3 = z + c3;
330572
+ }
330573
+ }
330574
+ }
330575
+ }
330576
+ if (length + c3.length > maxLength)
330577
+ break;
330578
+ N.push(c3);
330579
+ length += c3.length;
330580
+ }
330581
+ return N;
330582
+ }
330583
+ function expand_(str2, max4, maxLength, isTop) {
330584
+ let acc = [""];
330585
+ let dropEmpties = false;
330586
+ let firstGroup = true;
330454
330587
  for (; ; ) {
330455
330588
  const m3 = balanced("{", "}", str2);
330456
- if (!m3)
330457
- return [str2];
330589
+ if (!m3) {
330590
+ return combine4(acc, str2, [""], max4, maxLength, dropEmpties);
330591
+ }
330458
330592
  const pre = m3.pre;
330459
- if (/\$$/.test(m3.pre)) {
330460
- const post2 = m3.post.length ? expand_(m3.post, max4, false) : [""];
330461
- for (let k3 = 0; k3 < post2.length && k3 < max4; k3++) {
330462
- const expansion = pre + "{" + m3.body + "}" + post2[k3];
330463
- expansions.push(expansion);
330464
- }
330465
- return expansions;
330593
+ if (/\$$/.test(pre)) {
330594
+ acc = combine4(acc, pre + "{" + m3.body + "}", [""], max4, maxLength, dropEmpties && !m3.post.length);
330595
+ firstGroup = false;
330596
+ if (!m3.post.length)
330597
+ break;
330598
+ str2 = m3.post;
330599
+ continue;
330466
330600
  }
330467
330601
  const isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m3.body);
330468
330602
  const isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m3.body);
@@ -330474,77 +330608,58 @@ function expand_(str2, max4, isTop) {
330474
330608
  isTop = true;
330475
330609
  continue;
330476
330610
  }
330477
- return [str2];
330611
+ return combine4(acc, pre + "{" + m3.body + "}" + m3.post, [""], max4, maxLength, dropEmpties);
330478
330612
  }
330479
- const post = m3.post.length ? expand_(m3.post, max4, false) : [""];
330480
- let n14;
330613
+ if (firstGroup) {
330614
+ dropEmpties = isTop && !isSequence;
330615
+ firstGroup = false;
330616
+ }
330617
+ let values;
330481
330618
  if (isSequence) {
330482
- n14 = m3.body.split(/\.\./);
330619
+ values = expandSequence(m3.body, isAlphaSequence, max4, maxLength);
330483
330620
  } else {
330484
- n14 = parseCommaParts(m3.body);
330621
+ let n14 = parseCommaParts(m3.body);
330485
330622
  if (n14.length === 1 && n14[0] !== void 0) {
330486
- n14 = expand_(n14[0], max4, false).map(embrace);
330623
+ n14 = expand_(n14[0], max4, maxLength, false).map(embrace);
330487
330624
  if (n14.length === 1) {
330488
- return post.map((p2) => m3.pre + n14[0] + p2);
330625
+ acc = combine4(acc, pre + n14[0], [""], max4, maxLength, dropEmpties && !m3.post.length);
330626
+ if (!m3.post.length)
330627
+ break;
330628
+ str2 = m3.post;
330629
+ continue;
330489
330630
  }
330490
330631
  }
330491
- }
330492
- let N;
330493
- if (isSequence && n14[0] !== void 0 && n14[1] !== void 0) {
330494
- const x2 = numeric(n14[0]);
330495
- const y2 = numeric(n14[1]);
330496
- const width = Math.max(n14[0].length, n14[1].length);
330497
- let incr = n14.length === 3 && n14[2] !== void 0 ? Math.max(Math.abs(numeric(n14[2])), 1) : 1;
330498
- let test2 = lte;
330499
- const reverse = y2 < x2;
330500
- if (reverse) {
330501
- incr *= -1;
330502
- test2 = gte;
330503
- }
330504
- const pad = n14.some(isPadded);
330505
- N = [];
330506
- for (let i5 = x2; test2(i5, y2) && N.length < max4; i5 += incr) {
330507
- let c3;
330508
- if (isAlphaSequence) {
330509
- c3 = String.fromCharCode(i5);
330510
- if (c3 === "\\") {
330511
- c3 = "";
330512
- }
330513
- } else {
330514
- c3 = String(i5);
330515
- if (pad) {
330516
- const need = width - c3.length;
330517
- if (need > 0) {
330518
- const z = new Array(need + 1).join("0");
330519
- if (i5 < 0) {
330520
- c3 = "-" + z + c3.slice(1);
330521
- } else {
330522
- c3 = z + c3;
330523
- }
330524
- }
330525
- }
330632
+ let dropsEmpties = dropEmpties && !m3.post.length && !pre;
330633
+ for (let d5 = 0; dropsEmpties && d5 < acc.length; d5++) {
330634
+ if (acc[d5]) {
330635
+ dropsEmpties = false;
330526
330636
  }
330527
- N.push(c3);
330528
- }
330529
- } else {
330530
- N = [];
330531
- for (let j2 = 0; j2 < n14.length; j2++) {
330532
- N.push.apply(N, expand_(n14[j2], max4, false));
330533
330637
  }
330534
- }
330535
- for (let j2 = 0; j2 < N.length; j2++) {
330536
- for (let k3 = 0; k3 < post.length && expansions.length < max4; k3++) {
330537
- const expansion = pre + N[j2] + post[k3];
330538
- if (!isTop || isSequence || expansion) {
330539
- expansions.push(expansion);
330638
+ values = [];
330639
+ let valuesLength = 0;
330640
+ outer: for (let j2 = 0; j2 < n14.length; j2++) {
330641
+ const expanded = expand_(n14[j2], max4, maxLength, false);
330642
+ for (let k3 = 0; k3 < expanded.length; k3++) {
330643
+ const v2 = expanded[k3];
330644
+ if (dropsEmpties && !v2)
330645
+ continue;
330646
+ if (values.length >= max4 || valuesLength + v2.length > maxLength) {
330647
+ break outer;
330648
+ }
330649
+ values.push(v2);
330650
+ valuesLength += v2.length;
330540
330651
  }
330541
330652
  }
330542
330653
  }
330543
- return expansions;
330654
+ acc = combine4(acc, pre, values, max4, maxLength, dropEmpties && !m3.post.length);
330655
+ if (!m3.post.length)
330656
+ break;
330657
+ str2 = m3.post;
330544
330658
  }
330659
+ return acc;
330545
330660
  }
330546
330661
 
330547
- // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/assert-valid-pattern.js
330662
+ // ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/assert-valid-pattern.js
330548
330663
  init_esm_shims();
330549
330664
  var MAX_PATTERN_LENGTH2 = 1024 * 64;
330550
330665
  var assertValidPattern2 = (pattern) => {
@@ -330556,10 +330671,10 @@ var assertValidPattern2 = (pattern) => {
330556
330671
  }
330557
330672
  };
330558
330673
 
330559
- // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/ast.js
330674
+ // ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/ast.js
330560
330675
  init_esm_shims();
330561
330676
 
330562
- // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/brace-expressions.js
330677
+ // ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/brace-expressions.js
330563
330678
  init_esm_shims();
330564
330679
  var posixClasses2 = {
330565
330680
  "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
@@ -330669,7 +330784,7 @@ var parseClass2 = (glob5, position3) => {
330669
330784
  return [comb, uflag, endPos - pos, true];
330670
330785
  };
330671
330786
 
330672
- // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/unescape.js
330787
+ // ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/unescape.js
330673
330788
  init_esm_shims();
330674
330789
  var unescape3 = (s5, { windowsPathsNoEscape = false, magicalBraces = true } = {}) => {
330675
330790
  if (magicalBraces) {
@@ -330678,7 +330793,7 @@ var unescape3 = (s5, { windowsPathsNoEscape = false, magicalBraces = true } = {}
330678
330793
  return windowsPathsNoEscape ? s5.replace(/\[([^/\\{}])\]/g, "$1") : s5.replace(/((?!\\).|^)\[([^/\\{}])\]/g, "$1$2").replace(/\\([^/{}])/g, "$1");
330679
330794
  };
330680
330795
 
330681
- // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/ast.js
330796
+ // ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/ast.js
330682
330797
  var _a4;
330683
330798
  var types4 = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
330684
330799
  var isExtglobType2 = (c3) => types4.has(c3);
@@ -331322,7 +331437,7 @@ var AST2 = class {
331322
331437
  };
331323
331438
  _a4 = AST2;
331324
331439
 
331325
- // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/escape.js
331440
+ // ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/escape.js
331326
331441
  init_esm_shims();
331327
331442
  var escape2 = (s5, { windowsPathsNoEscape = false, magicalBraces = false } = {}) => {
331328
331443
  if (magicalBraces) {
@@ -331331,7 +331446,7 @@ var escape2 = (s5, { windowsPathsNoEscape = false, magicalBraces = false } = {})
331331
331446
  return windowsPathsNoEscape ? s5.replace(/[?*()[\]]/g, "[$&]") : s5.replace(/[?*()[\]\\]/g, "\\$&");
331332
331447
  };
331333
331448
 
331334
- // ../../node_modules/.pnpm/minimatch@10.2.5/node_modules/minimatch/dist/esm/index.js
331449
+ // ../../node_modules/.pnpm/minimatch@10.2.6/node_modules/minimatch/dist/esm/index.js
331335
331450
  var minimatch2 = (p2, pattern, options = {}) => {
331336
331451
  assertValidPattern2(pattern);
331337
331452
  if (!options.nocomment && pattern.charAt(0) === "#") {
@@ -343382,7 +343497,7 @@ async function upgradeDependency([name3, tag = "latest"]) {
343382
343497
  var npmRequestLimit = (0, import_p_limit2.default)(40);
343383
343498
  function getPackageInfo(pkgName) {
343384
343499
  return npmRequestLimit(async () => {
343385
- const getPackageJson = (await import("./package-json-NTJHTJOW.js")).default;
343500
+ const getPackageJson = (await import("./package-json-4SJ6XQAY.js")).default;
343386
343501
  return getPackageJson(pkgName, {
343387
343502
  allVersions: true
343388
343503
  });