vite-plus 0.1.22 → 0.1.24

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 (67) hide show
  1. package/binding/index.cjs +119 -52
  2. package/binding/index.d.cts +3222 -2
  3. package/dist/agent-Nuk-9l77.js +2470 -0
  4. package/dist/bin.js +13 -8
  5. package/dist/cli-truncate-CWsmbK3p.js +867 -0
  6. package/dist/{compat-OlmU9EQz.js → compat-DXZgnEyq.js} +1 -1
  7. package/dist/config/bin.js +18 -5
  8. package/dist/{constants-kDaYqyWd.js → constants-DCBWlNrn.js} +7 -2
  9. package/dist/create/bin.d.ts +1 -1
  10. package/dist/create/bin.js +194 -87
  11. package/dist/{define-config-IMCGDS2K.d.ts → define-config-COdn-tsn.d.ts} +7 -5
  12. package/dist/define-config.cjs +1 -1
  13. package/dist/define-config.d.ts +1 -1
  14. package/dist/define-config.js +1 -1
  15. package/dist/dist-Bapm49IR.js +3 -0
  16. package/dist/{dist-owlRxmBM.js → dist-BgQuvbtq.js} +136 -110
  17. package/dist/fmt.d.ts +1 -1
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.d.ts +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/is-fullwidth-code-point-BUNlIICg.js +8 -0
  22. package/dist/lint.d.ts +1 -1
  23. package/dist/{log-update-NRrY6krx.js → log-update-lyIiuflf.js} +111 -24
  24. package/dist/migration/bin.js +81 -39
  25. package/dist/{oxlint-plugin-config-BkQeR4FR.js → oxlint-plugin-config-B89iKTKN.js} +1 -1
  26. package/dist/oxlint-plugin.d.ts +2 -4
  27. package/dist/oxlint-plugin.js +1 -1
  28. package/dist/pack-bin.js +1 -1
  29. package/dist/pack.d.ts +1 -1
  30. package/dist/{package-BoLLED6j.js → package-PmBUZ-ve.js} +2 -2
  31. package/dist/staged/bin.js +157 -424
  32. package/dist/strip-ansi-C3wrWz9t.js +853 -0
  33. package/dist/{agent-BWLe0i9g.js → tsconfig-DFb5BKyT.js} +681 -2114
  34. package/dist/version.js +5 -5
  35. package/dist/versions.js +7 -7
  36. package/dist/{workspace-Bi_9spVt.js → workspace-NL-m9wgM.js} +22 -21
  37. package/dist/wrap-ansi-CeQuiQ31.js +2 -0
  38. package/dist/{wrap-ansi-DtUeUCjE.js → wrap-ansi-k7Dn4VtV.js} +1 -1
  39. package/docs/_data/team.ts +3 -3
  40. package/docs/config/run.md +39 -4
  41. package/docs/guide/cache.md +10 -1
  42. package/docs/guide/env.md +3 -0
  43. package/docs/guide/ide-integration.md +2 -2
  44. package/docs/guide/index.md +4 -0
  45. package/docs/guide/install.md +19 -0
  46. package/docs/guide/migrate.md +1 -1
  47. package/docs/guide/run.md +2 -0
  48. package/docs/guide/troubleshooting.md +6 -29
  49. package/docs/guide/upgrade.md +12 -1
  50. package/package.json +20 -20
  51. package/templates/monorepo/_gitignore +1 -0
  52. package/dist/cli-truncate-B62YnW2m.js +0 -138
  53. package/dist/dist-DZfItHAr.js +0 -3
  54. package/dist/slice-ansi-e4todZeH.js +0 -113
  55. package/dist/strip-ansi-D-eYYcD2.js +0 -198
  56. package/dist/tsconfig-BVyzXJ_o.js +0 -517
  57. package/dist/wrap-ansi-3S3qJ7j8.js +0 -2
  58. /package/dist/{chunk-q7NCDQ7-.js → chunk-DnnnRqeS.js} +0 -0
  59. /package/dist/{define-config-GqLoRwH9.cjs → define-config-BR1Y88zz.cjs} +0 -0
  60. /package/dist/{define-config-CzWdQTt2.js → define-config-BRC7qPNE.js} +0 -0
  61. /package/dist/{help-DK5wuu34.js → help-YP84FSEz.js} +0 -0
  62. /package/dist/{lib-DpwyUJWo.js → lib-L3DWSRQp.js} +0 -0
  63. /package/dist/{main-DhsO6ndq.js → main-DpJl3LoU.js} +0 -0
  64. /package/dist/{pack-K7H72Cum.d.ts → pack-Ciiho0Tq.d.ts} +0 -0
  65. /package/dist/{report-CYPv1VK1.js → report-DgSBQUdz.js} +0 -0
  66. /package/dist/{resolve-vite-config-C5AjksTj.js → resolve-vite-config-TTvhycU1.js} +0 -0
  67. /package/dist/{terminal-D_Kg-AA6.js → terminal-uTv0ZaMr.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { n as __require, t as __commonJSMin } from "./chunk-q7NCDQ7-.js";
2
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/identity.js
1
+ import { n as __require, t as __commonJSMin } from "./chunk-DnnnRqeS.js";
2
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
3
3
  var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
4
4
  const ALIAS = Symbol.for("yaml.alias");
5
5
  const DOC = Symbol.for("yaml.document");
@@ -49,7 +49,7 @@ var require_identity = /* @__PURE__ */ __commonJSMin(((exports) => {
49
49
  exports.isSeq = isSeq;
50
50
  }));
51
51
  //#endregion
52
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/visit.js
52
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/visit.js
53
53
  var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
54
54
  var identity = require_identity();
55
55
  const BREAK = Symbol("break visit");
@@ -239,7 +239,7 @@ var require_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
239
239
  exports.visitAsync = visitAsync;
240
240
  }));
