@hyperfixi/mcp-server 2.1.0 → 2.2.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.
@@ -1,6 +1,6 @@
1
- // ../../node_modules/glob/node_modules/balanced-match/dist/esm/index.js
2
- var balanced = (a3, b, str) => {
3
- const ma = a3 instanceof RegExp ? maybeMatch(a3, str) : a3;
1
+ // ../../node_modules/balanced-match/dist/esm/index.js
2
+ var balanced = (a, b, str) => {
3
+ const ma = a instanceof RegExp ? maybeMatch(a, str) : a;
4
4
  const mb = b instanceof RegExp ? maybeMatch(b, str) : b;
5
5
  const r = ma !== null && mb != null && range(ma, mb, str);
6
6
  return r && {
@@ -15,13 +15,13 @@ var maybeMatch = (reg, str) => {
15
15
  const m = str.match(reg);
16
16
  return m ? m[0] : null;
17
17
  };
18
- var range = (a3, b, str) => {
18
+ var range = (a, b, str) => {
19
19
  let begs, beg, left, right = void 0, result;
20
- let ai = str.indexOf(a3);
20
+ let ai = str.indexOf(a);
21
21
  let bi = str.indexOf(b, ai + 1);
22
22
  let i = ai;
23
23
  if (ai >= 0 && bi > 0) {
24
- if (a3 === b) {
24
+ if (a === b) {
25
25
  return [ai, bi];
26
26
  }
27
27
  begs = [];
@@ -29,7 +29,7 @@ var range = (a3, b, str) => {
29
29
  while (i >= 0 && !result) {
30
30
  if (i === ai) {
31
31
  begs.push(i);
32
- ai = str.indexOf(a3, i + 1);
32
+ ai = str.indexOf(a, i + 1);
33
33
  } else if (begs.length === 1) {
34
34
  const r = begs.pop();
35
35
  if (r !== void 0)
@@ -51,7 +51,7 @@ var range = (a3, b, str) => {
51
51
  return result;
52
52
  };
53
53
 
54
- // ../../node_modules/glob/node_modules/brace-expansion/dist/esm/index.js
54
+ // ../../node_modules/brace-expansion/dist/esm/index.js
55
55
  var escSlash = "\0SLASH" + Math.random() + "\0";
56
56
  var escOpen = "\0OPEN" + Math.random() + "\0";
57
57
  var escClose = "\0CLOSE" + Math.random() + "\0";
@@ -66,7 +66,7 @@ var slashPattern = /\\\\/g;
66
66
  var openPattern = /\\{/g;
67
67
  var closePattern = /\\}/g;
68
68
  var commaPattern = /\\,/g;
69
- var periodPattern = /\\./g;
69
+ var periodPattern = /\\\./g;
70
70
  var EXPANSION_MAX = 1e5;
71
71
  function numeric(str) {
72
72
  return !isNaN(str) ? parseInt(str, 10) : str.charCodeAt(0);
@@ -171,27 +171,27 @@ function expand_(str, max, isTop) {
171
171
  const pad = n.some(isPadded);
172
172
  N = [];
173
173
  for (let i = x2; test(i, y2); i += incr) {
174
- let c;
174
+ let c3;
175
175
  if (isAlphaSequence) {
176
- c = String.fromCharCode(i);
177
- if (c === "\\") {
178
- c = "";
176
+ c3 = String.fromCharCode(i);
177
+ if (c3 === "\\") {
178
+ c3 = "";
179
179
  }
180
180
  } else {
181
- c = String(i);
181
+ c3 = String(i);
182
182
  if (pad) {
183
- const need = width - c.length;
183
+ const need = width - c3.length;
184
184
  if (need > 0) {
185
185
  const z2 = new Array(need + 1).join("0");
186
186
  if (i < 0) {
187
- c = "-" + z2 + c.slice(1);
187
+ c3 = "-" + z2 + c3.slice(1);
188
188
  } else {
189
- c = z2 + c;
189
+ c3 = z2 + c3;
190
190
  }
191
191
  }
192
192
  }
193
193
  }
194
- N.push(c);
194
+ N.push(c3);
195
195
  }
196
196
  } else {
197
197
  N = [];
@@ -211,7 +211,7 @@ function expand_(str, max, isTop) {
211
211
  return expansions;
212
212
  }
213
213
 
214
- // ../../node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js
214
+ // ../../node_modules/minimatch/dist/esm/assert-valid-pattern.js
215
215
  var MAX_PATTERN_LENGTH = 1024 * 64;
216
216
  var assertValidPattern = (pattern) => {
217
217
  if (typeof pattern !== "string") {
@@ -222,7 +222,7 @@ var assertValidPattern = (pattern) => {
222
222
  }
223
223
  };
224
224
 
225
- // ../../node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js
225
+ // ../../node_modules/minimatch/dist/esm/brace-expressions.js
226
226
  var posixClasses = {
227
227
  "[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
228
228
  "[:alpha:]": ["\\p{L}\\p{Nl}", true],
@@ -257,25 +257,25 @@ var parseClass = (glob2, position) => {
257
257
  let endPos = pos;
258
258
  let rangeStart = "";
259
259
  WHILE: while (i < glob2.length) {
260
- const c = glob2.charAt(i);
261
- if ((c === "!" || c === "^") && i === pos + 1) {
260
+ const c3 = glob2.charAt(i);
261
+ if ((c3 === "!" || c3 === "^") && i === pos + 1) {
262
262
  negate = true;
263
263
  i++;
264
264
  continue;
265
265
  }
266
- if (c === "]" && sawStart && !escaping) {
266
+ if (c3 === "]" && sawStart && !escaping) {
267
267
  endPos = i + 1;
268
268
  break;
269
269
  }
270
270
  sawStart = true;
271
- if (c === "\\") {
271
+ if (c3 === "\\") {
272
272
  if (!escaping) {
273
273
  escaping = true;
274
274
  i++;
275
275
  continue;
276
276
  }
277
277
  }
278
- if (c === "[" && !escaping) {
278
+ if (c3 === "[" && !escaping) {
279
279
  for (const [cls, [unip, u, neg]] of Object.entries(posixClasses)) {
280
280
  if (glob2.startsWith(cls, i)) {
281
281
  if (rangeStart) {
@@ -293,26 +293,26 @@ var parseClass = (glob2, position) => {
293
293
  }
294
294
  escaping = false;
295
295
  if (rangeStart) {
296
- if (c > rangeStart) {
297
- ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c));
298
- } else if (c === rangeStart) {
299
- ranges.push(braceEscape(c));
296
+ if (c3 > rangeStart) {
297
+ ranges.push(braceEscape(rangeStart) + "-" + braceEscape(c3));
298
+ } else if (c3 === rangeStart) {
299
+ ranges.push(braceEscape(c3));
300
300
  }
301
301
  rangeStart = "";
302
302
  i++;
303
303
  continue;
304
304
  }
305
305
  if (glob2.startsWith("-]", i + 1)) {
306
- ranges.push(braceEscape(c + "-"));
306
+ ranges.push(braceEscape(c3 + "-"));
307
307
  i += 2;
308
308
  continue;
309
309
  }
310
310
  if (glob2.startsWith("-", i + 1)) {
311
- rangeStart = c;
311
+ rangeStart = c3;
312
312
  i += 2;
313
313
  continue;
314
314
  }
315
- ranges.push(braceEscape(c));
315
+ ranges.push(braceEscape(c3));
316
316
  i++;
317
317
  }
318
318
  if (endPos < i) {
@@ -331,7 +331,7 @@ var parseClass = (glob2, position) => {
331
331
  return [comb, uflag, endPos - pos, true];
332
332
  };
333
333
 
334
- // ../../node_modules/glob/node_modules/minimatch/dist/esm/unescape.js
334
+ // ../../node_modules/minimatch/dist/esm/unescape.js
335
335
  var unescape = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {}) => {
336
336
  if (magicalBraces) {
337
337
  return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
@@ -339,11 +339,11 @@ var unescape = (s, { windowsPathsNoEscape = false, magicalBraces = true } = {})
339
339
  return windowsPathsNoEscape ? s.replace(/\[([^\/\\{}])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\{}])\]/g, "$1$2").replace(/\\([^\/{}])/g, "$1");
340
340
  };
341
341
 
342
- // ../../node_modules/glob/node_modules/minimatch/dist/esm/ast.js
342
+ // ../../node_modules/minimatch/dist/esm/ast.js
343
343
  var _a;
344
344
  var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
345
- var isExtglobType = (c) => types.has(c);
346
- var isExtglobAST = (c) => isExtglobType(c.type);
345
+ var isExtglobType = (c3) => types.has(c3);
346
+ var isExtglobAST = (c3) => isExtglobType(c3.type);
347
347
  var adoptionMap = /* @__PURE__ */ new Map([
348
348
  ["!", ["@"]],
349
349
  ["?", ["?", "@"]],
@@ -546,11 +546,11 @@ var AST = class {
546
546
  this.push(part.clone(this));
547
547
  }
548
548
  clone(parent) {
549
- const c = new _a(this.type, parent);
549
+ const c3 = new _a(this.type, parent);
550
550
  for (const p of this.#parts) {
551
- c.copyIn(p);
551
+ c3.copyIn(p);
552
552
  }
553
- return c;
553
+ return c3;
554
554
  }
555
555
  static #parseAST(str, ast, pos, opt, extDepth) {
556
556
  const maxDepth = opt.maxExtglobRecursion ?? 2;
@@ -562,39 +562,39 @@ var AST = class {
562
562
  let i2 = pos;
563
563
  let acc2 = "";
564
564
  while (i2 < str.length) {
565
- const c = str.charAt(i2++);
566
- if (escaping || c === "\\") {
565
+ const c3 = str.charAt(i2++);
566
+ if (escaping || c3 === "\\") {
567
567
  escaping = !escaping;
568
- acc2 += c;
568
+ acc2 += c3;
569
569
  continue;
570
570
  }
571
571
  if (inBrace) {
572
572
  if (i2 === braceStart + 1) {
573
- if (c === "^" || c === "!") {
573
+ if (c3 === "^" || c3 === "!") {
574
574
  braceNeg = true;
575
575
  }
576
- } else if (c === "]" && !(i2 === braceStart + 2 && braceNeg)) {
576
+ } else if (c3 === "]" && !(i2 === braceStart + 2 && braceNeg)) {
577
577
  inBrace = false;
578
578
  }
579
- acc2 += c;
579
+ acc2 += c3;
580
580
  continue;
581
- } else if (c === "[") {
581
+ } else if (c3 === "[") {
582
582
  inBrace = true;
583
583
  braceStart = i2;
584
584
  braceNeg = false;
585
- acc2 += c;
585
+ acc2 += c3;
586
586
  continue;
587
587
  }
588
- const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i2) === "(" && extDepth <= maxDepth;
588
+ const doRecurse = !opt.noext && isExtglobType(c3) && str.charAt(i2) === "(" && extDepth <= maxDepth;
589
589
  if (doRecurse) {
590
590
  ast.push(acc2);
591
591
  acc2 = "";
592
- const ext2 = new _a(c, ast);
592
+ const ext2 = new _a(c3, ast);
593
593
  i2 = _a.#parseAST(str, ext2, i2, opt, extDepth + 1);
594
594
  ast.push(ext2);
595
595
  continue;
596
596
  }
597
- acc2 += c;
597
+ acc2 += c3;
598
598
  }
599
599
  ast.push(acc2);
600
600
  return i2;
@@ -604,48 +604,48 @@ var AST = class {
604
604
  const parts = [];
605
605
  let acc = "";
606
606
  while (i < str.length) {
607
- const c = str.charAt(i++);
608
- if (escaping || c === "\\") {
607
+ const c3 = str.charAt(i++);
608
+ if (escaping || c3 === "\\") {
609
609
  escaping = !escaping;
610
- acc += c;
610
+ acc += c3;
611
611
  continue;
612
612
  }
613
613
  if (inBrace) {
614
614
  if (i === braceStart + 1) {
615
- if (c === "^" || c === "!") {
615
+ if (c3 === "^" || c3 === "!") {
616
616
  braceNeg = true;
617
617
  }
618
- } else if (c === "]" && !(i === braceStart + 2 && braceNeg)) {
618
+ } else if (c3 === "]" && !(i === braceStart + 2 && braceNeg)) {
619
619
  inBrace = false;
620
620
  }
621
- acc += c;
621
+ acc += c3;
622
622
  continue;
623
- } else if (c === "[") {
623
+ } else if (c3 === "[") {
624
624
  inBrace = true;
625
625
  braceStart = i;
626
626
  braceNeg = false;
627
- acc += c;
627
+ acc += c3;
628
628
  continue;
629
629
  }
630
- const doRecurse = !opt.noext && isExtglobType(c) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
631
- (extDepth <= maxDepth || ast && ast.#canAdoptType(c));
630
+ const doRecurse = !opt.noext && isExtglobType(c3) && str.charAt(i) === "(" && /* c8 ignore start - the maxDepth is sufficient here */
631
+ (extDepth <= maxDepth || ast && ast.#canAdoptType(c3));
632
632
  if (doRecurse) {
633
- const depthAdd = ast && ast.#canAdoptType(c) ? 0 : 1;
633
+ const depthAdd = ast && ast.#canAdoptType(c3) ? 0 : 1;
634
634
  part.push(acc);
635
635
  acc = "";
636
- const ext2 = new _a(c, part);
636
+ const ext2 = new _a(c3, part);
637
637
  part.push(ext2);
638
638
  i = _a.#parseAST(str, ext2, i, opt, extDepth + depthAdd);
639
639
  continue;
640
640
  }
641
- if (c === "|") {
641
+ if (c3 === "|") {
642
642
  part.push(acc);
643
643
  acc = "";
644
644
  parts.push(part);
645
645
  part = new _a(null, ast);
646
646
  continue;
647
647
  }
648
- if (c === ")") {
648
+ if (c3 === ")") {
649
649
  if (acc === "" && ast.#parts.length === 0) {
650
650
  ast.#emptyExt = true;
651
651
  }
@@ -654,7 +654,7 @@ var AST = class {
654
654
  ast.push(...parts, part);
655
655
  return i;
656
656
  }
657
- acc += c;
657
+ acc += c3;
658
658
  }
659
659
  ast.type = null;
660
660
  ast.#hasMagic = void 0;
@@ -674,8 +674,8 @@ var AST = class {
674
674
  }
675
675
  return this.#canAdoptType(gc.type, map);
676
676
  }
677
- #canAdoptType(c, map = adoptionAnyMap) {
678
- return !!map.get(this.type)?.includes(c);
677
+ #canAdoptType(c3, map = adoptionAnyMap) {
678
+ return !!map.get(this.type)?.includes(c3);
679
679
  }
680
680
  #adoptWithSpace(child, index) {
681
681
  const gc = child.#parts[0];
@@ -693,9 +693,9 @@ var AST = class {
693
693
  }
694
694
  this.#toString = void 0;
695
695
  }
696
- #canUsurpType(c) {
696
+ #canUsurpType(c3) {
697
697
  const m = usurpMap.get(this.type);
698
- return !!m?.has(c);
698
+ return !!m?.has(c3);
699
699
  }
700
700
  #canUsurp(child) {
701
701
  if (!child || typeof child !== "object" || child.type !== null || child.#parts.length !== 1 || this.type === null || this.#parts.length !== 1) {
@@ -908,18 +908,18 @@ var AST = class {
908
908
  do {
909
909
  done = true;
910
910
  for (let i = 0; i < this.#parts.length; i++) {
911
- const c = this.#parts[i];
912
- if (typeof c === "object") {
913
- c.#flatten();
914
- if (this.#canAdopt(c)) {
911
+ const c3 = this.#parts[i];
912
+ if (typeof c3 === "object") {
913
+ c3.#flatten();
914
+ if (this.#canAdopt(c3)) {
915
915
  done = false;
916
- this.#adopt(c, i);
917
- } else if (this.#canAdoptWithSpace(c)) {
916
+ this.#adopt(c3, i);
917
+ } else if (this.#canAdoptWithSpace(c3)) {
918
918
  done = false;
919
- this.#adoptWithSpace(c, i);
920
- } else if (this.#canUsurp(c)) {
919
+ this.#adoptWithSpace(c3, i);
920
+ } else if (this.#canUsurp(c3)) {
921
921
  done = false;
922
- this.#usurp(c);
922
+ this.#usurp(c3);
923
923
  }
924
924
  }
925
925
  }
@@ -943,13 +943,13 @@ var AST = class {
943
943
  let uflag = false;
944
944
  let inStar = false;
945
945
  for (let i = 0; i < glob2.length; i++) {
946
- const c = glob2.charAt(i);
946
+ const c3 = glob2.charAt(i);
947
947
  if (escaping) {
948
948
  escaping = false;
949
- re += (reSpecials.has(c) ? "\\" : "") + c;
949
+ re += (reSpecials.has(c3) ? "\\" : "") + c3;
950
950
  continue;
951
951
  }
952
- if (c === "*") {
952
+ if (c3 === "*") {
953
953
  if (inStar)
954
954
  continue;
955
955
  inStar = true;
@@ -959,7 +959,7 @@ var AST = class {
959
959
  } else {
960
960
  inStar = false;
961
961
  }
962
- if (c === "\\") {
962
+ if (c3 === "\\") {
963
963
  if (i === glob2.length - 1) {
964
964
  re += "\\\\";
965
965
  } else {
@@ -967,7 +967,7 @@ var AST = class {
967
967
  }
968
968
  continue;
969
969
  }
970
- if (c === "[") {
970
+ if (c3 === "[") {
971
971
  const [src, needUflag, consumed, magic] = parseClass(glob2, i);
972
972
  if (consumed) {
973
973
  re += src;
@@ -977,19 +977,19 @@ var AST = class {
977
977
  continue;
978
978
  }
979
979
  }
980
- if (c === "?") {
980
+ if (c3 === "?") {
981
981
  re += qmark;
982
982
  hasMagic2 = true;
983
983
  continue;
984
984
  }
985
- re += regExpEscape(c);
985
+ re += regExpEscape(c3);
986
986
  }
987
987
  return [re, unescape(glob2), !!hasMagic2, uflag];
988
988
  }
989
989
  };
990
990
  _a = AST;
991
991
 
992
- // ../../node_modules/glob/node_modules/minimatch/dist/esm/escape.js
992
+ // ../../node_modules/minimatch/dist/esm/escape.js
993
993
  var escape = (s, { windowsPathsNoEscape = false, magicalBraces = false } = {}) => {
994
994
  if (magicalBraces) {
995
995
  return windowsPathsNoEscape ? s.replace(/[?*()[\]{}]/g, "[$&]") : s.replace(/[?*()[\]\\{}]/g, "\\$&");
@@ -997,7 +997,7 @@ var escape = (s, { windowsPathsNoEscape = false, magicalBraces = false } = {}) =
997
997
  return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
998
998
  };
999
999
 
1000
- // ../../node_modules/glob/node_modules/minimatch/dist/esm/index.js
1000
+ // ../../node_modules/minimatch/dist/esm/index.js
1001
1001
  var minimatch = (p, pattern, options = {}) => {
1002
1002
  assertValidPattern(pattern);
1003
1003
  if (!options.nocomment && pattern.charAt(0) === "#") {
@@ -1070,7 +1070,7 @@ var twoStarDot = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
1070
1070
  var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
1071
1071
  var filter = (pattern, options = {}) => (p) => minimatch(p, pattern, options);
1072
1072
  minimatch.filter = filter;
1073
- var ext = (a3, b = {}) => Object.assign({}, a3, b);
1073
+ var ext = (a, b = {}) => Object.assign({}, a, b);
1074
1074
  var defaults = (def) => {
1075
1075
  if (!def || typeof def !== "object" || !Object.keys(def).length) {
1076
1076
  return minimatch;
@@ -1433,30 +1433,30 @@ var Minimatch = class {
1433
1433
  }
1434
1434
  return globParts.filter((gs) => gs.length);
1435
1435
  }
1436
- partsMatch(a3, b, emptyGSMatch = false) {
1436
+ partsMatch(a, b, emptyGSMatch = false) {
1437
1437
  let ai = 0;
1438
1438
  let bi = 0;
1439
1439
  let result = [];
1440
1440
  let which = "";
1441
- while (ai < a3.length && bi < b.length) {
1442
- if (a3[ai] === b[bi]) {
1443
- result.push(which === "b" ? b[bi] : a3[ai]);
1441
+ while (ai < a.length && bi < b.length) {
1442
+ if (a[ai] === b[bi]) {
1443
+ result.push(which === "b" ? b[bi] : a[ai]);
1444
1444
  ai++;
1445
1445
  bi++;
1446
- } else if (emptyGSMatch && a3[ai] === "**" && b[bi] === a3[ai + 1]) {
1447
- result.push(a3[ai]);
1446
+ } else if (emptyGSMatch && a[ai] === "**" && b[bi] === a[ai + 1]) {
1447
+ result.push(a[ai]);
1448
1448
  ai++;
1449
- } else if (emptyGSMatch && b[bi] === "**" && a3[ai] === b[bi + 1]) {
1449
+ } else if (emptyGSMatch && b[bi] === "**" && a[ai] === b[bi + 1]) {
1450
1450
  result.push(b[bi]);
1451
1451
  bi++;
1452
- } else if (a3[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
1452
+ } else if (a[ai] === "*" && b[bi] && (this.options.dot || !b[bi].startsWith(".")) && b[bi] !== "**") {
1453
1453
  if (which === "b")
1454
1454
  return false;
1455
1455
  which = "a";
1456
- result.push(a3[ai]);
1456
+ result.push(a[ai]);
1457
1457
  ai++;
1458
1458
  bi++;
1459
- } else if (b[bi] === "*" && a3[ai] && (this.options.dot || !a3[ai].startsWith(".")) && a3[ai] !== "**") {
1459
+ } else if (b[bi] === "*" && a[ai] && (this.options.dot || !a[ai].startsWith(".")) && a[ai] !== "**") {
1460
1460
  if (which === "a")
1461
1461
  return false;
1462
1462
  which = "b";
@@ -1467,7 +1467,7 @@ var Minimatch = class {
1467
1467
  return false;
1468
1468
  }
1469
1469
  }
1470
- return a3.length === b.length && result;
1470
+ return a.length === b.length && result;
1471
1471
  }
1472
1472
  parseNegate() {
1473
1473
  if (this.nonegate)
@@ -1811,11 +1811,11 @@ minimatch.unescape = unescape;
1811
1811
  import { fileURLToPath as fileURLToPath2 } from "url";
1812
1812
 
1813
1813
  // ../../node_modules/lru-cache/dist/esm/index.min.js
1814
- var M = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
1814
+ var x = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
1815
1815
  var I = /* @__PURE__ */ new Set();
1816
1816
  var R = typeof process == "object" && process ? process : {};
1817
- var x = (a3, t, e, i) => {
1818
- typeof R.emitWarning == "function" ? R.emitWarning(a3, t, e, i) : console.error(`[${e}] ${t}: ${a3}`);
1817
+ var U = (c3, t, e, i) => {
1818
+ typeof R.emitWarning == "function" ? R.emitWarning(c3, t, e, i) : console.error(`[${e}] ${t}: ${c3}`);
1819
1819
  };
1820
1820
  var C = globalThis.AbortController;
1821
1821
  var D = globalThis.AbortSignal;
@@ -1841,32 +1841,32 @@ if (typeof C > "u") {
1841
1841
  }
1842
1842
  }
1843
1843
  };
1844
- let a3 = R.env?.LRU_CACHE_IGNORE_AC_WARNING !== "1", t = () => {
1845
- a3 && (a3 = false, x("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.", "NO_ABORT_CONTROLLER", "ENOTSUP", t));
1844
+ let c3 = R.env?.LRU_CACHE_IGNORE_AC_WARNING !== "1", t = () => {
1845
+ c3 && (c3 = false, U("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.", "NO_ABORT_CONTROLLER", "ENOTSUP", t));
1846
1846
  };
1847
1847
  }
1848
- var G = (a3) => !I.has(a3);
1848
+ var G = (c3) => !I.has(c3);
1849
1849
  var H = Symbol("type");
1850
- var y = (a3) => a3 && a3 === Math.floor(a3) && a3 > 0 && isFinite(a3);
1851
- var U = (a3) => y(a3) ? a3 <= Math.pow(2, 8) ? Uint8Array : a3 <= Math.pow(2, 16) ? Uint16Array : a3 <= Math.pow(2, 32) ? Uint32Array : a3 <= Number.MAX_SAFE_INTEGER ? z : null : null;
1850
+ var y = (c3) => c3 && c3 === Math.floor(c3) && c3 > 0 && isFinite(c3);
1851
+ var M = (c3) => y(c3) ? c3 <= Math.pow(2, 8) ? Uint8Array : c3 <= Math.pow(2, 16) ? Uint16Array : c3 <= Math.pow(2, 32) ? Uint32Array : c3 <= Number.MAX_SAFE_INTEGER ? z : null : null;
1852
1852
  var z = class extends Array {
1853
1853
  constructor(t) {
1854
1854
  super(t), this.fill(0);
1855
1855
  }
1856
1856
  };
1857
- var W = class a {
1857
+ var W = class c {
1858
1858
  heap;
1859
1859
  length;
1860
1860
  static #o = false;
1861
1861
  static create(t) {
1862
- let e = U(t);
1862
+ let e = M(t);
1863
1863
  if (!e) return [];
1864
- a.#o = true;
1865
- let i = new a(t, e);
1866
- return a.#o = false, i;
1864
+ c.#o = true;
1865
+ let i = new c(t, e);
1866
+ return c.#o = false, i;
1867
1867
  }
1868
1868
  constructor(t, e) {
1869
- if (!a.#o) throw new TypeError("instantiate Stack using Stack.create(n)");
1869
+ if (!c.#o) throw new TypeError("instantiate Stack using Stack.create(n)");
1870
1870
  this.heap = new e(t), this.length = 0;
1871
1871
  }
1872
1872
  push(t) {
@@ -1876,7 +1876,7 @@ var W = class a {
1876
1876
  return this.heap[--this.length];
1877
1877
  }
1878
1878
  };
1879
- var L = class a2 {
1879
+ var L = class c2 {
1880
1880
  #o;
1881
1881
  #c;
1882
1882
  #w;
@@ -1921,13 +1921,13 @@ var L = class a2 {
1921
1921
  #T;
1922
1922
  #v;
1923
1923
  #f;
1924
- #x;
1924
+ #U;
1925
1925
  static unsafeExposeInternals(t) {
1926
1926
  return { starts: t.#A, ttls: t.#d, autopurgeTimers: t.#g, sizes: t.#y, keyMap: t.#s, keyList: t.#i, valList: t.#t, next: t.#a, prev: t.#u, get head() {
1927
1927
  return t.#l;
1928
1928
  }, get tail() {
1929
1929
  return t.#h;
1930
- }, free: t.#b, isBackgroundFetch: (e) => t.#e(e), backgroundFetch: (e, i, s, h) => t.#G(e, i, s, h), moveToTail: (e) => t.#D(e), indexes: (e) => t.#F(e), rindexes: (e) => t.#O(e), isStale: (e) => t.#p(e) };
1930
+ }, free: t.#b, isBackgroundFetch: (e) => t.#e(e), backgroundFetch: (e, i, s, n) => t.#G(e, i, s, n), moveToTail: (e) => t.#D(e), indexes: (e) => t.#F(e), rindexes: (e) => t.#O(e), isStale: (e) => t.#p(e) };
1931
1931
  }
1932
1932
  get max() {
1933
1933
  return this.#o;
@@ -1957,30 +1957,30 @@ var L = class a2 {
1957
1957
  return this.#S;
1958
1958
  }
1959
1959
  constructor(t) {
1960
- let { max: e = 0, ttl: i, ttlResolution: s = 1, ttlAutopurge: h, updateAgeOnGet: n, updateAgeOnHas: o, allowStale: r, dispose: f, onInsert: m, disposeAfter: c, noDisposeOnSet: d, noUpdateTTL: g, maxSize: A = 0, maxEntrySize: p = 0, sizeCalculation: _, fetchMethod: l, memoMethod: w, noDeleteOnFetchRejection: b, noDeleteOnStaleGet: S, allowStaleOnFetchRejection: u, allowStaleOnFetchAbort: T, ignoreFetchAbort: F, perf: v } = t;
1960
+ let { max: e = 0, ttl: i, ttlResolution: s = 1, ttlAutopurge: n, updateAgeOnGet: o, updateAgeOnHas: h, allowStale: r, dispose: a, onInsert: w, disposeAfter: f, noDisposeOnSet: d, noUpdateTTL: g, maxSize: A = 0, maxEntrySize: p = 0, sizeCalculation: _, fetchMethod: l, memoMethod: S, noDeleteOnFetchRejection: b, noDeleteOnStaleGet: m, allowStaleOnFetchRejection: u, allowStaleOnFetchAbort: T, ignoreFetchAbort: F, perf: v } = t;
1961
1961
  if (v !== void 0 && typeof v?.now != "function") throw new TypeError("perf option must have a now() method if specified");
1962
- if (this.#m = v ?? M, e !== 0 && !y(e)) throw new TypeError("max option must be a nonnegative integer");
1963
- let O = e ? U(e) : Array;
1962
+ if (this.#m = v ?? x, e !== 0 && !y(e)) throw new TypeError("max option must be a nonnegative integer");
1963
+ let O = e ? M(e) : Array;
1964
1964
  if (!O) throw new Error("invalid max value: " + e);
1965
1965
  if (this.#o = e, this.#c = A, this.maxEntrySize = p || this.#c, this.sizeCalculation = _, this.sizeCalculation) {
1966
1966
  if (!this.#c && !this.maxEntrySize) throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");
1967
1967
  if (typeof this.sizeCalculation != "function") throw new TypeError("sizeCalculation set to non-function");
1968
1968
  }
1969
- if (w !== void 0 && typeof w != "function") throw new TypeError("memoMethod must be a function if defined");
1970
- if (this.#I = w, l !== void 0 && typeof l != "function") throw new TypeError("fetchMethod must be a function if specified");
1971
- if (this.#L = l, this.#v = !!l, this.#s = /* @__PURE__ */ new Map(), this.#i = new Array(e).fill(void 0), this.#t = new Array(e).fill(void 0), this.#a = new O(e), this.#u = new O(e), this.#l = 0, this.#h = 0, this.#b = W.create(e), this.#n = 0, this.#_ = 0, typeof f == "function" && (this.#w = f), typeof m == "function" && (this.#C = m), typeof c == "function" ? (this.#S = c, this.#r = []) : (this.#S = void 0, this.#r = void 0), this.#T = !!this.#w, this.#x = !!this.#C, this.#f = !!this.#S, this.noDisposeOnSet = !!d, this.noUpdateTTL = !!g, this.noDeleteOnFetchRejection = !!b, this.allowStaleOnFetchRejection = !!u, this.allowStaleOnFetchAbort = !!T, this.ignoreFetchAbort = !!F, this.maxEntrySize !== 0) {
1969
+ if (S !== void 0 && typeof S != "function") throw new TypeError("memoMethod must be a function if defined");
1970
+ if (this.#I = S, l !== void 0 && typeof l != "function") throw new TypeError("fetchMethod must be a function if specified");
1971
+ if (this.#L = l, this.#v = !!l, this.#s = /* @__PURE__ */ new Map(), this.#i = new Array(e).fill(void 0), this.#t = new Array(e).fill(void 0), this.#a = new O(e), this.#u = new O(e), this.#l = 0, this.#h = 0, this.#b = W.create(e), this.#n = 0, this.#_ = 0, typeof a == "function" && (this.#w = a), typeof w == "function" && (this.#C = w), typeof f == "function" ? (this.#S = f, this.#r = []) : (this.#S = void 0, this.#r = void 0), this.#T = !!this.#w, this.#U = !!this.#C, this.#f = !!this.#S, this.noDisposeOnSet = !!d, this.noUpdateTTL = !!g, this.noDeleteOnFetchRejection = !!b, this.allowStaleOnFetchRejection = !!u, this.allowStaleOnFetchAbort = !!T, this.ignoreFetchAbort = !!F, this.maxEntrySize !== 0) {
1972
1972
  if (this.#c !== 0 && !y(this.#c)) throw new TypeError("maxSize must be a positive integer if specified");
1973
1973
  if (!y(this.maxEntrySize)) throw new TypeError("maxEntrySize must be a positive integer if specified");
1974
1974
  this.#B();
1975
1975
  }
1976
- if (this.allowStale = !!r, this.noDeleteOnStaleGet = !!S, this.updateAgeOnGet = !!n, this.updateAgeOnHas = !!o, this.ttlResolution = y(s) || s === 0 ? s : 1, this.ttlAutopurge = !!h, this.ttl = i || 0, this.ttl) {
1976
+ if (this.allowStale = !!r, this.noDeleteOnStaleGet = !!m, this.updateAgeOnGet = !!o, this.updateAgeOnHas = !!h, this.ttlResolution = y(s) || s === 0 ? s : 1, this.ttlAutopurge = !!n, this.ttl = i || 0, this.ttl) {
1977
1977
  if (!y(this.ttl)) throw new TypeError("ttl must be a positive integer if specified");
1978
1978
  this.#j();
1979
1979
  }
1980
1980
  if (this.#o === 0 && this.ttl === 0 && this.#c === 0) throw new TypeError("At least one of max, maxSize, or ttl is required");
1981
1981
  if (!this.ttlAutopurge && !this.#o && !this.#c) {
1982
1982
  let E = "LRU_CACHE_UNBOUNDED";
1983
- G(E) && (I.add(E), x("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", E, a2));
1983
+ G(E) && (I.add(E), U("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", E, c2));
1984
1984
  }
1985
1985
  }
1986
1986
  getRemainingTTL(t) {
@@ -1990,43 +1990,48 @@ var L = class a2 {
1990
1990
  let t = new z(this.#o), e = new z(this.#o);
1991
1991
  this.#d = t, this.#A = e;
1992
1992
  let i = this.ttlAutopurge ? new Array(this.#o) : void 0;
1993
- this.#g = i, this.#N = (n, o, r = this.#m.now()) => {
1994
- if (e[n] = o !== 0 ? r : 0, t[n] = o, i?.[n] && (clearTimeout(i[n]), i[n] = void 0), o !== 0 && i) {
1995
- let f = setTimeout(() => {
1996
- this.#p(n) && this.#E(this.#i[n], "expire");
1997
- }, o + 1);
1998
- f.unref && f.unref(), i[n] = f;
1993
+ this.#g = i, this.#N = (h, r, a = this.#m.now()) => {
1994
+ e[h] = r !== 0 ? a : 0, t[h] = r, s(h, r);
1995
+ }, this.#R = (h) => {
1996
+ e[h] = t[h] !== 0 ? this.#m.now() : 0, s(h, t[h]);
1997
+ };
1998
+ let s = this.ttlAutopurge ? (h, r) => {
1999
+ if (i?.[h] && (clearTimeout(i[h]), i[h] = void 0), r && r !== 0 && i) {
2000
+ let a = setTimeout(() => {
2001
+ this.#p(h) && this.#E(this.#i[h], "expire");
2002
+ }, r + 1);
2003
+ a.unref && a.unref(), i[h] = a;
1999
2004
  }
2000
- }, this.#R = (n) => {
2001
- e[n] = t[n] !== 0 ? this.#m.now() : 0;
2002
- }, this.#z = (n, o) => {
2003
- if (t[o]) {
2004
- let r = t[o], f = e[o];
2005
- if (!r || !f) return;
2006
- n.ttl = r, n.start = f, n.now = s || h();
2007
- let m = n.now - f;
2008
- n.remainingTTL = r - m;
2005
+ } : () => {
2006
+ };
2007
+ this.#z = (h, r) => {
2008
+ if (t[r]) {
2009
+ let a = t[r], w = e[r];
2010
+ if (!a || !w) return;
2011
+ h.ttl = a, h.start = w, h.now = n || o();
2012
+ let f = h.now - w;
2013
+ h.remainingTTL = a - f;
2009
2014
  }
2010
2015
  };
2011
- let s = 0, h = () => {
2012
- let n = this.#m.now();
2016
+ let n = 0, o = () => {
2017
+ let h = this.#m.now();
2013
2018
  if (this.ttlResolution > 0) {
2014
- s = n;
2015
- let o = setTimeout(() => s = 0, this.ttlResolution);
2016
- o.unref && o.unref();
2019
+ n = h;
2020
+ let r = setTimeout(() => n = 0, this.ttlResolution);
2021
+ r.unref && r.unref();
2017
2022
  }
2018
- return n;
2023
+ return h;
2019
2024
  };
2020
- this.getRemainingTTL = (n) => {
2021
- let o = this.#s.get(n);
2022
- if (o === void 0) return 0;
2023
- let r = t[o], f = e[o];
2024
- if (!r || !f) return 1 / 0;
2025
- let m = (s || h()) - f;
2026
- return r - m;
2027
- }, this.#p = (n) => {
2028
- let o = e[n], r = t[n];
2029
- return !!r && !!o && (s || h()) - o > r;
2025
+ this.getRemainingTTL = (h) => {
2026
+ let r = this.#s.get(h);
2027
+ if (r === void 0) return 0;
2028
+ let a = t[r], w = e[r];
2029
+ if (!a || !w) return 1 / 0;
2030
+ let f = (n || o()) - w;
2031
+ return a - f;
2032
+ }, this.#p = (h) => {
2033
+ let r = e[h], a = t[h];
2034
+ return !!a && !!r && (n || o()) - r > a;
2030
2035
  };
2031
2036
  }
2032
2037
  #R = () => {
@@ -2040,24 +2045,24 @@ var L = class a2 {
2040
2045
  let t = new z(this.#o);
2041
2046
  this.#_ = 0, this.#y = t, this.#W = (e) => {
2042
2047
  this.#_ -= t[e], t[e] = 0;
2043
- }, this.#P = (e, i, s, h) => {
2048
+ }, this.#P = (e, i, s, n) => {
2044
2049
  if (this.#e(i)) return 0;
2045
- if (!y(s)) if (h) {
2046
- if (typeof h != "function") throw new TypeError("sizeCalculation must be a function");
2047
- if (s = h(i, e), !y(s)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
2050
+ if (!y(s)) if (n) {
2051
+ if (typeof n != "function") throw new TypeError("sizeCalculation must be a function");
2052
+ if (s = n(i, e), !y(s)) throw new TypeError("sizeCalculation return invalid (expect positive integer)");
2048
2053
  } else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");
2049
2054
  return s;
2050
- }, this.#U = (e, i, s) => {
2055
+ }, this.#M = (e, i, s) => {
2051
2056
  if (t[e] = i, this.#c) {
2052
- let h = this.#c - t[e];
2053
- for (; this.#_ > h; ) this.#M(true);
2057
+ let n = this.#c - t[e];
2058
+ for (; this.#_ > n; ) this.#x(true);
2054
2059
  }
2055
2060
  this.#_ += t[e], s && (s.entrySize = i, s.totalCalculatedSize = this.#_);
2056
2061
  };
2057
2062
  }
2058
2063
  #W = (t) => {
2059
2064
  };
2060
- #U = (t, e, i) => {
2065
+ #M = (t, e, i) => {
2061
2066
  };
2062
2067
  #P = (t, e, i, s) => {
2063
2068
  if (i || s) throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");
@@ -2102,20 +2107,20 @@ var L = class a2 {
2102
2107
  [Symbol.toStringTag] = "LRUCache";
2103
2108
  find(t, e = {}) {
2104
2109
  for (let i of this.#F()) {
2105
- let s = this.#t[i], h = this.#e(s) ? s.__staleWhileFetching : s;
2106
- if (h !== void 0 && t(h, this.#i[i], this)) return this.get(this.#i[i], e);
2110
+ let s = this.#t[i], n = this.#e(s) ? s.__staleWhileFetching : s;
2111
+ if (n !== void 0 && t(n, this.#i[i], this)) return this.get(this.#i[i], e);
2107
2112
  }
2108
2113
  }
2109
2114
  forEach(t, e = this) {
2110
2115
  for (let i of this.#F()) {
2111
- let s = this.#t[i], h = this.#e(s) ? s.__staleWhileFetching : s;
2112
- h !== void 0 && t.call(e, h, this.#i[i], this);
2116
+ let s = this.#t[i], n = this.#e(s) ? s.__staleWhileFetching : s;
2117
+ n !== void 0 && t.call(e, n, this.#i[i], this);
2113
2118
  }
2114
2119
  }
2115
2120
  rforEach(t, e = this) {
2116
2121
  for (let i of this.#O()) {
2117
- let s = this.#t[i], h = this.#e(s) ? s.__staleWhileFetching : s;
2118
- h !== void 0 && t.call(e, h, this.#i[i], this);
2122
+ let s = this.#t[i], n = this.#e(s) ? s.__staleWhileFetching : s;
2123
+ n !== void 0 && t.call(e, n, this.#i[i], this);
2119
2124
  }
2120
2125
  }
2121
2126
  purgeStale() {
@@ -2128,28 +2133,28 @@ var L = class a2 {
2128
2133
  if (e === void 0) return;
2129
2134
  let i = this.#t[e], s = this.#e(i) ? i.__staleWhileFetching : i;
2130
2135
  if (s === void 0) return;
2131
- let h = { value: s };
2136
+ let n = { value: s };
2132
2137
  if (this.#d && this.#A) {
2133
- let n = this.#d[e], o = this.#A[e];
2134
- if (n && o) {
2135
- let r = n - (this.#m.now() - o);
2136
- h.ttl = r, h.start = Date.now();
2138
+ let o = this.#d[e], h = this.#A[e];
2139
+ if (o && h) {
2140
+ let r = o - (this.#m.now() - h);
2141
+ n.ttl = r, n.start = Date.now();
2137
2142
  }
2138
2143
  }
2139
- return this.#y && (h.size = this.#y[e]), h;
2144
+ return this.#y && (n.size = this.#y[e]), n;
2140
2145
  }
2141
2146
  dump() {
2142
2147
  let t = [];
2143
2148
  for (let e of this.#F({ allowStale: true })) {
2144
- let i = this.#i[e], s = this.#t[e], h = this.#e(s) ? s.__staleWhileFetching : s;
2145
- if (h === void 0 || i === void 0) continue;
2146
- let n = { value: h };
2149
+ let i = this.#i[e], s = this.#t[e], n = this.#e(s) ? s.__staleWhileFetching : s;
2150
+ if (n === void 0 || i === void 0) continue;
2151
+ let o = { value: n };
2147
2152
  if (this.#d && this.#A) {
2148
- n.ttl = this.#d[e];
2149
- let o = this.#m.now() - this.#A[e];
2150
- n.start = Math.floor(Date.now() - o);
2153
+ o.ttl = this.#d[e];
2154
+ let h = this.#m.now() - this.#A[e];
2155
+ o.start = Math.floor(Date.now() - h);
2151
2156
  }
2152
- this.#y && (n.size = this.#y[e]), t.unshift([i, n]);
2157
+ this.#y && (o.size = this.#y[e]), t.unshift([i, o]);
2153
2158
  }
2154
2159
  return t;
2155
2160
  }
@@ -2165,28 +2170,28 @@ var L = class a2 {
2165
2170
  }
2166
2171
  set(t, e, i = {}) {
2167
2172
  if (e === void 0) return this.delete(t), this;
2168
- let { ttl: s = this.ttl, start: h, noDisposeOnSet: n = this.noDisposeOnSet, sizeCalculation: o = this.sizeCalculation, status: r } = i, { noUpdateTTL: f = this.noUpdateTTL } = i, m = this.#P(t, e, i.size || 0, o);
2169
- if (this.maxEntrySize && m > this.maxEntrySize) return r && (r.set = "miss", r.maxEntrySizeExceeded = true), this.#E(t, "set"), this;
2170
- let c = this.#n === 0 ? void 0 : this.#s.get(t);
2171
- if (c === void 0) c = this.#n === 0 ? this.#h : this.#b.length !== 0 ? this.#b.pop() : this.#n === this.#o ? this.#M(false) : this.#n, this.#i[c] = t, this.#t[c] = e, this.#s.set(t, c), this.#a[this.#h] = c, this.#u[c] = this.#h, this.#h = c, this.#n++, this.#U(c, m, r), r && (r.set = "add"), f = false, this.#x && this.#C?.(e, t, "add");
2173
+ let { ttl: s = this.ttl, start: n, noDisposeOnSet: o = this.noDisposeOnSet, sizeCalculation: h = this.sizeCalculation, status: r } = i, { noUpdateTTL: a = this.noUpdateTTL } = i, w = this.#P(t, e, i.size || 0, h);
2174
+ if (this.maxEntrySize && w > this.maxEntrySize) return r && (r.set = "miss", r.maxEntrySizeExceeded = true), this.#E(t, "set"), this;
2175
+ let f = this.#n === 0 ? void 0 : this.#s.get(t);
2176
+ if (f === void 0) f = this.#n === 0 ? this.#h : this.#b.length !== 0 ? this.#b.pop() : this.#n === this.#o ? this.#x(false) : this.#n, this.#i[f] = t, this.#t[f] = e, this.#s.set(t, f), this.#a[this.#h] = f, this.#u[f] = this.#h, this.#h = f, this.#n++, this.#M(f, w, r), r && (r.set = "add"), a = false, this.#U && this.#C?.(e, t, "add");
2172
2177
  else {
2173
- this.#D(c);
2174
- let d = this.#t[c];
2178
+ this.#D(f);
2179
+ let d = this.#t[f];
2175
2180
  if (e !== d) {
2176
2181
  if (this.#v && this.#e(d)) {
2177
2182
  d.__abortController.abort(new Error("replaced"));
2178
2183
  let { __staleWhileFetching: g } = d;
2179
- g !== void 0 && !n && (this.#T && this.#w?.(g, t, "set"), this.#f && this.#r?.push([g, t, "set"]));
2180
- } else n || (this.#T && this.#w?.(d, t, "set"), this.#f && this.#r?.push([d, t, "set"]));
2181
- if (this.#W(c), this.#U(c, m, r), this.#t[c] = e, r) {
2184
+ g !== void 0 && !o && (this.#T && this.#w?.(g, t, "set"), this.#f && this.#r?.push([g, t, "set"]));
2185
+ } else o || (this.#T && this.#w?.(d, t, "set"), this.#f && this.#r?.push([d, t, "set"]));
2186
+ if (this.#W(f), this.#M(f, w, r), this.#t[f] = e, r) {
2182
2187
  r.set = "replace";
2183
2188
  let g = d && this.#e(d) ? d.__staleWhileFetching : d;
2184
2189
  g !== void 0 && (r.oldValue = g);
2185
2190
  }
2186
2191
  } else r && (r.set = "update");
2187
- this.#x && this.onInsert?.(e, t, e === d ? "update" : "replace");
2192
+ this.#U && this.onInsert?.(e, t, e === d ? "update" : "replace");
2188
2193
  }
2189
- if (s !== 0 && !this.#d && this.#j(), this.#d && (f || this.#N(c, s, h), r && this.#z(r, c)), !n && this.#f && this.#r) {
2194
+ if (s !== 0 && !this.#d && this.#j(), this.#d && (a || this.#N(f, s, n), r && this.#z(r, f)), !o && this.#f && this.#r) {
2190
2195
  let d = this.#r, g;
2191
2196
  for (; g = d?.shift(); ) this.#S?.(...g);
2192
2197
  }
@@ -2196,7 +2201,7 @@ var L = class a2 {
2196
2201
  try {
2197
2202
  for (; this.#n; ) {
2198
2203
  let t = this.#t[this.#l];
2199
- if (this.#M(true), this.#e(t)) {
2204
+ if (this.#x(true), this.#e(t)) {
2200
2205
  if (t.__staleWhileFetching) return t.__staleWhileFetching;
2201
2206
  } else if (t !== void 0) return t;
2202
2207
  }
@@ -2207,48 +2212,48 @@ var L = class a2 {
2207
2212
  }
2208
2213
  }
2209
2214
  }
2210
- #M(t) {
2215
+ #x(t) {
2211
2216
  let e = this.#l, i = this.#i[e], s = this.#t[e];
2212
2217
  return this.#v && this.#e(s) ? s.__abortController.abort(new Error("evicted")) : (this.#T || this.#f) && (this.#T && this.#w?.(s, i, "evict"), this.#f && this.#r?.push([s, i, "evict"])), this.#W(e), this.#g?.[e] && (clearTimeout(this.#g[e]), this.#g[e] = void 0), t && (this.#i[e] = void 0, this.#t[e] = void 0, this.#b.push(e)), this.#n === 1 ? (this.#l = this.#h = 0, this.#b.length = 0) : this.#l = this.#a[e], this.#s.delete(i), this.#n--, e;
2213
2218
  }
2214
2219
  has(t, e = {}) {
2215
- let { updateAgeOnHas: i = this.updateAgeOnHas, status: s } = e, h = this.#s.get(t);
2216
- if (h !== void 0) {
2217
- let n = this.#t[h];
2218
- if (this.#e(n) && n.__staleWhileFetching === void 0) return false;
2219
- if (this.#p(h)) s && (s.has = "stale", this.#z(s, h));
2220
- else return i && this.#R(h), s && (s.has = "hit", this.#z(s, h)), true;
2220
+ let { updateAgeOnHas: i = this.updateAgeOnHas, status: s } = e, n = this.#s.get(t);
2221
+ if (n !== void 0) {
2222
+ let o = this.#t[n];
2223
+ if (this.#e(o) && o.__staleWhileFetching === void 0) return false;
2224
+ if (this.#p(n)) s && (s.has = "stale", this.#z(s, n));
2225
+ else return i && this.#R(n), s && (s.has = "hit", this.#z(s, n)), true;
2221
2226
  } else s && (s.has = "miss");
2222
2227
  return false;
2223
2228
  }
2224
2229
  peek(t, e = {}) {
2225
2230
  let { allowStale: i = this.allowStale } = e, s = this.#s.get(t);
2226
2231
  if (s === void 0 || !i && this.#p(s)) return;
2227
- let h = this.#t[s];
2228
- return this.#e(h) ? h.__staleWhileFetching : h;
2232
+ let n = this.#t[s];
2233
+ return this.#e(n) ? n.__staleWhileFetching : n;
2229
2234
  }
2230
2235
  #G(t, e, i, s) {
2231
- let h = e === void 0 ? void 0 : this.#t[e];
2232
- if (this.#e(h)) return h;
2233
- let n = new C(), { signal: o } = i;
2234
- o?.addEventListener("abort", () => n.abort(o.reason), { signal: n.signal });
2235
- let r = { signal: n.signal, options: i, context: s }, f = (p, _ = false) => {
2236
- let { aborted: l } = n.signal, w = i.ignoreFetchAbort && p !== void 0, b = i.ignoreFetchAbort || !!(i.allowStaleOnFetchAbort && p !== void 0);
2237
- if (i.status && (l && !_ ? (i.status.fetchAborted = true, i.status.fetchError = n.signal.reason, w && (i.status.fetchAbortIgnored = true)) : i.status.fetchResolved = true), l && !w && !_) return c(n.signal.reason, b);
2238
- let S = g, u = this.#t[e];
2239
- return (u === g || w && _ && u === void 0) && (p === void 0 ? S.__staleWhileFetching !== void 0 ? this.#t[e] = S.__staleWhileFetching : this.#E(t, "fetch") : (i.status && (i.status.fetchUpdated = true), this.set(t, p, r.options))), p;
2240
- }, m = (p) => (i.status && (i.status.fetchRejected = true, i.status.fetchError = p), c(p, false)), c = (p, _) => {
2241
- let { aborted: l } = n.signal, w = l && i.allowStaleOnFetchAbort, b = w || i.allowStaleOnFetchRejection, S = b || i.noDeleteOnFetchRejection, u = g;
2242
- if (this.#t[e] === g && (!S || !_ && u.__staleWhileFetching === void 0 ? this.#E(t, "fetch") : w || (this.#t[e] = u.__staleWhileFetching)), b) return i.status && u.__staleWhileFetching !== void 0 && (i.status.returnedStale = true), u.__staleWhileFetching;
2236
+ let n = e === void 0 ? void 0 : this.#t[e];
2237
+ if (this.#e(n)) return n;
2238
+ let o = new C(), { signal: h } = i;
2239
+ h?.addEventListener("abort", () => o.abort(h.reason), { signal: o.signal });
2240
+ let r = { signal: o.signal, options: i, context: s }, a = (p, _ = false) => {
2241
+ let { aborted: l } = o.signal, S = i.ignoreFetchAbort && p !== void 0, b = i.ignoreFetchAbort || !!(i.allowStaleOnFetchAbort && p !== void 0);
2242
+ if (i.status && (l && !_ ? (i.status.fetchAborted = true, i.status.fetchError = o.signal.reason, S && (i.status.fetchAbortIgnored = true)) : i.status.fetchResolved = true), l && !S && !_) return f(o.signal.reason, b);
2243
+ let m = g, u = this.#t[e];
2244
+ return (u === g || S && _ && u === void 0) && (p === void 0 ? m.__staleWhileFetching !== void 0 ? this.#t[e] = m.__staleWhileFetching : this.#E(t, "fetch") : (i.status && (i.status.fetchUpdated = true), this.set(t, p, r.options))), p;
2245
+ }, w = (p) => (i.status && (i.status.fetchRejected = true, i.status.fetchError = p), f(p, false)), f = (p, _) => {
2246
+ let { aborted: l } = o.signal, S = l && i.allowStaleOnFetchAbort, b = S || i.allowStaleOnFetchRejection, m = b || i.noDeleteOnFetchRejection, u = g;
2247
+ if (this.#t[e] === g && (!m || !_ && u.__staleWhileFetching === void 0 ? this.#E(t, "fetch") : S || (this.#t[e] = u.__staleWhileFetching)), b) return i.status && u.__staleWhileFetching !== void 0 && (i.status.returnedStale = true), u.__staleWhileFetching;
2243
2248
  if (u.__returned === u) throw p;
2244
2249
  }, d = (p, _) => {
2245
- let l = this.#L?.(t, h, r);
2246
- l && l instanceof Promise && l.then((w) => p(w === void 0 ? void 0 : w), _), n.signal.addEventListener("abort", () => {
2247
- (!i.ignoreFetchAbort || i.allowStaleOnFetchAbort) && (p(void 0), i.allowStaleOnFetchAbort && (p = (w) => f(w, true)));
2250
+ let l = this.#L?.(t, n, r);
2251
+ l && l instanceof Promise && l.then((S) => p(S === void 0 ? void 0 : S), _), o.signal.addEventListener("abort", () => {
2252
+ (!i.ignoreFetchAbort || i.allowStaleOnFetchAbort) && (p(void 0), i.allowStaleOnFetchAbort && (p = (S) => a(S, true)));
2248
2253
  });
2249
2254
  };
2250
2255
  i.status && (i.status.fetchDispatched = true);
2251
- let g = new Promise(d).then(f, m), A = Object.assign(g, { __abortController: n, __staleWhileFetching: h, __returned: void 0 });
2256
+ let g = new Promise(d).then(a, w), A = Object.assign(g, { __abortController: o, __staleWhileFetching: n, __returned: void 0 });
2252
2257
  return e === void 0 ? (this.set(t, A, { ...r.options, status: void 0 }), e = this.#s.get(t)) : this.#t[e] = A, A;
2253
2258
  }
2254
2259
  #e(t) {
@@ -2257,22 +2262,22 @@ var L = class a2 {
2257
2262
  return !!e && e instanceof Promise && e.hasOwnProperty("__staleWhileFetching") && e.__abortController instanceof C;
2258
2263
  }
2259
2264
  async fetch(t, e = {}) {
2260
- let { allowStale: i = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: h = this.noDeleteOnStaleGet, ttl: n = this.ttl, noDisposeOnSet: o = this.noDisposeOnSet, size: r = 0, sizeCalculation: f = this.sizeCalculation, noUpdateTTL: m = this.noUpdateTTL, noDeleteOnFetchRejection: c = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: d = this.allowStaleOnFetchRejection, ignoreFetchAbort: g = this.ignoreFetchAbort, allowStaleOnFetchAbort: A = this.allowStaleOnFetchAbort, context: p, forceRefresh: _ = false, status: l, signal: w } = e;
2261
- if (!this.#v) return l && (l.fetch = "get"), this.get(t, { allowStale: i, updateAgeOnGet: s, noDeleteOnStaleGet: h, status: l });
2262
- let b = { allowStale: i, updateAgeOnGet: s, noDeleteOnStaleGet: h, ttl: n, noDisposeOnSet: o, size: r, sizeCalculation: f, noUpdateTTL: m, noDeleteOnFetchRejection: c, allowStaleOnFetchRejection: d, allowStaleOnFetchAbort: A, ignoreFetchAbort: g, status: l, signal: w }, S = this.#s.get(t);
2263
- if (S === void 0) {
2265
+ let { allowStale: i = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, ttl: o = this.ttl, noDisposeOnSet: h = this.noDisposeOnSet, size: r = 0, sizeCalculation: a = this.sizeCalculation, noUpdateTTL: w = this.noUpdateTTL, noDeleteOnFetchRejection: f = this.noDeleteOnFetchRejection, allowStaleOnFetchRejection: d = this.allowStaleOnFetchRejection, ignoreFetchAbort: g = this.ignoreFetchAbort, allowStaleOnFetchAbort: A = this.allowStaleOnFetchAbort, context: p, forceRefresh: _ = false, status: l, signal: S } = e;
2266
+ if (!this.#v) return l && (l.fetch = "get"), this.get(t, { allowStale: i, updateAgeOnGet: s, noDeleteOnStaleGet: n, status: l });
2267
+ let b = { allowStale: i, updateAgeOnGet: s, noDeleteOnStaleGet: n, ttl: o, noDisposeOnSet: h, size: r, sizeCalculation: a, noUpdateTTL: w, noDeleteOnFetchRejection: f, allowStaleOnFetchRejection: d, allowStaleOnFetchAbort: A, ignoreFetchAbort: g, status: l, signal: S }, m = this.#s.get(t);
2268
+ if (m === void 0) {
2264
2269
  l && (l.fetch = "miss");
2265
- let u = this.#G(t, S, b, p);
2270
+ let u = this.#G(t, m, b, p);
2266
2271
  return u.__returned = u;
2267
2272
  } else {
2268
- let u = this.#t[S];
2273
+ let u = this.#t[m];
2269
2274
  if (this.#e(u)) {
2270
2275
  let E = i && u.__staleWhileFetching !== void 0;
2271
2276
  return l && (l.fetch = "inflight", E && (l.returnedStale = true)), E ? u.__staleWhileFetching : u.__returned = u;
2272
2277
  }
2273
- let T = this.#p(S);
2274
- if (!_ && !T) return l && (l.fetch = "hit"), this.#D(S), s && this.#R(S), l && this.#z(l, S), u;
2275
- let F = this.#G(t, S, b, p), O = F.__staleWhileFetching !== void 0 && i;
2278
+ let T = this.#p(m);
2279
+ if (!_ && !T) return l && (l.fetch = "hit"), this.#D(m), s && this.#R(m), l && this.#z(l, m), u;
2280
+ let F = this.#G(t, m, b, p), O = F.__staleWhileFetching !== void 0 && i;
2276
2281
  return l && (l.fetch = T ? "stale" : "refresh", O && T && (l.returnedStale = true)), O ? F.__staleWhileFetching : F.__returned = F;
2277
2282
  }
2278
2283
  }
@@ -2284,17 +2289,17 @@ var L = class a2 {
2284
2289
  memo(t, e = {}) {
2285
2290
  let i = this.#I;
2286
2291
  if (!i) throw new Error("no memoMethod provided to constructor");
2287
- let { context: s, forceRefresh: h, ...n } = e, o = this.get(t, n);
2288
- if (!h && o !== void 0) return o;
2289
- let r = i(t, o, { options: n, context: s });
2290
- return this.set(t, r, n), r;
2292
+ let { context: s, forceRefresh: n, ...o } = e, h = this.get(t, o);
2293
+ if (!n && h !== void 0) return h;
2294
+ let r = i(t, h, { options: o, context: s });
2295
+ return this.set(t, r, o), r;
2291
2296
  }
2292
2297
  get(t, e = {}) {
2293
- let { allowStale: i = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: h = this.noDeleteOnStaleGet, status: n } = e, o = this.#s.get(t);
2294
- if (o !== void 0) {
2295
- let r = this.#t[o], f = this.#e(r);
2296
- return n && this.#z(n, o), this.#p(o) ? (n && (n.get = "stale"), f ? (n && i && r.__staleWhileFetching !== void 0 && (n.returnedStale = true), i ? r.__staleWhileFetching : void 0) : (h || this.#E(t, "expire"), n && i && (n.returnedStale = true), i ? r : void 0)) : (n && (n.get = "hit"), f ? r.__staleWhileFetching : (this.#D(o), s && this.#R(o), r));
2297
- } else n && (n.get = "miss");
2298
+ let { allowStale: i = this.allowStale, updateAgeOnGet: s = this.updateAgeOnGet, noDeleteOnStaleGet: n = this.noDeleteOnStaleGet, status: o } = e, h = this.#s.get(t);
2299
+ if (h !== void 0) {
2300
+ let r = this.#t[h], a = this.#e(r);
2301
+ return o && this.#z(o, h), this.#p(h) ? (o && (o.get = "stale"), a ? (o && i && r.__staleWhileFetching !== void 0 && (o.returnedStale = true), i ? r.__staleWhileFetching : void 0) : (n || this.#E(t, "expire"), o && i && (o.returnedStale = true), i ? r : void 0)) : (o && (o.get = "hit"), a ? r.__staleWhileFetching : (this.#D(h), s && this.#R(h), r));
2302
+ } else o && (o.get = "miss");
2298
2303
  }
2299
2304
  #k(t, e) {
2300
2305
  this.#u[e] = t, this.#a[t] = e;
@@ -2312,21 +2317,21 @@ var L = class a2 {
2312
2317
  if (s !== void 0) if (this.#g?.[s] && (clearTimeout(this.#g?.[s]), this.#g[s] = void 0), i = true, this.#n === 1) this.#V(e);
2313
2318
  else {
2314
2319
  this.#W(s);
2315
- let h = this.#t[s];
2316
- if (this.#e(h) ? h.__abortController.abort(new Error("deleted")) : (this.#T || this.#f) && (this.#T && this.#w?.(h, t, e), this.#f && this.#r?.push([h, t, e])), this.#s.delete(t), this.#i[s] = void 0, this.#t[s] = void 0, s === this.#h) this.#h = this.#u[s];
2320
+ let n = this.#t[s];
2321
+ if (this.#e(n) ? n.__abortController.abort(new Error("deleted")) : (this.#T || this.#f) && (this.#T && this.#w?.(n, t, e), this.#f && this.#r?.push([n, t, e])), this.#s.delete(t), this.#i[s] = void 0, this.#t[s] = void 0, s === this.#h) this.#h = this.#u[s];
2317
2322
  else if (s === this.#l) this.#l = this.#a[s];
2318
2323
  else {
2319
- let n = this.#u[s];
2320
- this.#a[n] = this.#a[s];
2321
- let o = this.#a[s];
2322
- this.#u[o] = this.#u[s];
2324
+ let o = this.#u[s];
2325
+ this.#a[o] = this.#a[s];
2326
+ let h = this.#a[s];
2327
+ this.#u[h] = this.#u[s];
2323
2328
  }
2324
2329
  this.#n--, this.#b.push(s);
2325
2330
  }
2326
2331
  }
2327
2332
  if (this.#f && this.#r?.length) {
2328
- let s = this.#r, h;
2329
- for (; h = s?.shift(); ) this.#S?.(...h);
2333
+ let s = this.#r, n;
2334
+ for (; n = s?.shift(); ) this.#S?.(...n);
2330
2335
  }
2331
2336
  return i;
2332
2337
  }
@@ -2571,8 +2576,8 @@ var Minipass = class extends EventEmitter {
2571
2576
  * behavior. Ie, a sync stream can be made async, but an async stream
2572
2577
  * cannot be safely made sync.
2573
2578
  */
2574
- set ["async"](a3) {
2575
- this[ASYNC] = this[ASYNC] || !!a3;
2579
+ set ["async"](a) {
2580
+ this[ASYNC] = this[ASYNC] || !!a;
2576
2581
  }
2577
2582
  // drop everything and get out of the flow completely
2578
2583
  [ABORT]() {
@@ -2692,16 +2697,16 @@ var Minipass = class extends EventEmitter {
2692
2697
  if (this[OBJECTMODE])
2693
2698
  this[BUFFERSHIFT]();
2694
2699
  else {
2695
- const c = chunk;
2696
- if (n === c.length || n === null)
2700
+ const c3 = chunk;
2701
+ if (n === c3.length || n === null)
2697
2702
  this[BUFFERSHIFT]();
2698
- else if (typeof c === "string") {
2699
- this[BUFFER][0] = c.slice(n);
2700
- chunk = c.slice(0, n);
2703
+ else if (typeof c3 === "string") {
2704
+ this[BUFFER][0] = c3.slice(n);
2705
+ chunk = c3.slice(0, n);
2701
2706
  this[BUFFERLENGTH] -= n;
2702
2707
  } else {
2703
- this[BUFFER][0] = c.subarray(n);
2704
- chunk = c.subarray(0, n);
2708
+ this[BUFFER][0] = c3.subarray(n);
2709
+ chunk = c3.subarray(0, n);
2705
2710
  this[BUFFERLENGTH] -= n;
2706
2711
  }
2707
2712
  }
@@ -3065,10 +3070,10 @@ var Minipass = class extends EventEmitter {
3065
3070
  if (!this[OBJECTMODE])
3066
3071
  buf.dataLength = 0;
3067
3072
  const p = this.promise();
3068
- this.on("data", (c) => {
3069
- buf.push(c);
3073
+ this.on("data", (c3) => {
3074
+ buf.push(c3);
3070
3075
  if (!this[OBJECTMODE])
3071
- buf.dataLength += c.length;
3076
+ buf.dataLength += c3.length;
3072
3077
  });
3073
3078
  await p;
3074
3079
  return buf;
@@ -3290,18 +3295,18 @@ var TYPEMASK = 1023;
3290
3295
  var entToType = (s) => s.isFile() ? IFREG : s.isDirectory() ? IFDIR : s.isSymbolicLink() ? IFLNK : s.isCharacterDevice() ? IFCHR : s.isBlockDevice() ? IFBLK : s.isSocket() ? IFSOCK : s.isFIFO() ? IFIFO : UNKNOWN;
3291
3296
  var normalizeCache = new L({ max: 2 ** 12 });
3292
3297
  var normalize = (s) => {
3293
- const c = normalizeCache.get(s);
3294
- if (c)
3295
- return c;
3298
+ const c3 = normalizeCache.get(s);
3299
+ if (c3)
3300
+ return c3;
3296
3301
  const n = s.normalize("NFKD");
3297
3302
  normalizeCache.set(s, n);
3298
3303
  return n;
3299
3304
  };
3300
3305
  var normalizeNocaseCache = new L({ max: 2 ** 12 });
3301
3306
  var normalizeNocase = (s) => {
3302
- const c = normalizeNocaseCache.get(s);
3303
- if (c)
3304
- return c;
3307
+ const c3 = normalizeNocaseCache.get(s);
3308
+ if (c3)
3309
+ return c3;
3305
3310
  const n = normalize(s.toLowerCase());
3306
3311
  normalizeNocaseCache.set(s, n);
3307
3312
  return n;
@@ -3316,7 +3321,7 @@ var ChildrenCache = class extends L {
3316
3321
  super({
3317
3322
  maxSize,
3318
3323
  // parent + children
3319
- sizeCalculation: (a3) => a3.length + 1
3324
+ sizeCalculation: (a) => a.length + 1
3320
3325
  });
3321
3326
  }
3322
3327
  };
@@ -3871,9 +3876,9 @@ var PathBase = class {
3871
3876
  #readdirSuccess(children) {
3872
3877
  this.#type |= READDIR_CALLED;
3873
3878
  for (let p = children.provisional; p < children.length; p++) {
3874
- const c = children[p];
3875
- if (c)
3876
- c.#markENOENT();
3879
+ const c3 = children[p];
3880
+ if (c3)
3881
+ c3.#markENOENT();
3877
3882
  }
3878
3883
  }
3879
3884
  #markENOENT() {
@@ -3933,43 +3938,43 @@ var PathBase = class {
3933
3938
  this.parent.#markENOTDIR();
3934
3939
  }
3935
3940
  }
3936
- #readdirAddChild(e, c) {
3937
- return this.#readdirMaybePromoteChild(e, c) || this.#readdirAddNewChild(e, c);
3941
+ #readdirAddChild(e, c3) {
3942
+ return this.#readdirMaybePromoteChild(e, c3) || this.#readdirAddNewChild(e, c3);
3938
3943
  }
3939
- #readdirAddNewChild(e, c) {
3944
+ #readdirAddNewChild(e, c3) {
3940
3945
  const type = entToType(e);
3941
3946
  const child = this.newChild(e.name, type, { parent: this });
3942
3947
  const ifmt = child.#type & IFMT;
3943
3948
  if (ifmt !== IFDIR && ifmt !== IFLNK && ifmt !== UNKNOWN) {
3944
3949
  child.#type |= ENOTDIR;
3945
3950
  }
3946
- c.unshift(child);
3947
- c.provisional++;
3951
+ c3.unshift(child);
3952
+ c3.provisional++;
3948
3953
  return child;
3949
3954
  }
3950
- #readdirMaybePromoteChild(e, c) {
3951
- for (let p = c.provisional; p < c.length; p++) {
3952
- const pchild = c[p];
3955
+ #readdirMaybePromoteChild(e, c3) {
3956
+ for (let p = c3.provisional; p < c3.length; p++) {
3957
+ const pchild = c3[p];
3953
3958
  const name = this.nocase ? normalizeNocase(e.name) : normalize(e.name);
3954
3959
  if (name !== pchild.#matchName) {
3955
3960
  continue;
3956
3961
  }
3957
- return this.#readdirPromoteChild(e, pchild, p, c);
3962
+ return this.#readdirPromoteChild(e, pchild, p, c3);
3958
3963
  }
3959
3964
  }
3960
- #readdirPromoteChild(e, p, index, c) {
3965
+ #readdirPromoteChild(e, p, index, c3) {
3961
3966
  const v = p.name;
3962
3967
  p.#type = p.#type & IFMT_UNKNOWN | entToType(e);
3963
3968
  if (v !== e.name)
3964
3969
  p.name = e.name;
3965
- if (index !== c.provisional) {
3966
- if (index === c.length - 1)
3967
- c.pop();
3970
+ if (index !== c3.provisional) {
3971
+ if (index === c3.length - 1)
3972
+ c3.pop();
3968
3973
  else
3969
- c.splice(index, 1);
3970
- c.unshift(p);
3974
+ c3.splice(index, 1);
3975
+ c3.unshift(p);
3971
3976
  }
3972
- c.provisional++;
3977
+ c3.provisional++;
3973
3978
  return p;
3974
3979
  }
3975
3980
  /**
@@ -4070,11 +4075,11 @@ var PathBase = class {
4070
4075
  }
4071
4076
  const children = this.children();
4072
4077
  if (this.calledReaddir()) {
4073
- const c = children.slice(0, children.provisional);
4078
+ const c3 = children.slice(0, children.provisional);
4074
4079
  if (allowZalgo)
4075
- cb(null, c);
4080
+ cb(null, c3);
4076
4081
  else
4077
- queueMicrotask(() => cb(null, c));
4082
+ queueMicrotask(() => cb(null, c3));
4078
4083
  return;
4079
4084
  }
4080
4085
  this.#onReaddirCB.push(cb);
@@ -5325,8 +5330,8 @@ var Processor = class _Processor {
5325
5330
  let rest;
5326
5331
  let changed = false;
5327
5332
  while (typeof (p = pattern.pattern()) === "string" && (rest = pattern.rest())) {
5328
- const c = t.resolve(p);
5329
- t = c;
5333
+ const c3 = t.resolve(p);
5334
+ t = c3;
5330
5335
  pattern = rest;
5331
5336
  changed = true;
5332
5337
  }