@bleedingdev/modern-js-utils 3.9.3-ultramodern.7 → 3.9.3-ultramodern.8

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 (79) hide show
  1. package/dist/compiled/address/provenance.json +1 -1
  2. package/dist/compiled/browserslist/index.js +7 -7
  3. package/dist/compiled/browserslist/provenance.json +1 -1
  4. package/dist/compiled/chalk/provenance.json +1 -1
  5. package/dist/compiled/chokidar/index.d.mts +18 -9
  6. package/dist/compiled/chokidar/index.d.ts +18 -9
  7. package/dist/compiled/chokidar/index.js +194 -171
  8. package/dist/compiled/chokidar/index.mjs +94 -71
  9. package/dist/compiled/chokidar/provenance.json +2 -2
  10. package/dist/compiled/commander/provenance.json +1 -1
  11. package/dist/compiled/debug/provenance.json +1 -1
  12. package/dist/compiled/dotenv-expand/LICENSE +11 -7
  13. package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +11 -7
  14. package/dist/compiled/dotenv-expand/index.js +5545 -61
  15. package/dist/compiled/dotenv-expand/licenses-cjs.txt +12 -7
  16. package/dist/compiled/dotenv-expand/package.json +1 -1
  17. package/dist/compiled/dotenv-expand/provenance.json +7 -7
  18. package/dist/compiled/execa/index.d.mts +67 -33
  19. package/dist/compiled/execa/index.d.ts +67 -33
  20. package/dist/compiled/execa/index.js +1848 -1369
  21. package/dist/compiled/execa/index.mjs +1851 -1372
  22. package/dist/compiled/execa/package.json +1 -1
  23. package/dist/compiled/execa/provenance.json +3 -3
  24. package/dist/compiled/filesize/index.js +26 -25
  25. package/dist/compiled/filesize/index.js.LICENSE.txt +1 -1
  26. package/dist/compiled/filesize/index.mjs +25 -24
  27. package/dist/compiled/filesize/index.mjs.LICENSE.txt +1 -1
  28. package/dist/compiled/filesize/package.json +1 -1
  29. package/dist/compiled/filesize/provenance.json +4 -4
  30. package/dist/compiled/fs-extra/provenance.json +1 -1
  31. package/dist/compiled/glob/provenance.json +3 -3
  32. package/dist/compiled/globby/index.js +431 -139
  33. package/dist/compiled/globby/index.mjs +576 -284
  34. package/dist/compiled/globby/provenance.json +1 -1
  35. package/dist/compiled/gzip-size/provenance.json +1 -1
  36. package/dist/compiled/import-lazy/provenance.json +1 -1
  37. package/dist/compiled/inquirer/index.d.mts +10 -0
  38. package/dist/compiled/inquirer/index.d.ts +10 -0
  39. package/dist/compiled/inquirer/index.js +112 -96
  40. package/dist/compiled/inquirer/index.mjs +98 -82
  41. package/dist/compiled/inquirer/licenses-cjs.txt +26 -0
  42. package/dist/compiled/inquirer/licenses-esm.txt +26 -0
  43. package/dist/compiled/inquirer/package.json +1 -1
  44. package/dist/compiled/inquirer/provenance.json +18 -18
  45. package/dist/compiled/js-yaml/index.js +258 -208
  46. package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
  47. package/dist/compiled/js-yaml/index.mjs +328 -278
  48. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
  49. package/dist/compiled/js-yaml/package.json +1 -1
  50. package/dist/compiled/js-yaml/provenance.json +4 -4
  51. package/dist/compiled/json5/provenance.json +1 -1
  52. package/dist/compiled/lodash/common/function.d.ts +2 -2
  53. package/dist/compiled/lodash/provenance.json +2 -2
  54. package/dist/compiled/mime-types/provenance.json +1 -1
  55. package/dist/compiled/minimist/provenance.json +1 -1
  56. package/dist/compiled/nanoid/index.d.mts +3 -3
  57. package/dist/compiled/nanoid/index.d.ts +3 -3
  58. package/dist/compiled/nanoid/index.js +10 -10
  59. package/dist/compiled/nanoid/index.mjs +10 -10
  60. package/dist/compiled/nanoid/package.json +1 -1
  61. package/dist/compiled/nanoid/provenance.json +4 -4
  62. package/dist/compiled/ora/index.js +310 -286
  63. package/dist/compiled/ora/index.mjs +651 -627
  64. package/dist/compiled/ora/provenance.json +1 -1
  65. package/dist/compiled/pkg-up/provenance.json +1 -1
  66. package/dist/compiled/semver/provenance.json +1 -1
  67. package/dist/compiled/signale/provenance.json +1 -1
  68. package/dist/compiled/slash/provenance.json +1 -1
  69. package/dist/compiled/strip-ansi/index.js +1 -1
  70. package/dist/compiled/strip-ansi/index.mjs +3 -3
  71. package/dist/compiled/strip-ansi/provenance.json +1 -1
  72. package/dist/compiled/tsconfig-paths/provenance.json +1 -1
  73. package/dist/compiled/upath/provenance.json +1 -1
  74. package/dist/compiled/url-join/index.js +56 -29
  75. package/dist/compiled/url-join/index.mjs +57 -30
  76. package/dist/compiled/url-join/package.json +1 -1
  77. package/dist/compiled/url-join/provenance.json +4 -4
  78. package/dist/types/compiled.d.ts +2 -2
  79. package/package.json +8 -8
@@ -1,8 +1,8 @@
1
1
  /*! LICENSE: index.js.LICENSE.txt */