241
241
  //#endregion
242
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/directives.js
242
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
243
243
  var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
244
244
  var identity = require_identity();
245
245
  var visit = require_visit();
@@ -404,7 +404,7 @@ var require_directives = /* @__PURE__ */ __commonJSMin(((exports) => {
404
404
  exports.Directives = Directives;
405
405
  }));
406
406
  //#endregion
407
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/anchors.js
407
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
408
408
  var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
409
409
  var identity = require_identity();
410
410
  var visit = require_visit();
@@ -471,7 +471,7 @@ var require_anchors = /* @__PURE__ */ __commonJSMin(((exports) => {
471
471
  exports.findNewAnchor = findNewAnchor;
472
472
  }));
473
473
  //#endregion
474
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/applyReviver.js
474
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
475
475
  var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
476
476
  /**
477
477
  * Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
@@ -511,7 +511,7 @@ var require_applyReviver = /* @__PURE__ */ __commonJSMin(((exports) => {
511
511
  exports.applyReviver = applyReviver;
512
512
  }));
513
513
  //#endregion
514
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/toJS.js
514
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
515
515
  var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
516
516
  var identity = require_identity();
517
517
  /**
@@ -548,7 +548,7 @@ var require_toJS = /* @__PURE__ */ __commonJSMin(((exports) => {
548
548
  exports.toJS = toJS;
549
549
  }));
550
550
  //#endregion
551
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Node.js
551
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
552
552
  var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
553
553
  var applyReviver = require_applyReviver();
554
554
  var identity = require_identity();
@@ -582,7 +582,7 @@ var require_Node = /* @__PURE__ */ __commonJSMin(((exports) => {
582
582
  exports.NodeBase = NodeBase;
583
583
  }));
584
584
  //#endregion
585
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Alias.js
585
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
586
586
  var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
587
587
  var anchors = require_anchors();
588
588
  var visit = require_visit();
@@ -602,6 +602,7 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
602
602
  * instance of the `source` anchor before this node.
603
603
  */
604
604
  resolve(doc, ctx) {
605
+ if (ctx?.maxAliasCount === 0) throw new ReferenceError("Alias resolution is disabled");
605
606
  let nodes;
606
607
  if (ctx?.aliasResolveCache) nodes = ctx.aliasResolveCache;
607
608
  else {
@@ -675,7 +676,7 @@ var require_Alias = /* @__PURE__ */ __commonJSMin(((exports) => {
675
676
  exports.Alias = Alias;
676
677
  }));
677
678
  //#endregion
678
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Scalar.js
679
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
679
680
  var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
680
681
  var identity = require_identity();
681
682
  var Node = require_Node();
@@ -702,7 +703,7 @@ var require_Scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
702
703
  exports.isScalarValue = isScalarValue;
703
704
  }));
704
705
  //#endregion
705
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/createNode.js
706
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
706
707
  var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
707
708
  var Alias = require_Alias();
708
709
  var identity = require_identity();
@@ -765,7 +766,7 @@ var require_createNode = /* @__PURE__ */ __commonJSMin(((exports) => {
765
766
  exports.createNode = createNode;
766
767
  }));
767
768
  //#endregion
768
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Collection.js
769
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
769
770
  var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
770
771
  var createNode = require_createNode();
771
772
  var identity = require_identity();
@@ -886,7 +887,7 @@ var require_Collection = /* @__PURE__ */ __commonJSMin(((exports) => {
886
887
  exports.isEmptyPath = isEmptyPath;
887
888
  }));
888
889
  //#endregion
889
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyComment.js
890
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
890
891
  var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
891
892
  /**
892
893
  * Stringifies a comment.
@@ -906,7 +907,7 @@ var require_stringifyComment = /* @__PURE__ */ __commonJSMin(((exports) => {
906
907
  exports.stringifyComment = stringifyComment;
907
908
  }));
908
909
  //#endregion
909
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/foldFlowLines.js
910
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
910
911
  var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
911
912
  const FOLD_FLOW = "flow";
912
913
  const FOLD_BLOCK = "block";
@@ -1022,7 +1023,7 @@ var require_foldFlowLines = /* @__PURE__ */ __commonJSMin(((exports) => {
1022
1023
  exports.foldFlowLines = foldFlowLines;
1023
1024
  }));
1024
1025
  //#endregion
1025
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyString.js
1026
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
1026
1027
  var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
1027
1028
  var Scalar = require_Scalar();
1028
1029
  var foldFlowLines = require_foldFlowLines();
@@ -1246,7 +1247,7 @@ var require_stringifyString = /* @__PURE__ */ __commonJSMin(((exports) => {
1246
1247
  exports.stringifyString = stringifyString;
1247
1248
  }));
1248
1249
  //#endregion
1249
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringify.js
1250
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
1250
1251
  var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
1251
1252
  var anchors = require_anchors();
1252
1253
  var identity = require_identity();
@@ -1269,6 +1270,7 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
1269
1270
  nullStr: "null",
1270
1271
  simpleKeys: false,
1271
1272
  singleQuote: null,
1273
+ trailingComma: false,
1272
1274
  trueStr: "true",
1273
1275
  verifyAliasOrder: true
1274
1276
  }, doc.schema.toStringOptions, options);
@@ -1353,7 +1355,7 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
1353
1355
  exports.stringify = stringify;
1354
1356
  }));
1355
1357
  //#endregion
