@socketsecurity/lib 5.26.0 → 5.26.1

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 (147) hide show
  1. package/CHANGELOG.md +345 -1185
  2. package/README.md +1 -1
  3. package/dist/abort.js +7 -6
  4. package/dist/agent.js +16 -15
  5. package/dist/ansi.js +3 -2
  6. package/dist/archives.js +18 -17
  7. package/dist/argv/flags.js +29 -28
  8. package/dist/argv/parse.js +4 -3
  9. package/dist/arrays.js +3 -2
  10. package/dist/bin.js +12 -11
  11. package/dist/cacache.js +16 -11
  12. package/dist/cache-with-ttl.js +26 -21
  13. package/dist/colors.js +2 -1
  14. package/dist/constants/licenses.js +2 -1
  15. package/dist/constants/lifecycle-script-names.js +2 -1
  16. package/dist/constants/maintained-node-versions.js +2 -1
  17. package/dist/constants/node.js +4 -3
  18. package/dist/constants/package-default-socket-categories.js +2 -1
  19. package/dist/constants/packages.js +4 -3
  20. package/dist/constants/socket.js +1 -1
  21. package/dist/cover/code.js +9 -8
  22. package/dist/cover/formatters.js +12 -11
  23. package/dist/cover/type.js +5 -4
  24. package/dist/crypto.d.ts +36 -0
  25. package/dist/{effects/ultra.js → crypto.js} +33 -37
  26. package/dist/debug.js +12 -15
  27. package/dist/dlx/arborist.js +10 -9
  28. package/dist/dlx/binary.js +27 -24
  29. package/dist/dlx/cache.js +2 -10
  30. package/dist/dlx/detect.js +6 -5
  31. package/dist/dlx/integrity.js +13 -11
  32. package/dist/dlx/lockfile.js +7 -6
  33. package/dist/dlx/manifest.js +6 -5
  34. package/dist/dlx/package.js +17 -16
  35. package/dist/dlx/packages.js +6 -5
  36. package/dist/dlx/paths.d.ts +1 -1
  37. package/dist/dlx/paths.js +2 -1
  38. package/dist/effects/pulse-frames.js +4 -3
  39. package/dist/effects/shimmer-keyframes.d.ts +62 -0
  40. package/dist/effects/shimmer-keyframes.js +55 -0
  41. package/dist/effects/shimmer-terminal.d.ts +66 -0
  42. package/dist/effects/shimmer-terminal.js +57 -0
  43. package/dist/effects/shimmer.d.ts +293 -0
  44. package/dist/effects/shimmer.js +180 -0
  45. package/dist/env/rewire.js +4 -3
  46. package/dist/env.js +5 -4
  47. package/dist/errors.js +1 -1
  48. package/dist/external/@npmcli/package-json/lib/read-package.js +10 -10
  49. package/dist/external/@npmcli/package-json.js +372 -372
  50. package/dist/external/@npmcli/promise-spawn.js +24 -24
  51. package/dist/external/@socketregistry/packageurl-js.js +19 -18
  52. package/dist/external/@socketregistry/yocto-spinner.js +4 -3
  53. package/dist/external/@yarnpkg/extensions.js +2 -1
  54. package/dist/external/adm-zip.js +70 -70
  55. package/dist/external/debug.js +22 -22
  56. package/dist/external/external-pack.js +45 -45
  57. package/dist/external/fast-sort.js +5 -5
  58. package/dist/external/libnpmexec.js +4 -3
  59. package/dist/external/npm-pack.js +369 -369
  60. package/dist/external/p-map.js +9 -9
  61. package/dist/external/pico-pack.js +190 -190
  62. package/dist/external/pony-cause.js +2 -1
  63. package/dist/external/spdx-pack.js +11 -10
  64. package/dist/external/tar-fs.js +58 -58
  65. package/dist/external/which.js +13 -13
  66. package/dist/external/yargs-parser.js +71 -71
  67. package/dist/fs.js +19 -23
  68. package/dist/git.js +14 -13
  69. package/dist/github.d.ts +34 -0
  70. package/dist/github.js +248 -23
  71. package/dist/globs.d.ts +20 -0
  72. package/dist/globs.js +134 -25
  73. package/dist/http-request.d.ts +4 -3
  74. package/dist/http-request.js +39 -32
  75. package/dist/ipc-cli.js +2 -1
  76. package/dist/ipc.js +5 -4
  77. package/dist/json/edit.js +4 -3
  78. package/dist/json/format.js +3 -2
  79. package/dist/json/parse.js +7 -6
  80. package/dist/links.js +2 -1
  81. package/dist/logger.js +21 -14
  82. package/dist/memoization.js +16 -15
  83. package/dist/objects.js +2 -2
  84. package/dist/packages/edit.js +8 -7
  85. package/dist/packages/exports.js +17 -16
  86. package/dist/packages/isolation.js +20 -13
  87. package/dist/packages/licenses.js +6 -3
  88. package/dist/packages/manifest.js +2 -1
  89. package/dist/packages/normalize.js +8 -4
  90. package/dist/packages/operations.js +5 -4
  91. package/dist/packages/provenance.js +7 -6
  92. package/dist/packages/specs.js +2 -1
  93. package/dist/packages/validation.js +2 -1
  94. package/dist/paths/normalize.js +32 -40
  95. package/dist/paths/packages.js +2 -1
  96. package/dist/paths/rewire.js +3 -2
  97. package/dist/performance.js +19 -18
  98. package/dist/primordials.d.ts +9 -0
  99. package/dist/primordials.js +17 -0
  100. package/dist/process-lock.js +14 -13
  101. package/dist/promise-queue.js +17 -9
  102. package/dist/promises.d.ts +29 -6
  103. package/dist/promises.js +19 -15
  104. package/dist/regexps.js +9 -8
  105. package/dist/releases/github-api.d.ts +56 -0
  106. package/dist/releases/github-api.js +275 -0
  107. package/dist/releases/github-archives.d.ts +60 -0
  108. package/dist/releases/github-archives.js +136 -0
  109. package/dist/releases/github-assets.d.ts +21 -0
  110. package/dist/releases/github-assets.js +52 -0
  111. package/dist/releases/github-auth.d.ts +16 -0
  112. package/dist/releases/github-auth.js +51 -0
  113. package/dist/releases/github-downloads.d.ts +42 -0
  114. package/dist/releases/github-downloads.js +155 -0
  115. package/dist/releases/github-types.d.ts +66 -0
  116. package/dist/{effects/types.js → releases/github-types.js} +2 -2
  117. package/dist/releases/socket-btm.d.ts +1 -1
  118. package/dist/releases/socket-btm.js +17 -17
  119. package/dist/schema/parse.js +2 -1
  120. package/dist/schema/validate.js +6 -5
  121. package/dist/shadow.js +2 -1
  122. package/dist/signal-exit.js +2 -2
  123. package/dist/spawn.js +45 -35
  124. package/dist/spinner.d.ts +13 -6
  125. package/dist/spinner.js +75 -57
  126. package/dist/ssri.js +8 -7
  127. package/dist/stdio/footer.js +13 -12
  128. package/dist/stdio/header.js +5 -4
  129. package/dist/stdio/progress.js +13 -12
  130. package/dist/strings.js +19 -18
  131. package/dist/suppress-warnings.js +2 -2
  132. package/dist/tables.js +16 -13
  133. package/dist/temporary-executor.js +2 -1
  134. package/dist/themes/context.js +2 -1
  135. package/dist/themes/types.d.ts +1 -1
  136. package/dist/themes/utils.d.ts +8 -3
  137. package/dist/themes/utils.js +29 -5
  138. package/dist/url.js +4 -3
  139. package/package.json +44 -20
  140. package/dist/effects/text-shimmer.d.ts +0 -58
  141. package/dist/effects/text-shimmer.js +0 -192
  142. package/dist/effects/types.d.ts +0 -47
  143. package/dist/effects/ultra.d.ts +0 -22
  144. package/dist/releases/github.d.ts +0 -234
  145. package/dist/releases/github.js +0 -417
  146. package/dist/themes/index.d.ts +0 -49
  147. package/dist/themes/index.js +0 -60
@@ -1,4 +1,4 @@
1
- const { ArrayIsArray: _p_ArrayIsArray, NumberIsSafeInteger: _p_NumberIsSafeInteger, ObjectDefineProperty: _p_ObjectDefineProperty, PromiseCtor: _p_PromiseCtor, StringPrototypeStartsWith: _p_StringPrototypeStartsWith, TypeErrorCtor: _p_TypeErrorCtor } = require('../primordials.js')
1
+ const { AggregateErrorCtor: _p_AggregateErrorCtor, ArrayIsArray: _p_ArrayIsArray, ArrayPrototypeFlatMap: _p_ArrayPrototypeFlatMap, ArrayPrototypeUnshift: _p_ArrayPrototypeUnshift, ErrorCtor: _p_ErrorCtor, MapCtor: _p_MapCtor, MathAbs: _p_MathAbs, MathMax: _p_MathMax, MathMin: _p_MathMin, MathPow: _p_MathPow, NumberIsFinite: _p_NumberIsFinite, NumberIsInteger: _p_NumberIsInteger, NumberIsSafeInteger: _p_NumberIsSafeInteger, NumberParseInt: _p_NumberParseInt, ObjectAssign: _p_ObjectAssign, ObjectCreate: _p_ObjectCreate, ObjectDefineProperty: _p_ObjectDefineProperty, ObjectKeys: _p_ObjectKeys, PromiseAll: _p_PromiseAll, PromiseCtor: _p_PromiseCtor, PromiseRace: _p_PromiseRace, PromiseResolve: _p_PromiseResolve, RangeErrorCtor: _p_RangeErrorCtor, RegExpCtor: _p_RegExpCtor, SetCtor: _p_SetCtor, StringFromCharCode: _p_StringFromCharCode, StringPrototypeCharAt: _p_StringPrototypeCharAt, StringPrototypeCharCodeAt: _p_StringPrototypeCharCodeAt, StringPrototypeEndsWith: _p_StringPrototypeEndsWith, StringPrototypeLocaleCompare: _p_StringPrototypeLocaleCompare, StringPrototypePadStart: _p_StringPrototypePadStart, StringPrototypeRepeat: _p_StringPrototypeRepeat, StringPrototypeStartsWith: _p_StringPrototypeStartsWith, SyntaxErrorCtor: _p_SyntaxErrorCtor, TypeErrorCtor: _p_TypeErrorCtor } = require('../primordials.js')
2
2
  "use strict";
3
3
  /**
4
4
  * Bundled from pico-pack
@@ -252,7 +252,7 @@ var require_utils = __commonJS({
252
252
  REGEX_SPECIAL_CHARS,
253
253
  REGEX_SPECIAL_CHARS_GLOBAL
254
254
  } = require_constants();
255
- exports2.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
255
+ exports2.isObject = (val) => val !== null && typeof val === "object" && !_p_ArrayIsArray(val);
256
256
  exports2.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str);
257
257
  exports2.isRegexChar = (str) => str.length === 1 && exports2.hasRegexChars(str);
258
258
  exports2.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
@@ -280,7 +280,7 @@ var require_utils = __commonJS({
280
280
  };
281
281
  exports2.removePrefix = (input, state = {}) => {
282
282
  let output = input;
283
- if (output.startsWith("./")) {
283
+ if (_p_StringPrototypeStartsWith(output, "./")) {
284
284
  output = output.slice(2);
285
285
  state.prefix = "./";
286
286
  }
@@ -377,10 +377,10 @@ var require_scan = __commonJS({
377
377
  let code;
378
378
  let token = { value: "", depth: 0, isGlob: false };
379
379
  const eos = /* @__PURE__ */ __name(() => index >= length, "eos");