2
2
  (()=>{
3
3
  var e = {
4
- 102: (e, t)=>{
5
- /*! js-yaml 5.4.2 https://github.com/nodeca/js-yaml @license MIT */ Object.defineProperty(t, Symbol.toStringTag, {
4
+ 427: (e, t)=>{
5
+ /*! js-yaml 5.5.0 https://github.com/nodeca/js-yaml @license MIT */ Object.defineProperty(t, Symbol.toStringTag, {
6
6
  value: "Module"
7
7
  });
8
8
  var n = Symbol("NOT_RESOLVED");
@@ -493,7 +493,7 @@
493
493
  identify: (e)=>e instanceof Date,
494
494
  represent: (e)=>e.toISOString()
495
495
  });
496
- var U = defineSequenceTag("tag:yaml.org,2002:seq", {
496
+ var q = defineSequenceTag("tag:yaml.org,2002:seq", {
497
497
  create: ()=>[],
498
498
  addItem: (e, t)=>{
499
499
  e.push(t);
@@ -510,7 +510,7 @@
510
510
  for (const r of t)if (void 0 !== e[r]) n[r] = e[r];
511
511
  return n;
512
512
  }
513
- var R = defineSequenceTag("tag:yaml.org,2002:omap", {
513
+ var U = defineSequenceTag("tag:yaml.org,2002:omap", {
514
514
  create: ()=>({
515
515
  list: [],
516
516
  seen: new Set
@@ -534,7 +534,7 @@
534
534
  finalize: (e)=>e.list,
535
535
  identify: ()=>false
536
536
  });
537
- var q = defineSequenceTag("tag:yaml.org,2002:pairs", {
537
+ var R = defineSequenceTag("tag:yaml.org,2002:pairs", {
538
538
  create: ()=>[],
539
539
  addItem: (e, t)=>{
540
540
  if (t instanceof Map) {
@@ -713,7 +713,6 @@
713
713
  case "mapping":
714
714
  if (e.matchByTagPrefix) i.mapping.push(e);
715
715
  else r.mapping[e.tagName] = e;
716
- break;
717
716
  }
718
717
  }
719
718
  const a = n.filter((e)=>null === e.implicitFirstChars);
@@ -775,7 +774,7 @@
775
774
  };
776
775
  var V = new W([
777
776
  r,
778
- U,
777
+ q,
779
778
  Y
780
779
  ]);
781
780
  var G = new W([
@@ -801,8 +800,8 @@
801
800
  K,
802
801
  _,
803
802
  D,
803
+ U,
804
804
  R,
805
- q,
806
805
  Q
807
806
  ]);
808
807
  var J = z.withTags(_objectSpread2(_objectSpread2({}, A), {}, {
@@ -1232,29 +1231,74 @@
1232
1231
  "!": "!",
1233
1232
  "!!": "tag:yaml.org,2002:"
1234
1233
  });
1235
- function tagPercentEncode(e) {
1236
- return encodeURI(e).replace(/!/g, "%21");
1234
+ var ue = "-#;/?:@&=+$_.~*'()";
1235
+ var fe = ue + "!,[]";
1236
+ var pe = "0123456789ABCDEF";
1237
+ function percentByte(e) {
1238
+ return "%" + pe[e >> 4] + pe[15 & e];
1239
+ }
1240
+ function tagPercentEncode(e, t) {
1241
+ const n = t ? ue : fe;
1242
+ let r = "";
1243
+ for(let t = 0; t < e.length; t++){
1244
+ let i = e.charCodeAt(t);
1245
+ if (i >= 48 && i <= 57 || i >= 65 && i <= 90 || i >= 97 && i <= 122 || n.includes(e[t])) {
1246
+ r += e[t];
1247
+ continue;
1248
+ }
1249
+ if (i >= 55296 && i <= 56319) i = 65536 + ((1023 & i) << 10) + (1023 & e.charCodeAt(++t));
1250
+ if (i < 128) r += percentByte(i);
1251
+ else if (i < 2048) r += percentByte(192 | i >> 6) + percentByte(128 | 63 & i);
1252
+ else if (i < 65536) r += percentByte(224 | i >> 12) + percentByte(128 | i >> 6 & 63) + percentByte(128 | 63 & i);
1253
+ else r += percentByte(240 | i >> 18) + percentByte(128 | i >> 12 & 63) + percentByte(128 | i >> 6 & 63) + percentByte(128 | 63 & i);
1254
+ }
1255
+ return r;
1256
+ }
1257
+ function tagPercentDecode(e) {
1258
+ let t = "";
1259
+ let n = 0;
1260
+ while(n < e.length){
1261
+ if (37 !== e.charCodeAt(n)) {
1262
+ t += e[n++];
1263
+ continue;
1264
+ }
1265
+ let r = parseInt(e.slice(n + 1, n + 3), 16);
1266
+ n += 3;
1267
+ if (r >= 192) {
1268
+ let t = r < 224 ? 1 : r < 240 ? 2 : 3;
1269
+ r &= (1 << 6 - t) - 1;
1270
+ while(t-- > 0){
1271
+ r = r << 6 | 63 & parseInt(e.slice(n + 1, n + 3), 16);
1272
+ n += 3;
1273
+ }
1274
+ }
1275
+ if (r < 65536) t += String.fromCharCode(r);
1276
+ else {
1277
+ r -= 65536;
1278
+ t += String.fromCharCode(55296 | r >> 10, 56320 | 1023 & r);
1279
+ }
1280
+ }
1281
+ return t;
1237
1282
  }
1238
1283
  function tagNameFull(e, t) {
1239
1284
  var n, r;
1240
- if (e.startsWith("!<") && e.endsWith(">")) return decodeURIComponent(e.slice(2, -1));
1285
+ if (e.startsWith("!<") && e.endsWith(">")) return tagPercentDecode(e.slice(2, -1));
1241
1286
  const i = e.indexOf("!", 1);
1242
1287
  const a = -1 === i ? "!" : e.slice(0, i + 1);
1243
- const o = null != (n = null != (r = null == t ? void 0 : t[a]) ? r : ce[a]) ? n : a;
1244
- return decodeURIComponent(o) + decodeURIComponent(e.slice(a.length));
1288
+ return tagPercentDecode(null != (n = null != (r = null == t ? void 0 : t[a]) ? r : ce[a]) ? n : a) + tagPercentDecode(e.slice(a.length));
1245
1289
  }
1246
1290
  function tagNameShort(e) {
1247
1291
  let t = e;
1248
1292
  if (33 === t.charCodeAt(0)) {
1249
1293
  t = t.slice(1);
1250
- return `!${tagPercentEncode(t)}`;
1294
+ return `!${tagPercentEncode(t, true)}`;
1251
1295
  }
1252
- if ("tag:yaml.org,2002:" === t.slice(0, 18)) return `!!${tagPercentEncode(t.slice(18))}`;
1253
- return `!<${tagPercentEncode(t)}>`;
1296
+ if ("tag:yaml.org,2002:" === t.slice(0, 18)) return `!!${tagPercentEncode(t.slice(18), true)}`;
1297
+ return `!<${tagPercentEncode(t, false)}>`;
1254
1298
  }
1255
- var ue = -1;
1256
- var fe = "tag:yaml.org,2002:merge";
1257
- var pe = {
1299
+ var de = -1;
1300
+ var ge = "tag:yaml.org,2002:merge";
1301
+ var he = {
1258
1302
  filename: "",
1259
1303
  schema: H,
1260
1304
  json: false,
@@ -1262,9 +1306,9 @@
1262
1306
  maxAliases: -1
1263
1307
  };
1264
1308
  function eventPosition$1(e) {
1265
- if ("tagStart" in e && e.tagStart !== ue) return e.tagStart;
1266
- if ("anchorStart" in e && e.anchorStart !== ue) return e.anchorStart;
1267
- if ("valueStart" in e && e.valueStart !== ue) return e.valueStart;
1309
+ if ("tagStart" in e && e.tagStart !== de) return e.tagStart;
1310
+ if ("anchorStart" in e && e.anchorStart !== de) return e.anchorStart;
1311
+ if ("valueStart" in e && e.valueStart !== de) return e.valueStart;
1268
1312
  if ("start" in e) return e.start;
1269
1313
  return 0;
1270
1314
  }
@@ -1281,7 +1325,7 @@
1281
1325
  }
1282
1326
  function constructScalar(e, t) {
1283
1327
  const r = getScalarValue(e.source, t);
1284
- const i = t.tagStart === ue ? "" : e.source.slice(t.tagStart, t.tagEnd);
1328
+ const i = t.tagStart === de ? "" : e.source.slice(t.tagStart, t.tagEnd);
1285
1329
  const a = e.schema.defaultScalarTag;
1286
1330
  if ("" !== i) {
1287
1331
  var o;
@@ -1317,7 +1361,7 @@
1317
1361
  };
1318
1362
  }
1319
1363
  function collectionTagName(e, t, n) {
1320
- const r = t.tagStart === ue ? "" : e.source.slice(t.tagStart, t.tagEnd);
1364
+ const r = t.tagStart === de ? "" : e.source.slice(t.tagStart, t.tagEnd);
1321
1365
  return "" === r || "!" === r ? n : tagNameFull(r, e.tagHandlers);
1322
1366
  }
1323
1367
  function isMappingTag(e) {
@@ -1377,11 +1421,11 @@
1377
1421
  r.key = t;
1378
1422
  r.keyPosition = e.position;
1379
1423
  r.hasKey = true;
1380
- r.keyIsMerge = n.tagName === fe;
1424
+ r.keyIsMerge = n.tagName === ge;
1381
1425
  }
1382
1426
  }
1383
1427
  function storeAnchor(e, t, n, r, i) {
1384
- if (t.anchorStart !== ue) {
1428
+ if (t.anchorStart !== de) {
1385
1429
  const a = {
1386
1430
  value: n,
1387
1431
  tag: r,
@@ -1393,7 +1437,7 @@
1393
1437
  return null;
1394
1438
  }
1395
1439
  function constructFromEvents(e, t) {
1396
- const n = _objectSpread2(_objectSpread2(_objectSpread2({}, pe), t), {}, {
1440
+ const n = _objectSpread2(_objectSpread2(_objectSpread2({}, he), t), {}, {
1397
1441
  events: e,
1398
1442
  documents: [],
1399
1443
  eventIndex: 0,
@@ -1499,21 +1543,21 @@
1499
1543
  }
1500
1544
  return n.documents;
1501
1545
  }
1502
- var de = -1;
1503
- var ge = Object.prototype.hasOwnProperty;
1504
- var he = 1;
1505
- var me = 2;
1506
- var Se = 3;
1507
- var ve = 4;
1508
- var Ee = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
1509
- var ye = /[,\[\]{}]/;
1510
- var be = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
1511
- var we = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`;
1512
- var ke = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`;
1513
- var Oe = new RegExp(`^(?:${we})*$`);
1514
- var Ae = new RegExp(`^(?:${ke})+$`);
1515
- var Ce = new RegExp(`^(?:!(?:${we})*|${ke}(?:${we})*)$`);
1516
- var Te = {
1546
+ var me = -1;
1547
+ var Se = Object.prototype.hasOwnProperty;
1548
+ var ve = 1;
1549
+ var Ee = 2;
1550
+ var ye = 3;
1551
+ var be = 4;
1552
+ var we = /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
1553
+ var ke = /[,\[\]{}]/;
1554
+ var Oe = /^(?:!|!!|![0-9A-Za-z-]+!)$/;
1555
+ var Ae = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$,_.!~*'()\[\]])`;
1556
+ var Ce = String.raw`(?:%[0-9A-Fa-f]{2}|[0-9A-Za-z\-#;/?:@&=+$.~*'()_])`;
1557
+ var Te = new RegExp(`^(?:${Ae})*$`);
1558
+ var Ie = new RegExp(`^(?:${Ce})+$`);
1559
+ var Ne = new RegExp(`^(?:!(?:${Ae})*|${Ce}(?:${Ae})*)$`);
1560
+ var Le = {
1517
1561
  filename: "",
1518
1562
  maxDepth: 100
1519
1563
  };
@@ -1551,10 +1595,10 @@
1551
1595
  e.events.splice(t.eventsLength, 0, {
1552
1596
  type: ne.MAPPING,
1553
1597
  start: t.position,
1554
- anchorStart: de,
1555
- anchorEnd: de,
1556
- tagStart: de,
1557
- tagEnd: de,
1598
+ anchorStart: me,
1599
+ anchorEnd: me,
1600
+ tagStart: me,
1601
+ tagEnd: me,
1558
1602
  style: ie.FLOW
1559
1603
  });
1560
1604
  }
@@ -1586,14 +1630,14 @@
1586
1630
  });
1587
1631
  }
1588
1632
  function addEmptyScalarEvent(e) {
1589
- addScalarEvent(e, de, de, de, de, de, de, re.PLAIN);
1633
+ addScalarEvent(e, me, me, me, me, me, me, re.PLAIN);
1590
1634
  }
1591
1635
  function emptyProperties() {
1592
1636
  return {
1593
- anchorStart: de,
1594
- anchorEnd: de,
1595
- tagStart: de,
1596
- tagEnd: de
1637
+ anchorStart: me,
1638
+ anchorEnd: me,
1639
+ tagStart: me,
1640
+ tagEnd: me
1597
1641
  };
1598
1642
  }
1599
1643
  function snapshotState(e) {
@@ -1716,11 +1760,15 @@
1716
1760
  while(0 !== t && !isEol(t))t = e.input.charCodeAt(++e.position);
1717
1761
  }
1718
1762
  function checkPrintable(e, t, n) {
1719
- if (Ee.test(e.input.slice(t, n))) throwError(e, "the stream contains non-printable characters");
1763
+ const r = we.exec(e.input.slice(t, n));
1764
+ if (null !== r) {
1765
+ e.position = t + r.index + r[0].length - 1;
1766
+ throwError(e, "the stream contains non-printable characters");
1767
+ }
1720
1768
  }
1721
1769
  function readTagProperty(e, t, n) {
1722
1770
  if (33 !== e.input.charCodeAt(e.position)) return false;
1723
- if (t.tagStart !== de) throwError(e, "duplication of a tag property");
1771
+ if (t.tagStart !== me) throwError(e, "duplication of a tag property");
1724
1772
  const r = e.position;
1725
1773
  let i = false;
1726
1774
  let a = false;
@@ -1746,24 +1794,24 @@
1746
1794
  if (33 === s) if (a) throwError(e, "tag suffix cannot contain exclamation marks");
1747
1795
  else {
1748
1796
  o = e.input.slice(l - 1, e.position + 1);
1749
- if (!be.test(o)) throwError(e, "named tag handle cannot contain such characters");
1797
+ if (!Oe.test(o)) throwError(e, "named tag handle cannot contain such characters");
1750
1798
  a = true;
1751
1799
  l = e.position + 1;
1752
1800
  }
1753
1801
  s = e.input.charCodeAt(++e.position);
1754
1802
  }
1755
1803
  c = e.input.slice(l, e.position);
1756
- if (ye.test(c)) throwError(e, "tag suffix cannot contain flow indicator characters");
1804
+ if (ke.test(c)) throwError(e, "tag suffix cannot contain flow indicator characters");
1757
1805
  }
1758
- if (c && !(i ? Oe.test(c) : Ae.test(c))) throwError(e, `tag name cannot contain such characters: ${c}`);
1759
- if (!i && "!" !== o && "!!" !== o && !ge.call(e.tagHandlers, o)) throwError(e, `undeclared tag handle "${o}"`);
1806
+ if (c && !(i ? Te.test(c) : Ie.test(c))) throwError(e, `tag name cannot contain such characters: ${c}`);
1807
+ if (!i && "!" !== o && "!!" !== o && !Se.call(e.tagHandlers, o)) throwError(e, `undeclared tag handle "${o}"`);
1760
1808
  t.tagStart = r;
1761
1809
  t.tagEnd = e.position;
1762
1810
  return true;
1763
1811
  }
1764
1812
  function readAnchorProperty(e, t) {
1765
1813
  if (38 !== e.input.charCodeAt(e.position)) return false;
1766
- if (t.anchorStart !== de) throwError(e, "duplication of an anchor property");
1814
+ if (t.anchorStart !== me) throwError(e, "duplication of an anchor property");
1767
1815
  e.position++;
1768
1816
  const n = e.position;
1769
1817
  while(0 !== e.input.charCodeAt(e.position) && !isWsOrEol(e.input.charCodeAt(e.position)) && !isFlowIndicator(e.input.charCodeAt(e.position)))e.position++;
@@ -1774,7 +1822,7 @@
1774
1822
  }
1775
1823
  function readAlias(e, t) {
1776
1824
  if (42 !== e.input.charCodeAt(e.position)) return false;
1777
- if (t.anchorStart !== de || t.tagStart !== de) throwError(e, "alias node should not have any properties");
1825
+ if (t.anchorStart !== me || t.tagStart !== me) throwError(e, "alias node should not have any properties");
1778
1826
  e.position++;
1779
1827
  const n = e.position;
1780
1828
  while(0 !== e.input.charCodeAt(e.position) && !isWsOrEol(e.input.charCodeAt(e.position)) && !isFlowIndicator(e.input.charCodeAt(e.position)))e.position++;
@@ -1902,7 +1950,7 @@
1902
1950
  e.position = n + r;
1903
1951
  throwError(e, "tab characters must not be used in indentation");
1904
1952
  }
1905
- if (r < u) {
1953
+ if (r >= t && r < u) {
1906
1954
  e.position = n + r;
1907
1955
  throwError(e, "bad indentation of a mapping entry");
1908
1956
  }
@@ -1932,8 +1980,8 @@
1932
1980
  }
1933
1981
  function canStartPlainScalar(e, t) {
1934
1982
  const n = e.input.charCodeAt(e.position);
1935
- const r = t === he;
1936
- if (0 === n || isWsOrEol(n) || 35 === n || 38 === n || 42 === n || 33 === n || 124 === n || 62 === n || 39 === n || 34 === n || 37 === n || 64 === n || 96 === n || r && isFlowIndicator(n)) return false;
1983
+ const r = t === ve;
1984
+ if (0 === n || isWsOrEol(n) || 35 === n || 38 === n || 42 === n || 33 === n || 124 === n || 62 === n || 39 === n || 34 === n || 37 === n || 64 === n || 96 === n || isFlowIndicator(n)) return false;
1937
1985
  if (63 === n || 45 === n) {
1938
1986
  const t = e.input.charCodeAt(e.position + 1);
1939
1987
  if (isWsOrEolOrEnd(t) || r && isFlowIndicator(t)) return false;
@@ -1945,7 +1993,7 @@
1945
1993
  const i = e.position;
1946
1994
  let a = e.position;
1947
1995
  let o = e.input.charCodeAt(e.position);
1948
- const s = n === he;
1996
+ const s = n === ve;
1949
1997
  let l = false;
1950
1998
  while(0 !== o){
1951
1999
  if (testDocumentBoundary(e)) break;
@@ -2014,7 +2062,7 @@
2014
2062
  }
2015
2063
  const l = e.line;
2016
2064
  const c = snapshotState(e);
2017
- const u = parseNode(e, t, he, false, true);
2065
+ const u = parseNode(e, t, ve, false, true);
2018
2066
  skipFlowSeparationSpace(e, t);
2019
2067
  n = e.input.charCodeAt(e.position);
2020
2068
  if ((i || a || e.line === l) && 58 === n) {
@@ -2027,7 +2075,7 @@
2027
2075
  insertFlowPairMappingEvent(e, c);
2028
2076
  if (!u) addEmptyScalarEvent(e);
2029
2077
  }
2030
- if (!parseNode(e, t, he, false, true)) addEmptyScalarEvent(e);
2078
+ if (!parseNode(e, t, ve, false, true)) addEmptyScalarEvent(e);
2031
2079
  skipFlowSeparationSpace(e, t);
2032
2080
  if (!i) addPopEvent(e);
2033
2081
  } else if (i && r) {
@@ -2061,7 +2109,7 @@
2061
2109
  const r = skipSeparationSpace(e, true) > 0;
2062
2110
  if (-1 !== e.firstTabInLine && 45 === e.input.charCodeAt(e.position) && isWsOrEolOrEnd(e.input.charCodeAt(e.position + 1))) throwError(e, "bad indentation of a sequence entry");
2063
2111
  if (r && e.lineIndent <= t) addEmptyScalarEvent(e);
2064
- else parseNode(e, t, Se, false, true);
2112
+ else parseNode(e, t, ye, false, true);
2065
2113
  skipSeparationSpace(e, true);
2066
2114
  if (e.lineIndent < t || e.position >= e.length) break;
2067
2115
  if (e.lineIndent > t) throwError(e, "bad indentation of a sequence entry");
@@ -2107,7 +2155,7 @@
2107
2155
  i = false;
2108
2156
  }
2109
2157
  const t = snapshotState(e);
2110
- if (!parseNode(e, n, me, false, true)) break;
2158
+ if (!parseNode(e, n, Ee, false, true)) break;
2111
2159
  if (e.line === u) {
2112
2160
  l = e.input.charCodeAt(e.position);
2113
2161
  while(isWhiteSpace(l))l = e.input.charCodeAt(++e.position);
@@ -2115,20 +2163,23 @@
2115
2163
  l = e.input.charCodeAt(++e.position);
2116
2164
  if (!isWsOrEolOrEnd(l)) throwError(e, "a whitespace character is expected after the key-value separator within a block mapping");
2117
2165
  if (!o) {
2118
- restoreState(e, t);
2119
- addMappingEvent(e, t.position, r.anchorStart, r.anchorEnd, r.tagStart, r.tagEnd, ie.BLOCK);
2166
+ e.events.splice(t.eventsLength, 0, {
2167
+ type: ne.MAPPING,
2168
+ start: t.position,
2169
+ anchorStart: r.anchorStart,
2170
+ anchorEnd: r.anchorEnd,
2171
+ tagStart: r.tagStart,
2172
+ tagEnd: r.tagEnd,
2173
+ style: ie.BLOCK
2174
+ });
2120
2175
  o = true;
2121
- parseNode(e, n, me, false, true);
2122
- l = e.input.charCodeAt(e.position);
2123
- while(isWhiteSpace(l))l = e.input.charCodeAt(++e.position);
2124
- e.position++;
2125
2176
  }
2126
2177
  a = true;
2127
2178
  i = false;
2128
2179
  s = false;
2129
2180
  } else if (a) throwError(e, "expected ':' after a mapping key");
2130
2181
  else {
2131
- if (r.anchorStart !== de || r.tagStart !== de) {
2182
+ if (r.anchorStart !== me || r.tagStart !== me) {
2132
2183
  restoreState(e, t);
2133
2184
  return false;
2134
2185
  }
@@ -2136,14 +2187,14 @@
2136
2187
  }
2137
2188
  } else if (a) throwError(e, "can not read a block mapping entry; a multiline key may not be an implicit key");
2138
2189
  else {
2139
- if (r.anchorStart !== de || r.tagStart !== de) {
2190
+ if (r.anchorStart !== me || r.tagStart !== me) {
2140
2191
  restoreState(e, t);
2141
2192
  return false;
2142
2193
  }
2143
2194
  return true;
2144
2195
  }
2145
2196
  }
2146
- if (parseNode(e, t, ve, true, s)) s = false;
2197
+ if (parseNode(e, t, be, true, s)) s = false;
2147
2198
  if (!i) {
2148
2199
  if (s) {
2149
2200
  addEmptyScalarEvent(e);
@@ -2168,7 +2219,7 @@
2168
2219
  let l = false;
2169
2220
  let c = null;
2170
2221
  const u = emptyProperties();
2171
- let f = n === ve || n === Se;
2222
+ let f = n === be || n === ye;
2172
2223
  let p = f;
2173
2224
  const d = f;
2174
2225
  if (r && skipSeparationSpace(e, true)) {
@@ -2179,7 +2230,7 @@
2179
2230
  const r = e.input.charCodeAt(e.position);
2180
2231
  const i = snapshotState(e);
2181
2232
  if (s && 1 !== o && (33 === r || 38 === r)) break;
2182
- if (s && d && (u.tagStart !== de || u.anchorStart !== de) && (33 === r || 38 === r)) {
2233
+ if (s && d && (u.tagStart !== me || u.anchorStart !== me) && (33 === r || 38 === r)) {
2183
2234
  var g;
2184
2235
  const n = snapshotState(e);
2185
2236
  const r = t + 1;
@@ -2189,8 +2240,8 @@
2189
2240
  }
2190
2241
  restoreState(e, n);
2191
2242
  }
2192
- if (s && (33 === r && u.tagStart !== de || 38 === r && u.anchorStart !== de)) break;
2193
- if (!readTagProperty(e, u, n === he) && !readAnchorProperty(e, u)) break;
2243
+ if (s && (33 === r && u.tagStart !== me || 38 === r && u.anchorStart !== me)) break;
2244
+ if (!readTagProperty(e, u, n === ve) && !readAnchorProperty(e, u)) break;
2194
2245
  if (null === c) c = i;
2195
2246
  if (skipSeparationSpace(e, true)) {
2196
2247
  s = true;
@@ -2199,8 +2250,8 @@
2199
2250
  } else p = false;
2200
2251
  }
2201
2252
  if (p) p = s || i;
2202
- if (1 === o || n === ve) {
2203
- const r = n === he || n === me ? t : t + 1;
2253
+ if (1 === o || n === be) {
2254
+ const r = n === ve || n === Ee ? t : t + 1;
2204
2255
  const i = e.position - e.lineStart;
2205
2256
  if (1 === o) if (p && (readBlockSequence(e, i, u) || readBlockMapping(e, i, r, u)) || readFlowCollection(e, r, u)) l = true;
2206
2257
  else {
@@ -2218,12 +2269,12 @@
2218
2269
  else if (0 === o) l = p && readBlockSequence(e, i, u);
2219
2270
  }
2220
2271
  f = f && !l;
2221
- if (!l && (u.anchorStart !== de || u.tagStart !== de || f)) {
2222
- addScalarEvent(e, de, de, u.anchorStart, u.anchorEnd, u.tagStart, u.tagEnd, re.PLAIN);
2272
+ if (!l && (u.anchorStart !== me || u.tagStart !== me || f)) {
2273
+ addScalarEvent(e, me, me, u.anchorStart, u.anchorEnd, u.tagStart, u.tagEnd, re.PLAIN);
2223
2274
  l = true;
2224
2275
  }
2225
2276
  e.depth--;
2226
- return l || u.anchorStart !== de || u.tagStart !== de;
2277
+ return l || u.anchorStart !== me || u.tagStart !== me;
2227
2278
  }
2228
2279
  function readDirective(e) {
2229
2280
  if (e.lineIndent > 0 || 37 !== e.input.charCodeAt(e.position)) return false;
@@ -2254,9 +2305,9 @@
2254
2305
  } else if ("TAG" === n) {
2255
2306
  if (2 !== r.length) throwError(e, "TAG directive accepts exactly two arguments");
2256
2307
  const [t, n] = r;
2257
- if (!be.test(t)) throwError(e, "ill-formed tag handle (first argument) of the TAG directive");
2258
- if (ge.call(e.tagHandlers, t)) throwError(e, `there is a previously declared suffix for "${t}" tag handle`);
2259
- if (!Ce.test(n)) throwError(e, "ill-formed tag prefix (second argument) of the TAG directive");
2308
+ if (!Oe.test(t)) throwError(e, "ill-formed tag handle (first argument) of the TAG directive");
2309
+ if (Se.call(e.tagHandlers, t)) throwError(e, `there is a previously declared suffix for "${t}" tag handle`);
2310
+ if (!Ne.test(n)) throwError(e, "ill-formed tag prefix (second argument) of the TAG directive");
2260
2311
  e.tagHandlers[t] = n;
2261
2312
  e.directives.push({
2262
2313
  kind: "tag",
@@ -2292,7 +2343,7 @@
2292
2343
  return;
2293
2344
  }
2294
2345
  addDocumentEvent(e, n, false);
2295
- if (!parseNode(e, e.lineIndent - 1, ve, false, i, i)) addEmptyScalarEvent(e);
2346
+ if (!parseNode(e, e.lineIndent - 1, be, false, i, i)) addEmptyScalarEvent(e);
2296
2347
  skipSeparationSpace(e, true);
2297
2348
  if (e.position === e.lineStart && testDocumentSeparator(e)) {
2298
2349
  r = 46 === e.input.charCodeAt(e.position);
@@ -2310,7 +2361,7 @@
2310
2361
  }
2311
2362
  function parseEvents(e, t) {
2312
2363
  const n = e.length;
2313
- const r = _objectSpread2(_objectSpread2(_objectSpread2({}, Te), t), {}, {
2364
+ const r = _objectSpread2(_objectSpread2(_objectSpread2({}, Le), t), {}, {
2314
2365
  input: `${e}\0`,
2315
2366
  length: n,
2316
2367
  position: 0,
@@ -2335,12 +2386,12 @@
2335
2386
  }
2336
2387
  return r.events;
2337
2388
  }
2338
- var Ie = _objectSpread2(_objectSpread2({}, Te), pe);
2389
+ var Fe = _objectSpread2(_objectSpread2({}, Le), he);
2339
2390
  function loadDocuments(e, t = {}) {
2340
- const n = _objectSpread2(_objectSpread2({}, Ie), t);
2391
+ const n = _objectSpread2(_objectSpread2({}, Fe), t);
2341
2392
  const r = String(e);
2342
- const i = Object.keys(Te);
2343
- const a = Object.keys(pe);
2393
+ const i = Object.keys(Le);
2394
+ const a = Object.keys(he);
2344
2395
  return constructFromEvents(parseEvents(r, pick(n, i)), _objectSpread2(_objectSpread2({}, pick(n, a)), {}, {
2345
2396
  source: r
2346
2397
  }));
@@ -2359,7 +2410,7 @@
2359
2410
  if (1 === n.length) return n[0];
2360
2411
  throw new te("expected a single document in the stream, but found more");
2361
2412
  }
2362
- var Ne = Symbol("INVALID");
2413
+ var xe = Symbol("INVALID");
2363
2414
  function buildRepresentTypes(e) {
2364
2415
  const t = new Set([
2365
2416
  e.defaultScalarTag,
@@ -2412,8 +2463,8 @@
2412
2463
  }
2413
2464
  const n = matchTag(e, t);
2414
2465
  if (!n) {
2415
- if (void 0 === t) return Ne;
2416
- if (e.skipInvalid) return Ne;
2466
+ if (void 0 === t) return xe;
2467
+ if (e.skipInvalid) return xe;
2417
2468
  throw new te(`unacceptable kind of an object to dump ${Object.prototype.toString.call(t)}`);
2418
2469
  }
2419
2470
  const { tag: r, tagName: i, implicitTag: a } = n;
@@ -2437,8 +2488,8 @@
2437
2488
  if (!e.noRefs) e.refs.set(t, i);
2438
2489
  for(let t = 0, r = n.length; t < r; t += 1){
2439
2490
  let r = build(e, n[t]);
2440
- if (r === Ne && void 0 === n[t]) r = build(e, null);
2441
- if (r !== Ne) i.items.push(r);
2491
+ if (r === xe && void 0 === n[t]) r = build(e, null);
2492
+ if (r !== xe) i.items.push(r);
2442
2493
  }
2443
2494
  return i;
2444
2495
  }
@@ -2453,9 +2504,9 @@
2453
2504
  if (!e.noRefs) e.refs.set(t, l);
2454
2505
  for (const [t, n] of s){
2455
2506
  const r = build(e, t);
2456
- if (r === Ne) continue;
2507
+ if (r === xe) continue;
2457
2508
  const i = build(e, n);
2458
- if (i !== Ne) l.items.push({
2509
+ if (i !== xe) l.items.push({
2459
2510
  key: r,
2460
2511
  value: i
2461
2512
  });
@@ -2473,17 +2524,17 @@
2473
2524
  }, e);
2474
2525
  return [
2475
2526
  {
2476
- contents: a === Ne ? null : a,
2527
+ contents: a === xe ? null : a,
2477
2528
  directives: []
2478
2529
  }
2479
2530
  ];
2480
2531
  }
2481
- var Le = Symbol("visit:break");
2482
- var Fe = Symbol("visit:skip");
2532
+ var Pe = Symbol("visit:break");
2533
+ var $e = Symbol("visit:skip");
2483
2534
  function visitNode(e, t, n) {
2484
2535
  const r = t(e, n);
2485
- if (r === Le) return true;
2486
- if (r === Fe) return false;
2536
+ if (r === Pe) return true;
2537
+ if (r === $e) return false;
2487
2538
  const i = n.depth + 1;
2488
2539
  switch(e.kind){
2489
2540
  case "sequence":
@@ -2506,7 +2557,6 @@
2506
2557
  isKey: false
2507
2558
  })) return true;
2508
2559
  }
2509
- break;
2510
2560
  }
2511
2561
  return false;
2512
2562
  }
@@ -2520,7 +2570,7 @@
2520
2570
  function hasBit(e, t) {
2521
2571
  return (e & 1 << t) !== 0;
2522
2572
  }
2523
- var xe = {
2573
+ var _e = {
2524
2574
  applyQuoteFlowKeysOption: applyQuoteFlowKeysOption,
2525
2575
  doubleQuoteForInvisibles: doubleQuoteForInvisibles,
2526
2576
  doubleQuoteWhitespaceOnly: doubleQuoteWhitespaceOnly,
@@ -2587,50 +2637,50 @@
2587
2637
  function setBit(e, t) {
2588
2638
  return e | 1 << t;
2589
2639
  }
2590
- var Pe = "[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]";
2591
- var $e = "[\\n\\r]";
2592
- var _e = "\\uFEFF";
2593
- var Be = "[ \\t]";
2594
- var De = `(?:(?!(?:${$e}|${_e}))${Pe})`;
2595
- var Me = `(?:(?!${Be})${De})`;
2596
- var je = "[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]";
2597
- var Ke = "[-?:,\\[\\]{}#&*!|>'\"%@`]";
2598
- var Ue = "[,\\[\\]{}]";
2599
- var Re = Me;
2600
- var qe = `(?:(?!${Ue})${Me})`;
2601
- var Ye = `(?:(?:(?!${Ke})${Me})|[?:-](?=${Re}))`;
2602
- var Qe = `(?:(?:(?!${Ke})${Me})|[?:-](?=${qe}))`;
2603
- var We = `(?:(?:(?![:#])${Re})|:(?=${Re}))#*`;
2604
- var Ve = `(?:(?:(?![:#])${qe})|:(?=${qe}))#*`;
2605
- var Ge = `(?:${Be}*${We})*`;
2606
- var He = `(?:${Be}*${Ve})*`;
2607
- var ze = `${Ye}#*${Ge}`;
2608
- var Je = `${Qe}#*${He}`;
2609
- var Ze = ze;
2610
- var Xe = Je;
2611
- var et = `\\n+${We}${Ge}`;
2612
- var tt = `\\n+${Ve}${He}`;
2613
- var nt = `${ze}(?:${et})*`;
2614
- var rt = `${Je}(?:${tt})*`;
2615
- var it = new RegExp(`^(?:${nt})$`, "u");
2616
- var at = new RegExp(`^(?:${rt})$`, "u");
2617
- var ot = new RegExp(`^(?:${Ze})$`, "u");
2618
- var st = new RegExp(`^(?:${Xe})$`, "u");
2619
- var lt = new RegExp(`^(?:${je})*$`, "u");
2620
- var ct = new RegExp(`^(?:${je}|\\n)*$`, "u");
2621
- var ut = new RegExp(`^(?:${De}|\\n)*$`, "u");
2622
- var ft = /^(?:---|\.\.\.)(?=$|[ \t\n\r])/;
2623
- var pt = /^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;
2640
+ var Be = "[\\x09\\x0A\\x0D\\x20-\\x7E\\x85\\xA0-\\uD7FF\\uE000-\\uFFFD\\u{10000}-\\u{10FFFF}]";
2641
+ var De = "[\\n\\r]";
2642
+ var Me = "\\uFEFF";
2643
+ var je = "[ \\t]";
2644
+ var Ke = `(?:(?!(?:${De}|${Me}))${Be})`;
2645
+ var qe = `(?:(?!${je})${Ke})`;
2646
+ var Ue = "[\\x09\\x20-\\uD7FF\\uE000-\\uFFFF\\u{10000}-\\u{10FFFF}]";
2647
+ var Re = "[-?:,\\[\\]{}#&*!|>'\"%@`]";
2648
+ var Ye = "[,\\[\\]{}]";
2649
+ var Qe = qe;
2650
+ var We = `(?:(?!${Ye})${qe})`;
2651
+ var Ve = `(?:(?:(?!${Re})${qe})|[?:-](?=${Qe}))`;
2652
+ var Ge = `(?:(?:(?!${Re})${qe})|[?:-](?=${We}))`;
2653
+ var He = `(?:(?:(?![:#])${Qe})|:(?=${Qe}))#*`;
2654
+ var ze = `(?:(?:(?![:#])${We})|:(?=${We}))#*`;
2655
+ var Je = `(?:${je}*${He})*`;
2656
+ var Ze = `(?:${je}*${ze})*`;
2657
+ var Xe = `${Ve}#*${Je}`;
2658
+ var et = `${Ge}#*${Ze}`;
2659
+ var tt = Xe;
2660
+ var nt = et;
2661
+ var rt = `\\n+${He}${Je}`;
2662
+ var it = `\\n+${ze}${Ze}`;
2663
+ var at = `${Xe}(?:${rt})*`;
2664
+ var ot = `${et}(?:${it})*`;
2665
+ var st = new RegExp(`^(?:${at})$`, "u");
2666
+ var lt = new RegExp(`^(?:${ot})$`, "u");
2667
+ var ct = new RegExp(`^(?:${tt})$`, "u");
2668
+ var ut = new RegExp(`^(?:${nt})$`, "u");
2669
+ var ft = new RegExp(`^(?:${Ue})*$`, "u");
2670
+ var pt = new RegExp(`^(?:${Ue}|\\n)*$`, "u");
2671
+ var dt = new RegExp(`^(?:${Ke}|\\n)*$`, "u");
2672
+ var gt = /^(?:---|\.\.\.)(?=$|[ \t\n\r])/;
2673
+ var ht = /^(?:---|\.\.\.)(?=$|[ \t\n\r])/m;
2624
2674
  function canUsePlain(e) {
2625
2675
  const t = e.node.value;
2626
2676
  if ("" !== t) {
2627
- if (!(e.isKey ? e.flowOnly ? st : ot : e.flowOnly ? at : it).test(t)) return false;
2628
- if (0 === e.shiftOfFirstLine && ft.test(t)) return false;
2677
+ if (!(e.isKey ? e.flowOnly ? ut : ct : e.flowOnly ? lt : st).test(t)) return false;
2678
+ if (0 === e.shiftOfFirstLine && gt.test(t)) return false;
2629
2679
  if (0 === e.shiftOfContent) {
2630
2680
  const e = t.indexOf("\n");
2631
2681
  if (-1 !== e) {
2632
2682
  const n = t.slice(e + 1);
2633
- if (pt.test(n)) return false;
2683
+ if (ht.test(n)) return false;
2634
2684
  }
2635
2685
  }
2636
2686
  }
@@ -2641,20 +2691,20 @@
2641
2691
  }
2642
2692
  function canUseSingleQuoted(e) {
2643
2693
  const t = e.node.value;
2644
- if (!(e.isKey ? lt : ct).test(t)) return false;
2694
+ if (!(e.isKey ? ft : pt).test(t)) return false;
2645
2695
  if (/[ \t]\n|\n[ \t]/.test(t)) return false;
2646
2696
  if (!e.isKey && 0 === e.shiftOfContent) {
2647
2697
  const e = t.indexOf("\n");
2648
- if (-1 !== e && pt.test(t.slice(e + 1))) return false;
2698
+ if (-1 !== e && ht.test(t.slice(e + 1))) return false;
2649
2699
  }
2650
2700
  return true;
2651
2701
  }
2652
2702
  function canUseBlock(e) {
2653
- if (e.flowOnly || !ut.test(e.node.value)) return false;
2703
+ if (e.flowOnly || !dt.test(e.node.value)) return false;
2654
2704
  const t = e.shiftOfContent - e.shiftOfParent;
2655
2705
  if (t < 1) return false;
2656
2706
  if (t > 9 && /^\n* /.test(e.node.value)) return false;
2657
- if (0 === e.shiftOfContent && pt.test(e.node.value)) return false;
2707
+ if (0 === e.shiftOfContent && ht.test(e.node.value)) return false;
2658
2708
  return true;
2659
2709
  }
2660
2710
  function detectAllowedStyles(e) {
@@ -2788,7 +2838,7 @@
2788
2838
  }
2789
2839
  return i;
2790
2840
  }
2791
- var dt = /["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;
2841
+ var mt = /["\\\x00-\x1F\x7F-\xA0\u2028\u2029\uD800-\uDFFF\uFEFF\uFFFE\uFFFF]/gu;
2792
2842
  function escapeCharacter(e) {
2793
2843
  switch(e){
2794
2844
  case "\0":
@@ -2828,10 +2878,10 @@
2828
2878
  return `\\u${"0".repeat(4 - n.length)}${n}`;
2829
2879
  }
2830
2880
  function escapeString(e) {
2831
- return e.replace(dt, escapeCharacter);
2881
+ return e.replace(mt, escapeCharacter);
2832
2882
  }
2833
- var gt = 10;
2834
- var ht = {
2883
+ var St = 10;
2884
+ var vt = {
2835
2885
  indent: 2,
2836
2886
  seqNoIndent: false,
2837
2887
  seqInlineFirst: true,
@@ -2842,14 +2892,14 @@
2842
2892
  quoteFlowKeys: false,
2843
2893
  quoteStyle: "single",
2844
2894
  forceQuotes: false,
2845
- scalarStyleRules: Object.keys(xe).map((e)=>Reflect.get(xe, e)),
2895
+ scalarStyleRules: Object.keys(_e).map((e)=>Reflect.get(_e, e)),
2846
2896
  tagBeforeAnchor: false
2847
2897
  };
2848
2898
  function nodeTagShort(e) {
2849
2899
  return e.tagged ? e.tag : tagNameShort(e.tag);
2850
2900
  }
2851
2901
  function createPresenterState(e) {
2852
- const t = _objectSpread2(_objectSpread2({}, ht), e);
2902
+ const t = _objectSpread2(_objectSpread2({}, vt), e);
2853
2903
  if (t.flowSkipColonSpace) t.quoteFlowKeys = true;
2854
2904
  return _objectSpread2(_objectSpread2({}, t), {}, {
2855
2905
  defaultScalarTagName: t.schema.defaultScalarTag.tagName,
@@ -2893,7 +2943,7 @@
2893
2943
  isblockseq: true
2894
2944
  }).text;
2895
2945
  if (!r || "" !== i) i += generateNextLine(e, t);
2896
- if ("" === o || gt === o.charCodeAt(0)) i += "-";
2946
+ if ("" === o || St === o.charCodeAt(0)) i += "-";
2897
2947
  else i += "- ";
2898
2948
  i += o;
2899
2949
  }
@@ -2938,7 +2988,7 @@
2938
2988
  const p = "scalar" === s.kind && -1 !== s.value.indexOf("\n");
2939
2989
  const d = f.length > 1024 && /^[\s\S]{1025}/u.test(f);
2940
2990
  const g = c || p || d;
2941
- if (g) if (f && gt === f.charCodeAt(0)) o += "?";
2991
+ if (g) if (f && St === f.charCodeAt(0)) o += "?";
2942
2992
  else o += "? ";
2943
2993
  o += f;
2944
2994
  if (g) o += generateNextLine(e, t);
@@ -2949,7 +2999,7 @@
2949
2999
  }).text;
2950
3000
  const m = "scalar" === s.kind && u.noBody && (s.tagged || void 0 !== s.anchor);
2951
3001
  const S = !g && ("alias" === s.kind || m) ? " " : "";
2952
- if ("" === h || gt === h.charCodeAt(0)) o += `${S}:`;
3002
+ if ("" === h || St === h.charCodeAt(0)) o += `${S}:`;
2953
3003
  else o += `${S}: `;
2954
3004
  o += h;
2955
3005
  i += o;
@@ -3001,7 +3051,7 @@
3001
3051
  if (null !== i) t.push(i);
3002
3052
  if (null !== r) t.push(r);
3003
3053
  }
3004
- const a = "" === f || f.charCodeAt(0) === gt ? "" : " ";
3054
+ const a = "" === f || f.charCodeAt(0) === St ? "" : " ";
3005
3055
  h = `${t.join(" ")}${a}${f}`;
3006
3056
  }
3007
3057
  return {
@@ -3053,7 +3103,7 @@
3053
3103
  }
3054
3104
  return r;
3055
3105
  }
3056
- var mt = _objectSpread2(_objectSpread2({}, ht), {}, {
3106
+ var Et = _objectSpread2(_objectSpread2({}, vt), {}, {
3057
3107
  schema: J,
3058
3108
  skipInvalid: false,
3059
3109
  noRefs: false,
@@ -3069,7 +3119,7 @@
3069
3119
  return 0;
3070
3120
  }
3071
3121
  function dump(e, t = {}) {
3072
- const n = _objectSpread2(_objectSpread2({}, mt), t);
3122
+ const n = _objectSpread2(_objectSpread2({}, Et), t);
3073
3123
  const r = jsToAst(e, n.schema, {
3074
3124
  noRefs: n.noRefs,
3075
3125
  skipInvalid: n.skipInvalid
@@ -3077,7 +3127,7 @@
3077
3127
  if (n.flowLevel >= 0) visit(r, (e, t)=>{
3078
3128
  if (t.depth < n.flowLevel) return;
3079
3129
  if ("sequence" === e.kind || "mapping" === e.kind) e.style = ie.FLOW;
3080
- return Fe;
3130
+ return $e;
3081
3131
  });
3082
3132
  if (n.sortKeys) {
3083
3133
  const e = true === n.sortKeys ? defaultCompareFn : n.sortKeys;
@@ -3087,23 +3137,23 @@
3087
3137
  });
3088
3138
  }
3089
3139
  n.transform(r);
3090
- return present(r, _objectSpread2(_objectSpread2({}, pick(n, Object.keys(ht))), {}, {
3140
+ return present(r, _objectSpread2(_objectSpread2({}, pick(n, Object.keys(vt))), {}, {
3091
3141
  schema: n.schema
3092
3142
  }));
3093
3143
  }
3094
- var St = -1;
3144
+ var yt = -1;
3095
3145
  function eventPosition(e) {
3096
- if ("tagStart" in e && e.tagStart !== St) return e.tagStart;
3097
- if ("anchorStart" in e && e.anchorStart !== St) return e.anchorStart;
3098
- if ("valueStart" in e && e.valueStart !== St) return e.valueStart;
3146
+ if ("tagStart" in e && e.tagStart !== yt) return e.tagStart;
3147
+ if ("anchorStart" in e && e.anchorStart !== yt) return e.anchorStart;
3148
+ if ("valueStart" in e && e.valueStart !== yt) return e.valueStart;
3099
3149
  if ("start" in e) return e.start;
3100
3150
  return 0;
3101
3151
  }
3102
3152
  function rawTag(e, t) {
3103
- return t.tagStart === St ? "" : e.source.slice(t.tagStart, t.tagEnd);
3153
+ return t.tagStart === yt ? "" : e.source.slice(t.tagStart, t.tagEnd);
3104
3154
  }
3105
3155
  function anchorName(e, t) {
3106
- return t.anchorStart === St ? void 0 : e.source.slice(t.anchorStart, t.anchorEnd);
3156
+ return t.anchorStart === yt ? void 0 : e.source.slice(t.anchorStart, t.anchorEnd);
3107
3157
  }
3108
3158
  function buildScalar(e, t) {
3109
3159
  const n = getScalarValue(e.source, t);
@@ -3234,51 +3284,51 @@
3234
3284
  }
3235
3285
  return n.documents;
3236
3286
  }
3237
- var vt = ne.DOCUMENT;
3238
- var Et = ne.SEQUENCE;
3239
- var yt = ne.MAPPING;
3240
- var bt = ne.SCALAR;
3241
- var wt = ne.ALIAS;
3242
- var kt = ne.POP;
3243
- var Ot = re.PLAIN;
3244
- var At = re.SINGLE_QUOTED;
3245
- var Ct = re.DOUBLE_QUOTED;
3246
- var Tt = re.LITERAL_BLOCK;
3247
- var It = re.FOLDED_BLOCK;
3248
- var Nt = ie.BLOCK;
3249
- var Lt = ie.FLOW;
3250
- var Ft = ae.CLIP;
3251
- var xt = ae.STRIP;
3252
- var Pt = ae.KEEP;
3253
- t.CHOMPING_CLIP = Ft;
3254
- t.CHOMPING_KEEP = Pt;
3287
+ var bt = ne.DOCUMENT;
3288
+ var wt = ne.SEQUENCE;
3289
+ var kt = ne.MAPPING;
3290
+ var Ot = ne.SCALAR;
3291
+ var At = ne.ALIAS;
3292
+ var Ct = ne.POP;
3293
+ var Tt = re.PLAIN;
3294
+ var It = re.SINGLE_QUOTED;
3295
+ var Nt = re.DOUBLE_QUOTED;
3296
+ var Lt = re.LITERAL_BLOCK;
3297
+ var Ft = re.FOLDED_BLOCK;
3298
+ var xt = ie.BLOCK;
3299
+ var Pt = ie.FLOW;
3300
+ var $t = ae.CLIP;
3301
+ var _t = ae.STRIP;
3302
+ var Bt = ae.KEEP;
3303
+ t.CHOMPING_CLIP = $t;
3304
+ t.CHOMPING_KEEP = Bt;
3255
3305
  t.CHOMPING_MODE = ae;
3256
- t.CHOMPING_STRIP = xt;
3306
+ t.CHOMPING_STRIP = _t;
3257
3307
  t.COLLECTION_STYLE = ie;
3258
- t.COLLECTION_STYLE_BLOCK = Nt;
3259
- t.COLLECTION_STYLE_FLOW = Lt;
3308
+ t.COLLECTION_STYLE_BLOCK = xt;
3309
+ t.COLLECTION_STYLE_FLOW = Pt;
3260
3310
  t.CORE_SCHEMA = H;
3261
- t.DEFAULT_SCALAR_STYLE_RULES = xe;
3311
+ t.DEFAULT_SCALAR_STYLE_RULES = _e;
3262
3312
  t.DUMP_SCHEMA = J;
3263
- t.EVENT_ALIAS = wt;
3264
- t.EVENT_DOCUMENT = vt;
3313
+ t.EVENT_ALIAS = At;
3314
+ t.EVENT_DOCUMENT = bt;
3265
3315
  t.EVENT_ID = ne;
3266
- t.EVENT_MAPPING = yt;
3267
- t.EVENT_POP = kt;
3268
- t.EVENT_SCALAR = bt;
3269
- t.EVENT_SEQUENCE = Et;
3316
+ t.EVENT_MAPPING = kt;
3317
+ t.EVENT_POP = Ct;
3318
+ t.EVENT_SCALAR = Ot;
3319
+ t.EVENT_SEQUENCE = wt;
3270
3320
  t.FAILSAFE_SCHEMA = V;
3271
3321
  t.JSON_SCHEMA = G;
3272
3322
  t.NOT_RESOLVED = n;
3273
3323
  t.SCALAR_STYLE = re;
3274
- t.SCALAR_STYLE_DOUBLE_QUOTED = Ct;
3275
- t.SCALAR_STYLE_FOLDED_BLOCK = It;
3276
- t.SCALAR_STYLE_LITERAL_BLOCK = Tt;
3277
- t.SCALAR_STYLE_PLAIN = Ot;
3278
- t.SCALAR_STYLE_SINGLE_QUOTED = At;
3324
+ t.SCALAR_STYLE_DOUBLE_QUOTED = Nt;
3325
+ t.SCALAR_STYLE_FOLDED_BLOCK = Ft;
3326
+ t.SCALAR_STYLE_LITERAL_BLOCK = Lt;
3327
+ t.SCALAR_STYLE_PLAIN = Tt;
3328
+ t.SCALAR_STYLE_SINGLE_QUOTED = It;
3279
3329
  t.Schema = W;
3280
- t.VISIT_BREAK = Le;
3281
- t.VISIT_SKIP = Fe;
3330
+ t.VISIT_BREAK = Pe;
3331
+ t.VISIT_SKIP = $e;
3282
3332
  t.YAML11_SCHEMA = z;
3283
3333
  t.YAMLException = te;
3284
3334
  t.binaryTag = D;
@@ -3307,12 +3357,12 @@
3307
3357
  t.nullCoreTag = a;
3308
3358
  t.nullJsonTag = o;
3309
3359
  t.nullYaml11Tag = l;
3310
- t.omapTag = R;
3311
- t.pairsTag = q;
3360
+ t.omapTag = U;
3361
+ t.pairsTag = R;
3312
3362
  t.parseEvents = parseEvents;
3313
3363
  t.present = present;
3314
3364
  t.realMapTag = Z;
3315
- t.seqTag = U;
3365
+ t.seqTag = q;
3316
3366
  t.setTag = Q;
3317
3367
  t.strTag = r;
3318
3368
  t.timestampTag = K;
@@ -3320,6 +3370,6 @@
3320
3370
  }
3321
3371
  };
3322
3372
  var t = {};
3323
- e[102](0, t);
3373
+ e[427](0, t);
3324
3374
  module.exports = t;
3325
3375
  })();