1356
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyPair.js
1358
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
1357
1359
  var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
1358
1360
  var identity = require_identity();
1359
1361
  var Scalar = require_Scalar();
@@ -1450,7 +1452,7 @@ var require_stringifyPair = /* @__PURE__ */ __commonJSMin(((exports) => {
1450
1452
  exports.stringifyPair = stringifyPair;
1451
1453
  }));
1452
1454
  //#endregion
1453
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/log.js
1455
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/log.js
1454
1456
  var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
1455
1457
  var node_process$2 = __require("process");
1456
1458
  function debug(logLevel, ...messages) {
@@ -1464,7 +1466,7 @@ var require_log = /* @__PURE__ */ __commonJSMin(((exports) => {
1464
1466
  exports.warn = warn;
1465
1467
  }));
1466
1468
  //#endregion
1467
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1469
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1468
1470
  var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
1469
1471
  var identity = require_identity();
1470
1472
  var Scalar = require_Scalar();
@@ -1479,13 +1481,13 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
1479
1481
  };
1480
1482
  const isMergeKey = (ctx, key) => (merge.identify(key) || identity.isScalar(key) && (!key.type || key.type === Scalar.Scalar.PLAIN) && merge.identify(key.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge.tag && tag.default);
1481
1483
  function addMergeToJSMap(ctx, map, value) {
1482
- value = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
1483
- if (identity.isSeq(value)) for (const it of value.items) mergeValue(ctx, map, it);
1484
- else if (Array.isArray(value)) for (const it of value) mergeValue(ctx, map, it);
1485
- else mergeValue(ctx, map, value);
1484
+ const source = resolveAliasValue(ctx, value);
1485
+ if (identity.isSeq(source)) for (const it of source.items) mergeValue(ctx, map, it);
1486
+ else if (Array.isArray(source)) for (const it of source) mergeValue(ctx, map, it);
1487
+ else mergeValue(ctx, map, source);
1486
1488
  }
1487
1489
  function mergeValue(ctx, map, value) {
1488
- const source = ctx && identity.isAlias(value) ? value.resolve(ctx.doc) : value;
1490
+ const source = resolveAliasValue(ctx, value);
1489
1491
  if (!identity.isMap(source)) throw new Error("Merge sources must be maps or map aliases");
1490
1492
  const srcMap = source.toJSON(null, ctx, Map);
1491
1493
  for (const [key, value] of srcMap) if (map instanceof Map) {
@@ -1499,12 +1501,15 @@ var require_merge = /* @__PURE__ */ __commonJSMin(((exports) => {
1499
1501
  });
1500
1502
  return map;
1501
1503
  }
1504
+ function resolveAliasValue(ctx, value) {
1505
+ return ctx && identity.isAlias(value) ? value.resolve(ctx.doc, ctx) : value;
1506
+ }
1502
1507
  exports.addMergeToJSMap = addMergeToJSMap;
1503
1508
  exports.isMergeKey = isMergeKey;
1504
1509
  exports.merge = merge;
1505
1510
  }));
1506
1511
  //#endregion
1507
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/addPairToJSMap.js
1512
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
1508
1513
  var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
1509
1514
  var log = require_log();
1510
1515
  var merge = require_merge();
@@ -1555,7 +1560,7 @@ var require_addPairToJSMap = /* @__PURE__ */ __commonJSMin(((exports) => {
1555
1560
  exports.addPairToJSMap = addPairToJSMap;
1556
1561
  }));
1557
1562
  //#endregion
1558
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/Pair.js
1563
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
1559
1564
  var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
1560
1565
  var createNode = require_createNode();
1561
1566
  var stringifyPair = require_stringifyPair();
@@ -1588,7 +1593,7 @@ var require_Pair = /* @__PURE__ */ __commonJSMin(((exports) => {
1588
1593
  exports.createPair = createPair;
1589
1594
  }));
1590
1595
  //#endregion
1591
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyCollection.js
1596
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
1592
1597
  var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
1593
1598
  var identity = require_identity();
1594
1599
  var stringify = require_stringify();
@@ -1672,9 +1677,13 @@ var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
1672
1677
  }
1673
1678
  if (comment) reqNewline = true;
1674
1679
  let str = stringify.stringify(item, itemCtx, () => comment = null);
1680
+ reqNewline || (reqNewline = lines.length > linesAtValue || str.includes("\n"));
1675
1681
  if (i < items.length - 1) str += ",";
1682
+ else if (ctx.options.trailingComma) {
1683
+ if (ctx.options.lineWidth > 0) reqNewline || (reqNewline = lines.reduce((sum, line) => sum + line.length + 2, 2) + (str.length + 2) > ctx.options.lineWidth);
1684
+ if (reqNewline) str += ",";
1685
+ }
1676
1686
  if (comment) str += stringifyComment.lineComment(str, itemIndent, commentString(comment));
1677
- if (!reqNewline && (lines.length > linesAtValue || str.includes("\n"))) reqNewline = true;
1678
1687
  lines.push(str);
1679
1688
  linesAtValue = lines.length;
1680
1689
  }
@@ -1702,7 +1711,7 @@ var require_stringifyCollection = /* @__PURE__ */ __commonJSMin(((exports) => {
1702
1711
  exports.stringifyCollection = stringifyCollection;
1703
1712
  }));
1704
1713
  //#endregion
1705
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLMap.js
1714
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
1706
1715
  var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
1707
1716
  var stringifyCollection = require_stringifyCollection();
1708
1717
  var addPairToJSMap = require_addPairToJSMap();