380
- const peek = /* @__PURE__ */ __name(() => str.charCodeAt(index + 1), "peek");
380
+ const peek = /* @__PURE__ */ __name(() => _p_StringPrototypeCharCodeAt(str, index + 1), "peek");
381
381
  const advance = /* @__PURE__ */ __name(() => {
382
382
  prev = code;
383
- return str.charCodeAt(++index);
383
+ return _p_StringPrototypeCharCodeAt(str, ++index);
384
384
  }, "advance");
385
385
  while (index < length) {
386
386
  code = advance();
@@ -566,7 +566,7 @@ var require_scan = __commonJS({
566
566
  base = str;
567
567
  }
568
568
  if (base && base !== "" && base !== "/" && base !== str) {
569
- if (isPathSeparator(base.charCodeAt(base.length - 1))) {
569
+ if (isPathSeparator(_p_StringPrototypeCharCodeAt(base, base.length - 1))) {
570
570
  base = base.slice(0, -1);
571
571
  }
572
572
  }
@@ -656,7 +656,7 @@ var require_parse = __commonJS({
656
656
  args.sort();
657
657
  const value = `[${args.join("-")}]`;
658
658
  try {
659
- new RegExp(value);
659
+ new _p_RegExpCtor(value);
660
660
  } catch (ex) {
661
661
  return args.map((v) => utils.escapeRegex(v)).join("..");
662
662
  }
@@ -749,10 +749,10 @@ var require_parse = __commonJS({
749
749
  const a = values[i];
750
750
  const b = values[j];
751
751
  const char = a[0];
752
- if (!char || a !== char.repeat(a.length) || b !== char.repeat(b.length)) {
752
+ if (!char || a !== _p_StringPrototypeRepeat(char, a.length) || b !== _p_StringPrototypeRepeat(char, b.length)) {
753
753
  continue;
754
754
  }
755
- if (a === b || a.startsWith(b) || b.startsWith(a)) {
755
+ if (a === b || _p_StringPrototypeStartsWith(a, b) || _p_StringPrototypeStartsWith(b, a)) {
756
756
  return true;
757
757
  }
758
758
  }
@@ -874,14 +874,14 @@ var require_parse = __commonJS({
874
874
  }, "analyzeRepeatedExtglob");
875
875
  var parse = /* @__PURE__ */ __name((input, options) => {
876
876
  if (typeof input !== "string") {
877
- throw new TypeError("Expected a string");
877
+ throw new _p_TypeErrorCtor("Expected a string");
878
878
  }
879
879
  input = REPLACEMENTS[input] || input;
880
880
  const opts = { ...options };
881
- const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
881
+ const max = typeof opts.maxLength === "number" ? _p_MathMin(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
882
882
  let len = input.length;
883
883
  if (len > max) {
884
- throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
884
+ throw new _p_SyntaxErrorCtor(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
885
885
  }
886
886
  const bos = { type: "bos", value: "", output: opts.prepend || "" };
887
887
  const tokens = [bos];
@@ -1187,7 +1187,7 @@ var require_parse = __commonJS({
1187
1187
  }
1188
1188
  if (value === ")") {
1189
1189
  if (state.parens === 0 && opts.strictBrackets === true) {
1190
- throw new SyntaxError(syntaxError("opening", "("));
1190
+ throw new _p_SyntaxErrorCtor(syntaxError("opening", "("));
1191
1191
  }
1192
1192
  const extglob = extglobs[extglobs.length - 1];
1193
1193
  if (extglob && state.parens === extglob.parens + 1) {
@@ -1201,7 +1201,7 @@ var require_parse = __commonJS({
1201
1201
  if (value === "[") {
1202
1202
  if (opts.nobracket === true || !remaining().includes("]")) {
1203
1203
  if (opts.nobracket !== true && opts.strictBrackets === true) {
1204
- throw new SyntaxError(syntaxError("closing", "]"));
1204
+ throw new _p_SyntaxErrorCtor(syntaxError("closing", "]"));
1205
1205
  }
1206
1206
  value = `\\${value}`;
1207
1207
  } else {
@@ -1217,7 +1217,7 @@ var require_parse = __commonJS({
1217
1217
  }
1218
1218
  if (state.brackets === 0) {
1219
1219
  if (opts.strictBrackets === true) {
1220
- throw new SyntaxError(syntaxError("opening", "["));
1220
+ throw new _p_SyntaxErrorCtor(syntaxError("opening", "["));
1221
1221
  }
1222
1222
  push({ type: "text", value, output: `\\${value}` });
1223
1223
  continue;
@@ -1272,7 +1272,7 @@ var require_parse = __commonJS({
1272
1272
  break;
1273
1273
  }
1274
1274
  if (arr[i].type !== "dots") {
1275
- range.unshift(arr[i].value);
1275
+ _p_ArrayPrototypeUnshift(range, arr[i].value);
1276
1276
  }
1277
1277
  }
1278
1278
  output = expandRange(range, opts);
@@ -1536,17 +1536,17 @@ var require_parse = __commonJS({
1536
1536
  push(token);
1537
1537
  }
1538
1538
  while (state.brackets > 0) {
1539
- if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "]"));
1539
+ if (opts.strictBrackets === true) throw new _p_SyntaxErrorCtor(syntaxError("closing", "]"));
1540
1540
  state.output = utils.escapeLast(state.output, "[");
1541
1541
  decrement("brackets");
1542
1542
  }
1543
1543
  while (state.parens > 0) {
1544
- if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", ")"));
1544
+ if (opts.strictBrackets === true) throw new _p_SyntaxErrorCtor(syntaxError("closing", ")"));
1545
1545
  state.output = utils.escapeLast(state.output, "(");
1546
1546
  decrement("parens");
1547
1547
  }
1548
1548
  while (state.braces > 0) {
1549
- if (opts.strictBrackets === true) throw new SyntaxError(syntaxError("closing", "}"));
1549
+ if (opts.strictBrackets === true) throw new _p_SyntaxErrorCtor(syntaxError("closing", "}"));
1550
1550
  state.output = utils.escapeLast(state.output, "{");
1551
1551
  decrement("braces");
1552
1552
  }
@@ -1566,10 +1566,10 @@ var require_parse = __commonJS({
1566
1566
  }, "parse");
1567
1567
  parse.fastpaths = (input, options) => {
1568
1568
  const opts = { ...options };
1569
- const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
1569
+ const max = typeof opts.maxLength === "number" ? _p_MathMin(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
1570
1570
  const len = input.length;
1571
1571
  if (len > max) {
1572
- throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
1572
+ throw new _p_SyntaxErrorCtor(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
1573
1573
  }
1574
1574
  input = REPLACEMENTS[input] || input;
1575
1575
  const {
@@ -1641,9 +1641,9 @@ var require_picomatch = __commonJS({
1641
1641
  var parse = require_parse();
1642
1642
  var utils = require_utils();
1643
1643
  var constants = require_constants();
1644
- var isObject = /* @__PURE__ */ __name((val) => val && typeof val === "object" && !Array.isArray(val), "isObject");
1644
+ var isObject = /* @__PURE__ */ __name((val) => val && typeof val === "object" && !_p_ArrayIsArray(val), "isObject");
1645
1645
  var picomatch2 = /* @__PURE__ */ __name((glob2, options, returnState = false) => {
1646
- if (Array.isArray(glob2)) {
1646
+ if (_p_ArrayIsArray(glob2)) {
1647
1647
  const fns = glob2.map((input) => picomatch2(input, options, returnState));
1648
1648
  const arrayMatcher = /* @__PURE__ */ __name((str) => {
1649
1649
  for (const isMatch of fns) {
@@ -1656,7 +1656,7 @@ var require_picomatch = __commonJS({
1656
1656
  }
1657
1657
  const isState = isObject(glob2) && glob2.tokens && glob2.input;
1658
1658
  if (glob2 === "" || typeof glob2 !== "string" && !isState) {
1659
- throw new TypeError("Expected pattern to be a non-empty string");
1659
+ throw new _p_TypeErrorCtor("Expected pattern to be a non-empty string");
1660
1660
  }
1661
1661
  const opts = options || {};
1662
1662
  const posix = opts.windows;
@@ -1697,7 +1697,7 @@ var require_picomatch = __commonJS({
1697
1697
  }, "picomatch");
1698
1698
  picomatch2.test = (input, regex, options, { glob: glob2, posix } = {}) => {
1699
1699
  if (typeof input !== "string") {
1700
- throw new TypeError("Expected input to be a string");
1700
+ throw new _p_TypeErrorCtor("Expected input to be a string");
1701
1701
  }
1702
1702
  if (input === "") {
1703
1703
  return { isMatch: false, output: "" };
@@ -1725,7 +1725,7 @@ var require_picomatch = __commonJS({
1725
1725
  };
1726
1726
  picomatch2.isMatch = (str, patterns, options) => picomatch2(patterns, options)(str);
1727
1727
  picomatch2.parse = (pattern, options) => {
1728
- if (Array.isArray(pattern)) return pattern.map((p) => picomatch2.parse(p, options));
1728
+ if (_p_ArrayIsArray(pattern)) return pattern.map((p) => picomatch2.parse(p, options));
1729
1729
  return parse(pattern, { ...options, fastpaths: false });
1730
1730
  };
1731
1731
  picomatch2.scan = (input, options) => scan(input, options);
@@ -1748,7 +1748,7 @@ var require_picomatch = __commonJS({
1748
1748
  };
1749
1749
  picomatch2.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
1750
1750
  if (!input || typeof input !== "string") {
1751
- throw new TypeError("Expected a non-empty string");
1751
+ throw new _p_TypeErrorCtor("Expected a non-empty string");
1752
1752
  }
1753
1753
  let parsed = { negated: false, fastpaths: true };
1754
1754
  if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
@@ -1762,7 +1762,7 @@ var require_picomatch = __commonJS({
1762
1762
  picomatch2.toRegex = (source, options) => {
1763
1763
  try {
1764
1764
  const opts = options || {};
1765
- return new RegExp(source, opts.flags || (opts.nocase ? "i" : ""));
1765
+ return new _p_RegExpCtor(source, opts.flags || (opts.nocase ? "i" : ""));
1766
1766
  } catch (err) {
1767
1767
  if (options && options.debug === true) throw err;
1768
1768
  return /$^/;
@@ -1786,7 +1786,7 @@ var require_picomatch2 = __commonJS({
1786
1786
  return pico(glob2, options, returnState);
1787
1787
  }
1788
1788
  __name(picomatch2, "picomatch");
1789
- Object.assign(picomatch2, pico);
1789
+ _p_ObjectAssign(picomatch2, pico);
1790
1790
  module2.exports = picomatch2;
1791
1791
  }
1792
1792
  });
@@ -1826,15 +1826,15 @@ var init_merge_streams = __esm({
1826
1826
  return 16384;
1827
1827
  }
1828
1828
  const highWaterMarks = streams.filter(({ readableObjectMode }) => readableObjectMode === objectMode).map(({ readableHighWaterMark }) => readableHighWaterMark);
1829
- return Math.max(...highWaterMarks);
1829
+ return _p_MathMax(...highWaterMarks);
1830
1830
  }, "getHighWaterMark");
1831
1831
  MergedStream = class extends import_node_stream.PassThrough {
1832
1832
  static {
1833
1833
  __name(this, "MergedStream");
1834
1834
  }
1835
- #streams = /* @__PURE__ */ new Set([]);
1836
- #ended = /* @__PURE__ */ new Set([]);
1837
- #aborted = /* @__PURE__ */ new Set([]);
1835
+ #streams = /* @__PURE__ */ new _p_SetCtor([]);
1836
+ #ended = /* @__PURE__ */ new _p_SetCtor([]);
1837
+ #aborted = /* @__PURE__ */ new _p_SetCtor([]);
1838
1838
  #onFinished;
1839
1839
  add(stream) {
1840
1840
  validateStream(stream);
@@ -1866,7 +1866,7 @@ var init_merge_streams = __esm({
1866
1866
  updateMaxListeners(passThroughStream, PASSTHROUGH_LISTENERS_COUNT);
1867
1867
  const controller = new AbortController();
1868
1868
  try {
1869
- await Promise.race([
1869
+ await _p_PromiseRace([
1870
1870
  onMergedStreamEnd(passThroughStream, controller),
1871
1871
  onInputStreamsUnpipe(passThroughStream, streams, controller)
1872
1872
  ]);
@@ -1887,14 +1887,14 @@ var init_merge_streams = __esm({
1887
1887
  }, "onInputStreamsUnpipe");
1888
1888
  validateStream = /* @__PURE__ */ __name((stream) => {
1889
1889
  if (typeof stream?.pipe !== "function") {
1890
- throw new TypeError(`Expected a readable stream, got: \`${typeof stream}\`.`);
1890
+ throw new _p_TypeErrorCtor(`Expected a readable stream, got: \`${typeof stream}\`.`);
1891
1891
  }
1892
1892
  }, "validateStream");
1893
1893
  endWhenStreamsDone = /* @__PURE__ */ __name(async ({ passThroughStream, stream, streams, ended, aborted, onFinished }) => {
1894
1894
  updateMaxListeners(passThroughStream, PASSTHROUGH_LISTENERS_PER_STREAM);
1895
1895
  const controller = new AbortController();
1896
1896
  try {
1897
- await Promise.race([
1897
+ await _p_PromiseRace([
1898
1898
  afterMergedStreamFinished(onFinished, stream),
1899
1899
  onInputStreamEnd({ passThroughStream, stream, streams, ended, aborted, controller }),
1900
1900
  onInputStreamUnpipe({ stream, streams, ended, aborted, controller })
@@ -1981,7 +1981,7 @@ var init_merge_streams = __esm({
1981
1981
  var require_array = __commonJS({
1982
1982
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js"(exports2) {
1983
1983
  "use strict";
1984
- Object.defineProperty(exports2, "__esModule", { value: true });
1984
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
1985
1985
  exports2.splitWhen = exports2.flatten = void 0;
1986
1986
  function flatten(items) {
1987
1987
  return items.reduce((collection, item) => [].concat(collection, item), []);
@@ -2010,7 +2010,7 @@ var require_array = __commonJS({
2010
2010
  var require_errno = __commonJS({
2011
2011
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js"(exports2) {
2012
2012
  "use strict";
2013
- Object.defineProperty(exports2, "__esModule", { value: true });
2013
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
2014
2014
  exports2.isEnoentCodeError = void 0;
2015
2015
  function isEnoentCodeError(error) {
2016
2016
  return error.code === "ENOENT";
@@ -2024,7 +2024,7 @@ var require_errno = __commonJS({
2024
2024
  var require_fs = __commonJS({
2025
2025
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js"(exports2) {
2026
2026
  "use strict";
2027
- Object.defineProperty(exports2, "__esModule", { value: true });
2027
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
2028
2028
  exports2.createDirentFromStats = void 0;
2029
2029
  var DirentFromStats = class {
2030
2030
  static {
@@ -2074,8 +2074,8 @@ var require_path = __commonJS({
2074
2074
  __name(makeAbsolute, "makeAbsolute");
2075
2075
  exports2.makeAbsolute = makeAbsolute;
2076
2076
  function removeLeadingDotSegment(entry) {
2077
- if (entry.charAt(0) === ".") {
2078
- const secondCharactery = entry.charAt(1);
2077
+ if (_p_StringPrototypeCharAt(entry, 0) === ".") {
2078
+ const secondCharactery = _p_StringPrototypeCharAt(entry, 1);
2079
2079
  if (secondCharactery === "/" || secondCharactery === "\\") {
2080
2080
  return entry.slice(LEADING_DOT_SEGMENT_CHARACTERS_COUNT);
2081
2081
  }
@@ -2270,7 +2270,7 @@ var require_glob_parent = __commonJS({
2270
2270
  var globby2 = /(^|[^\\])([\{\[]|\([^\)]+$)/;
2271
2271
  var escaped = /\\([\!\*\?\|\[\]\(\)\{\}])/g;
2272
2272
  module2.exports = /* @__PURE__ */ __name(function globParent(str, opts) {
2273
- var options = Object.assign({ flipBackslashes: true }, opts);
2273
+ var options = _p_ObjectAssign({ flipBackslashes: true }, opts);
2274
2274
  if (options.flipBackslashes && isWin32 && str.indexOf(slash2) < 0) {
2275
2275
  str = str.replace(backslash, slash2);
2276
2276
  }
@@ -2292,10 +2292,10 @@ var require_utils2 = __commonJS({
2292
2292
  "use strict";
2293
2293
  exports2.isInteger = (num) => {
2294
2294
  if (typeof num === "number") {
2295
- return Number.isInteger(num);
2295
+ return _p_NumberIsInteger(num);
2296
2296
  }
2297
2297
  if (typeof num === "string" && num.trim() !== "") {
2298
- return Number.isInteger(Number(num));
2298
+ return _p_NumberIsInteger(Number(num));
2299
2299
  }
2300
2300
  return false;
2301
2301
  };
@@ -2352,7 +2352,7 @@ var require_utils2 = __commonJS({
2352
2352
  const flat = /* @__PURE__ */ __name((arr) => {
2353
2353
  for (let i = 0; i < arr.length; i++) {
2354
2354
  const ele = arr[i];
2355
- if (Array.isArray(ele)) {
2355
+ if (_p_ArrayIsArray(ele)) {
2356
2356
  flat(ele);
2357
2357
  continue;
2358
2358
  }
@@ -2408,7 +2408,7 @@ var require_is_number = __commonJS({
2408
2408
  return num - num === 0;
2409
2409
  }
2410
2410
  if (typeof num === "string" && num.trim() !== "") {
2411
- return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);
2411
+ return Number.isFinite ? _p_NumberIsFinite(+num) : isFinite(+num);
2412
2412
  }
2413
2413
  return false;
2414
2414
  };
@@ -2428,7 +2428,7 @@ var require_to_regex_range = __commonJS({
2428
2428
  return String(min);
2429
2429
  }
2430
2430
  if (isNumber(max) === false) {
2431
- throw new TypeError("toRegexRange: expected the second argument to be a number.");
2431
+ throw new _p_TypeErrorCtor("toRegexRange: expected the second argument to be a number.");
2432
2432
  }
2433
2433
  let opts = { relaxZeros: true, ...options };
2434
2434
  if (typeof opts.strictZeros === "boolean") {
@@ -2442,9 +2442,9 @@ var require_to_regex_range = __commonJS({
2442
2442
  if (toRegexRange.cache.hasOwnProperty(cacheKey)) {
2443
2443
  return toRegexRange.cache[cacheKey].result;
2444
2444
  }
2445
- let a = Math.min(min, max);
2446
- let b = Math.max(min, max);
2447
- if (Math.abs(a - b) === 1) {
2445
+ let a = _p_MathMin(min, max);
2446
+ let b = _p_MathMax(min, max);
2447
+ if (_p_MathAbs(a - b) === 1) {
2448
2448
  let result = min + "|" + max;
2449
2449
  if (opts.capture) {
2450
2450
  return `(${result})`;
@@ -2463,7 +2463,7 @@ var require_to_regex_range = __commonJS({
2463
2463
  state.maxLen = String(state.max).length;
2464
2464
  }
2465
2465
  if (a < 0) {
2466
- let newMin = b < 0 ? Math.abs(b) : 1;
2466
+ let newMin = b < 0 ? _p_MathAbs(b) : 1;
2467
2467
  negatives = splitToPatterns(newMin, Math.abs(a), state, opts);
2468
2468
  a = state.a = 0;
2469
2469
  }
@@ -2493,7 +2493,7 @@ var require_to_regex_range = __commonJS({
2493
2493
  let nines = 1;
2494
2494
  let zeros = 1;
2495
2495
  let stop = countNines(min, nines);
2496
- let stops = /* @__PURE__ */ new Set([max]);
2496
+ let stops = /* @__PURE__ */ new _p_SetCtor([max]);
2497
2497
  while (min <= stop && stop <= max) {
2498
2498
  stops.add(stop);
2499
2499
  nines += 1;
@@ -2596,7 +2596,7 @@ var require_to_regex_range = __commonJS({
2596
2596
  }
2597
2597
  __name(countNines, "countNines");
2598
2598
  function countZeros(integer, zeros) {
2599
- return integer - integer % Math.pow(10, zeros);
2599
+ return integer - integer % _p_MathPow(10, zeros);
2600
2600
  }
2601
2601
  __name(countZeros, "countZeros");
2602
2602
  function toQuantifier(digits) {
@@ -2619,7 +2619,7 @@ var require_to_regex_range = __commonJS({
2619
2619
  if (!tok.isPadded) {
2620
2620
  return value;
2621
2621
  }
2622
- let diff = Math.abs(tok.maxLen - String(value).length);
2622
+ let diff = _p_MathAbs(tok.maxLen - String(value).length);
2623
2623
  let relax = options.relaxZeros !== false;
2624
2624
  switch (diff) {
2625
2625
  case 0:
@@ -2646,14 +2646,14 @@ var require_fill_range = __commonJS({
2646
2646
  "use strict";
2647
2647
  var util = require("util");
2648
2648
  var toRegexRange = require_to_regex_range();
2649
- var isObject = /* @__PURE__ */ __name((val) => val !== null && typeof val === "object" && !Array.isArray(val), "isObject");
2649
+ var isObject = /* @__PURE__ */ __name((val) => val !== null && typeof val === "object" && !_p_ArrayIsArray(val), "isObject");
2650
2650
  var transform = /* @__PURE__ */ __name((toNumber) => {
2651
2651
  return (value) => toNumber === true ? Number(value) : String(value);
2652
2652
  }, "transform");
2653
2653
  var isValidValue = /* @__PURE__ */ __name((value) => {
2654
2654
  return typeof value === "number" || typeof value === "string" && value !== "";
2655
2655
  }, "isValidValue");
2656
- var isNumber = /* @__PURE__ */ __name((num) => Number.isInteger(+num), "isNumber");
2656
+ var isNumber = /* @__PURE__ */ __name((num) => _p_NumberIsInteger(+num), "isNumber");
2657
2657
  var zeros = /* @__PURE__ */ __name((input) => {
2658
2658
  let value = `${input}`;
2659
2659
  let index = -1;
@@ -2672,7 +2672,7 @@ var require_fill_range = __commonJS({
2672
2672
  if (maxLength > 0) {
2673
2673
  let dash = input[0] === "-" ? "-" : "";
2674
2674
  if (dash) input = input.slice(1);
2675
- input = dash + input.padStart(dash ? maxLength - 1 : maxLength, "0");
2675
+ input = dash + _p_StringPrototypePadStart(input, dash ? maxLength - 1 : maxLength, "0");
2676
2676
  }
2677
2677
  if (toNumber === false) {
2678
2678
  return String(input);
@@ -2715,13 +2715,13 @@ var require_fill_range = __commonJS({
2715
2715
  if (isNumbers) {
2716
2716
  return toRegexRange(a, b, { wrap: false, ...options });
2717
2717
  }
2718
- let start = String.fromCharCode(a);
2718
+ let start = _p_StringFromCharCode(a);
2719
2719
  if (a === b) return start;
2720
- let stop = String.fromCharCode(b);
2720
+ let stop = _p_StringFromCharCode(b);
2721
2721
  return `[${start}-${stop}]`;
2722
2722
  }, "toRange");
2723
2723
  var toRegex = /* @__PURE__ */ __name((start, end, options) => {
2724
- if (Array.isArray(start)) {
2724
+ if (_p_ArrayIsArray(start)) {
2725
2725
  let wrap = options.wrap === true;
2726
2726
  let prefix = options.capture ? "" : "?:";
2727
2727
  return wrap ? `(${prefix}${start.join("|")})` : start.join("|");
@@ -2729,7 +2729,7 @@ var require_fill_range = __commonJS({
2729
2729
  return toRegexRange(start, end, options);
2730
2730
  }, "toRegex");
2731
2731
  var rangeError = /* @__PURE__ */ __name((...args) => {
2732
- return new RangeError("Invalid range arguments: " + util.inspect(...args));
2732
+ return new _p_RangeErrorCtor("Invalid range arguments: " + util.inspect(...args));
2733
2733
  }, "rangeError");
2734
2734
  var invalidRange = /* @__PURE__ */ __name((start, end, options) => {
2735
2735
  if (options.strictRanges === true) throw rangeError([start, end]);
@@ -2737,14 +2737,14 @@ var require_fill_range = __commonJS({
2737
2737
  }, "invalidRange");
2738
2738
  var invalidStep = /* @__PURE__ */ __name((step, options) => {
2739
2739
  if (options.strictRanges === true) {
2740
- throw new TypeError(`Expected step "${step}" to be a number`);
2740
+ throw new _p_TypeErrorCtor(`Expected step "${step}" to be a number`);
2741
2741
  }
2742
2742
  return [];
2743
2743
  }, "invalidStep");
2744
2744
  var fillNumbers = /* @__PURE__ */ __name((start, end, step = 1, options = {}) => {
2745
2745
  let a = Number(start);
2746
2746
  let b = Number(end);
2747
- if (!Number.isInteger(a) || !Number.isInteger(b)) {
2747
+ if (!_p_NumberIsInteger(a) || !_p_NumberIsInteger(b)) {
2748
2748
  if (options.strictRanges === true) throw rangeError([start, end]);
2749
2749
  return [];
2750
2750
  }
@@ -2754,16 +2754,16 @@ var require_fill_range = __commonJS({
2754
2754
  let startString = String(start);
2755
2755
  let endString = String(end);
2756
2756
  let stepString = String(step);
2757
- step = Math.max(Math.abs(step), 1);
2757
+ step = _p_MathMax(_p_MathAbs(step), 1);
2758
2758
  let padded = zeros(startString) || zeros(endString) || zeros(stepString);
2759
- let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;
2759
+ let maxLen = padded ? _p_MathMax(startString.length, endString.length, stepString.length) : 0;
2760
2760
  let toNumber = padded === false && stringify(start, end, options) === false;
2761
2761
  let format = options.transform || transform(toNumber);
2762
2762
  if (options.toRegex && step === 1) {
2763
2763
  return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), true, options);
2764
2764
  }
2765
2765
  let parts = { negatives: [], positives: [] };
2766
- let push = /* @__PURE__ */ __name((num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num)), "push");
2766
+ let push = /* @__PURE__ */ __name((num) => parts[num < 0 ? "negatives" : "positives"].push(_p_MathAbs(num)), "push");
2767
2767
  let range = [];
2768
2768
  let index = 0;
2769
2769
  while (descending ? a >= b : a <= b) {
@@ -2784,12 +2784,12 @@ var require_fill_range = __commonJS({
2784
2784
  if (!isNumber(start) && start.length > 1 || !isNumber(end) && end.length > 1) {
2785
2785
  return invalidRange(start, end, options);
2786
2786
  }
2787
- let format = options.transform || ((val) => String.fromCharCode(val));
2787
+ let format = options.transform || ((val) => _p_StringFromCharCode(val));
2788
2788
  let a = `${start}`.charCodeAt(0);
2789
2789
  let b = `${end}`.charCodeAt(0);
2790
2790
  let descending = a > b;
2791
- let min = Math.min(a, b);
2792
- let max = Math.max(a, b);
2791
+ let min = _p_MathMin(a, b);
2792
+ let max = _p_MathMax(a, b);
2793
2793
  if (options.toRegex && step === 1) {
2794
2794
  return toRange(min, max, false, options);
2795
2795
  }
@@ -2902,14 +2902,14 @@ var require_expand = __commonJS({
2902
2902
  return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash;
2903
2903
  }
2904
2904
  for (const item of queue) {
2905
- if (Array.isArray(item)) {
2905
+ if (_p_ArrayIsArray(item)) {
2906
2906
  for (const value of item) {
2907
2907
  result.push(append(value, stash, enclose));
2908
2908
  }
2909
2909
  } else {
2910
2910
  for (let ele of stash) {
2911
2911
  if (enclose === true && typeof ele === "string") ele = `{${ele}}`;
2912
- result.push(Array.isArray(ele) ? append(item, ele, enclose) : item + ele);
2912
+ result.push(_p_ArrayIsArray(ele) ? append(item, ele, enclose) : item + ele);
2913
2913
  }
2914
2914
  }
2915
2915
  }
@@ -2936,7 +2936,7 @@ var require_expand = __commonJS({
2936
2936
  if (node.nodes && node.ranges > 0) {
2937
2937
  const args = utils.reduce(node.nodes);
2938
2938
  if (utils.exceedsLimit(...args, options.step, rangeLimit)) {
2939
- throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
2939
+ throw new _p_RangeErrorCtor("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
2940
2940
  }
2941
2941
  let range = fill(...args, options);
2942
2942
  if (range.length === 0) {
@@ -3117,12 +3117,12 @@ var require_parse2 = __commonJS({
3117
3117
  } = require_constants2();
3118
3118
  var parse = /* @__PURE__ */ __name((input, options = {}) => {
3119
3119
  if (typeof input !== "string") {
3120
- throw new TypeError("Expected a string");
3120
+ throw new _p_TypeErrorCtor("Expected a string");
3121
3121
  }
3122
3122
  const opts = options || {};
3123
- const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
3123
+ const max = typeof opts.maxLength === "number" ? _p_MathMin(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
3124
3124
  if (input.length > max) {
3125
- throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
3125
+ throw new _p_SyntaxErrorCtor(`Input length (${input.length}), exceeds max characters (${max})`);
3126
3126
  }
3127
3127
  const ast = { type: "root", input, nodes: [] };
3128
3128
  const stack = [ast];
@@ -3329,10 +3329,10 @@ var require_braces = __commonJS({
3329
3329
  var parse = require_parse2();
3330
3330
  var braces = /* @__PURE__ */ __name((input, options = {}) => {
3331
3331
  let output = [];
3332
- if (Array.isArray(input)) {
3332
+ if (_p_ArrayIsArray(input)) {
3333
3333
  for (const pattern of input) {
3334
3334
  const result = braces.create(pattern, options);
3335
- if (Array.isArray(result)) {
3335
+ if (_p_ArrayIsArray(result)) {
3336
3336
  output.push(...result);
3337
3337
  } else {
3338
3338
  output.push(result);
@@ -3342,7 +3342,7 @@ var require_braces = __commonJS({
3342
3342
  output = [].concat(braces.create(input, options));
3343
3343
  }
3344
3344
  if (options && options.expand === true && options.nodupes === true) {
3345
- output = [...new Set(output)];
3345
+ output = [...new _p_SetCtor(output)];
3346
3346
  }
3347
3347
  return output;
3348
3348
  }, "braces");
@@ -3368,7 +3368,7 @@ var require_braces = __commonJS({
3368
3368
  result = result.filter(Boolean);
3369
3369
  }
3370
3370
  if (options.nodupes === true) {
3371
- result = [...new Set(result)];
3371
+ result = [...new _p_SetCtor(result)];
3372
3372
  }
3373
3373
  return result;
3374
3374
  };
@@ -3398,9 +3398,9 @@ var require_micromatch = __commonJS({
3398
3398
  var micromatch = /* @__PURE__ */ __name((list, patterns, options) => {
3399
3399
  patterns = [].concat(patterns);
3400
3400
  list = [].concat(list);
3401
- let omit = /* @__PURE__ */ new Set();
3402
- let keep = /* @__PURE__ */ new Set();
3403
- let items = /* @__PURE__ */ new Set();
3401
+ let omit = /* @__PURE__ */ new _p_SetCtor();
3402
+ let keep = /* @__PURE__ */ new _p_SetCtor();
3403
+ let items = /* @__PURE__ */ new _p_SetCtor();
3404
3404
  let negatives = 0;
3405
3405
  let onResult = /* @__PURE__ */ __name((state) => {
3406
3406
  items.add(state.output);
@@ -3428,7 +3428,7 @@ var require_micromatch = __commonJS({
3428
3428
  let matches = result.filter((item) => !omit.has(item));
3429
3429
  if (options && matches.length === 0) {
3430
3430
  if (options.failglob === true) {
3431
- throw new Error(`No matches found for "${patterns.join(", ")}"`);
3431
+ throw new _p_ErrorCtor(`No matches found for "${patterns.join(", ")}"`);
3432
3432
  }
3433
3433
  if (options.nonull === true || options.nullglob === true) {
3434
3434
  return options.unescape ? patterns.map((p) => p.replace(/\\/g, "")) : patterns;
@@ -3442,13 +3442,13 @@ var require_micromatch = __commonJS({
3442
3442
  micromatch.any = micromatch.isMatch;
3443
3443
  micromatch.not = (list, patterns, options = {}) => {
3444
3444
  patterns = [].concat(patterns).map(String);
3445
- let result = /* @__PURE__ */ new Set();
3445
+ let result = /* @__PURE__ */ new _p_SetCtor();
3446
3446
  let items = [];
3447
3447
  let onResult = /* @__PURE__ */ __name((state) => {
3448
3448
  if (options.onResult) options.onResult(state);
3449
3449
  items.push(state.output);
3450
3450
  }, "onResult");
3451
- let matches = new Set(micromatch(list, patterns, { ...options, onResult }));
3451
+ let matches = new _p_SetCtor(micromatch(list, patterns, { ...options, onResult }));
3452
3452
  for (let item of items) {
3453
3453
  if (!matches.has(item)) {
3454
3454
  result.add(item);
@@ -3458,16 +3458,16 @@ var require_micromatch = __commonJS({
3458
3458
  };
3459
3459
  micromatch.contains = (str, pattern, options) => {
3460
3460
  if (typeof str !== "string") {
3461
- throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
3461
+ throw new _p_TypeErrorCtor(`Expected a string: "${util.inspect(str)}"`);
3462
3462
  }
3463
- if (Array.isArray(pattern)) {
3463
+ if (_p_ArrayIsArray(pattern)) {
3464
3464
  return pattern.some((p) => micromatch.contains(str, p, options));
3465
3465
  }
3466
3466
  if (typeof pattern === "string") {
3467
3467
  if (isEmptyString(str) || isEmptyString(pattern)) {
3468
3468
  return false;
3469
3469
  }
3470
- if (str.includes(pattern) || str.startsWith("./") && str.slice(2).includes(pattern)) {
3470
+ if (str.includes(pattern) || _p_StringPrototypeStartsWith(str, "./") && str.slice(2).includes(pattern)) {
3471
3471
  return true;
3472
3472
  }
3473
3473
  }
@@ -3475,9 +3475,9 @@ var require_micromatch = __commonJS({
3475
3475
  };
3476
3476
  micromatch.matchKeys = (obj, patterns, options) => {
3477
3477
  if (!utils.isObject(obj)) {
3478
- throw new TypeError("Expected the first argument to be an object");
3478
+ throw new _p_TypeErrorCtor("Expected the first argument to be an object");
3479
3479
  }
3480
- let keys = micromatch(Object.keys(obj), patterns, options);
3480
+ let keys = micromatch(_p_ObjectKeys(obj), patterns, options);
3481
3481
  let res = {};
3482
3482
  for (let key of keys) res[key] = obj[key];
3483
3483
  return res;
@@ -3504,7 +3504,7 @@ var require_micromatch = __commonJS({
3504
3504
  };
3505
3505
  micromatch.all = (str, patterns, options) => {
3506
3506
  if (typeof str !== "string") {
3507
- throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
3507
+ throw new _p_TypeErrorCtor(`Expected a string: "${util.inspect(str)}"`);
3508
3508
  }
3509
3509
  return [].concat(patterns).every((p) => picomatch2(p, options)(str));
3510
3510
  };
@@ -3528,14 +3528,14 @@ var require_micromatch = __commonJS({
3528
3528
  return res;
3529
3529
  };
3530
3530
  micromatch.braces = (pattern, options) => {
3531
- if (typeof pattern !== "string") throw new TypeError("Expected a string");
3531
+ if (typeof pattern !== "string") throw new _p_TypeErrorCtor("Expected a string");
3532
3532
  if (options && options.nobrace === true || !hasBraces(pattern)) {
3533
3533
  return [pattern];
3534
3534
  }
3535
3535
  return braces(pattern, options);
3536
3536
  };
3537
3537
  micromatch.braceExpand = (pattern, options) => {
3538
- if (typeof pattern !== "string") throw new TypeError("Expected a string");
3538
+ if (typeof pattern !== "string") throw new _p_TypeErrorCtor("Expected a string");
3539
3539
  return micromatch.braces(pattern, { ...options, expand: true });
3540
3540
  };
3541
3541
  micromatch.hasBraces = hasBraces;
@@ -3609,7 +3609,7 @@ var require_pattern = __commonJS({
3609
3609
  __name(convertToNegativePattern, "convertToNegativePattern");
3610
3610
  exports2.convertToNegativePattern = convertToNegativePattern;
3611
3611
  function isNegativePattern2(pattern) {
3612
- return pattern.startsWith("!") && pattern[1] !== "(";
3612
+ return _p_StringPrototypeStartsWith(pattern, "!") && pattern[1] !== "(";
3613
3613
  }
3614
3614
  __name(isNegativePattern2, "isNegativePattern");
3615
3615
  exports2.isNegativePattern = isNegativePattern2;
@@ -3639,7 +3639,7 @@ var require_pattern = __commonJS({
3639
3639
  __name(getPatternsOutsideCurrentDirectory, "getPatternsOutsideCurrentDirectory");
3640
3640
  exports2.getPatternsOutsideCurrentDirectory = getPatternsOutsideCurrentDirectory;
3641
3641
  function isPatternRelatedToParentDirectory(pattern) {
3642
- return pattern.startsWith("..") || pattern.startsWith("./..");
3642
+ return _p_StringPrototypeStartsWith(pattern, "..") || _p_StringPrototypeStartsWith(pattern, "./..");
3643
3643
  }
3644
3644
  __name(isPatternRelatedToParentDirectory, "isPatternRelatedToParentDirectory");
3645
3645
  exports2.isPatternRelatedToParentDirectory = isPatternRelatedToParentDirectory;
@@ -3654,7 +3654,7 @@ var require_pattern = __commonJS({
3654
3654
  __name(hasGlobStar, "hasGlobStar");
3655
3655
  exports2.hasGlobStar = hasGlobStar;
3656
3656
  function endsWithSlashGlobStar(pattern) {
3657
- return pattern.endsWith("/" + GLOBSTAR);
3657
+ return _p_StringPrototypeEndsWith(pattern, "/" + GLOBSTAR);
3658
3658
  }
3659
3659
  __name(endsWithSlashGlobStar, "endsWithSlashGlobStar");
3660
3660
  exports2.endsWithSlashGlobStar = endsWithSlashGlobStar;
@@ -3685,7 +3685,7 @@ var require_pattern = __commonJS({
3685
3685
  }
3686
3686
  if (parts[0].startsWith("/")) {
3687
3687
  parts[0] = parts[0].slice(1);
3688
- parts.unshift("");
3688
+ _p_ArrayPrototypeUnshift(parts, "");
3689
3689
  }
3690
3690
  return parts;
3691
3691
  }
@@ -3746,7 +3746,7 @@ var require_merge2 = __commonJS({
3746
3746
  const args = slice.call(arguments);
3747
3747
  let merging = false;
3748
3748
  let options = args[args.length - 1];
3749
- if (options && !Array.isArray(options) && options.pipe == null) {
3749
+ if (options && !_p_ArrayIsArray(options) && options.pipe == null) {
3750
3750
  args.pop();
3751
3751
  } else {
3752
3752
  options = {};
@@ -3778,7 +3778,7 @@ var require_merge2 = __commonJS({
3778
3778
  process.nextTick(endStream2);
3779
3779
  return;
3780
3780
  }
3781
- if (!Array.isArray(streams)) {
3781
+ if (!_p_ArrayIsArray(streams)) {
3782
3782
  streams = [streams];
3783
3783
  }
3784
3784
  let pipesCount = streams.length + 1;
@@ -3842,12 +3842,12 @@ var require_merge2 = __commonJS({
3842
3842
  }
3843
3843
  __name(merge2, "merge2");
3844
3844
  function pauseStreams(streams, options) {
3845
- if (!Array.isArray(streams)) {
3845
+ if (!_p_ArrayIsArray(streams)) {
3846
3846
  if (!streams._readableState && streams.pipe) {
3847
3847
  streams = streams.pipe(PassThrough(options));
3848
3848
  }
3849
3849
  if (!streams._readableState || !streams.pause || !streams.pipe) {
3850
- throw new Error("Only readable stream can be merged.");
3850
+ throw new _p_ErrorCtor("Only readable stream can be merged.");
3851
3851
  }
3852
3852
  streams.pause();
3853
3853
  } else {
@@ -3865,7 +3865,7 @@ var require_merge2 = __commonJS({
3865
3865
  var require_stream = __commonJS({
3866
3866
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js"(exports2) {
3867
3867
  "use strict";
3868
- Object.defineProperty(exports2, "__esModule", { value: true });
3868
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
3869
3869
  exports2.merge = void 0;
3870
3870
  var merge2 = require_merge2();
3871
3871
  function merge(streams) {
@@ -3890,7 +3890,7 @@ var require_stream = __commonJS({
3890
3890
  var require_string = __commonJS({
3891
3891
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js"(exports2) {
3892
3892
  "use strict";
3893
- Object.defineProperty(exports2, "__esModule", { value: true });
3893
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
3894
3894
  exports2.isEmpty = exports2.isString = void 0;
3895
3895
  function isString(input) {
3896
3896
  return typeof input === "string";
@@ -4012,7 +4012,7 @@ var require_tasks = __commonJS({
4012
4012
  __name(groupPatternsByBaseDirectory, "groupPatternsByBaseDirectory");
4013
4013
  exports2.groupPatternsByBaseDirectory = groupPatternsByBaseDirectory;
4014
4014
  function convertPatternGroupsToTasks(positive, negative, dynamic) {
4015
- return Object.keys(positive).map((base) => {
4015
+ return _p_ObjectKeys(positive).map((base) => {
4016
4016
  return convertPatternGroupToTask(base, positive[base], negative, dynamic);
4017
4017
  });
4018
4018
  }
@@ -4036,7 +4036,7 @@ var require_tasks = __commonJS({
4036
4036
  var require_async = __commonJS({
4037
4037
  "node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js"(exports2) {
4038
4038
  "use strict";
4039
- Object.defineProperty(exports2, "__esModule", { value: true });
4039
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4040
4040
  exports2.read = void 0;
4041
4041
  function read(path6, settings, callback) {
4042
4042
  settings.fs.lstat(path6, (lstatError, lstat) => {
@@ -4081,7 +4081,7 @@ var require_async = __commonJS({
4081
4081
  var require_sync = __commonJS({
4082
4082
  "node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js"(exports2) {
4083
4083
  "use strict";
4084
- Object.defineProperty(exports2, "__esModule", { value: true });
4084
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4085
4085
  exports2.read = void 0;
4086
4086
  function read(path6, settings) {
4087
4087
  const lstat = settings.fs.lstatSync(path6);
@@ -4110,7 +4110,7 @@ var require_sync = __commonJS({
4110
4110
  var require_fs2 = __commonJS({
4111
4111
  "node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js"(exports2) {
4112
4112
  "use strict";
4113
- Object.defineProperty(exports2, "__esModule", { value: true });
4113
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4114
4114
  exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
4115
4115
  var fs5 = require("fs");
4116
4116
  exports2.FILE_SYSTEM_ADAPTER = {
@@ -4123,7 +4123,7 @@ var require_fs2 = __commonJS({
4123
4123
  if (fsMethods === void 0) {
4124
4124
  return exports2.FILE_SYSTEM_ADAPTER;
4125
4125
  }
4126
- return Object.assign(Object.assign({}, exports2.FILE_SYSTEM_ADAPTER), fsMethods);
4126
+ return _p_ObjectAssign(_p_ObjectAssign({}, exports2.FILE_SYSTEM_ADAPTER), fsMethods);
4127
4127
  }
4128
4128
  __name(createFileSystemAdapter, "createFileSystemAdapter");
4129
4129
  exports2.createFileSystemAdapter = createFileSystemAdapter;
@@ -4134,7 +4134,7 @@ var require_fs2 = __commonJS({
4134
4134
  var require_settings = __commonJS({
4135
4135
  "node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/settings.js"(exports2) {
4136
4136
  "use strict";
4137
- Object.defineProperty(exports2, "__esModule", { value: true });
4137
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4138
4138
  var fs5 = require_fs2();
4139
4139
  var Settings = class {
4140
4140
  static {
@@ -4194,7 +4194,7 @@ var require_out = __commonJS({
4194
4194
  var require_queue_microtask = __commonJS({
4195
4195
  "node_modules/.pnpm/queue-microtask@1.2.3/node_modules/queue-microtask/index.js"(exports2, module2) {
4196
4196
  var promise;
4197
- module2.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(false ? void 0 : global) : (cb) => (promise || (promise = Promise.resolve())).then(cb).catch((err) => setTimeout(() => {
4197
+ module2.exports = typeof queueMicrotask === "function" ? queueMicrotask.bind(false ? void 0 : global) : (cb) => (promise || (promise = _p_PromiseResolve())).then(cb).catch((err) => setTimeout(() => {
4198
4198
  throw err;
4199
4199
  }, 0));
4200
4200
  }
@@ -4208,11 +4208,11 @@ var require_run_parallel = __commonJS({
4208
4208
  function runParallel(tasks, cb) {
4209
4209
  let results, pending, keys;
4210
4210
  let isSync = true;
4211
- if (Array.isArray(tasks)) {
4211
+ if (_p_ArrayIsArray(tasks)) {
4212
4212
  results = [];
4213
4213
  pending = tasks.length;
4214
4214
  } else {
4215
- keys = Object.keys(tasks);
4215
+ keys = _p_ObjectKeys(tasks);
4216
4216
  results = {};
4217
4217
  pending = keys.length;
4218
4218
  }
@@ -4262,10 +4262,10 @@ var require_constants3 = __commonJS({
4262
4262
  exports2.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
4263
4263
  var NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
4264
4264
  if (NODE_PROCESS_VERSION_PARTS[0] === void 0 || NODE_PROCESS_VERSION_PARTS[1] === void 0) {
4265
- throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
4265
+ throw new _p_ErrorCtor(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
4266
4266
  }
4267
- var MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
4268
- var MINOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[1], 10);
4267
+ var MAJOR_VERSION = _p_NumberParseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
4268
+ var MINOR_VERSION = _p_NumberParseInt(NODE_PROCESS_VERSION_PARTS[1], 10);
4269
4269
  var SUPPORTED_MAJOR_VERSION = 10;
4270
4270
  var SUPPORTED_MINOR_VERSION = 10;
4271
4271
  var IS_MATCHED_BY_MAJOR = MAJOR_VERSION > SUPPORTED_MAJOR_VERSION;
@@ -4278,7 +4278,7 @@ var require_constants3 = __commonJS({
4278
4278
  var require_fs3 = __commonJS({
4279
4279
  "node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js"(exports2) {
4280
4280
  "use strict";
4281
- Object.defineProperty(exports2, "__esModule", { value: true });
4281
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4282
4282
  exports2.createDirentFromStats = void 0;
4283
4283
  var DirentFromStats = class {
4284
4284
  static {
@@ -4307,7 +4307,7 @@ var require_fs3 = __commonJS({
4307
4307
  var require_utils4 = __commonJS({
4308
4308
  "node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports2) {
4309
4309
  "use strict";
4310
- Object.defineProperty(exports2, "__esModule", { value: true });
4310
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4311
4311
  exports2.fs = void 0;
4312
4312
  var fs5 = require_fs3();
4313
4313
  exports2.fs = fs5;
@@ -4318,10 +4318,10 @@ var require_utils4 = __commonJS({
4318
4318
  var require_common = __commonJS({
4319
4319
  "node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js"(exports2) {
4320
4320
  "use strict";
4321
- Object.defineProperty(exports2, "__esModule", { value: true });
4321
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4322
4322
  exports2.joinPathSegments = void 0;
4323
4323
  function joinPathSegments(a, b, separator) {
4324
- if (a.endsWith(separator)) {
4324
+ if (_p_StringPrototypeEndsWith(a, separator)) {
4325
4325
  return a + b;
4326
4326
  }
4327
4327
  return a + separator + b;
@@ -4513,7 +4513,7 @@ var require_sync2 = __commonJS({
4513
4513
  var require_fs4 = __commonJS({
4514
4514
  "node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js"(exports2) {
4515
4515
  "use strict";
4516
- Object.defineProperty(exports2, "__esModule", { value: true });
4516
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4517
4517
  exports2.createFileSystemAdapter = exports2.FILE_SYSTEM_ADAPTER = void 0;
4518
4518
  var fs5 = require("fs");
4519
4519
  exports2.FILE_SYSTEM_ADAPTER = {
@@ -4528,7 +4528,7 @@ var require_fs4 = __commonJS({
4528
4528
  if (fsMethods === void 0) {
4529
4529
  return exports2.FILE_SYSTEM_ADAPTER;
4530
4530
  }
4531
- return Object.assign(Object.assign({}, exports2.FILE_SYSTEM_ADAPTER), fsMethods);
4531
+ return _p_ObjectAssign(_p_ObjectAssign({}, exports2.FILE_SYSTEM_ADAPTER), fsMethods);
4532
4532
  }
4533
4533
  __name(createFileSystemAdapter, "createFileSystemAdapter");
4534
4534
  exports2.createFileSystemAdapter = createFileSystemAdapter;
@@ -4539,7 +4539,7 @@ var require_fs4 = __commonJS({
4539
4539
  var require_settings2 = __commonJS({
4540
4540
  "node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js"(exports2) {
4541
4541
  "use strict";
4542
- Object.defineProperty(exports2, "__esModule", { value: true });
4542
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4543
4543
  var path6 = require("path");
4544
4544
  var fsStat = require_out();
4545
4545
  var fs5 = require_fs4();
@@ -4649,7 +4649,7 @@ var require_queue = __commonJS({
4649
4649
  context = null;
4650
4650
  }
4651
4651
  if (!(_concurrency >= 1)) {
4652
- throw new Error("fastqueue concurrency must be equal to or greater than 1");
4652
+ throw new _p_ErrorCtor("fastqueue concurrency must be equal to or greater than 1");
4653
4653
  }
4654
4654
  var cache = reusify(Task);
4655
4655
  var queueHead = null;
@@ -4667,7 +4667,7 @@ var require_queue = __commonJS({
4667
4667
  },
4668
4668
  set concurrency(value) {
4669
4669
  if (!(value >= 1)) {
4670
- throw new Error("fastqueue concurrency must be equal to or greater than 1");
4670
+ throw new _p_ErrorCtor("fastqueue concurrency must be equal to or greater than 1");
4671
4671
  }
4672
4672
  _concurrency = value;
4673
4673
  if (self.paused) return;
@@ -4830,7 +4830,7 @@ var require_queue = __commonJS({
4830
4830
  current.callback = noop2;
4831
4831
  current.errorHandler = null;
4832
4832
  if (errorHandler2) {
4833
- errorHandler2(new Error("abort"), val);
4833
+ errorHandler2(new _p_ErrorCtor("abort"), val);
4834
4834
  }
4835
4835
  callback.call(context2, new Error("abort"));
4836
4836
  current.release(current);
@@ -4890,7 +4890,7 @@ var require_queue = __commonJS({
4890
4890
  queue.drained = drained;
4891
4891
  return queue;
4892
4892
  function push(value) {
4893
- var p = new Promise(function(resolve, reject) {
4893
+ var p = new _p_PromiseCtor(function(resolve, reject) {
4894
4894
  pushCb(value, function(err, result) {
4895
4895
  if (err) {
4896
4896
  reject(err);
@@ -4904,7 +4904,7 @@ var require_queue = __commonJS({
4904
4904
  }
4905
4905
  __name(push, "push");
4906
4906
  function unshift(value) {
4907
- var p = new Promise(function(resolve, reject) {
4907
+ var p = new _p_PromiseCtor(function(resolve, reject) {
4908
4908
  unshiftCb(value, function(err, result) {
4909
4909
  if (err) {
4910
4910
  reject(err);
@@ -4918,7 +4918,7 @@ var require_queue = __commonJS({
4918
4918
  }
4919
4919
  __name(unshift, "unshift");
4920
4920
  function drained() {
4921
- var p = new Promise(function(resolve) {
4921
+ var p = new _p_PromiseCtor(function(resolve) {
4922
4922
  process.nextTick(function() {
4923
4923
  if (queue.idle()) {
4924
4924
  resolve();
@@ -4970,7 +4970,7 @@ var require_common2 = __commonJS({
4970
4970
  if (a === "") {
4971
4971
  return b;
4972
4972
  }
4973
- if (a.endsWith(separator)) {
4973
+ if (_p_StringPrototypeEndsWith(a, separator)) {
4974
4974
  return a + b;
4975
4975
  }
4976
4976
  return a + separator + b;
@@ -4984,7 +4984,7 @@ var require_common2 = __commonJS({
4984
4984
  var require_reader = __commonJS({
4985
4985
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/reader.js"(exports2) {
4986
4986
  "use strict";
4987
- Object.defineProperty(exports2, "__esModule", { value: true });
4987
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
4988
4988
  var common = require_common2();
4989
4989
  var Reader = class {
4990
4990
  static {
@@ -5004,7 +5004,7 @@ var require_reader = __commonJS({
5004
5004
  var require_async3 = __commonJS({
5005
5005
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/async.js"(exports2) {
5006
5006
  "use strict";
5007
- Object.defineProperty(exports2, "__esModule", { value: true });
5007
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5008
5008
  var events_1 = require("events");
5009
5009
  var fsScandir = require_out2();
5010
5010
  var fastq = require_queue();
@@ -5041,7 +5041,7 @@ var require_async3 = __commonJS({
5041
5041
  }
5042
5042
  destroy() {
5043
5043
  if (this._isDestroyed) {
5044
- throw new Error("The reader is already destroyed");
5044
+ throw new _p_ErrorCtor("The reader is already destroyed");
5045
5045
  }
5046
5046
  this._isDestroyed = true;
5047
5047
  this._queue.killAndDrain();
@@ -5110,7 +5110,7 @@ var require_async3 = __commonJS({
5110
5110
  var require_async4 = __commonJS({
5111
5111
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/async.js"(exports2) {
5112
5112
  "use strict";
5113
- Object.defineProperty(exports2, "__esModule", { value: true });
5113
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5114
5114
  var async_1 = require_async3();
5115
5115
  var AsyncProvider = class {
5116
5116
  static {
@@ -5151,7 +5151,7 @@ var require_async4 = __commonJS({
5151
5151
  var require_stream2 = __commonJS({
5152
5152
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/stream.js"(exports2) {
5153
5153
  "use strict";
5154
- Object.defineProperty(exports2, "__esModule", { value: true });
5154
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5155
5155
  var stream_1 = require("stream");
5156
5156
  var async_1 = require_async3();
5157
5157
  var StreamProvider = class {
@@ -5195,7 +5195,7 @@ var require_stream2 = __commonJS({
5195
5195
  var require_sync3 = __commonJS({
5196
5196
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/sync.js"(exports2) {
5197
5197
  "use strict";
5198
- Object.defineProperty(exports2, "__esModule", { value: true });
5198
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5199
5199
  var fsScandir = require_out2();
5200
5200
  var common = require_common2();
5201
5201
  var reader_1 = require_reader();
@@ -5207,7 +5207,7 @@ var require_sync3 = __commonJS({
5207
5207
  super(...arguments);
5208
5208
  this._scandir = fsScandir.scandirSync;
5209
5209
  this._storage = [];
5210
- this._queue = /* @__PURE__ */ new Set();
5210
+ this._queue = /* @__PURE__ */ new _p_SetCtor();
5211
5211
  }
5212
5212
  read() {
5213
5213
  this._pushToQueue(this._root, this._settings.basePath);
@@ -5262,7 +5262,7 @@ var require_sync3 = __commonJS({
5262
5262
  var require_sync4 = __commonJS({
5263
5263
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/providers/sync.js"(exports2) {
5264
5264
  "use strict";
5265
- Object.defineProperty(exports2, "__esModule", { value: true });
5265
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5266
5266
  var sync_1 = require_sync3();
5267
5267
  var SyncProvider = class {
5268
5268
  static {
@@ -5285,7 +5285,7 @@ var require_sync4 = __commonJS({
5285
5285
  var require_settings3 = __commonJS({
5286
5286
  "node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js"(exports2) {
5287
5287
  "use strict";
5288
- Object.defineProperty(exports2, "__esModule", { value: true });
5288
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5289
5289
  var path6 = require("path");
5290
5290
  var fsScandir = require_out2();
5291
5291
  var Settings = class {
@@ -5364,7 +5364,7 @@ var require_out3 = __commonJS({
5364
5364
  var require_reader2 = __commonJS({
5365
5365
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js"(exports2) {
5366
5366
  "use strict";
5367
- Object.defineProperty(exports2, "__esModule", { value: true });
5367
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5368
5368
  var path6 = require("path");
5369
5369
  var fsStat = require_out();
5370
5370
  var utils = require_utils3();
@@ -5406,7 +5406,7 @@ var require_reader2 = __commonJS({
5406
5406
  var require_stream3 = __commonJS({
5407
5407
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/stream.js"(exports2) {
5408
5408
  "use strict";
5409
- Object.defineProperty(exports2, "__esModule", { value: true });
5409
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5410
5410
  var stream_1 = require("stream");
5411
5411
  var fsStat = require_out();
5412
5412
  var fsWalk = require_out3();
@@ -5451,7 +5451,7 @@ var require_stream3 = __commonJS({
5451
5451
  });
5452
5452
  }
5453
5453
  _getStat(filepath) {
5454
- return new Promise((resolve, reject) => {
5454
+ return new _p_PromiseCtor((resolve, reject) => {
5455
5455
  this._stat(filepath, this._fsStatSettings, (error, stats) => {
5456
5456
  return error === null ? resolve(stats) : reject(error);
5457
5457
  });
@@ -5466,7 +5466,7 @@ var require_stream3 = __commonJS({
5466
5466
  var require_async5 = __commonJS({
5467
5467
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/async.js"(exports2) {
5468
5468
  "use strict";
5469
- Object.defineProperty(exports2, "__esModule", { value: true });
5469
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5470
5470
  var fsWalk = require_out3();
5471
5471
  var reader_1 = require_reader2();
5472
5472
  var stream_1 = require_stream3();
@@ -5480,7 +5480,7 @@ var require_async5 = __commonJS({
5480
5480
  this._readerStream = new stream_1.default(this._settings);
5481
5481
  }
5482
5482
  dynamic(root, options) {
5483
- return new Promise((resolve, reject) => {
5483
+ return new _p_PromiseCtor((resolve, reject) => {
5484
5484
  this._walkAsync(root, options, (error, entries) => {
5485
5485
  if (error === null) {
5486
5486
  resolve(entries);
@@ -5493,7 +5493,7 @@ var require_async5 = __commonJS({
5493
5493
  async static(patterns, options) {
5494
5494
  const entries = [];
5495
5495
  const stream = this._readerStream.static(patterns, options);
5496
- return new Promise((resolve, reject) => {
5496
+ return new _p_PromiseCtor((resolve, reject) => {
5497
5497
  stream.once("error", reject);
5498
5498
  stream.on("data", (entry) => entries.push(entry));
5499
5499
  stream.once("end", () => resolve(entries));
@@ -5508,7 +5508,7 @@ var require_async5 = __commonJS({
5508
5508
  var require_matcher = __commonJS({
5509
5509
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/matcher.js"(exports2) {
5510
5510
  "use strict";
5511
- Object.defineProperty(exports2, "__esModule", { value: true });
5511
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5512
5512
  var utils = require_utils3();
5513
5513
  var Matcher = class {
5514
5514
  static {
@@ -5562,7 +5562,7 @@ var require_matcher = __commonJS({
5562
5562
  var require_partial = __commonJS({
5563
5563
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/matchers/partial.js"(exports2) {
5564
5564
  "use strict";
5565
- Object.defineProperty(exports2, "__esModule", { value: true });
5565
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5566
5566
  var matcher_1 = require_matcher();
5567
5567
  var PartialMatcher = class extends matcher_1.default {
5568
5568
  static {
@@ -5602,7 +5602,7 @@ var require_partial = __commonJS({
5602
5602
  var require_deep = __commonJS({
5603
5603
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/deep.js"(exports2) {
5604
5604
  "use strict";
5605
- Object.defineProperty(exports2, "__esModule", { value: true });
5605
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5606
5606
  var utils = require_utils3();
5607
5607
  var partial_1 = require_partial();
5608
5608
  var DeepFilter = class {
@@ -5670,7 +5670,7 @@ var require_deep = __commonJS({
5670
5670
  var require_entry = __commonJS({
5671
5671
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/entry.js"(exports2) {
5672
5672
  "use strict";
5673
- Object.defineProperty(exports2, "__esModule", { value: true });
5673
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5674
5674
  var utils = require_utils3();
5675
5675
  var EntryFilter = class {
5676
5676
  static {
@@ -5679,7 +5679,7 @@ var require_entry = __commonJS({
5679
5679
  constructor(_settings, _micromatchOptions) {
5680
5680
  this._settings = _settings;
5681
5681
  this._micromatchOptions = _micromatchOptions;
5682
- this.index = /* @__PURE__ */ new Map();
5682
+ this.index = /* @__PURE__ */ new _p_MapCtor();
5683
5683
  }
5684
5684
  getFilter(positive, negative) {
5685
5685
  const [absoluteNegative, relativeNegative] = utils.pattern.partitionAbsoluteAndRelative(negative);
@@ -5761,7 +5761,7 @@ var require_entry = __commonJS({
5761
5761
  var require_error = __commonJS({
5762
5762
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/filters/error.js"(exports2) {
5763
5763
  "use strict";
5764
- Object.defineProperty(exports2, "__esModule", { value: true });
5764
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5765
5765
  var utils = require_utils3();
5766
5766
  var ErrorFilter = class {
5767
5767
  static {
@@ -5785,7 +5785,7 @@ var require_error = __commonJS({
5785
5785
  var require_entry2 = __commonJS({
5786
5786
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/transformers/entry.js"(exports2) {
5787
5787
  "use strict";
5788
- Object.defineProperty(exports2, "__esModule", { value: true });
5788
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5789
5789
  var utils = require_utils3();
5790
5790
  var EntryTransformer = class {
5791
5791
  static {
@@ -5809,7 +5809,7 @@ var require_entry2 = __commonJS({
5809
5809
  if (!this._settings.objectMode) {
5810
5810
  return filepath;
5811
5811
  }
5812
- return Object.assign(Object.assign({}, entry), { path: filepath });
5812
+ return _p_ObjectAssign(_p_ObjectAssign({}, entry), { path: filepath });
5813
5813
  }
5814
5814
  };
5815
5815
  exports2.default = EntryTransformer;
@@ -5820,7 +5820,7 @@ var require_entry2 = __commonJS({
5820
5820
  var require_provider = __commonJS({
5821
5821
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js"(exports2) {
5822
5822
  "use strict";
5823
- Object.defineProperty(exports2, "__esModule", { value: true });
5823
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5824
5824
  var path6 = require("path");
5825
5825
  var deep_1 = require_deep();
5826
5826
  var entry_1 = require_entry();
@@ -5877,7 +5877,7 @@ var require_provider = __commonJS({
5877
5877
  var require_async6 = __commonJS({
5878
5878
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/async.js"(exports2) {
5879
5879
  "use strict";
5880
- Object.defineProperty(exports2, "__esModule", { value: true });
5880
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5881
5881
  var async_1 = require_async5();
5882
5882
  var provider_1 = require_provider();
5883
5883
  var ProviderAsync = class extends provider_1.default {
@@ -5909,7 +5909,7 @@ var require_async6 = __commonJS({
5909
5909
  var require_stream4 = __commonJS({
5910
5910
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/stream.js"(exports2) {
5911
5911
  "use strict";
5912
- Object.defineProperty(exports2, "__esModule", { value: true });
5912
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5913
5913
  var stream_1 = require("stream");
5914
5914
  var stream_2 = require_stream3();
5915
5915
  var provider_1 = require_provider();
@@ -5946,7 +5946,7 @@ var require_stream4 = __commonJS({
5946
5946
  var require_sync5 = __commonJS({
5947
5947
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/sync.js"(exports2) {
5948
5948
  "use strict";
5949
- Object.defineProperty(exports2, "__esModule", { value: true });
5949
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
5950
5950
  var fsStat = require_out();
5951
5951
  var fsWalk = require_out3();
5952
5952
  var reader_1 = require_reader2();
@@ -5997,7 +5997,7 @@ var require_sync5 = __commonJS({
5997
5997
  var require_sync6 = __commonJS({
5998
5998
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/sync.js"(exports2) {
5999
5999
  "use strict";
6000
- Object.defineProperty(exports2, "__esModule", { value: true });
6000
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
6001
6001
  var sync_1 = require_sync5();
6002
6002
  var provider_1 = require_provider();
6003
6003
  var ProviderSync = class extends provider_1.default {
@@ -6029,11 +6029,11 @@ var require_sync6 = __commonJS({
6029
6029
  var require_settings4 = __commonJS({
6030
6030
  "node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js"(exports2) {
6031
6031
  "use strict";
6032
- Object.defineProperty(exports2, "__esModule", { value: true });
6032
+ _p_ObjectDefineProperty(exports2, "__esModule", { value: true });
6033
6033
  exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
6034
6034
  var fs5 = require("fs");
6035
6035
  var os = require("os");
6036
- var CPU_COUNT = Math.max(os.cpus().length, 1);
6036
+ var CPU_COUNT = _p_MathMax(os.cpus().length, 1);
6037
6037
  exports2.DEFAULT_FILE_SYSTEM_ADAPTER = {
6038
6038
  lstat: fs5.lstat,
6039
6039
  lstatSync: fs5.lstatSync,
@@ -6081,7 +6081,7 @@ var require_settings4 = __commonJS({
6081
6081
  return option === void 0 ? value : option;
6082
6082
  }
6083
6083
  _getFileSystemMethods(methods = {}) {
6084
- return Object.assign(Object.assign({}, exports2.DEFAULT_FILE_SYSTEM_ADAPTER), methods);
6084
+ return _p_ObjectAssign(_p_ObjectAssign({}, exports2.DEFAULT_FILE_SYSTEM_ADAPTER), methods);
6085
6085
  }
6086
6086
  };
6087
6087
  exports2.default = Settings;
@@ -6101,7 +6101,7 @@ var require_out4 = __commonJS({
6101
6101
  async function FastGlob(source, options) {
6102
6102
  assertPatternsInput2(source);
6103
6103
  const works = getWorks(source, async_1.default, options);
6104
- const result = await Promise.all(works);
6104
+ const result = await _p_PromiseAll(works);
6105
6105
  return utils.array.flatten(result);
6106
6106
  }
6107
6107
  __name(FastGlob, "FastGlob");
@@ -6194,7 +6194,7 @@ var require_out4 = __commonJS({
6194
6194
  const source = [].concat(input);
6195
6195
  const isValidSource = source.every((item) => utils.string.isString(item) && !utils.string.isEmpty(item));
6196
6196
  if (!isValidSource) {
6197
- throw new TypeError("Patterns must be a string (non empty) or an array of strings");
6197
+ throw new _p_TypeErrorCtor("Patterns must be a string (non empty) or an array of strings");
6198
6198
  }
6199
6199
  }
6200
6200
  __name(assertPatternsInput2, "assertPatternsInput");
@@ -6295,7 +6295,7 @@ var require_ignore = __commonJS({
6295
6295
  }
6296
6296
  var KEY_IGNORE = TMP_KEY_IGNORE;
6297
6297
  var define = /* @__PURE__ */ __name((object, key, value) => {
6298
- Object.defineProperty(object, key, { value });
6298
+ _p_ObjectDefineProperty(object, key, { value });
6299
6299
  return value;
6300
6300
  }, "define");
6301
6301
  var REGEX_REGEXP_RANGE = /([0-z])-([0-z])/g;
@@ -6509,7 +6509,7 @@ var require_ignore = __commonJS({
6509
6509
  // It does not need to bind pattern
6510
6510
  TRAILING_WILD_CARD_REPLACERS[mode]
6511
6511
  );
6512
- const regex = this.ignoreCase ? new RegExp(str, "i") : new RegExp(str);
6512
+ const regex = this.ignoreCase ? new _p_RegExpCtor(str, "i") : new _p_RegExpCtor(str);
6513
6513
  return define(this, key, regex);
6514
6514
  }
6515
6515
  };
@@ -6641,8 +6641,8 @@ var require_ignore = __commonJS({
6641
6641
  this._initCache();
6642
6642
  }
6643
6643
  _initCache() {
6644
- this._ignoreCache = /* @__PURE__ */ Object.create(null);
6645
- this._testCache = /* @__PURE__ */ Object.create(null);
6644
+ this._ignoreCache = /* @__PURE__ */ _p_ObjectCreate(null);
6645
+ this._testCache = /* @__PURE__ */ _p_ObjectCreate(null);
6646
6646
  }
6647
6647
  add(pattern) {
6648
6648
  if (this._rules.add(pattern)) {
@@ -6786,7 +6786,7 @@ var init_ignore = __esm({
6786
6786
  applyBaseToPattern = /* @__PURE__ */ __name((pattern, base) => isNegativePattern(pattern) ? "!" + import_node_path2.default.posix.join(base, pattern.slice(1)) : import_node_path2.default.posix.join(base, pattern), "applyBaseToPattern");
6787
6787
  parseIgnoreFile = /* @__PURE__ */ __name((file, cwd) => {
6788
6788
  const base = slash(import_node_path2.default.relative(cwd, import_node_path2.default.dirname(file.filePath)));
6789
- return file.content.split(/\r?\n/).filter((line) => line && !line.startsWith("#")).map((pattern) => applyBaseToPattern(pattern, base));
6789
+ return file.content.split(/\r?\n/).filter((line) => line && !_p_StringPrototypeStartsWith(line, "#")).map((pattern) => applyBaseToPattern(pattern, base));
6790
6790
  }, "parseIgnoreFile");
6791
6791
  toRelativePath = /* @__PURE__ */ __name((fileOrDirectory, cwd) => {
6792
6792
  cwd = slash(cwd);
@@ -6794,12 +6794,12 @@ var init_ignore = __esm({
6794
6794
  if (slash(fileOrDirectory).startsWith(cwd)) {
6795
6795
  return import_node_path2.default.relative(cwd, fileOrDirectory);
6796
6796
  }
6797
- throw new Error(`Path ${fileOrDirectory} is not in cwd ${cwd}`);
6797
+ throw new _p_ErrorCtor(`Path ${fileOrDirectory} is not in cwd ${cwd}`);
6798
6798
  }
6799
6799
  return fileOrDirectory;
6800
6800
  }, "toRelativePath");
6801
6801
  getIsIgnoredPredicate = /* @__PURE__ */ __name((files, cwd) => {
6802
- const patterns = files.flatMap((file) => parseIgnoreFile(file, cwd));
6802
+ const patterns = _p_ArrayPrototypeFlatMap(files, (file) => parseIgnoreFile(file, cwd));
6803
6803
  const ignores = (0, import_ignore.default)().add(patterns);
6804
6804
  return (fileOrDirectory) => {
6805
6805
  fileOrDirectory = toPath(fileOrDirectory);
@@ -6822,7 +6822,7 @@ var init_ignore = __esm({
6822
6822
  ignore,
6823
6823
  ...ignoreFilesGlobOptions
6824
6824
  });
6825
- const files = await Promise.all(
6825
+ const files = await _p_PromiseAll(
6826
6826
  paths.map(async (filePath) => ({
6827
6827
  filePath,
6828
6828
  content: await import_promises3.default.readFile(filePath, "utf8")
@@ -6863,7 +6863,7 @@ var init_globby = __esm({
6863
6863
  init_utilities();
6864
6864
  assertPatternsInput = /* @__PURE__ */ __name((patterns) => {
6865
6865
  if (patterns.some((pattern) => typeof pattern !== "string")) {
6866
- throw new TypeError("Patterns must be a string or an array of strings");
6866
+ throw new _p_TypeErrorCtor("Patterns must be a string or an array of strings");
6867
6867
  }
6868
6868
  }, "assertPatternsInput");
6869
6869
  normalizePathForDirectoryGlob = /* @__PURE__ */ __name((filePath, cwd) => {
@@ -6879,7 +6879,7 @@ var init_globby = __esm({
6879
6879
  files,
6880
6880
  extensions
6881
6881
  } = {}) => {
6882
- const globs = await Promise.all(
6882
+ const globs = await _p_PromiseAll(
6883
6883
  directoryPaths.map(async (directoryPath) => await isDirectory(normalizePathForDirectoryGlob(directoryPath, cwd)) ? getDirectoryGlob({ directoryPath, files, extensions }) : directoryPath)
6884
6884
  );
6885
6885
  return globs.flat();
@@ -6888,9 +6888,9 @@ var init_globby = __esm({
6888
6888
  cwd = import_node_process2.default.cwd(),
6889
6889
  files,
6890
6890
  extensions
6891
- } = {}) => directoryPaths.flatMap((directoryPath) => isDirectorySync(normalizePathForDirectoryGlob(directoryPath, cwd)) ? getDirectoryGlob({ directoryPath, files, extensions }) : directoryPath), "directoryToGlobSync");
6891
+ } = {}) => _p_ArrayPrototypeFlatMap(directoryPaths, (directoryPath) => isDirectorySync(normalizePathForDirectoryGlob(directoryPath, cwd)) ? getDirectoryGlob({ directoryPath, files, extensions }) : directoryPath), "directoryToGlobSync");
6892
6892
  toPatternsArray = /* @__PURE__ */ __name((patterns) => {
6893
- patterns = [...new Set([patterns].flat())];
6893
+ patterns = [...new _p_SetCtor([patterns].flat())];
6894
6894
  assertPatternsInput(patterns);
6895
6895
  return patterns;
6896
6896
  }, "toPatternsArray");
@@ -6905,7 +6905,7 @@ var init_globby = __esm({
6905
6905
  return;
6906
6906
  }
6907
6907
  if (!stat.isDirectory()) {
6908
- throw new Error("The `cwd` option must be a path to a directory");
6908
+ throw new _p_ErrorCtor("The `cwd` option must be a path to a directory");
6909
6909
  }
6910
6910
  }, "checkCwdOption");
6911
6911
  normalizeOptions2 = /* @__PURE__ */ __name((options = {}) => {
@@ -6941,7 +6941,7 @@ var init_globby = __esm({
6941
6941
  );
6942
6942
  }, "getFilterSync");
6943
6943
  createFilterFunction = /* @__PURE__ */ __name((isIgnored) => {
6944
- const seen = /* @__PURE__ */ new Set();
6944
+ const seen = /* @__PURE__ */ new _p_SetCtor();
6945
6945
  return (fastGlobResult) => {
6946
6946
  const pathKey = import_node_path3.default.normalize(fastGlobResult.path ?? fastGlobResult);
6947
6947
  if (seen.has(pathKey) || isIgnored && isIgnored(pathKey)) {
@@ -6982,7 +6982,7 @@ var init_globby = __esm({
6982
6982
  }, "convertNegativePatterns");
6983
6983
  normalizeExpandDirectoriesOption = /* @__PURE__ */ __name((options, cwd) => ({
6984
6984
  ...cwd ? { cwd } : {},
6985
- ...Array.isArray(options) ? { files: options } : options
6985
+ ..._p_ArrayIsArray(options) ? { files: options } : options
6986
6986
  }), "normalizeExpandDirectoriesOption");
6987
6987
  generateTasks = /* @__PURE__ */ __name(async (patterns, options) => {
6988
6988
  const globTasks = convertNegativePatterns(patterns, options);
@@ -6991,13 +6991,13 @@ var init_globby = __esm({
6991
6991
  return globTasks;
6992
6992
  }
6993
6993
  const directoryToGlobOptions = normalizeExpandDirectoriesOption(expandDirectories, cwd);
6994
- return Promise.all(
6994
+ return _p_PromiseAll(
6995
6995
  globTasks.map(async (task) => {
6996
6996
  let { patterns: patterns2, options: options2 } = task;
6997
6997
  [
6998
6998
  patterns2,
6999
6999
  options2.ignore
7000
- ] = await Promise.all([
7000
+ ] = await _p_PromiseAll([
7001
7001
  directoryToGlob(patterns2, directoryToGlobOptions),
7002
7002
  directoryToGlob(options2.ignore, { cwd })
7003
7003
  ]);
@@ -7023,11 +7023,11 @@ var init_globby = __esm({
7023
7023
  const [
7024
7024
  tasks,
7025
7025
  filter
7026
- ] = await Promise.all([
7026
+ ] = await _p_PromiseAll([
7027
7027
  generateTasks(patterns, options),
7028
7028
  getFilter(options)
7029
7029
  ]);
7030
- const results = await Promise.all(tasks.map((task) => (0, import_fast_glob2.default)(task.patterns, task.options)));
7030
+ const results = await _p_PromiseAll(tasks.map((task) => (0, import_fast_glob2.default)(task.patterns, task.options)));
7031
7031
  return unionFastGlobResults(results, filter);
7032
7032
  });
7033
7033
  globbySync = normalizeArgumentsSync((patterns, options) => {
@@ -7075,7 +7075,7 @@ var init_is_path_cwd = __esm({
7075
7075
  function isPathInside(childPath, parentPath) {
7076
7076
  const relation = import_node_path5.default.relative(parentPath, childPath);
7077
7077
  return Boolean(
7078
- relation && relation !== ".." && !relation.startsWith(`..${import_node_path5.default.sep}`) && relation !== import_node_path5.default.resolve(childPath)
7078
+ relation && relation !== ".." && !_p_StringPrototypeStartsWith(relation, `..${import_node_path5.default.sep}`) && relation !== import_node_path5.default.resolve(childPath)
7079
7079
  );
7080
7080
  }
7081
7081
  var import_node_path5;
@@ -7100,11 +7100,11 @@ async function pMap(iterable, mapper, {
7100
7100
  throw new _p_TypeErrorCtor("Mapper function is required");
7101
7101
  }
7102
7102
  if (!(_p_NumberIsSafeInteger(concurrency) && concurrency >= 1 || concurrency === Number.POSITIVE_INFINITY)) {
7103
- throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
7103
+ throw new _p_TypeErrorCtor(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
7104
7104
  }
7105
7105
  const result = [];
7106
7106
  const errors = [];
7107
- const skippedIndexesMap = /* @__PURE__ */ new Map();
7107
+ const skippedIndexesMap = /* @__PURE__ */ new _p_MapCtor();
7108
7108
  let isRejected = false;
7109
7109
  let isResolved = false;
7110
7110
  let isIterableDone = false;
@@ -7144,7 +7144,7 @@ async function pMap(iterable, mapper, {
7144
7144
  isIterableDone = true;
7145
7145
  if (resolvingCount === 0 && !isResolved) {
7146
7146
  if (!stopOnError && errors.length > 0) {
7147
- reject(new AggregateError(errors));
7147
+ reject(new _p_AggregateErrorCtor(errors));
7148
7148
  return;
7149
7149
  }
7150
7150
  isResolved = true;
@@ -7230,7 +7230,7 @@ var init_presentable_error = __esm({
7230
7230
  return message;
7231
7231
  }
7232
7232
  if (typeof message !== "string") {
7233
- throw new TypeError("Message required.");
7233
+ throw new _p_TypeErrorCtor("Message required.");
7234
7234
  }
7235
7235
  this.name = "PresentableError";
7236
7236
  this.message = message;
@@ -7278,7 +7278,7 @@ async function deleteAsync(patterns, { force, dryRun, cwd = import_node_process4
7278
7278
  };
7279
7279
  patterns = normalizePatterns(patterns);
7280
7280
  const paths = await globby(patterns, options);
7281
- const files = paths.sort((a, b) => b.localeCompare(a));
7281
+ const files = paths.sort((a, b) => _p_StringPrototypeLocaleCompare(b, a));
7282
7282
  if (files.length === 0) {
7283
7283
  onProgress({
7284
7284
  totalCount: 0,
@@ -7305,7 +7305,7 @@ async function deleteAsync(patterns, { force, dryRun, cwd = import_node_process4
7305
7305
  return file;
7306
7306
  }, "mapper");
7307
7307
  const removedFiles = await pMap(files, mapper, options);
7308
- removedFiles.sort((a, b) => a.localeCompare(b));
7308
+ removedFiles.sort((a, b) => _p_StringPrototypeLocaleCompare(a, b));
7309
7309
  return removedFiles;
7310
7310
  }
7311
7311
  function deleteSync(patterns, { force, dryRun, cwd = import_node_process4.default.cwd(), ...options } = {}) {
@@ -7317,7 +7317,7 @@ function deleteSync(patterns, { force, dryRun, cwd = import_node_process4.defaul
7317
7317
  ...options
7318
7318
  };
7319
7319
  patterns = normalizePatterns(patterns);
7320
- const files = globbySync(patterns, options).sort((a, b) => b.localeCompare(a));
7320
+ const files = globbySync(patterns, options).sort((a, b) => _p_StringPrototypeLocaleCompare(b, a));
7321
7321
  const removedFiles = files.map((file) => {
7322
7322
  file = import_node_path6.default.resolve(cwd, file);
7323
7323
  if (!force) {
@@ -7328,7 +7328,7 @@ function deleteSync(patterns, { force, dryRun, cwd = import_node_process4.defaul
7328
7328
  }
7329
7329
  return file;
7330
7330
  });
7331
- removedFiles.sort((a, b) => a.localeCompare(b));
7331
+ removedFiles.sort((a, b) => _p_StringPrototypeLocaleCompare(a, b));
7332
7332
  return removedFiles;
7333
7333
  }
7334
7334
  var import_node_fs4, import_promises4, import_node_path6, import_node_process4, import_is_glob;