@libtmux/workspace-cli 0.1.0-alpha.12 → 0.1.0-alpha.13

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.
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  __commonJS,
3
3
  __require
4
- } from "./main-1de529jm.js";
4
+ } from "./main-p4mbtvt8.js";
5
5
 
6
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
6
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js
7
7
  var require_identity = __commonJS(function(exports) {
8
8
  var ALIAS = Symbol.for("yaml.alias");
9
9
  var DOC = Symbol.for("yaml.document");
@@ -57,7 +57,7 @@ var require_identity = __commonJS(function(exports) {
57
57
  exports.isSeq = isSeq;
58
58
  });
59
59
 
60
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
60
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/visit.js
61
61
  var require_visit = __commonJS(function(exports) {
62
62
  var identity = require_identity();
63
63
  var BREAK = Symbol("break visit");
@@ -212,7 +212,7 @@ var require_visit = __commonJS(function(exports) {
212
212
  exports.visitAsync = visitAsync;
213
213
  });
214
214
 
215
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
215
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js
216
216
  var require_directives = __commonJS(function(exports) {
217
217
  var identity = require_identity();
218
218
  var visit = require_visit();
@@ -364,7 +364,7 @@ var require_directives = __commonJS(function(exports) {
364
364
  exports.Directives = Directives;
365
365
  });
366
366
 
367
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
367
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js
368
368
  var require_anchors = __commonJS(function(exports) {
369
369
  var identity = require_identity();
370
370
  var visit = require_visit();
@@ -426,7 +426,7 @@ var require_anchors = __commonJS(function(exports) {
426
426
  exports.findNewAnchor = findNewAnchor;
427
427
  });
428
428
 
429
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
429
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js
430
430
  var require_applyReviver = __commonJS(function(exports) {
431
431
  function applyReviver(reviver, obj, key, val) {
432
432
  if (val && typeof val === "object") {
@@ -473,7 +473,7 @@ var require_applyReviver = __commonJS(function(exports) {
473
473
  exports.applyReviver = applyReviver;
474
474
  });
475
475
 
476
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
476
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js
477
477
  var require_toJS = __commonJS(function(exports) {
478
478
  var identity = require_identity();
479
479
  function toJS(value, arg, ctx) {
@@ -500,7 +500,7 @@ var require_toJS = __commonJS(function(exports) {
500
500
  exports.toJS = toJS;
501
501
  });
502
502
 
503
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
503
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js
504
504
  var require_Node = __commonJS(function(exports) {
505
505
  var applyReviver = require_applyReviver();
506
506
  var identity = require_identity();
@@ -537,7 +537,7 @@ var require_Node = __commonJS(function(exports) {
537
537
  exports.NodeBase = NodeBase;
538
538
  });
539
539
 
540
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
540
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js
541
541
  var require_Alias = __commonJS(function(exports) {
542
542
  var anchors = require_anchors();
543
543
  var visit = require_visit();
@@ -579,36 +579,38 @@ var require_Alias = __commonJS(function(exports) {
579
579
  if (node.anchor === this.source)
580
580
  found = node;
581
581
  }
582
+ if (found && ctx) {
583
+ const { anchors: anchors2, doc: doc2, maxAliasCount } = ctx;
584
+ let data = anchors2.get(found);
585
+ if (!data) {
586
+ toJS.toJS(found, null, ctx);
587
+ data = anchors2.get(found);
588
+ }
589
+ if (data?.res === undefined) {
590
+ const msg = "This should not happen: Alias anchor was not resolved?";
591
+ throw new ReferenceError(msg);
592
+ }
593
+ if (maxAliasCount >= 0) {
594
+ data.count += 1;
595
+ if (data.aliasCount === 0)
596
+ data.aliasCount = getAliasCount(doc2, found, anchors2);
597
+ if (data.count * data.aliasCount > maxAliasCount) {
598
+ const msg = "Excessive alias count indicates a resource exhaustion attack";
599
+ throw new ReferenceError(msg);
600
+ }
601
+ }
602
+ }
582
603
  return found;
583
604
  }
584
605
  toJSON(_arg, ctx) {
585
606
  if (!ctx)
586
607
  return { source: this.source };
587
- const { anchors: anchors2, doc, maxAliasCount } = ctx;
588
- const source = this.resolve(doc, ctx);
608
+ const source = this.resolve(ctx.doc, ctx);
589
609
  if (!source) {
590
610
  const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
591
611
  throw new ReferenceError(msg);
592
612
  }
593
- let data = anchors2.get(source);
594
- if (!data) {
595
- toJS.toJS(source, null, ctx);
596
- data = anchors2.get(source);
597
- }
598
- if (data?.res === undefined) {
599
- const msg = "This should not happen: Alias anchor was not resolved?";
600
- throw new ReferenceError(msg);
601
- }
602
- if (maxAliasCount >= 0) {
603
- data.count += 1;
604
- if (data.aliasCount === 0)
605
- data.aliasCount = getAliasCount(doc, source, anchors2);
606
- if (data.count * data.aliasCount > maxAliasCount) {
607
- const msg = "Excessive alias count indicates a resource exhaustion attack";
608
- throw new ReferenceError(msg);
609
- }
610
- }
611
- return data.res;
613
+ return ctx.anchors.get(source).res;
612
614
  }
613
615
  toString(ctx, _onComment, _onChompKeep) {
614
616
  const src = `*${this.source}`;
@@ -647,7 +649,7 @@ var require_Alias = __commonJS(function(exports) {
647
649
  exports.Alias = Alias;
648
650
  });
649
651
 
650
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
652
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js
651
653
  var require_Scalar = __commonJS(function(exports) {
652
654
  var identity = require_identity();
653
655
  var Node = require_Node();
@@ -675,7 +677,7 @@ var require_Scalar = __commonJS(function(exports) {
675
677
  exports.isScalarValue = isScalarValue;
676
678
  });
677
679
 
678
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
680
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js
679
681
  var require_createNode = __commonJS(function(exports) {
680
682
  var Alias = require_Alias();
681
683
  var identity = require_identity();
@@ -747,7 +749,7 @@ var require_createNode = __commonJS(function(exports) {
747
749
  exports.createNode = createNode;
748
750
  });
749
751
 
750
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
752
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js
751
753
  var require_Collection = __commonJS(function(exports) {
752
754
  var createNode = require_createNode();
753
755
  var identity = require_identity();
@@ -862,7 +864,7 @@ var require_Collection = __commonJS(function(exports) {
862
864
  exports.isEmptyPath = isEmptyPath;
863
865
  });
864
866
 
865
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
867
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js
866
868
  var require_stringifyComment = __commonJS(function(exports) {
867
869
  var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
868
870
  function indentComment(comment, indent) {
@@ -879,7 +881,7 @@ var require_stringifyComment = __commonJS(function(exports) {
879
881
  exports.stringifyComment = stringifyComment;
880
882
  });
881
883
 
882
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
884
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js
883
885
  var require_foldFlowLines = __commonJS(function(exports) {
884
886
  var FOLD_FLOW = "flow";
885
887
  var FOLD_BLOCK = "block";
@@ -1016,7 +1018,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
1016
1018
  exports.foldFlowLines = foldFlowLines;
1017
1019
  });
1018
1020
 
1019
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
1021
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js
1020
1022
  var require_stringifyString = __commonJS(function(exports) {
1021
1023
  var Scalar = require_Scalar();
1022
1024
  var foldFlowLines = require_foldFlowLines();
@@ -1314,7 +1316,7 @@ ${indent}`);
1314
1316
  exports.stringifyString = stringifyString;
1315
1317
  });
1316
1318
 
1317
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
1319
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js
1318
1320
  var require_stringify = __commonJS(function(exports) {
1319
1321
  var anchors = require_anchors();
1320
1322
  var identity = require_identity();
@@ -1435,7 +1437,7 @@ ${ctx.indent}${str}`;
1435
1437
  exports.stringify = stringify;
1436
1438
  });
1437
1439
 
1438
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
1440
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js
1439
1441
  var require_stringifyPair = __commonJS(function(exports) {
1440
1442
  var identity = require_identity();
1441
1443
  var Scalar = require_Scalar();
@@ -1571,7 +1573,7 @@ ${ctx.indent}`;
1571
1573
  exports.stringifyPair = stringifyPair;
1572
1574
  });
1573
1575
 
1574
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
1576
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/log.js
1575
1577
  var require_log = __commonJS(function(exports) {
1576
1578
  var node_process = __require("process");
1577
1579
  function debug(logLevel, ...messages) {
@@ -1590,7 +1592,7 @@ var require_log = __commonJS(function(exports) {
1590
1592
  exports.warn = warn;
1591
1593
  });
1592
1594
 
1593
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1595
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js
1594
1596
  var require_merge = __commonJS(function(exports) {
1595
1597
  var identity = require_identity();
1596
1598
  var Scalar = require_Scalar();
@@ -1647,7 +1649,7 @@ var require_merge = __commonJS(function(exports) {
1647
1649
  exports.merge = merge;
1648
1650
  });
1649
1651
 
1650
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
1652
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
1651
1653
  var require_addPairToJSMap = __commonJS(function(exports) {
1652
1654
  var log = require_log();
1653
1655
  var merge = require_merge();
@@ -1708,7 +1710,7 @@ var require_addPairToJSMap = __commonJS(function(exports) {
1708
1710
  exports.addPairToJSMap = addPairToJSMap;
1709
1711
  });
1710
1712
 
1711
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
1713
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js
1712
1714
  var require_Pair = __commonJS(function(exports) {
1713
1715
  var createNode = require_createNode();
1714
1716
  var stringifyPair = require_stringifyPair();
@@ -1746,7 +1748,7 @@ var require_Pair = __commonJS(function(exports) {
1746
1748
  exports.createPair = createPair;
1747
1749
  });
1748
1750
 
1749
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
1751
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js
1750
1752
  var require_stringifyCollection = __commonJS(function(exports) {
1751
1753
  var identity = require_identity();
1752
1754
  var stringify = require_stringify();
@@ -1898,7 +1900,7 @@ ${indent}${end}`;
1898
1900
  exports.stringifyCollection = stringifyCollection;
1899
1901
  });
1900
1902
 
1901
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
1903
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js
1902
1904
  var require_YAMLMap = __commonJS(function(exports) {
1903
1905
  var stringifyCollection = require_stringifyCollection();
1904
1906
  var addPairToJSMap = require_addPairToJSMap();
@@ -2025,7 +2027,7 @@ var require_YAMLMap = __commonJS(function(exports) {
2025
2027
  exports.findPair = findPair;
2026
2028
  });
2027
2029
 
2028
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
2030
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js
2029
2031
  var require_map = __commonJS(function(exports) {
2030
2032
  var identity = require_identity();
2031
2033
  var YAMLMap = require_YAMLMap();
@@ -2044,7 +2046,7 @@ var require_map = __commonJS(function(exports) {
2044
2046
  exports.map = map;
2045
2047
  });
2046
2048
 
2047
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
2049
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js
2048
2050
  var require_YAMLSeq = __commonJS(function(exports) {
2049
2051
  var createNode = require_createNode();
2050
2052
  var stringifyCollection = require_stringifyCollection();
@@ -2137,7 +2139,7 @@ var require_YAMLSeq = __commonJS(function(exports) {
2137
2139
  exports.YAMLSeq = YAMLSeq;
2138
2140
  });
2139
2141
 
2140
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
2142
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js
2141
2143
  var require_seq = __commonJS(function(exports) {
2142
2144
  var identity = require_identity();
2143
2145
  var YAMLSeq = require_YAMLSeq();
@@ -2156,7 +2158,7 @@ var require_seq = __commonJS(function(exports) {
2156
2158
  exports.seq = seq;
2157
2159
  });
2158
2160
 
2159
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
2161
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js
2160
2162
  var require_string = __commonJS(function(exports) {
2161
2163
  var stringifyString = require_stringifyString();
2162
2164
  var string = {
@@ -2172,7 +2174,7 @@ var require_string = __commonJS(function(exports) {
2172
2174
  exports.string = string;
2173
2175
  });
2174
2176
 
2175
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
2177
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js
2176
2178
  var require_null = __commonJS(function(exports) {
2177
2179
  var Scalar = require_Scalar();
2178
2180
  var nullTag = {
@@ -2187,7 +2189,7 @@ var require_null = __commonJS(function(exports) {
2187
2189
  exports.nullTag = nullTag;
2188
2190
  });
2189
2191
 
2190
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
2192
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js
2191
2193
  var require_bool = __commonJS(function(exports) {
2192
2194
  var Scalar = require_Scalar();
2193
2195
  var boolTag = {
@@ -2208,7 +2210,7 @@ var require_bool = __commonJS(function(exports) {
2208
2210
  exports.boolTag = boolTag;
2209
2211
  });
2210
2212
 
2211
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
2213
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js
2212
2214
  var require_stringifyNumber = __commonJS(function(exports) {
2213
2215
  function stringifyNumber({ format, minFractionDigits, tag, value }) {
2214
2216
  if (typeof value === "bigint")
@@ -2232,7 +2234,7 @@ var require_stringifyNumber = __commonJS(function(exports) {
2232
2234
  exports.stringifyNumber = stringifyNumber;
2233
2235
  });
2234
2236
 
2235
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
2237
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js
2236
2238
  var require_float = __commonJS(function(exports) {
2237
2239
  var Scalar = require_Scalar();
2238
2240
  var stringifyNumber = require_stringifyNumber();
@@ -2275,7 +2277,7 @@ var require_float = __commonJS(function(exports) {
2275
2277
  exports.floatNaN = floatNaN;
2276
2278
  });
2277
2279
 
2278
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
2280
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js
2279
2281
  var require_int = __commonJS(function(exports) {
2280
2282
  var stringifyNumber = require_stringifyNumber();
2281
2283
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2317,7 +2319,7 @@ var require_int = __commonJS(function(exports) {
2317
2319
  exports.intOct = intOct;
2318
2320
  });
2319
2321
 
2320
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
2322
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js
2321
2323
  var require_schema = __commonJS(function(exports) {
2322
2324
  var map = require_map();
2323
2325
  var _null = require_null();
@@ -2342,7 +2344,7 @@ var require_schema = __commonJS(function(exports) {
2342
2344
  exports.schema = schema;
2343
2345
  });
2344
2346
 
2345
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
2347
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js
2346
2348
  var require_schema2 = __commonJS(function(exports) {
2347
2349
  var Scalar = require_Scalar();
2348
2350
  var map = require_map();
@@ -2406,7 +2408,7 @@ var require_schema2 = __commonJS(function(exports) {
2406
2408
  exports.schema = schema;
2407
2409
  });
2408
2410
 
2409
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2411
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
2410
2412
  var require_binary = __commonJS(function(exports) {
2411
2413
  var node_buffer = __require("buffer");
2412
2414
  var Scalar = require_Scalar();
@@ -2461,7 +2463,7 @@ var require_binary = __commonJS(function(exports) {
2461
2463
  exports.binary = binary;
2462
2464
  });
2463
2465
 
2464
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2466
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
2465
2467
  var require_pairs = __commonJS(function(exports) {
2466
2468
  var identity = require_identity();
2467
2469
  var Pair = require_Pair();
@@ -2536,7 +2538,7 @@ ${cn.comment}` : item.comment;
2536
2538
  exports.resolvePairs = resolvePairs;
2537
2539
  });
2538
2540
 
2539
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2541
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
2540
2542
  var require_omap = __commonJS(function(exports) {
2541
2543
  var identity = require_identity();
2542
2544
  var toJS = require_toJS();
@@ -2608,7 +2610,7 @@ var require_omap = __commonJS(function(exports) {
2608
2610
  exports.omap = omap;
2609
2611
  });
2610
2612
 
2611
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2613
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
2612
2614
  var require_bool2 = __commonJS(function(exports) {
2613
2615
  var Scalar = require_Scalar();
2614
2616
  function boolStringify({ value, source }, ctx) {
@@ -2637,7 +2639,7 @@ var require_bool2 = __commonJS(function(exports) {
2637
2639
  exports.trueTag = trueTag;
2638
2640
  });
2639
2641
 
2640
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
2642
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
2641
2643
  var require_float2 = __commonJS(function(exports) {
2642
2644
  var Scalar = require_Scalar();
2643
2645
  var stringifyNumber = require_stringifyNumber();
@@ -2683,7 +2685,7 @@ var require_float2 = __commonJS(function(exports) {
2683
2685
  exports.floatNaN = floatNaN;
2684
2686
  });
2685
2687
 
2686
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
2688
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
2687
2689
  var require_int2 = __commonJS(function(exports) {
2688
2690
  var stringifyNumber = require_stringifyNumber();
2689
2691
  var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
@@ -2759,7 +2761,7 @@ var require_int2 = __commonJS(function(exports) {
2759
2761
  exports.intOct = intOct;
2760
2762
  });
2761
2763
 
2762
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
2764
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
2763
2765
  var require_set = __commonJS(function(exports) {
2764
2766
  var identity = require_identity();
2765
2767
  var Pair = require_Pair();
@@ -2842,7 +2844,7 @@ var require_set = __commonJS(function(exports) {
2842
2844
  exports.set = set;
2843
2845
  });
2844
2846
 
2845
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2847
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
2846
2848
  var require_timestamp = __commonJS(function(exports) {
2847
2849
  var stringifyNumber = require_stringifyNumber();
2848
2850
  function parseSexagesimal(str, asBigInt) {
@@ -2924,7 +2926,7 @@ var require_timestamp = __commonJS(function(exports) {
2924
2926
  exports.timestamp = timestamp;
2925
2927
  });
2926
2928
 
2927
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2929
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
2928
2930
  var require_schema3 = __commonJS(function(exports) {
2929
2931
  var map = require_map();
2930
2932
  var _null = require_null();
@@ -2965,7 +2967,7 @@ var require_schema3 = __commonJS(function(exports) {
2965
2967
  exports.schema = schema;
2966
2968
  });
2967
2969
 
2968
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
2970
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js
2969
2971
  var require_tags = __commonJS(function(exports) {
2970
2972
  var map = require_map();
2971
2973
  var _null = require_null();
@@ -3056,7 +3058,7 @@ var require_tags = __commonJS(function(exports) {
3056
3058
  exports.getTags = getTags;
3057
3059
  });
3058
3060
 
3059
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
3061
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js
3060
3062
  var require_Schema = __commonJS(function(exports) {
3061
3063
  var identity = require_identity();
3062
3064
  var map = require_map();
@@ -3086,7 +3088,7 @@ var require_Schema = __commonJS(function(exports) {
3086
3088
  exports.Schema = Schema;
3087
3089
  });
3088
3090
 
3089
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
3091
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js
3090
3092
  var require_stringifyDocument = __commonJS(function(exports) {
3091
3093
  var identity = require_identity();
3092
3094
  var stringify = require_stringify();
@@ -3166,7 +3168,7 @@ var require_stringifyDocument = __commonJS(function(exports) {
3166
3168
  exports.stringifyDocument = stringifyDocument;
3167
3169
  });
3168
3170
 
3169
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
3171
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js
3170
3172
  var require_Document = __commonJS(function(exports) {
3171
3173
  var Alias = require_Alias();
3172
3174
  var Collection = require_Collection();
@@ -3401,7 +3403,7 @@ var require_Document = __commonJS(function(exports) {
3401
3403
  exports.Document = Document;
3402
3404
  });
3403
3405
 
3404
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
3406
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/errors.js
3405
3407
  var require_errors = __commonJS(function(exports) {
3406
3408
  class YAMLError extends Error {
3407
3409
  constructor(name, pos, code, message) {
@@ -3466,7 +3468,7 @@ ${pointer}
3466
3468
  exports.prettifyError = prettifyError;
3467
3469
  });
3468
3470
 
3469
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
3471
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js
3470
3472
  var require_resolve_props = __commonJS(function(exports) {
3471
3473
  function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
3472
3474
  let spaceBefore = false;
@@ -3596,7 +3598,7 @@ var require_resolve_props = __commonJS(function(exports) {
3596
3598
  exports.resolveProps = resolveProps;
3597
3599
  });
3598
3600
 
3599
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
3601
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js
3600
3602
  var require_util_contains_newline = __commonJS(function(exports) {
3601
3603
  function containsNewline(key) {
3602
3604
  if (!key)
@@ -3636,7 +3638,7 @@ var require_util_contains_newline = __commonJS(function(exports) {
3636
3638
  exports.containsNewline = containsNewline;
3637
3639
  });
3638
3640
 
3639
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
3641
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
3640
3642
  var require_util_flow_indent_check = __commonJS(function(exports) {
3641
3643
  var utilContainsNewline = require_util_contains_newline();
3642
3644
  function flowIndentCheck(indent, fc, onError) {
@@ -3651,7 +3653,7 @@ var require_util_flow_indent_check = __commonJS(function(exports) {
3651
3653
  exports.flowIndentCheck = flowIndentCheck;
3652
3654
  });
3653
3655
 
3654
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
3656
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
3655
3657
  var require_util_map_includes = __commonJS(function(exports) {
3656
3658
  var identity = require_identity();
3657
3659
  function mapIncludes(ctx, items, search) {
@@ -3664,7 +3666,7 @@ var require_util_map_includes = __commonJS(function(exports) {
3664
3666
  exports.mapIncludes = mapIncludes;
3665
3667
  });
3666
3668
 
3667
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
3669
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js
3668
3670
  var require_resolve_block_map = __commonJS(function(exports) {
3669
3671
  var Pair = require_Pair();
3670
3672
  var YAMLMap = require_YAMLMap();
@@ -3771,7 +3773,7 @@ var require_resolve_block_map = __commonJS(function(exports) {
3771
3773
  exports.resolveBlockMap = resolveBlockMap;
3772
3774
  });
3773
3775
 
3774
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
3776
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js
3775
3777
  var require_resolve_block_seq = __commonJS(function(exports) {
3776
3778
  var YAMLSeq = require_YAMLSeq();
3777
3779
  var resolveProps = require_resolve_props();
@@ -3819,7 +3821,7 @@ var require_resolve_block_seq = __commonJS(function(exports) {
3819
3821
  exports.resolveBlockSeq = resolveBlockSeq;
3820
3822
  });
3821
3823
 
3822
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
3824
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js
3823
3825
  var require_resolve_end = __commonJS(function(exports) {
3824
3826
  function resolveEnd(end, offset, reqSpace, onError) {
3825
3827
  let comment = "";
@@ -3859,7 +3861,7 @@ var require_resolve_end = __commonJS(function(exports) {
3859
3861
  exports.resolveEnd = resolveEnd;
3860
3862
  });
3861
3863
 
3862
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
3864
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
3863
3865
  var require_resolve_flow_collection = __commonJS(function(exports) {
3864
3866
  var identity = require_identity();
3865
3867
  var Pair = require_Pair();
@@ -4050,7 +4052,7 @@ var require_resolve_flow_collection = __commonJS(function(exports) {
4050
4052
  exports.resolveFlowCollection = resolveFlowCollection;
4051
4053
  });
4052
4054
 
4053
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
4055
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js
4054
4056
  var require_compose_collection = __commonJS(function(exports) {
4055
4057
  var identity = require_identity();
4056
4058
  var Scalar = require_Scalar();
@@ -4112,7 +4114,7 @@ var require_compose_collection = __commonJS(function(exports) {
4112
4114
  exports.composeCollection = composeCollection;
4113
4115
  });
4114
4116
 
4115
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
4117
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
4116
4118
  var require_resolve_block_scalar = __commonJS(function(exports) {
4117
4119
  var Scalar = require_Scalar();
4118
4120
  function resolveBlockScalar(ctx, scalar, onError) {
@@ -4305,7 +4307,7 @@ var require_resolve_block_scalar = __commonJS(function(exports) {
4305
4307
  exports.resolveBlockScalar = resolveBlockScalar;
4306
4308
  });
4307
4309
 
4308
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4310
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
4309
4311
  var require_resolve_flow_scalar = __commonJS(function(exports) {
4310
4312
  var Scalar = require_Scalar();
4311
4313
  var resolveEnd = require_resolve_end();
@@ -4370,33 +4372,32 @@ var require_resolve_flow_scalar = __commonJS(function(exports) {
4370
4372
  }
4371
4373
  if (badChar)
4372
4374
  onError(0, "BAD_SCALAR_START", `Plain value cannot start with ${badChar}`);
4373
- return foldLines(source);
4375
+ return unfoldLines(source);
4374
4376
  }
4375
4377
  function singleQuotedValue(source, onError) {
4376
4378
  if (source[source.length - 1] !== "'" || source.length === 1)
4377
4379
  onError(source.length, "MISSING_CHAR", "Missing closing 'quote");
4378
- return foldLines(source.slice(1, -1)).replace(/''/g, "'");
4380
+ return unfoldLines(source.slice(1, -1)).replace(/''/g, "'");
4379
4381
  }
4380
- function foldLines(source) {
4381
- let first, line;
4382
+ function unfoldLines(source) {
4383
+ const line = /(.*?)\r?\n/sy;
4384
+ let match = line.exec(source);
4385
+ if (!match)
4386
+ return source;
4387
+ let trimEnd, trimBoth;
4382
4388
  try {
4383
- first = new RegExp(`(.*?)(?<![ ])[ ]*\r?
4384
- `, "sy");
4385
- line = new RegExp(`[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?
4386
- `, "sy");
4389
+ trimEnd = new RegExp("(?<![ \t])[ \t]+$");
4390
+ trimBoth = new RegExp("^[ \t]+|(?<![ \t])[ \t]+$", "g");
4387
4391
  } catch {
4388
- first = /(.*?)[ \t]*\r?\n/sy;
4389
- line = /[ \t]*(.*?)[ \t]*\r?\n/sy;
4392
+ trimEnd = /[ \t]+$/;
4393
+ trimBoth = /^[ \t]+|[ \t]+$/g;
4390
4394
  }
4391
- let match = first.exec(source);
4392
- if (!match)
4393
- return source;
4394
- let res = match[1];
4395
+ let res = match[1].replace(trimEnd, "");
4395
4396
  let sep = " ";
4396
- let pos = first.lastIndex;
4397
- line.lastIndex = pos;
4397
+ let pos = line.lastIndex;
4398
4398
  while (match = line.exec(source)) {
4399
- if (match[1] === "") {
4399
+ const lm = match[1].replace(trimBoth, "");
4400
+ if (lm === "") {
4400
4401
  if (sep === `
4401
4402
  `)
4402
4403
  res += sep;
@@ -4404,7 +4405,7 @@ var require_resolve_flow_scalar = __commonJS(function(exports) {
4404
4405
  sep = `
4405
4406
  `;
4406
4407
  } else {
4407
- res += sep + match[1];
4408
+ res += sep + lm;
4408
4409
  sep = " ";
4409
4410
  }
4410
4411
  pos = line.lastIndex;
@@ -4522,7 +4523,7 @@ var require_resolve_flow_scalar = __commonJS(function(exports) {
4522
4523
  exports.resolveFlowScalar = resolveFlowScalar;
4523
4524
  });
4524
4525
 
4525
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
4526
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js
4526
4527
  var require_compose_scalar = __commonJS(function(exports) {
4527
4528
  var identity = require_identity();
4528
4529
  var Scalar = require_Scalar();
@@ -4600,7 +4601,7 @@ var require_compose_scalar = __commonJS(function(exports) {
4600
4601
  exports.composeScalar = composeScalar;
4601
4602
  });
4602
4603
 
4603
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4604
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
4604
4605
  var require_util_empty_scalar_position = __commonJS(function(exports) {
4605
4606
  function emptyScalarPosition(offset, before, pos) {
4606
4607
  if (before) {
@@ -4627,7 +4628,7 @@ var require_util_empty_scalar_position = __commonJS(function(exports) {
4627
4628
  exports.emptyScalarPosition = emptyScalarPosition;
4628
4629
  });
4629
4630
 
4630
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
4631
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js
4631
4632
  var require_compose_node = __commonJS(function(exports) {
4632
4633
  var Alias = require_Alias();
4633
4634
  var identity = require_identity();
@@ -4730,7 +4731,7 @@ var require_compose_node = __commonJS(function(exports) {
4730
4731
  exports.composeNode = composeNode;
4731
4732
  });
4732
4733
 
4733
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
4734
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js
4734
4735
  var require_compose_doc = __commonJS(function(exports) {
4735
4736
  var Document = require_Document();
4736
4737
  var composeNode = require_compose_node();
@@ -4770,7 +4771,7 @@ var require_compose_doc = __commonJS(function(exports) {
4770
4771
  exports.composeDoc = composeDoc;
4771
4772
  });
4772
4773
 
4773
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
4774
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js
4774
4775
  var require_composer = __commonJS(function(exports) {
4775
4776
  var node_process = __require("process");
4776
4777
  var directives = require_directives();
@@ -4961,7 +4962,7 @@ ${end.comment}` : end.comment;
4961
4962
  exports.Composer = Composer;
4962
4963
  });
4963
4964
 
4964
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
4965
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js
4965
4966
  var require_cst_scalar = __commonJS(function(exports) {
4966
4967
  var resolveBlockScalar = require_resolve_block_scalar();
4967
4968
  var resolveFlowScalar = require_resolve_flow_scalar();
@@ -5151,7 +5152,7 @@ var require_cst_scalar = __commonJS(function(exports) {
5151
5152
  exports.setScalarValue = setScalarValue;
5152
5153
  });
5153
5154
 
5154
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
5155
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js
5155
5156
  var require_cst_stringify = __commonJS(function(exports) {
5156
5157
  var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
5157
5158
  function stringifyToken(token) {
@@ -5209,7 +5210,7 @@ var require_cst_stringify = __commonJS(function(exports) {
5209
5210
  exports.stringify = stringify;
5210
5211
  });
5211
5212
 
5212
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
5213
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js
5213
5214
  var require_cst_visit = __commonJS(function(exports) {
5214
5215
  var BREAK = Symbol("break visit");
5215
5216
  var SKIP = Symbol("skip children");
@@ -5268,7 +5269,7 @@ var require_cst_visit = __commonJS(function(exports) {
5268
5269
  exports.visit = visit;
5269
5270
  });
5270
5271
 
5271
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
5272
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js
5272
5273
  var require_cst = __commonJS(function(exports) {
5273
5274
  var cstScalar = require_cst_scalar();
5274
5275
  var cstStringify = require_cst_stringify();
@@ -5369,7 +5370,7 @@ var require_cst = __commonJS(function(exports) {
5369
5370
  exports.tokenType = tokenType;
5370
5371
  });
5371
5372
 
5372
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
5373
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js
5373
5374
  var require_lexer = __commonJS(function(exports) {
5374
5375
  var cst = require_cst();
5375
5376
  function isEmpty(ch) {
@@ -5966,7 +5967,7 @@ var require_lexer = __commonJS(function(exports) {
5966
5967
  exports.Lexer = Lexer;
5967
5968
  });
5968
5969
 
5969
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
5970
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js
5970
5971
  var require_line_counter = __commonJS(function(exports) {
5971
5972
  class LineCounter {
5972
5973
  constructor() {
@@ -5994,7 +5995,7 @@ var require_line_counter = __commonJS(function(exports) {
5994
5995
  exports.LineCounter = LineCounter;
5995
5996
  });
5996
5997
 
5997
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
5998
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js
5998
5999
  var require_parser = __commonJS(function(exports) {
5999
6000
  var node_process = __require("process");
6000
6001
  var cst = require_cst();
@@ -6850,7 +6851,7 @@ var require_parser = __commonJS(function(exports) {
6850
6851
  exports.Parser = Parser;
6851
6852
  });
6852
6853
 
6853
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
6854
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/public-api.js
6854
6855
  var require_public_api = __commonJS(function(exports) {
6855
6856
  var composer = require_composer();
6856
6857
  var Document = require_Document();
@@ -6944,7 +6945,7 @@ var require_public_api = __commonJS(function(exports) {
6944
6945
  exports.stringify = stringify;
6945
6946
  });
6946
6947
 
6947
- // ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
6948
+ // ../../node_modules/.bun/yaml@2.9.1/node_modules/yaml/dist/index.js
6948
6949
  var composer = require_composer();
6949
6950
  var Document = require_Document();
6950
6951
  var Schema = require_Schema();