@@ -1811,7 +1820,7 @@ var require_YAMLMap = /* @__PURE__ */ __commonJSMin(((exports) => {
1811
1820
  exports.findPair = findPair;
1812
1821
  }));
1813
1822
  //#endregion
1814
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/map.js
1823
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
1815
1824
  var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
1816
1825
  var identity = require_identity();
1817
1826
  var YAMLMap = require_YAMLMap();
@@ -1828,7 +1837,7 @@ var require_map = /* @__PURE__ */ __commonJSMin(((exports) => {
1828
1837
  };
1829
1838
  }));
1830
1839
  //#endregion
1831
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/nodes/YAMLSeq.js
1840
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
1832
1841
  var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
1833
1842
  var createNode = require_createNode();
1834
1843
  var stringifyCollection = require_stringifyCollection();
@@ -1934,7 +1943,7 @@ var require_YAMLSeq = /* @__PURE__ */ __commonJSMin(((exports) => {
1934
1943
  exports.YAMLSeq = YAMLSeq;
1935
1944
  }));
1936
1945
  //#endregion
1937
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/seq.js
1946
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
1938
1947
  var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
1939
1948
  var identity = require_identity();
1940
1949
  var YAMLSeq = require_YAMLSeq();
@@ -1951,7 +1960,7 @@ var require_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
1951
1960
  };
1952
1961
  }));
1953
1962
  //#endregion
1954
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/string.js
1963
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
1955
1964
  var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
1956
1965
  var stringifyString = require_stringifyString();
1957
1966
  exports.string = {
@@ -1966,7 +1975,7 @@ var require_string = /* @__PURE__ */ __commonJSMin(((exports) => {
1966
1975
  };
1967
1976
  }));
1968
1977
  //#endregion
1969
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/common/null.js
1978
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
1970
1979
  var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
1971
1980
  var Scalar = require_Scalar();
1972
1981
  const nullTag = {
@@ -1981,7 +1990,7 @@ var require_null = /* @__PURE__ */ __commonJSMin(((exports) => {
1981
1990
  exports.nullTag = nullTag;
1982
1991
  }));
1983
1992
  //#endregion
1984
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/bool.js
1993
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
1985
1994
  var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
1986
1995
  var Scalar = require_Scalar();
1987
1996
  const boolTag = {
@@ -2000,14 +2009,14 @@ var require_bool$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2000
2009
  exports.boolTag = boolTag;
2001
2010
  }));
2002
2011
  //#endregion
2003
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyNumber.js
2012
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
2004
2013
  var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
2005
2014
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2006
2015
  if (typeof value === "bigint") return String(value);
2007
2016
  const num = typeof value === "number" ? value : Number(value);
2008
2017
  if (!isFinite(num)) return isNaN(num) ? ".nan" : num < 0 ? "-.inf" : ".inf";
2009
2018
  let n = Object.is(value, -0) ? "-0" : JSON.stringify(value);
2010
- if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n)) {
2019
+ if (!format && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^-?\d/.test(n) && !n.includes("e")) {
2011
2020
  let i = n.indexOf(".");
2012
2021
  if (i < 0) {
2013
2022
  i = n.length;
@@ -2021,7 +2030,7 @@ var require_stringifyNumber = /* @__PURE__ */ __commonJSMin(((exports) => {
2021
2030
  exports.stringifyNumber = stringifyNumber;
2022
2031
  }));
2023
2032
  //#endregion
2024
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/float.js
2033
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
2025
2034
  var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2026
2035
  var Scalar = require_Scalar();
2027
2036
  var stringifyNumber = require_stringifyNumber();
@@ -2062,7 +2071,7 @@ var require_float$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2062
2071
  exports.floatNaN = floatNaN;
2063
2072
  }));
2064
2073
  //#endregion
2065
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/int.js
2074
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
2066
2075
  var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2067
2076
  var stringifyNumber = require_stringifyNumber();
2068
2077
  const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2103,7 +2112,7 @@ var require_int$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2103
2112
  exports.intOct = intOct;
2104
2113
  }));
2105
2114
  //#endregion
2106
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/core/schema.js
2115
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
2107
2116
  var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
2108
2117
  var map = require_map();
2109
2118
  var _null = require_null();
@@ -2127,7 +2136,7 @@ var require_schema$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
2127
2136
  ];
2128
2137
  }));
2129
2138
  //#endregion
2130
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/json/schema.js
2139
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
2131
2140
  var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2132
2141
  var Scalar = require_Scalar();
2133
2142
  var map = require_map();
@@ -2189,7 +2198,7 @@ var require_schema$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2189
2198
  });
2190
2199
  }));
2191
2200
  //#endregion
2192
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2201
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2193
2202
  var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
2194
2203
  var node_buffer = __require("buffer");
2195
2204
  var Scalar = require_Scalar();
@@ -2245,7 +2254,7 @@ var require_binary = /* @__PURE__ */ __commonJSMin(((exports) => {
2245
2254
  };
2246
2255
  }));
2247
2256
  //#endregion
2248
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2257
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2249
2258
  var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
2250
2259
  var identity = require_identity();
2251
2260
  var Pair = require_Pair();
@@ -2305,7 +2314,7 @@ var require_pairs = /* @__PURE__ */ __commonJSMin(((exports) => {
2305
2314
  exports.resolvePairs = resolvePairs;
2306
2315
  }));
2307
2316
  //#endregion
2308
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2317
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2309
2318
  var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
2310
2319
  var identity = require_identity();
2311
2320
  var toJS = require_toJS();
@@ -2368,7 +2377,7 @@ var require_omap = /* @__PURE__ */ __commonJSMin(((exports) => {
2368
2377
  exports.omap = omap;
2369
2378
  }));
2370
2379
  //#endregion
2371
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2380
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2372
2381
  var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
2373
2382
  var Scalar = require_Scalar();
2374
2383
  function boolStringify({ value, source }, ctx) {
@@ -2395,7 +2404,7 @@ var require_bool = /* @__PURE__ */ __commonJSMin(((exports) => {
2395
2404
  exports.trueTag = trueTag;
2396
2405
  }));
2397
2406
  //#endregion
2398
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/float.js
2407
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
2399
2408
  var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
2400
2409
  var Scalar = require_Scalar();
2401
2410
  var stringifyNumber = require_stringifyNumber();
@@ -2439,7 +2448,7 @@ var require_float = /* @__PURE__ */ __commonJSMin(((exports) => {
2439
2448
  exports.floatNaN = floatNaN;
2440
2449
  }));
2441
2450
  //#endregion
2442
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/int.js
2451
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
2443
2452
  var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
2444
2453
  var stringifyNumber = require_stringifyNumber();
2445
2454
  const intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2514,7 +2523,7 @@ var require_int = /* @__PURE__ */ __commonJSMin(((exports) => {
2514
2523
  exports.intOct = intOct;
2515
2524
  }));
2516
2525
  //#endregion
2517
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/set.js
2526
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
2518
2527
  var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
2519
2528
  var identity = require_identity();
2520
2529
  var Pair = require_Pair();
@@ -2582,7 +2591,7 @@ var require_set = /* @__PURE__ */ __commonJSMin(((exports) => {
2582
2591
  exports.set = set;
2583
2592
  }));
2584
2593
  //#endregion
2585
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2594
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2586
2595
  var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
2587
2596
  var stringifyNumber = require_stringifyNumber();
2588
2597
  /** Internal types handle bigint as number, because TS can't figure it out. */
@@ -2665,7 +2674,7 @@ var require_timestamp = /* @__PURE__ */ __commonJSMin(((exports) => {
2665
2674
  exports.timestamp = timestamp;
2666
2675
  }));
2667
2676
  //#endregion
2668
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2677
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2669
2678
  var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2670
2679
  var map = require_map();
2671
2680
  var _null = require_null();
@@ -2705,7 +2714,7 @@ var require_schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2705
2714
  ];
2706
2715
  }));
2707
2716
  //#endregion
2708
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/tags.js
2717
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
2709
2718
  var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
2710
2719
  var map = require_map();
2711
2720
  var _null = require_null();
@@ -2789,7 +2798,7 @@ var require_tags = /* @__PURE__ */ __commonJSMin(((exports) => {
2789
2798
  exports.getTags = getTags;
2790
2799
  }));
2791
2800
  //#endregion
2792
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/schema/Schema.js
2801
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
2793
2802
  var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2794
2803
  var identity = require_identity();
2795
2804
  var map = require_map();
@@ -2817,7 +2826,7 @@ var require_Schema = /* @__PURE__ */ __commonJSMin(((exports) => {
2817
2826
  };
2818
2827
  }));
2819
2828
  //#endregion
2820
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/stringify/stringifyDocument.js
2829
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
2821
2830
  var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
2822
2831
  var identity = require_identity();
2823
2832
  var stringify = require_stringify();
@@ -2878,7 +2887,7 @@ var require_stringifyDocument = /* @__PURE__ */ __commonJSMin(((exports) => {
2878
2887
  exports.stringifyDocument = stringifyDocument;
2879
2888
  }));
2880
2889
  //#endregion
2881
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/doc/Document.js
2890
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
2882
2891
  var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
2883
2892
  var Alias = require_Alias();
2884
2893
  var Collection = require_Collection();
@@ -3159,7 +3168,7 @@ var require_Document = /* @__PURE__ */ __commonJSMin(((exports) => {
3159
3168
  exports.Document = Document;
3160
3169
  }));
3161
3170
  //#endregion
3162
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/errors.js
3171
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/errors.js
3163
3172
  var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
3164
3173
  var YAMLError = class extends Error {
3165
3174
  constructor(name, pos, code, message) {
@@ -3212,7 +3221,7 @@ var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
3212
3221
  exports.prettifyError = prettifyError;
3213
3222
  }));
3214
3223
  //#endregion
3215
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-props.js
3224
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
3216
3225
  var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
3217
3226
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
3218
3227
  let spaceBefore = false;
@@ -3319,7 +3328,7 @@ var require_resolve_props = /* @__PURE__ */ __commonJSMin(((exports) => {
3319
3328
  exports.resolveProps = resolveProps;
3320
3329
  }));
3321
3330
  //#endregion
3322
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-contains-newline.js
3331
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
3323
3332
  var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) => {
3324
3333
  function containsNewline(key) {
3325
3334
  if (!key) return null;
@@ -3348,7 +3357,7 @@ var require_util_contains_newline = /* @__PURE__ */ __commonJSMin(((exports) =>
3348
3357
  exports.containsNewline = containsNewline;
3349
3358
  }));
3350
3359
  //#endregion
3351
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-flow-indent-check.js
3360
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
3352
3361
  var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) => {
3353
3362
  var utilContainsNewline = require_util_contains_newline();
3354
3363
  function flowIndentCheck(indent, fc, onError) {
@@ -3360,7 +3369,7 @@ var require_util_flow_indent_check = /* @__PURE__ */ __commonJSMin(((exports) =>
3360
3369
  exports.flowIndentCheck = flowIndentCheck;
3361
3370
  }));
3362
3371
  //#endregion
3363
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-map-includes.js
3372
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
3364
3373
  var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
3365
3374
  var identity = require_identity();
3366
3375
  function mapIncludes(ctx, items, search) {
@@ -3372,7 +3381,7 @@ var require_util_map_includes = /* @__PURE__ */ __commonJSMin(((exports) => {
3372
3381
  exports.mapIncludes = mapIncludes;
3373
3382
  }));
3374
3383
  //#endregion
3375
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-map.js
3384
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
3376
3385
  var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
3377
3386
  var Pair = require_Pair();
3378
3387
  var YAMLMap = require_YAMLMap();
@@ -3456,7 +3465,7 @@ var require_resolve_block_map = /* @__PURE__ */ __commonJSMin(((exports) => {
3456
3465
  exports.resolveBlockMap = resolveBlockMap;
3457
3466
  }));
3458
3467
  //#endregion
3459
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-seq.js
3468
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
3460
3469
  var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
3461
3470
  var YAMLSeq = require_YAMLSeq();
3462
3471
  var resolveProps = require_resolve_props();
@@ -3498,7 +3507,7 @@ var require_resolve_block_seq = /* @__PURE__ */ __commonJSMin(((exports) => {
3498
3507
  exports.resolveBlockSeq = resolveBlockSeq;
3499
3508
  }));
3500
3509
  //#endregion
3501
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-end.js
3510
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
3502
3511
  var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
3503
3512
  function resolveEnd(end, offset, reqSpace, onError) {
3504
3513
  let comment = "";
@@ -3536,7 +3545,7 @@ var require_resolve_end = /* @__PURE__ */ __commonJSMin(((exports) => {
3536
3545
  exports.resolveEnd = resolveEnd;
3537
3546
  }));
3538
3547
  //#endregion
3539
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-collection.js
3548
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
3540
3549
  var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
3541
3550
  var identity = require_identity();
3542
3551
  var Pair = require_Pair();
@@ -3691,7 +3700,7 @@ var require_resolve_flow_collection = /* @__PURE__ */ __commonJSMin(((exports) =
3691
3700
  exports.resolveFlowCollection = resolveFlowCollection;
3692
3701
  }));
3693
3702
  //#endregion
3694
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-collection.js
3703
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
3695
3704
  var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
3696
3705
  var identity = require_identity();
3697
3706
  var Scalar = require_Scalar();
@@ -3743,7 +3752,7 @@ var require_compose_collection = /* @__PURE__ */ __commonJSMin(((exports) => {
3743
3752
  exports.composeCollection = composeCollection;
3744
3753
  }));
3745
3754
  //#endregion
3746
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-block-scalar.js
3755
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
3747
3756
  var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
3748
3757
  var Scalar = require_Scalar();
3749
3758
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -3919,7 +3928,7 @@ var require_resolve_block_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
3919
3928
  exports.resolveBlockScalar = resolveBlockScalar;
3920
3929
  }));
3921
3930
  //#endregion
3922
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/resolve-flow-scalar.js
3931
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
3923
3932
  var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
3924
3933
  var Scalar = require_Scalar();
3925
3934
  var resolveEnd = require_resolve_end();
@@ -4053,11 +4062,7 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
4053
4062
  next = source[++i + 1];
4054
4063
  while (next === " " || next === " ") next = source[++i + 1];
4055
4064
  } else if (next === "x" || next === "u" || next === "U") {
4056
- const length = {
4057
- x: 2,
4058
- u: 4,
4059
- U: 8
4060
- }[next];
4065
+ const length = next === "x" ? 2 : next === "u" ? 4 : 8;
4061
4066
  res += parseCharCode(source, i + 1, length, onError);
4062
4067
  i += length;
4063
4068
  } else {
@@ -4117,17 +4122,18 @@ var require_resolve_flow_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
4117
4122
  function parseCharCode(source, offset, length, onError) {
4118
4123
  const cc = source.substr(offset, length);
4119
4124
  const code = cc.length === length && /^[0-9a-fA-F]+$/.test(cc) ? parseInt(cc, 16) : NaN;
4120
- if (isNaN(code)) {
4125
+ try {
4126
+ return String.fromCodePoint(code);
4127
+ } catch {
4121
4128
  const raw = source.substr(offset - 2, length + 2);
4122
4129
  onError(offset - 2, "BAD_DQ_ESCAPE", `Invalid escape sequence ${raw}`);
4123
4130
  return raw;
4124
4131
  }
4125
- return String.fromCodePoint(code);
4126
4132
  }
4127
4133
  exports.resolveFlowScalar = resolveFlowScalar;
4128
4134
  }));
4129
4135
  //#endregion
4130
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-scalar.js
4136
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
4131
4137
  var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
4132
4138
  var identity = require_identity();
4133
4139
  var Scalar = require_Scalar();
@@ -4186,7 +4192,7 @@ var require_compose_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
4186
4192
  exports.composeScalar = composeScalar;
4187
4193
  }));
4188
4194
  //#endregion
4189
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4195
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4190
4196
  var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports) => {
4191
4197
  function emptyScalarPosition(offset, before, pos) {
4192
4198
  if (before) {
@@ -4213,7 +4219,7 @@ var require_util_empty_scalar_position = /* @__PURE__ */ __commonJSMin(((exports
4213
4219
  exports.emptyScalarPosition = emptyScalarPosition;
4214
4220
  }));
4215
4221
  //#endregion
4216
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-node.js
4222
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
4217
4223
  var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
4218
4224
  var Alias = require_Alias();
4219
4225
  var identity = require_identity();
@@ -4245,14 +4251,18 @@ var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
4245
4251
  case "block-map":
4246
4252
  case "block-seq":
4247
4253
  case "flow-collection":
4248
- node = composeCollection.composeCollection(CN, ctx, token, props, onError);
4249
- if (anchor) node.anchor = anchor.source.substring(1);
4254
+ try {
4255
+ node = composeCollection.composeCollection(CN, ctx, token, props, onError);
4256
+ if (anchor) node.anchor = anchor.source.substring(1);
4257
+ } catch (error) {
4258
+ onError(token, "RESOURCE_EXHAUSTION", error instanceof Error ? error.message : String(error));
4259
+ }
4250
4260
  break;
4251
4261
  default:
4252
4262
  onError(token, "UNEXPECTED_TOKEN", token.type === "error" ? token.message : `Unsupported token (type: ${token.type})`);
4253
- node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError);
4254
4263
  isSrcToken = false;
4255
4264
  }
4265
+ node ?? (node = composeEmptyNode(ctx, token.offset, void 0, null, props, onError));
4256
4266
  if (anchor && node.anchor === "") onError(anchor, "BAD_ALIAS", "Anchor cannot be an empty string");
4257
4267
  if (atKey && ctx.options.stringKeys && (!identity.isScalar(node) || typeof node.value !== "string" || node.tag && node.tag !== "tag:yaml.org,2002:str")) onError(tag ?? token, "NON_STRING_KEY", "With stringKeys, all keys must be strings");
4258
4268
  if (spaceBefore) node.spaceBefore = true;
@@ -4298,7 +4308,7 @@ var require_compose_node = /* @__PURE__ */ __commonJSMin(((exports) => {
4298
4308
  exports.composeNode = composeNode;
4299
4309
  }));
4300
4310
  //#endregion
4301
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/compose-doc.js
4311
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
4302
4312
  var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
4303
4313
  var Document = require_Document();
4304
4314
  var composeNode = require_compose_node();
@@ -4340,7 +4350,7 @@ var require_compose_doc = /* @__PURE__ */ __commonJSMin(((exports) => {
4340
4350
  exports.composeDoc = composeDoc;
4341
4351
  }));
4342
4352
  //#endregion
4343
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/compose/composer.js
4353
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
4344
4354
  var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
4345
4355
  var node_process$1 = __require("process");
4346
4356
  var directives = require_directives();
@@ -4424,8 +4434,8 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
4424
4434
  }
4425
4435
  }
4426
4436
  if (afterDoc) {
4427
- Array.prototype.push.apply(doc.errors, this.errors);
4428
- Array.prototype.push.apply(doc.warnings, this.warnings);
4437
+ for (let i = 0; i < this.errors.length; ++i) doc.errors.push(this.errors[i]);
4438
+ for (let i = 0; i < this.warnings.length; ++i) doc.warnings.push(this.warnings[i]);
4429
4439
  } else {
4430
4440
  doc.errors = this.errors;
4431
4441
  doc.warnings = this.warnings;
@@ -4538,7 +4548,7 @@ var require_composer = /* @__PURE__ */ __commonJSMin(((exports) => {
4538
4548
  exports.Composer = Composer;
4539
4549
  }));
4540
4550
  //#endregion
4541
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-scalar.js
4551
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
4542
4552
  var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
4543
4553
  var resolveBlockScalar = require_resolve_block_scalar();
4544
4554
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -4805,7 +4815,7 @@ var require_cst_scalar = /* @__PURE__ */ __commonJSMin(((exports) => {
4805
4815
  exports.setScalarValue = setScalarValue;
4806
4816
  }));
4807
4817
  //#endregion
4808
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-stringify.js
4818
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
4809
4819
  var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
4810
4820
  /**
4811
4821
  * Stringify a CST document, token, or collection item
@@ -4856,7 +4866,7 @@ var require_cst_stringify = /* @__PURE__ */ __commonJSMin(((exports) => {
4856
4866
  exports.stringify = stringify;
4857
4867
  }));
4858
4868
  //#endregion
4859
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst-visit.js
4869
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
4860
4870
  var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
4861
4871
  const BREAK = Symbol("break visit");
4862
4872
  const SKIP = Symbol("skip children");
@@ -4947,7 +4957,7 @@ var require_cst_visit = /* @__PURE__ */ __commonJSMin(((exports) => {
4947
4957
  exports.visit = visit;
4948
4958
  }));
4949
4959
  //#endregion
4950
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/cst.js
4960
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
4951
4961
  var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
4952
4962
  var cstScalar = require_cst_scalar();
4953
4963
  var cstStringify = require_cst_stringify();
@@ -5026,7 +5036,7 @@ var require_cst = /* @__PURE__ */ __commonJSMin(((exports) => {
5026
5036
  exports.tokenType = tokenType;
5027
5037
  }));
5028
5038
  //#endregion
5029
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/lexer.js
5039
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
5030
5040
  var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
5031
5041
  var cst = require_cst();
5032
5042
  function isEmpty(ch) {
@@ -5240,7 +5250,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
5240
5250
  const n = (yield* this.pushCount(1)) + (yield* this.pushSpaces(true));
5241
5251
  this.indentNext = this.indentValue + 1;
5242
5252
  this.indentValue += n;
5243
- return yield* this.parseBlockStart();
5253
+ return "block-start";
5244
5254
  }
5245
5255
  return "doc";
5246
5256
  }
@@ -5484,22 +5494,34 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
5484
5494
  return 0;
5485
5495
  }
5486
5496
  *pushIndicators() {
5487
- switch (this.charAt(0)) {
5488
- case "!": return (yield* this.pushTag()) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
5489
- case "&": return (yield* this.pushUntil(isNotAnchorChar)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
5490
- case "-":
5491
- case "?":
5492
- case ":": {
5493
- const inFlow = this.flowLevel > 0;
5494
- const ch1 = this.charAt(1);
5495
- if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
5496
- if (!inFlow) this.indentNext = this.indentValue + 1;
5497
- else if (this.flowKey) this.flowKey = false;
5498
- return (yield* this.pushCount(1)) + (yield* this.pushSpaces(true)) + (yield* this.pushIndicators());
5497
+ let n = 0;
5498
+ loop: while (true) {
5499
+ switch (this.charAt(0)) {
5500
+ case "!":
5501
+ n += yield* this.pushTag();
5502
+ n += yield* this.pushSpaces(true);
5503
+ continue loop;
5504
+ case "&":
5505
+ n += yield* this.pushUntil(isNotAnchorChar);
5506
+ n += yield* this.pushSpaces(true);
5507
+ continue loop;
5508
+ case "-":
5509
+ case "?":
5510
+ case ":": {
5511
+ const inFlow = this.flowLevel > 0;
5512
+ const ch1 = this.charAt(1);
5513
+ if (isEmpty(ch1) || inFlow && flowIndicatorChars.has(ch1)) {
5514
+ if (!inFlow) this.indentNext = this.indentValue + 1;
5515
+ else if (this.flowKey) this.flowKey = false;
5516
+ n += yield* this.pushCount(1);
5517
+ n += yield* this.pushSpaces(true);
5518
+ continue loop;
5519
+ }
5499
5520
  }
5500
5521
  }
5522
+ break loop;
5501
5523
  }
5502
- return 0;
5524
+ return n;
5503
5525
  }
5504
5526
  *pushTag() {
5505
5527
  if (this.charAt(1) === "<") {
@@ -5545,7 +5567,7 @@ var require_lexer = /* @__PURE__ */ __commonJSMin(((exports) => {
5545
5567
  exports.Lexer = Lexer;
5546
5568
  }));
5547
5569
  //#endregion
5548
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/line-counter.js
5570
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
5549
5571
  var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
5550
5572
  /**
5551
5573
  * Tracks newlines during parsing in order to provide an efficient API for
@@ -5592,7 +5614,7 @@ var require_line_counter = /* @__PURE__ */ __commonJSMin(((exports) => {
5592
5614
  exports.LineCounter = LineCounter;
5593
5615
  }));
5594
5616
  //#endregion
5595
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/parse/parser.js
5617
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
5596
5618
  var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
5597
5619
  var node_process = __require("process");
5598
5620
  var cst = require_cst();
@@ -5646,14 +5668,18 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
5646
5668
  while (prev[++i]?.type === "space");
5647
5669
  return prev.splice(i, prev.length);
5648
5670
  }
5671
+ function arrayPushArray(target, source) {
5672
+ if (source.length < 1e5) Array.prototype.push.apply(target, source);
5673
+ else for (let i = 0; i < source.length; ++i) target.push(source[i]);
5674
+ }
5649
5675
  function fixFlowSeqItems(fc) {
5650
5676
  if (fc.start.type === "flow-seq-start") {
5651
5677
  for (const it of fc.items) if (it.sep && !it.value && !includesToken(it.start, "explicit-key-ind") && !includesToken(it.sep, "map-value-ind")) {
5652
5678
  if (it.key) it.value = it.key;
5653
5679
  delete it.key;
5654
- if (isFlowToken(it.value)) if (it.value.end) Array.prototype.push.apply(it.value.end, it.sep);
5680
+ if (isFlowToken(it.value)) if (it.value.end) arrayPushArray(it.value.end, it.sep);
5655
5681
  else it.value.end = it.sep;
5656
- else Array.prototype.push.apply(it.start, it.sep);
5682
+ else arrayPushArray(it.start, it.sep);
5657
5683
  delete it.sep;
5658
5684
  }
5659
5685
  }
@@ -6025,7 +6051,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
6025
6051
  if (this.atIndentedComment(it.start, map.indent)) {
6026
6052
  const end = map.items[map.items.length - 2]?.value?.end;
6027
6053
  if (Array.isArray(end)) {
6028
- Array.prototype.push.apply(end, it.start);
6054
+ arrayPushArray(end, it.start);
6029
6055
  end.push(this.sourceToken);
6030
6056
  map.items.pop();
6031
6057
  return;
@@ -6223,7 +6249,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
6223
6249
  if (this.atIndentedComment(it.start, seq.indent)) {
6224
6250
  const end = seq.items[seq.items.length - 2]?.value?.end;
6225
6251
  if (Array.isArray(end)) {
6226
- Array.prototype.push.apply(end, it.start);
6252
+ arrayPushArray(end, it.start);
6227
6253
  end.push(this.sourceToken);
6228
6254
  seq.items.pop();
6229
6255
  return;
@@ -6451,7 +6477,7 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports) => {
6451
6477
  exports.Parser = Parser;
6452
6478
  }));
6453
6479
  //#endregion
6454
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/public-api.js
6480
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/public-api.js
6455
6481
  var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
6456
6482
  var composer = require_composer();
6457
6483
  var Document = require_Document();
@@ -6538,7 +6564,7 @@ var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
6538
6564
  exports.stringify = stringify;
6539
6565
  }));
6540
6566
  //#endregion
6541
- //#region ../../node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/dist/index.js
6567
+ //#region ../../node_modules/.pnpm/yaml@2.9.0/node_modules/yaml/dist/index.js
6542
6568
  var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
6543
6569
  var composer = require_composer();
6544
6570
  var Document = require_Document();