updates 16.3.2 → 16.3.4

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 (2) hide show
  1. package/dist/index.js +592 -572
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,24 +1,24 @@
1
1
  #!/usr/bin/env node
2
2
  import Gr from "url";
3
- import vs from "fs";
3
+ import ws from "fs";
4
4
  import Ur from "path";
5
- import sn, { argv as As, env as Me, stdout as Rs, exit as Rn, cwd as bs } from "node:process";
6
- import { dirname as Mr, resolve as rt, basename as st, join as on } from "node:path";
7
- import { readFileSync as bn, truncateSync as Ss, writeFileSync as _s, lstatSync as Sn, accessSync as Os } from "node:fs";
8
- import Ts from "node:os";
5
+ import rn, { argv as vs, env as Pe, stdout as As, exit as Rn, cwd as Rs } from "node:process";
6
+ import { dirname as sn, resolve as rt, basename as st, join as on } from "node:path";
7
+ import { readFileSync as bn, truncateSync as bs, writeFileSync as Ss, lstatSync as Sn, accessSync as _s } from "node:fs";
8
+ import Os from "node:os";
9
9
  import _n from "node:tty";
10
- import { execFileSync as xs } from "node:child_process";
11
- function Is({ onlyFirst: t = !1 } = {}) {
10
+ import { execFileSync as Ts } from "node:child_process";
11
+ function xs({ onlyFirst: t = !1 } = {}) {
12
12
  const e = [
13
13
  "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
14
14
  "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
15
15
  ].join("|");
16
16
  return new RegExp(e, t ? void 0 : "g");
17
17
  }
18
- function Ve(t) {
18
+ function Xe(t) {
19
19
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
20
20
  }
21
- function Cs(t, e) {
21
+ function Is(t, e) {
22
22
  var n = t;
23
23
  e.slice(0, -1).forEach(function(i) {
24
24
  n = n[i] || {};
@@ -32,7 +32,7 @@ function On(t) {
32
32
  function Tn(t, e) {
33
33
  return e === "constructor" && typeof t[e] == "function" || e === "__proto__";
34
34
  }
35
- var Br = function(t, e) {
35
+ var Mr = function(t, e) {
36
36
  e || (e = {});
37
37
  var n = {
38
38
  bools: {},
@@ -124,25 +124,25 @@ var Br = function(t, e) {
124
124
  }
125
125
  }
126
126
  return Object.keys(s).forEach(function(b) {
127
- Cs(o, b.split(".")) || (l(o, b.split("."), s[b]), (r[b] || []).forEach(function(L) {
127
+ Is(o, b.split(".")) || (l(o, b.split("."), s[b]), (r[b] || []).forEach(function(L) {
128
128
  l(o, L.split("."), s[b]);
129
129
  }));
130
130
  }), e["--"] ? o["--"] = c.slice() : c.forEach(function(b) {
131
131
  o._.push(b);
132
132
  }), o;
133
133
  };
134
- const Ls = /* @__PURE__ */ Ve(Br);
135
- function Ns(t) {
134
+ const Cs = /* @__PURE__ */ Xe(Mr);
135
+ function Ls(t) {
136
136
  return Buffer.from(t, "base64").toString("utf8");
137
137
  }
138
- function Ds(t) {
138
+ function Ns(t) {
139
139
  return Buffer.from(t, "utf8").toString("base64");
140
140
  }
141
- var Ps = {
142
- decodeBase64: Ns,
143
- encodeBase64: Ds
141
+ var Ds = {
142
+ decodeBase64: Ls,
143
+ encodeBase64: Ns
144
144
  }, be = {}, we = {}, xn;
145
- function Hs() {
145
+ function Ps() {
146
146
  if (xn) return we;
147
147
  xn = 1, we.parse = we.decode = r, we.stringify = we.encode = e, we.safe = s, we.unsafe = o;
148
148
  var t = typeof process < "u" && process.platform === "win32" ? `\r
@@ -248,7 +248,7 @@ function Hs() {
248
248
  return we;
249
249
  }
250
250
  var _t, In;
251
- function Fs() {
251
+ function Hs() {
252
252
  if (In) return _t;
253
253
  In = 1;
254
254
  var t = 1, e = 2;
@@ -288,10 +288,10 @@ function Fs() {
288
288
  }, _t;
289
289
  }
290
290
  var Cn;
291
- function js() {
291
+ function Fs() {
292
292
  if (Cn) return be;
293
293
  Cn = 1;
294
- var t = vs, e = Hs(), n = Ur, r = Fs(), i = be.parse = function(o) {
294
+ var t = ws, e = Ps(), n = Ur, r = Hs(), i = be.parse = function(o) {
295
295
  return /^\s*{/.test(o) ? JSON.parse(r(o)) : e.parse(o);
296
296
  }, s = be.file = function() {
297
297
  var o = [].slice.call(arguments).filter(function(u) {
@@ -339,7 +339,7 @@ function js() {
339
339
  }
340
340
  var Ot = { exports: {} };
341
341
  var Ln;
342
- function Gs() {
342
+ function js() {
343
343
  if (Ln) return Ot.exports;
344
344
  Ln = 1;
345
345
  function t(s) {
@@ -397,14 +397,14 @@ function Gs() {
397
397
  return Ot.exports;
398
398
  }
399
399
  var Tt, Nn;
400
- function zr() {
400
+ function Br() {
401
401
  if (Nn) return Tt;
402
402
  Nn = 1;
403
- var t = js(), e = Ur.join, n = Gs(), r = "/etc", i = process.platform === "win32", s = i ? process.env.USERPROFILE : process.env.HOME;
403
+ var t = Fs(), e = Ur.join, n = js(), r = "/etc", i = process.platform === "win32", s = i ? process.env.USERPROFILE : process.env.HOME;
404
404
  return Tt = function(o, a, l, u) {
405
405
  if (typeof o != "string")
406
406
  throw new Error("rc(name): name *must* be string");
407
- l || (l = Br(process.argv.slice(2))), a = (typeof a == "string" ? t.json(a) : a) || {}, u = u || t.parse;
407
+ l || (l = Mr(process.argv.slice(2))), a = (typeof a == "string" ? t.json(a) : a) || {}, u = u || t.parse;
408
408
  var c = t.env(o + "_"), p = [a], g = [];
409
409
  function f(S) {
410
410
  if (!(g.indexOf(S) >= 0)) {
@@ -427,40 +427,40 @@ function zr() {
427
427
  ]));
428
428
  }, Tt;
429
429
  }
430
- var xt = Gr, kr = Ps, Us = kr.decodeBase64, Ms = kr.encodeBase64, Dn = ":_authToken", Pn = ":_auth", Hn = ":username", Fn = ":_password", Bs = function() {
430
+ var xt = Gr, zr = Ds, Gs = zr.decodeBase64, Us = zr.encodeBase64, Dn = ":_authToken", Pn = ":_auth", Hn = ":username", Fn = ":_password", Ms = function() {
431
431
  var t, e;
432
- return arguments.length >= 2 ? (t = arguments[0], e = arguments[1]) : typeof arguments[0] == "string" ? t = arguments[0] : e = arguments[0], e = e || {}, e.npmrc = e.npmrc || zr()("npm", { registry: "https://registry.npmjs.org/" }, {
432
+ return arguments.length >= 2 ? (t = arguments[0], e = arguments[1]) : typeof arguments[0] == "string" ? t = arguments[0] : e = arguments[0], e = e || {}, e.npmrc = e.npmrc || Br()("npm", { registry: "https://registry.npmjs.org/" }, {
433
433
  config: process.env.npm_config_userconfig || process.env.NPM_CONFIG_USERCONFIG
434
- }), t = t || e.npmrc.registry, Wr(t, e) || zs(e.npmrc);
434
+ }), t = t || e.npmrc.registry, kr(t, e) || Bs(e.npmrc);
435
435
  };
436
- function Wr(t, e) {
436
+ function kr(t, e) {
437
437
  for (var n = xt.parse(t, !1, !0), r; r !== "/" && n.pathname !== r; ) {
438
438
  r = n.pathname || "/";
439
- var i = "//" + n.host + r.replace(/\/$/, ""), s = Ws(i, e.npmrc);
439
+ var i = "//" + n.host + r.replace(/\/$/, ""), s = ks(i, e.npmrc);
440
440
  if (s)
441
441
  return s;
442
442
  if (!e.recursive)
443
- return /\/$/.test(t) ? void 0 : Wr(xt.resolve(t, "."), e);
444
- n.pathname = xt.resolve(ks(r), "..") || "/";
443
+ return /\/$/.test(t) ? void 0 : kr(xt.resolve(t, "."), e);
444
+ n.pathname = xt.resolve(zs(r), "..") || "/";
445
445
  }
446
446
  }
447
- function zs(t) {
447
+ function Bs(t) {
448
448
  if (t._auth) {
449
449
  var e = dt(t._auth);
450
450
  return { token: e, type: "Basic" };
451
451
  }
452
452
  }
453
- function ks(t) {
453
+ function zs(t) {
454
454
  return t[t.length - 1] === "/" ? t : t + "/";
455
455
  }
456
- function Ws(t, e) {
456
+ function ks(t, e) {
457
457
  var n = Vs(e[t + Dn] || e[t + "/" + Dn]);
458
458
  if (n)
459
459
  return n;
460
- var r = e[t + Hn] || e[t + "/" + Hn], i = e[t + Fn] || e[t + "/" + Fn], s = Xs(r, i);
460
+ var r = e[t + Hn] || e[t + "/" + Hn], i = e[t + Fn] || e[t + "/" + Fn], s = Ws(r, i);
461
461
  if (s)
462
462
  return s;
463
- var o = qs(e[t + Pn] || e[t + "/" + Pn]);
463
+ var o = Xs(e[t + Pn] || e[t + "/" + Pn]);
464
464
  if (o)
465
465
  return o;
466
466
  }
@@ -475,9 +475,9 @@ function Vs(t) {
475
475
  return { token: e, type: "Bearer" };
476
476
  }
477
477
  }
478
- function Xs(t, e) {
478
+ function Ws(t, e) {
479
479
  if (!(!t || !e)) {
480
- var n = Us(dt(e)), r = Ms(t + ":" + n);
480
+ var n = Gs(dt(e)), r = Us(t + ":" + n);
481
481
  return {
482
482
  token: r,
483
483
  type: "Basic",
@@ -486,27 +486,27 @@ function Xs(t, e) {
486
486
  };
487
487
  }
488
488
  }
489
- function qs(t) {
489
+ function Xs(t) {
490
490
  if (t) {
491
491
  var e = dt(t);
492
492
  return { token: e, type: "Basic" };
493
493
  }
494
494
  }
495
- const Ks = /* @__PURE__ */ Ve(Bs);
496
- var Ys = zr();
497
- const Zs = /* @__PURE__ */ Ve(Ys);
495
+ const qs = /* @__PURE__ */ Xe(Ms);
496
+ var Ks = Br();
497
+ const Ys = /* @__PURE__ */ Xe(Ks);
498
498
  var Yt = { exports: {} };
499
- const Qs = "2.0.0", Js = 256, ei = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
500
- 9007199254740991, ti = 16;
499
+ const Zs = "2.0.0", Qs = 256, Js = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
500
+ 9007199254740991, ei = 16;
501
501
  var gt = {
502
- SEMVER_SPEC_VERSION: Qs,
503
- MAX_LENGTH: Js,
504
- MAX_SAFE_INTEGER: ei,
505
- MAX_SAFE_COMPONENT_LENGTH: ti
502
+ SEMVER_SPEC_VERSION: Zs,
503
+ MAX_LENGTH: Qs,
504
+ MAX_SAFE_INTEGER: Js,
505
+ MAX_SAFE_COMPONENT_LENGTH: ei
506
506
  };
507
- const ni = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...t) => console.error("SEMVER", ...t) : () => {
507
+ const ti = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...t) => console.error("SEMVER", ...t) : () => {
508
508
  };
509
- var mt = ni;
509
+ var mt = ti;
510
510
  (function(t, e) {
511
511
  const { MAX_SAFE_COMPONENT_LENGTH: n } = gt, r = mt;
512
512
  e = t.exports = {};
@@ -518,21 +518,21 @@ var mt = ni;
518
518
  };
519
519
  l("NUMERICIDENTIFIER", "0|[1-9]\\d*"), l("NUMERICIDENTIFIERLOOSE", "[0-9]+"), l("NONNUMERICIDENTIFIER", "\\d*[a-zA-Z-][a-zA-Z0-9-]*"), l("MAINVERSION", `(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`), l("MAINVERSIONLOOSE", `(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`), l("PRERELEASEIDENTIFIER", `(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`), l("PRERELEASEIDENTIFIERLOOSE", `(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`), l("PRERELEASE", `(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`), l("PRERELEASELOOSE", `(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`), l("BUILDIDENTIFIER", "[0-9A-Za-z-]+"), l("BUILD", `(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`), l("FULLPLAIN", `v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`), l("FULL", `^${s[o.FULLPLAIN]}$`), l("LOOSEPLAIN", `[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`), l("LOOSE", `^${s[o.LOOSEPLAIN]}$`), l("GTLT", "((?:<|>)?=?)"), l("XRANGEIDENTIFIERLOOSE", `${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), l("XRANGEIDENTIFIER", `${s[o.NUMERICIDENTIFIER]}|x|X|\\*`), l("XRANGEPLAIN", `[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`), l("XRANGEPLAINLOOSE", `[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`), l("XRANGE", `^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`), l("XRANGELOOSE", `^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`), l("COERCE", `(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`), l("COERCERTL", s[o.COERCE], !0), l("LONETILDE", "(?:~>?)"), l("TILDETRIM", `(\\s*)${s[o.LONETILDE]}\\s+`, !0), e.tildeTrimReplace = "$1~", l("TILDE", `^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`), l("TILDELOOSE", `^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`), l("LONECARET", "(?:\\^)"), l("CARETTRIM", `(\\s*)${s[o.LONECARET]}\\s+`, !0), e.caretTrimReplace = "$1^", l("CARET", `^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`), l("CARETLOOSE", `^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`), l("COMPARATORLOOSE", `^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`), l("COMPARATOR", `^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`), l("COMPARATORTRIM", `(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`, !0), e.comparatorTrimReplace = "$1$2$3", l("HYPHENRANGE", `^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`), l("HYPHENRANGELOOSE", `^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`), l("STAR", "(<|>)?=?\\s*\\*"), l("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), l("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
520
520
  })(Yt, Yt.exports);
521
- var Fe = Yt.exports;
522
- const ri = ["includePrerelease", "loose", "rtl"], si = (t) => t ? typeof t != "object" ? { loose: !0 } : ri.filter((e) => t[e]).reduce((e, n) => (e[n] = !0, e), {}) : {};
523
- var $t = si;
521
+ var Ge = Yt.exports;
522
+ const ni = ["includePrerelease", "loose", "rtl"], ri = (t) => t ? typeof t != "object" ? { loose: !0 } : ni.filter((e) => t[e]).reduce((e, n) => (e[n] = !0, e), {}) : {};
523
+ var $t = ri;
524
524
  const jn = /^[0-9]+$/, Vr = (t, e) => {
525
525
  const n = jn.test(t), r = jn.test(e);
526
526
  return n && r && (t = +t, e = +e), t === e ? 0 : n && !r ? -1 : r && !n ? 1 : t < e ? -1 : 1;
527
- }, ii = (t, e) => Vr(e, t);
528
- var Xr = {
527
+ }, si = (t, e) => Vr(e, t);
528
+ var Wr = {
529
529
  compareIdentifiers: Vr,
530
- rcompareIdentifiers: ii
530
+ rcompareIdentifiers: si
531
531
  };
532
- const Qe = mt, { MAX_LENGTH: Gn, MAX_SAFE_INTEGER: Je } = gt, { re: Un, t: Mn } = Fe, oi = $t, { compareIdentifiers: Ie } = Xr;
533
- let ai = class fe {
532
+ const Je = mt, { MAX_LENGTH: Gn, MAX_SAFE_INTEGER: et } = gt, { re: Un, t: Mn } = Ge, ii = $t, { compareIdentifiers: Ie } = Wr;
533
+ let oi = class fe {
534
534
  constructor(e, n) {
535
- if (n = oi(n), e instanceof fe) {
535
+ if (n = ii(n), e instanceof fe) {
536
536
  if (e.loose === !!n.loose && e.includePrerelease === !!n.includePrerelease)
537
537
  return e;
538
538
  e = e.version;
@@ -542,20 +542,20 @@ let ai = class fe {
542
542
  throw new TypeError(
543
543
  `version is longer than ${Gn} characters`
544
544
  );
545
- Qe("SemVer", e, n), this.options = n, this.loose = !!n.loose, this.includePrerelease = !!n.includePrerelease;
545
+ Je("SemVer", e, n), this.options = n, this.loose = !!n.loose, this.includePrerelease = !!n.includePrerelease;
546
546
  const r = e.trim().match(n.loose ? Un[Mn.LOOSE] : Un[Mn.FULL]);
547
547
  if (!r)
548
548
  throw new TypeError(`Invalid Version: ${e}`);
549
- if (this.raw = e, this.major = +r[1], this.minor = +r[2], this.patch = +r[3], this.major > Je || this.major < 0)
549
+ if (this.raw = e, this.major = +r[1], this.minor = +r[2], this.patch = +r[3], this.major > et || this.major < 0)
550
550
  throw new TypeError("Invalid major version");
551
- if (this.minor > Je || this.minor < 0)
551
+ if (this.minor > et || this.minor < 0)
552
552
  throw new TypeError("Invalid minor version");
553
- if (this.patch > Je || this.patch < 0)
553
+ if (this.patch > et || this.patch < 0)
554
554
  throw new TypeError("Invalid patch version");
555
555
  r[4] ? this.prerelease = r[4].split(".").map((i) => {
556
556
  if (/^[0-9]+$/.test(i)) {
557
557
  const s = +i;
558
- if (s >= 0 && s < Je)
558
+ if (s >= 0 && s < et)
559
559
  return s;
560
560
  }
561
561
  return i;
@@ -568,7 +568,7 @@ let ai = class fe {
568
568
  return this.version;
569
569
  }
570
570
  compare(e) {
571
- if (Qe("SemVer.compare", this.version, this.options, e), !(e instanceof fe)) {
571
+ if (Je("SemVer.compare", this.version, this.options, e), !(e instanceof fe)) {
572
572
  if (typeof e == "string" && e === this.version)
573
573
  return 0;
574
574
  e = new fe(e, this.options);
@@ -588,7 +588,7 @@ let ai = class fe {
588
588
  let n = 0;
589
589
  do {
590
590
  const r = this.prerelease[n], i = e.prerelease[n];
591
- if (Qe("prerelease compare", n, r, i), r === void 0 && i === void 0)
591
+ if (Je("prerelease compare", n, r, i), r === void 0 && i === void 0)
592
592
  return 0;
593
593
  if (i === void 0)
594
594
  return 1;
@@ -604,7 +604,7 @@ let ai = class fe {
604
604
  let n = 0;
605
605
  do {
606
606
  const r = this.build[n], i = e.build[n];
607
- if (Qe("prerelease compare", n, r, i), r === void 0 && i === void 0)
607
+ if (Je("prerelease compare", n, r, i), r === void 0 && i === void 0)
608
608
  return 0;
609
609
  if (i === void 0)
610
610
  return 1;
@@ -657,11 +657,11 @@ let ai = class fe {
657
657
  return this.format(), this.raw = this.version, this;
658
658
  }
659
659
  };
660
- var se = ai;
661
- const { MAX_LENGTH: li } = gt, { re: Bn, t: zn } = Fe, kn = se, ci = $t, ui = (t, e) => {
662
- if (e = ci(e), t instanceof kn)
660
+ var se = oi;
661
+ const { MAX_LENGTH: ai } = gt, { re: Bn, t: zn } = Ge, kn = se, li = $t, ci = (t, e) => {
662
+ if (e = li(e), t instanceof kn)
663
663
  return t;
664
- if (typeof t != "string" || t.length > li || !(e.loose ? Bn[zn.LOOSE] : Bn[zn.FULL]).test(t))
664
+ if (typeof t != "string" || t.length > ai || !(e.loose ? Bn[zn.LOOSE] : Bn[zn.FULL]).test(t))
665
665
  return null;
666
666
  try {
667
667
  return new kn(t, e);
@@ -669,35 +669,35 @@ const { MAX_LENGTH: li } = gt, { re: Bn, t: zn } = Fe, kn = se, ci = $t, ui = (t
669
669
  return null;
670
670
  }
671
671
  };
672
- var je = ui;
673
- const fi = je, hi = (t, e) => {
674
- const n = fi(t, e);
672
+ var Ue = ci;
673
+ const ui = Ue, fi = (t, e) => {
674
+ const n = ui(t, e);
675
675
  return n ? n.version : null;
676
676
  };
677
- var pi = hi;
678
- const di = je, gi = (t, e) => {
679
- const n = di(t.trim().replace(/^[=v]+/, ""), e);
677
+ var hi = fi;
678
+ const pi = Ue, di = (t, e) => {
679
+ const n = pi(t.trim().replace(/^[=v]+/, ""), e);
680
680
  return n ? n.version : null;
681
681
  };
682
- var mi = gi;
683
- const Wn = se, $i = (t, e, n, r) => {
682
+ var gi = di;
683
+ const Vn = se, mi = (t, e, n, r) => {
684
684
  typeof n == "string" && (r = n, n = void 0);
685
685
  try {
686
- return new Wn(
687
- t instanceof Wn ? t.version : t,
686
+ return new Vn(
687
+ t instanceof Vn ? t.version : t,
688
688
  n
689
689
  ).inc(e, r).version;
690
690
  } catch {
691
691
  return null;
692
692
  }
693
693
  };
694
- var Ei = $i;
695
- const Vn = se, yi = (t, e, n) => new Vn(t, n).compare(new Vn(e, n));
696
- var ce = yi;
697
- const wi = ce, vi = (t, e, n) => wi(t, e, n) === 0;
698
- var an = vi;
699
- const Xn = je, Ai = an, Ri = (t, e) => {
700
- if (Ai(t, e))
694
+ var $i = mi;
695
+ const Wn = se, Ei = (t, e, n) => new Wn(t, n).compare(new Wn(e, n));
696
+ var ce = Ei;
697
+ const yi = ce, wi = (t, e, n) => yi(t, e, n) === 0;
698
+ var an = wi;
699
+ const Xn = Ue, vi = an, Ai = (t, e) => {
700
+ if (vi(t, e))
701
701
  return null;
702
702
  {
703
703
  const n = Xn(t), r = Xn(e), i = n.prerelease.length || r.prerelease.length, s = i ? "pre" : "", o = i ? "prerelease" : "";
@@ -707,42 +707,42 @@ const Xn = je, Ai = an, Ri = (t, e) => {
707
707
  return o;
708
708
  }
709
709
  };
710
- var bi = Ri;
711
- const Si = se, _i = (t, e) => new Si(t, e).major;
712
- var Oi = _i;
713
- const Ti = se, xi = (t, e) => new Ti(t, e).minor;
714
- var Ii = xi;
715
- const Ci = se, Li = (t, e) => new Ci(t, e).patch;
716
- var Ni = Li;
717
- const Di = je, Pi = (t, e) => {
718
- const n = Di(t, e);
710
+ var Ri = Ai;
711
+ const bi = se, Si = (t, e) => new bi(t, e).major;
712
+ var _i = Si;
713
+ const Oi = se, Ti = (t, e) => new Oi(t, e).minor;
714
+ var xi = Ti;
715
+ const Ii = se, Ci = (t, e) => new Ii(t, e).patch;
716
+ var Li = Ci;
717
+ const Ni = Ue, Di = (t, e) => {
718
+ const n = Ni(t, e);
719
719
  return n && n.prerelease.length ? n.prerelease : null;
720
720
  };
721
- var Hi = Pi;
722
- const Fi = ce, ji = (t, e, n) => Fi(e, t, n);
723
- var Gi = ji;
724
- const Ui = ce, Mi = (t, e) => Ui(t, e, !0);
725
- var Bi = Mi;
726
- const qn = se, zi = (t, e, n) => {
721
+ var Pi = Di;
722
+ const Hi = ce, Fi = (t, e, n) => Hi(e, t, n);
723
+ var ji = Fi;
724
+ const Gi = ce, Ui = (t, e) => Gi(t, e, !0);
725
+ var Mi = Ui;
726
+ const qn = se, Bi = (t, e, n) => {
727
727
  const r = new qn(t, n), i = new qn(e, n);
728
728
  return r.compare(i) || r.compareBuild(i);
729
729
  };
730
- var ln = zi;
731
- const ki = ln, Wi = (t, e) => t.sort((n, r) => ki(n, r, e));
732
- var Vi = Wi;
733
- const Xi = ln, qi = (t, e) => t.sort((n, r) => Xi(r, n, e));
734
- var Ki = qi;
735
- const Yi = ce, Zi = (t, e, n) => Yi(t, e, n) > 0;
736
- var Et = Zi;
737
- const Qi = ce, Ji = (t, e, n) => Qi(t, e, n) < 0;
738
- var cn = Ji;
739
- const eo = ce, to = (t, e, n) => eo(t, e, n) !== 0;
740
- var qr = to;
741
- const no = ce, ro = (t, e, n) => no(t, e, n) >= 0;
742
- var un = ro;
743
- const so = ce, io = (t, e, n) => so(t, e, n) <= 0;
744
- var fn = io;
745
- const oo = an, ao = qr, lo = Et, co = un, uo = cn, fo = fn, ho = (t, e, n, r) => {
730
+ var ln = Bi;
731
+ const zi = ln, ki = (t, e) => t.sort((n, r) => zi(n, r, e));
732
+ var Vi = ki;
733
+ const Wi = ln, Xi = (t, e) => t.sort((n, r) => Wi(r, n, e));
734
+ var qi = Xi;
735
+ const Ki = ce, Yi = (t, e, n) => Ki(t, e, n) > 0;
736
+ var Et = Yi;
737
+ const Zi = ce, Qi = (t, e, n) => Zi(t, e, n) < 0;
738
+ var cn = Qi;
739
+ const Ji = ce, eo = (t, e, n) => Ji(t, e, n) !== 0;
740
+ var Xr = eo;
741
+ const to = ce, no = (t, e, n) => to(t, e, n) >= 0;
742
+ var un = no;
743
+ const ro = ce, so = (t, e, n) => ro(t, e, n) <= 0;
744
+ var fn = so;
745
+ const io = an, oo = Xr, ao = Et, lo = un, co = cn, uo = fn, fo = (t, e, n, r) => {
746
746
  switch (e) {
747
747
  case "===":
748
748
  return typeof t == "object" && (t = t.version), typeof n == "object" && (n = n.version), t === n;
@@ -751,41 +751,41 @@ const oo = an, ao = qr, lo = Et, co = un, uo = cn, fo = fn, ho = (t, e, n, r) =>
751
751
  case "":
752
752
  case "=":
753
753
  case "==":
754
- return oo(t, n, r);
754
+ return io(t, n, r);
755
755
  case "!=":
756
- return ao(t, n, r);
756
+ return oo(t, n, r);
757
757
  case ">":
758
- return lo(t, n, r);
758
+ return ao(t, n, r);
759
759
  case ">=":
760
- return co(t, n, r);
760
+ return lo(t, n, r);
761
761
  case "<":
762
- return uo(t, n, r);
762
+ return co(t, n, r);
763
763
  case "<=":
764
- return fo(t, n, r);
764
+ return uo(t, n, r);
765
765
  default:
766
766
  throw new TypeError(`Invalid operator: ${e}`);
767
767
  }
768
768
  };
769
- var Kr = ho;
770
- const po = se, go = je, { re: et, t: tt } = Fe, mo = (t, e) => {
771
- if (t instanceof po)
769
+ var qr = fo;
770
+ const ho = se, po = Ue, { re: tt, t: nt } = Ge, go = (t, e) => {
771
+ if (t instanceof ho)
772
772
  return t;
773
773
  if (typeof t == "number" && (t = String(t)), typeof t != "string")
774
774
  return null;
775
775
  e = e || {};
776
776
  let n = null;
777
777
  if (!e.rtl)
778
- n = t.match(et[tt.COERCE]);
778
+ n = t.match(tt[nt.COERCE]);
779
779
  else {
780
780
  let r;
781
- for (; (r = et[tt.COERCERTL].exec(t)) && (!n || n.index + n[0].length !== t.length); )
782
- (!n || r.index + r[0].length !== n.index + n[0].length) && (n = r), et[tt.COERCERTL].lastIndex = r.index + r[1].length + r[2].length;
783
- et[tt.COERCERTL].lastIndex = -1;
781
+ for (; (r = tt[nt.COERCERTL].exec(t)) && (!n || n.index + n[0].length !== t.length); )
782
+ (!n || r.index + r[0].length !== n.index + n[0].length) && (n = r), tt[nt.COERCERTL].lastIndex = r.index + r[1].length + r[2].length;
783
+ tt[nt.COERCERTL].lastIndex = -1;
784
784
  }
785
- return n === null ? null : go(`${n[2]}.${n[3] || "0"}.${n[4] || "0"}`, e);
785
+ return n === null ? null : po(`${n[2]}.${n[3] || "0"}.${n[4] || "0"}`, e);
786
786
  };
787
- var $o = mo, It, Kn;
788
- function Eo() {
787
+ var mo = go, It, Kn;
788
+ function $o() {
789
789
  return Kn || (Kn = 1, It = function(t) {
790
790
  t.prototype[Symbol.iterator] = function* () {
791
791
  for (let e = this.head; e; e = e.next)
@@ -793,7 +793,7 @@ function Eo() {
793
793
  };
794
794
  }), It;
795
795
  }
796
- var yo = k;
796
+ var Eo = k;
797
797
  k.Node = xe;
798
798
  k.create = k;
799
799
  function k(t) {
@@ -829,12 +829,12 @@ k.prototype.pushNode = function(t) {
829
829
  };
830
830
  k.prototype.push = function() {
831
831
  for (var t = 0, e = arguments.length; t < e; t++)
832
- vo(this, arguments[t]);
832
+ wo(this, arguments[t]);
833
833
  return this.length;
834
834
  };
835
835
  k.prototype.unshift = function() {
836
836
  for (var t = 0, e = arguments.length; t < e; t++)
837
- Ao(this, arguments[t]);
837
+ vo(this, arguments[t]);
838
838
  return this.length;
839
839
  };
840
840
  k.prototype.pop = function() {
@@ -949,7 +949,7 @@ k.prototype.splice = function(t, e, ...n) {
949
949
  s.push(i.value), i = this.removeNode(i);
950
950
  i === null && (i = this.tail), i !== this.head && i !== this.tail && (i = i.prev);
951
951
  for (var r = 0; r < n.length; r++)
952
- i = wo(this, i, n[r]);
952
+ i = yo(this, i, n[r]);
953
953
  return s;
954
954
  };
955
955
  k.prototype.reverse = function() {
@@ -959,14 +959,14 @@ k.prototype.reverse = function() {
959
959
  }
960
960
  return this.head = e, this.tail = t, this;
961
961
  };
962
- function wo(t, e, n) {
962
+ function yo(t, e, n) {
963
963
  var r = e === t.head ? new xe(n, null, e, t) : new xe(n, e, e.next, t);
964
964
  return r.next === null && (t.tail = r), r.prev === null && (t.head = r), t.length++, r;
965
965
  }
966
- function vo(t, e) {
966
+ function wo(t, e) {
967
967
  t.tail = new xe(e, t.tail, null, t), t.head || (t.head = t.tail), t.length++;
968
968
  }
969
- function Ao(t, e) {
969
+ function vo(t, e) {
970
970
  t.head = new xe(e, null, t.head, t), t.tail || (t.tail = t.head), t.length++;
971
971
  }
972
972
  function xe(t, e, n, r) {
@@ -975,39 +975,39 @@ function xe(t, e, n, r) {
975
975
  this.list = r, this.value = t, e ? (e.next = this, this.prev = e) : this.prev = null, n ? (n.prev = this, this.next = n) : this.next = null;
976
976
  }
977
977
  try {
978
- Eo()(k);
978
+ $o()(k);
979
979
  } catch {
980
980
  }
981
- const Ro = yo, _e = Symbol("max"), me = Symbol("length"), Ce = Symbol("lengthCalculator"), ze = Symbol("allowStale"), Oe = Symbol("maxAge"), ge = Symbol("dispose"), Yn = Symbol("noDisposeOnSet"), te = Symbol("lruList"), ae = Symbol("cache"), Yr = Symbol("updateAgeOnGet"), Ct = () => 1;
982
- let bo = class {
981
+ const Ao = Eo, _e = Symbol("max"), me = Symbol("length"), Ce = Symbol("lengthCalculator"), ke = Symbol("allowStale"), Oe = Symbol("maxAge"), ge = Symbol("dispose"), Yn = Symbol("noDisposeOnSet"), te = Symbol("lruList"), ae = Symbol("cache"), Kr = Symbol("updateAgeOnGet"), Ct = () => 1;
982
+ let Ro = class {
983
983
  constructor(e) {
984
984
  if (typeof e == "number" && (e = { max: e }), e || (e = {}), e.max && (typeof e.max != "number" || e.max < 0))
985
985
  throw new TypeError("max must be a non-negative number");
986
986
  this[_e] = e.max || 1 / 0;
987
987
  const n = e.length || Ct;
988
- if (this[Ce] = typeof n != "function" ? Ct : n, this[ze] = e.stale || !1, e.maxAge && typeof e.maxAge != "number")
988
+ if (this[Ce] = typeof n != "function" ? Ct : n, this[ke] = e.stale || !1, e.maxAge && typeof e.maxAge != "number")
989
989
  throw new TypeError("maxAge must be a number");
990
- this[Oe] = e.maxAge || 0, this[ge] = e.dispose, this[Yn] = e.noDisposeOnSet || !1, this[Yr] = e.updateAgeOnGet || !1, this.reset();
990
+ this[Oe] = e.maxAge || 0, this[ge] = e.dispose, this[Yn] = e.noDisposeOnSet || !1, this[Kr] = e.updateAgeOnGet || !1, this.reset();
991
991
  }
992
992
  // resize the cache when the max changes.
993
993
  set max(e) {
994
994
  if (typeof e != "number" || e < 0)
995
995
  throw new TypeError("max must be a non-negative number");
996
- this[_e] = e || 1 / 0, Ge(this);
996
+ this[_e] = e || 1 / 0, Me(this);
997
997
  }
998
998
  get max() {
999
999
  return this[_e];
1000
1000
  }
1001
1001
  set allowStale(e) {
1002
- this[ze] = !!e;
1002
+ this[ke] = !!e;
1003
1003
  }
1004
1004
  get allowStale() {
1005
- return this[ze];
1005
+ return this[ke];
1006
1006
  }
1007
1007
  set maxAge(e) {
1008
1008
  if (typeof e != "number")
1009
1009
  throw new TypeError("maxAge must be a non-negative number");
1010
- this[Oe] = e, Ge(this);
1010
+ this[Oe] = e, Me(this);
1011
1011
  }
1012
1012
  get maxAge() {
1013
1013
  return this[Oe];
@@ -1016,7 +1016,7 @@ let bo = class {
1016
1016
  set lengthCalculator(e) {
1017
1017
  typeof e != "function" && (e = Ct), e !== this[Ce] && (this[Ce] = e, this[me] = 0, this[te].forEach((n) => {
1018
1018
  n.length = this[Ce](n.value, n.key), this[me] += n.length;
1019
- })), Ge(this);
1019
+ })), Me(this);
1020
1020
  }
1021
1021
  get lengthCalculator() {
1022
1022
  return this[Ce];
@@ -1048,7 +1048,7 @@ let bo = class {
1048
1048
  return this[te].toArray().map((e) => e.value);
1049
1049
  }
1050
1050
  reset() {
1051
- this[ge] && this[te] && this[te].length && this[te].forEach((e) => this[ge](e.key, e.value)), this[ae] = /* @__PURE__ */ new Map(), this[te] = new Ro(), this[me] = 0;
1051
+ this[ge] && this[te] && this[te].length && this[te].forEach((e) => this[ge](e.key, e.value)), this[ae] = /* @__PURE__ */ new Map(), this[te] = new Ao(), this[me] = 0;
1052
1052
  }
1053
1053
  dump() {
1054
1054
  return this[te].map((e) => at(this, e) ? !1 : {
@@ -1066,12 +1066,12 @@ let bo = class {
1066
1066
  const i = r ? Date.now() : 0, s = this[Ce](n, e);
1067
1067
  if (this[ae].has(e)) {
1068
1068
  if (s > this[_e])
1069
- return He(this, this[ae].get(e)), !1;
1069
+ return je(this, this[ae].get(e)), !1;
1070
1070
  const l = this[ae].get(e).value;
1071
- return this[ge] && (this[Yn] || this[ge](e, l.value)), l.now = i, l.maxAge = r, l.value = n, this[me] += s - l.length, l.length = s, this.get(e), Ge(this), !0;
1071
+ return this[ge] && (this[Yn] || this[ge](e, l.value)), l.now = i, l.maxAge = r, l.value = n, this[me] += s - l.length, l.length = s, this.get(e), Me(this), !0;
1072
1072
  }
1073
- const o = new So(e, n, s, i, r);
1074
- return o.length > this[_e] ? (this[ge] && this[ge](e, n), !1) : (this[me] += o.length, this[te].unshift(o), this[ae].set(e, this[te].head), Ge(this), !0);
1073
+ const o = new bo(e, n, s, i, r);
1074
+ return o.length > this[_e] ? (this[ge] && this[ge](e, n), !1) : (this[me] += o.length, this[te].unshift(o), this[ae].set(e, this[te].head), Me(this), !0);
1075
1075
  }
1076
1076
  has(e) {
1077
1077
  if (!this[ae].has(e)) return !1;
@@ -1086,10 +1086,10 @@ let bo = class {
1086
1086
  }
1087
1087
  pop() {
1088
1088
  const e = this[te].tail;
1089
- return e ? (He(this, e), e.value) : null;
1089
+ return e ? (je(this, e), e.value) : null;
1090
1090
  }
1091
1091
  del(e) {
1092
- He(this, this[ae].get(e));
1092
+ je(this, this[ae].get(e));
1093
1093
  }
1094
1094
  load(e) {
1095
1095
  this.reset();
@@ -1113,10 +1113,10 @@ const Lt = (t, e, n) => {
1113
1113
  if (r) {
1114
1114
  const i = r.value;
1115
1115
  if (at(t, i)) {
1116
- if (He(t, r), !t[ze])
1116
+ if (je(t, r), !t[ke])
1117
1117
  return;
1118
1118
  } else
1119
- n && (t[Yr] && (r.value.now = Date.now()), t[te].unshiftNode(r));
1119
+ n && (t[Kr] && (r.value.now = Date.now()), t[te].unshiftNode(r));
1120
1120
  return i.value;
1121
1121
  }
1122
1122
  }, at = (t, e) => {
@@ -1124,28 +1124,28 @@ const Lt = (t, e, n) => {
1124
1124
  return !1;
1125
1125
  const n = Date.now() - e.now;
1126
1126
  return e.maxAge ? n > e.maxAge : t[Oe] && n > t[Oe];
1127
- }, Ge = (t) => {
1127
+ }, Me = (t) => {
1128
1128
  if (t[me] > t[_e])
1129
1129
  for (let e = t[te].tail; t[me] > t[_e] && e !== null; ) {
1130
1130
  const n = e.prev;
1131
- He(t, e), e = n;
1131
+ je(t, e), e = n;
1132
1132
  }
1133
- }, He = (t, e) => {
1133
+ }, je = (t, e) => {
1134
1134
  if (e) {
1135
1135
  const n = e.value;
1136
1136
  t[ge] && t[ge](n.key, n.value), t[me] -= n.length, t[ae].delete(n.key), t[te].removeNode(e);
1137
1137
  }
1138
1138
  };
1139
- class So {
1139
+ class bo {
1140
1140
  constructor(e, n, r, i, s) {
1141
1141
  this.key = e, this.value = n, this.length = r, this.now = i, this.maxAge = s || 0;
1142
1142
  }
1143
1143
  }
1144
1144
  const Zn = (t, e, n, r) => {
1145
1145
  let i = n.value;
1146
- at(t, i) && (He(t, n), t[ze] || (i = void 0)), i && e.call(r, i.value, i.key, t);
1146
+ at(t, i) && (je(t, n), t[ke] || (i = void 0)), i && e.call(r, i.value, i.key, t);
1147
1147
  };
1148
- var _o = bo, Nt, Qn;
1148
+ var So = Ro, Nt, Qn;
1149
1149
  function ue() {
1150
1150
  if (Qn) return Nt;
1151
1151
  Qn = 1;
@@ -1184,13 +1184,13 @@ function ue() {
1184
1184
  return d;
1185
1185
  const $ = this.options.loose, R = $ ? a[l.HYPHENRANGELOOSE] : a[l.HYPHENRANGE];
1186
1186
  E = E.replace(R, D(this.options.includePrerelease)), s("hyphen replace", E), E = E.replace(a[l.COMPARATORTRIM], u), s("comparator trim", E), E = E.replace(a[l.TILDETRIM], c), E = E.replace(a[l.CARETTRIM], p), E = E.split(/\s+/).join(" ");
1187
- let x = E.split(" ").map((V) => v(V, this.options)).join(" ").split(/\s+/).map((V) => H(V, this.options));
1188
- $ && (x = x.filter((V) => (s("loose invalid filter", V, this.options), !!V.match(a[l.COMPARATORLOOSE])))), s("range list", x);
1189
- const N = /* @__PURE__ */ new Map(), F = x.map((V) => new i(V, this.options));
1190
- for (const V of F) {
1191
- if (g(V))
1192
- return [V];
1193
- N.set(V.value, V);
1187
+ let x = E.split(" ").map((W) => v(W, this.options)).join(" ").split(/\s+/).map((W) => H(W, this.options));
1188
+ $ && (x = x.filter((W) => (s("loose invalid filter", W, this.options), !!W.match(a[l.COMPARATORLOOSE])))), s("range list", x);
1189
+ const N = /* @__PURE__ */ new Map(), F = x.map((W) => new i(W, this.options));
1190
+ for (const W of F) {
1191
+ if (g(W))
1192
+ return [W];
1193
+ N.set(W.value, W);
1194
1194
  }
1195
1195
  N.size > 1 && N.has("") && N.delete("");
1196
1196
  const X = [...N.values()];
@@ -1218,13 +1218,13 @@ function ue() {
1218
1218
  }
1219
1219
  }
1220
1220
  Nt = t;
1221
- const e = _o, n = new e({ max: 1e3 }), r = $t, i = yt(), s = mt, o = se, {
1221
+ const e = So, n = new e({ max: 1e3 }), r = $t, i = yt(), s = mt, o = se, {
1222
1222
  re: a,
1223
1223
  t: l,
1224
1224
  comparatorTrimReplace: u,
1225
1225
  tildeTrimReplace: c,
1226
1226
  caretTrimReplace: p
1227
- } = Fe, g = (_) => _.value === "<0.0.0-0", f = (_) => _.value === "", S = (_, E) => {
1227
+ } = Ge, g = (_) => _.value === "<0.0.0-0", f = (_) => _.value === "", S = (_, E) => {
1228
1228
  let T = !0;
1229
1229
  const h = _.slice();
1230
1230
  let d = h.pop();
@@ -1251,10 +1251,10 @@ function ue() {
1251
1251
  const T = E.loose ? a[l.XRANGELOOSE] : a[l.XRANGE];
1252
1252
  return _.replace(T, (h, d, $, R, x, N) => {
1253
1253
  s("xRange", _, h, d, $, R, x, N);
1254
- const F = w($), X = F || w(R), V = X || w(x), J = V;
1255
- return d === "=" && J && (d = ""), N = E.includePrerelease ? "-0" : "", F ? d === ">" || d === "<" ? h = "<0.0.0-0" : h = "*" : d && J ? (X && (R = 0), x = 0, d === ">" ? (d = ">=", X ? ($ = +$ + 1, R = 0, x = 0) : (R = +R + 1, x = 0)) : d === "<=" && (d = "<", X ? $ = +$ + 1 : R = +R + 1), d === "<" && (N = "-0"), h = `${d + $}.${R}.${x}${N}`) : X ? h = `>=${$}.0.0${N} <${+$ + 1}.0.0-0` : V && (h = `>=${$}.${R}.0${N} <${$}.${+R + 1}.0-0`), s("xRange return", h), h;
1254
+ const F = w($), X = F || w(R), W = X || w(x), J = W;
1255
+ return d === "=" && J && (d = ""), N = E.includePrerelease ? "-0" : "", F ? d === ">" || d === "<" ? h = "<0.0.0-0" : h = "*" : d && J ? (X && (R = 0), x = 0, d === ">" ? (d = ">=", X ? ($ = +$ + 1, R = 0, x = 0) : (R = +R + 1, x = 0)) : d === "<=" && (d = "<", X ? $ = +$ + 1 : R = +R + 1), d === "<" && (N = "-0"), h = `${d + $}.${R}.${x}${N}`) : X ? h = `>=${$}.0.0${N} <${+$ + 1}.0.0-0` : W && (h = `>=${$}.${R}.0${N} <${$}.${+R + 1}.0-0`), s("xRange return", h), h;
1256
1256
  });
1257
- }, P = (_, E) => (s("replaceStars", _, E), _.trim().replace(a[l.STAR], "")), H = (_, E) => (s("replaceGTE0", _, E), _.trim().replace(a[E.includePrerelease ? l.GTE0PRE : l.GTE0], "")), D = (_) => (E, T, h, d, $, R, x, N, F, X, V, J, Z) => (w(h) ? T = "" : w(d) ? T = `>=${h}.0.0${_ ? "-0" : ""}` : w($) ? T = `>=${h}.${d}.0${_ ? "-0" : ""}` : R ? T = `>=${T}` : T = `>=${T}${_ ? "-0" : ""}`, w(F) ? N = "" : w(X) ? N = `<${+F + 1}.0.0-0` : w(V) ? N = `<${F}.${+X + 1}.0-0` : J ? N = `<=${F}.${X}.${V}-${J}` : _ ? N = `<${F}.${X}.${+V + 1}-0` : N = `<=${N}`, `${T} ${N}`.trim()), m = (_, E, T) => {
1257
+ }, P = (_, E) => (s("replaceStars", _, E), _.trim().replace(a[l.STAR], "")), H = (_, E) => (s("replaceGTE0", _, E), _.trim().replace(a[E.includePrerelease ? l.GTE0PRE : l.GTE0], "")), D = (_) => (E, T, h, d, $, R, x, N, F, X, W, J, Z) => (w(h) ? T = "" : w(d) ? T = `>=${h}.0.0${_ ? "-0" : ""}` : w($) ? T = `>=${h}.${d}.0${_ ? "-0" : ""}` : R ? T = `>=${T}` : T = `>=${T}${_ ? "-0" : ""}`, w(F) ? N = "" : w(X) ? N = `<${+F + 1}.0.0-0` : w(W) ? N = `<${F}.${+X + 1}.0-0` : J ? N = `<=${F}.${X}.${W}-${J}` : _ ? N = `<${F}.${X}.${+W + 1}-0` : N = `<=${N}`, `${T} ${N}`.trim()), m = (_, E, T) => {
1258
1258
  for (let h = 0; h < _.length; h++)
1259
1259
  if (!_[h].test(E))
1260
1260
  return !1;
@@ -1323,46 +1323,46 @@ function yt() {
1323
1323
  }
1324
1324
  }
1325
1325
  Dt = e;
1326
- const n = $t, { re: r, t: i } = Fe, s = Kr, o = mt, a = se, l = ue();
1326
+ const n = $t, { re: r, t: i } = Ge, s = qr, o = mt, a = se, l = ue();
1327
1327
  return Dt;
1328
1328
  }
1329
- const Oo = ue(), To = (t, e, n) => {
1329
+ const _o = ue(), Oo = (t, e, n) => {
1330
1330
  try {
1331
- e = new Oo(e, n);
1331
+ e = new _o(e, n);
1332
1332
  } catch {
1333
1333
  return !1;
1334
1334
  }
1335
1335
  return e.test(t);
1336
1336
  };
1337
- var wt = To;
1338
- const xo = ue(), Io = (t, e) => new xo(t, e).set.map((n) => n.map((r) => r.value).join(" ").trim().split(" "));
1339
- var Co = Io;
1340
- const Lo = se, No = ue(), Do = (t, e, n) => {
1337
+ var wt = Oo;
1338
+ const To = ue(), xo = (t, e) => new To(t, e).set.map((n) => n.map((r) => r.value).join(" ").trim().split(" "));
1339
+ var Io = xo;
1340
+ const Co = se, Lo = ue(), No = (t, e, n) => {
1341
1341
  let r = null, i = null, s = null;
1342
1342
  try {
1343
- s = new No(e, n);
1343
+ s = new Lo(e, n);
1344
1344
  } catch {
1345
1345
  return null;
1346
1346
  }
1347
1347
  return t.forEach((o) => {
1348
- s.test(o) && (!r || i.compare(o) === -1) && (r = o, i = new Lo(r, n));
1348
+ s.test(o) && (!r || i.compare(o) === -1) && (r = o, i = new Co(r, n));
1349
1349
  }), r;
1350
1350
  };
1351
- var Po = Do;
1352
- const Ho = se, Fo = ue(), jo = (t, e, n) => {
1351
+ var Do = No;
1352
+ const Po = se, Ho = ue(), Fo = (t, e, n) => {
1353
1353
  let r = null, i = null, s = null;
1354
1354
  try {
1355
- s = new Fo(e, n);
1355
+ s = new Ho(e, n);
1356
1356
  } catch {
1357
1357
  return null;
1358
1358
  }
1359
1359
  return t.forEach((o) => {
1360
- s.test(o) && (!r || i.compare(o) === 1) && (r = o, i = new Ho(r, n));
1360
+ s.test(o) && (!r || i.compare(o) === 1) && (r = o, i = new Po(r, n));
1361
1361
  }), r;
1362
1362
  };
1363
- var Go = jo;
1364
- const Pt = se, Uo = ue(), er = Et, Mo = (t, e) => {
1365
- t = new Uo(t, e);
1363
+ var jo = Fo;
1364
+ const Pt = se, Go = ue(), er = Et, Uo = (t, e) => {
1365
+ t = new Go(t, e);
1366
1366
  let n = new Pt("0.0.0");
1367
1367
  if (t.test(n) || (n = new Pt("0.0.0-0"), t.test(n)))
1368
1368
  return n;
@@ -1389,35 +1389,35 @@ const Pt = se, Uo = ue(), er = Et, Mo = (t, e) => {
1389
1389
  }
1390
1390
  return n && t.test(n) ? n : null;
1391
1391
  };
1392
- var Bo = Mo;
1393
- const zo = ue(), ko = (t, e) => {
1392
+ var Mo = Uo;
1393
+ const Bo = ue(), zo = (t, e) => {
1394
1394
  try {
1395
- return new zo(t, e).range || "*";
1395
+ return new Bo(t, e).range || "*";
1396
1396
  } catch {
1397
1397
  return null;
1398
1398
  }
1399
1399
  };
1400
- var Wo = ko;
1401
- const Vo = se, Zr = yt(), { ANY: Xo } = Zr, qo = ue(), Ko = wt, tr = Et, nr = cn, Yo = fn, Zo = un, Qo = (t, e, n, r) => {
1402
- t = new Vo(t, r), e = new qo(e, r);
1400
+ var ko = zo;
1401
+ const Vo = se, Yr = yt(), { ANY: Wo } = Yr, Xo = ue(), qo = wt, tr = Et, nr = cn, Ko = fn, Yo = un, Zo = (t, e, n, r) => {
1402
+ t = new Vo(t, r), e = new Xo(e, r);
1403
1403
  let i, s, o, a, l;
1404
1404
  switch (n) {
1405
1405
  case ">":
1406
- i = tr, s = Yo, o = nr, a = ">", l = ">=";
1406
+ i = tr, s = Ko, o = nr, a = ">", l = ">=";
1407
1407
  break;
1408
1408
  case "<":
1409
- i = nr, s = Zo, o = tr, a = "<", l = "<=";
1409
+ i = nr, s = Yo, o = tr, a = "<", l = "<=";
1410
1410
  break;
1411
1411
  default:
1412
1412
  throw new TypeError('Must provide a hilo val of "<" or ">"');
1413
1413
  }
1414
- if (Ko(t, e, r))
1414
+ if (qo(t, e, r))
1415
1415
  return !1;
1416
1416
  for (let u = 0; u < e.set.length; ++u) {
1417
1417
  const c = e.set[u];
1418
1418
  let p = null, g = null;
1419
1419
  if (c.forEach((f) => {
1420
- f.semver === Xo && (f = new Zr(">=0.0.0")), p = p || f, g = g || f, i(f.semver, p.semver, r) ? p = f : o(f.semver, g.semver, r) && (g = f);
1420
+ f.semver === Wo && (f = new Yr(">=0.0.0")), p = p || f, g = g || f, i(f.semver, p.semver, r) ? p = f : o(f.semver, g.semver, r) && (g = f);
1421
1421
  }), p.operator === a || p.operator === l || (!g.operator || g.operator === a) && s(t, g.semver))
1422
1422
  return !1;
1423
1423
  if (g.operator === l && o(t, g.semver))
@@ -1425,20 +1425,20 @@ const Vo = se, Zr = yt(), { ANY: Xo } = Zr, qo = ue(), Ko = wt, tr = Et, nr = cn
1425
1425
  }
1426
1426
  return !0;
1427
1427
  };
1428
- var hn = Qo;
1429
- const Jo = hn, ea = (t, e, n) => Jo(t, e, ">", n);
1430
- var ta = ea;
1431
- const na = hn, ra = (t, e, n) => na(t, e, "<", n);
1432
- var sa = ra;
1433
- const rr = ue(), ia = (t, e, n) => (t = new rr(t, n), e = new rr(e, n), t.intersects(e));
1434
- var oa = ia;
1435
- const aa = wt, la = ce;
1436
- var ca = (t, e, n) => {
1428
+ var hn = Zo;
1429
+ const Qo = hn, Jo = (t, e, n) => Qo(t, e, ">", n);
1430
+ var ea = Jo;
1431
+ const ta = hn, na = (t, e, n) => ta(t, e, "<", n);
1432
+ var ra = na;
1433
+ const rr = ue(), sa = (t, e, n) => (t = new rr(t, n), e = new rr(e, n), t.intersects(e));
1434
+ var ia = sa;
1435
+ const oa = wt, aa = ce;
1436
+ var la = (t, e, n) => {
1437
1437
  const r = [];
1438
1438
  let i = null, s = null;
1439
- const o = t.sort((c, p) => la(c, p, n));
1439
+ const o = t.sort((c, p) => aa(c, p, n));
1440
1440
  for (const c of o)
1441
- aa(c, e, n) ? (s = c, i || (i = c)) : (s && r.push([i, s]), s = null, i = null);
1441
+ oa(c, e, n) ? (s = c, i || (i = c)) : (s && r.push([i, s]), s = null, i = null);
1442
1442
  i && r.push([i, null]);
1443
1443
  const a = [];
1444
1444
  for (const [c, p] of r)
@@ -1446,14 +1446,14 @@ var ca = (t, e, n) => {
1446
1446
  const l = a.join(" || "), u = typeof e.raw == "string" ? e.raw : String(e);
1447
1447
  return l.length < u.length ? l : e;
1448
1448
  };
1449
- const sr = ue(), it = yt(), { ANY: Ht } = it, Ue = wt, pn = ce, ua = (t, e, n = {}) => {
1449
+ const sr = ue(), it = yt(), { ANY: Ht } = it, Be = wt, pn = ce, ca = (t, e, n = {}) => {
1450
1450
  if (t === e)
1451
1451
  return !0;
1452
1452
  t = new sr(t, n), e = new sr(e, n);
1453
1453
  let r = !1;
1454
1454
  e: for (const i of t.set) {
1455
1455
  for (const s of e.set) {
1456
- const o = fa(i, s, n);
1456
+ const o = ua(i, s, n);
1457
1457
  if (r = r || o !== null, o)
1458
1458
  continue e;
1459
1459
  }
@@ -1461,7 +1461,7 @@ const sr = ue(), it = yt(), { ANY: Ht } = it, Ue = wt, pn = ce, ua = (t, e, n =
1461
1461
  return !1;
1462
1462
  }
1463
1463
  return !0;
1464
- }, fa = (t, e, n) => {
1464
+ }, ua = (t, e, n) => {
1465
1465
  if (t === e)
1466
1466
  return !0;
1467
1467
  if (t.length === 1 && t[0].semver === Ht) {
@@ -1488,10 +1488,10 @@ const sr = ue(), it = yt(), { ANY: Ht } = it, Ue = wt, pn = ce, ua = (t, e, n =
1488
1488
  return null;
1489
1489
  }
1490
1490
  for (const f of r) {
1491
- if (i && !Ue(f, String(i), n) || s && !Ue(f, String(s), n))
1491
+ if (i && !Be(f, String(i), n) || s && !Be(f, String(s), n))
1492
1492
  return null;
1493
1493
  for (const S of e)
1494
- if (!Ue(f, String(S), n))
1494
+ if (!Be(f, String(S), n))
1495
1495
  return !1;
1496
1496
  return !0;
1497
1497
  }
@@ -1502,14 +1502,14 @@ const sr = ue(), it = yt(), { ANY: Ht } = it, Ue = wt, pn = ce, ua = (t, e, n =
1502
1502
  if (g && f.semver.prerelease && f.semver.prerelease.length && f.semver.major === g.major && f.semver.minor === g.minor && f.semver.patch === g.patch && (g = !1), f.operator === ">" || f.operator === ">=") {
1503
1503
  if (a = ir(i, f, n), a === f && a !== i)
1504
1504
  return !1;
1505
- } else if (i.operator === ">=" && !Ue(i.semver, String(f), n))
1505
+ } else if (i.operator === ">=" && !Be(i.semver, String(f), n))
1506
1506
  return !1;
1507
1507
  }
1508
1508
  if (s) {
1509
1509
  if (p && f.semver.prerelease && f.semver.prerelease.length && f.semver.major === p.major && f.semver.minor === p.minor && f.semver.patch === p.patch && (p = !1), f.operator === "<" || f.operator === "<=") {
1510
1510
  if (l = or(s, f, n), l === f && l !== s)
1511
1511
  return !1;
1512
- } else if (s.operator === "<=" && !Ue(s.semver, String(f), n))
1512
+ } else if (s.operator === "<=" && !Be(s.semver, String(f), n))
1513
1513
  return !1;
1514
1514
  }
1515
1515
  if (!f.operator && (s || i) && o !== 0)
@@ -1527,57 +1527,57 @@ const sr = ue(), it = yt(), { ANY: Ht } = it, Ue = wt, pn = ce, ua = (t, e, n =
1527
1527
  const r = pn(t.semver, e.semver, n);
1528
1528
  return r < 0 ? t : r > 0 || e.operator === "<" && t.operator === "<=" ? e : t;
1529
1529
  };
1530
- var ha = ua;
1531
- const Ft = Fe, pa = gt, da = se, ar = Xr, ga = je, ma = pi, $a = mi, Ea = Ei, ya = bi, wa = Oi, va = Ii, Aa = Ni, Ra = Hi, ba = ce, Sa = Gi, _a = Bi, Oa = ln, Ta = Vi, xa = Ki, Ia = Et, Ca = cn, La = an, Na = qr, Da = un, Pa = fn, Ha = Kr, Fa = $o, ja = yt(), Ga = ue(), Ua = wt, Ma = Co, Ba = Po, za = Go, ka = Bo, Wa = Wo, Va = hn, Xa = ta, qa = sa, Ka = oa, Ya = ca, Za = ha;
1530
+ var fa = ca;
1531
+ const Ft = Ge, ha = gt, pa = se, ar = Wr, da = Ue, ga = hi, ma = gi, $a = $i, Ea = Ri, ya = _i, wa = xi, va = Li, Aa = Pi, Ra = ce, ba = ji, Sa = Mi, _a = ln, Oa = Vi, Ta = qi, xa = Et, Ia = cn, Ca = an, La = Xr, Na = un, Da = fn, Pa = qr, Ha = mo, Fa = yt(), ja = ue(), Ga = wt, Ua = Io, Ma = Do, Ba = jo, za = Mo, ka = ko, Va = hn, Wa = ea, Xa = ra, qa = ia, Ka = la, Ya = fa;
1532
1532
  var ne = {
1533
- parse: ga,
1534
- valid: ma,
1535
- clean: $a,
1536
- inc: Ea,
1537
- diff: ya,
1538
- major: wa,
1539
- minor: va,
1540
- patch: Aa,
1541
- prerelease: Ra,
1542
- compare: ba,
1543
- rcompare: Sa,
1544
- compareLoose: _a,
1545
- compareBuild: Oa,
1546
- sort: Ta,
1547
- rsort: xa,
1548
- gt: Ia,
1549
- lt: Ca,
1550
- eq: La,
1551
- neq: Na,
1552
- gte: Da,
1553
- lte: Pa,
1554
- cmp: Ha,
1555
- coerce: Fa,
1556
- Comparator: ja,
1557
- Range: Ga,
1558
- satisfies: Ua,
1559
- toComparators: Ma,
1560
- maxSatisfying: Ba,
1561
- minSatisfying: za,
1562
- minVersion: ka,
1563
- validRange: Wa,
1533
+ parse: da,
1534
+ valid: ga,
1535
+ clean: ma,
1536
+ inc: $a,
1537
+ diff: Ea,
1538
+ major: ya,
1539
+ minor: wa,
1540
+ patch: va,
1541
+ prerelease: Aa,
1542
+ compare: Ra,
1543
+ rcompare: ba,
1544
+ compareLoose: Sa,
1545
+ compareBuild: _a,
1546
+ sort: Oa,
1547
+ rsort: Ta,
1548
+ gt: xa,
1549
+ lt: Ia,
1550
+ eq: Ca,
1551
+ neq: La,
1552
+ gte: Na,
1553
+ lte: Da,
1554
+ cmp: Pa,
1555
+ coerce: Ha,
1556
+ Comparator: Fa,
1557
+ Range: ja,
1558
+ satisfies: Ga,
1559
+ toComparators: Ua,
1560
+ maxSatisfying: Ma,
1561
+ minSatisfying: Ba,
1562
+ minVersion: za,
1563
+ validRange: ka,
1564
1564
  outside: Va,
1565
- gtr: Xa,
1566
- ltr: qa,
1567
- intersects: Ka,
1568
- simplifyRange: Ya,
1569
- subset: Za,
1570
- SemVer: da,
1565
+ gtr: Wa,
1566
+ ltr: Xa,
1567
+ intersects: qa,
1568
+ simplifyRange: Ka,
1569
+ subset: Ya,
1570
+ SemVer: pa,
1571
1571
  re: Ft.re,
1572
1572
  src: Ft.src,
1573
1573
  tokens: Ft.t,
1574
- SEMVER_SPEC_VERSION: pa.SEMVER_SPEC_VERSION,
1574
+ SEMVER_SPEC_VERSION: ha.SEMVER_SPEC_VERSION,
1575
1575
  compareIdentifiers: ar.compareIdentifiers,
1576
1576
  rcompareIdentifiers: ar.rcompareIdentifiers
1577
1577
  }, vt = {};
1578
1578
  Object.defineProperty(vt, "__esModule", { value: !0 });
1579
1579
  vt.LRUCache = void 0;
1580
- const Le = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, Qr = /* @__PURE__ */ new Set(), Zt = typeof process == "object" && process ? process : {}, Jr = (t, e, n, r) => {
1580
+ const Le = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date, Zr = /* @__PURE__ */ new Set(), Zt = typeof process == "object" && process ? process : {}, Qr = (t, e, n, r) => {
1581
1581
  typeof Zt.emitWarning == "function" ? Zt.emitWarning(t, e, n, r) : console.error(`[${n}] ${e}: ${t}`);
1582
1582
  };
1583
1583
  let lt = globalThis.AbortController, lr = globalThis.AbortSignal;
@@ -1606,30 +1606,30 @@ if (typeof lt > "u") {
1606
1606
  };
1607
1607
  let t = Zt.env?.LRU_CACHE_IGNORE_AC_WARNING !== "1";
1608
1608
  const e = () => {
1609
- t && (t = !1, Jr("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", e));
1609
+ t && (t = !1, Qr("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", e));
1610
1610
  };
1611
1611
  }
1612
- const Qa = (t) => !Qr.has(t), ve = (t) => t && t === Math.floor(t) && t > 0 && isFinite(t), es = (t) => ve(t) ? t <= Math.pow(2, 8) ? Uint8Array : t <= Math.pow(2, 16) ? Uint16Array : t <= Math.pow(2, 32) ? Uint32Array : t <= Number.MAX_SAFE_INTEGER ? ot : null : null;
1612
+ const Za = (t) => !Zr.has(t), ve = (t) => t && t === Math.floor(t) && t > 0 && isFinite(t), Jr = (t) => ve(t) ? t <= Math.pow(2, 8) ? Uint8Array : t <= Math.pow(2, 16) ? Uint16Array : t <= Math.pow(2, 32) ? Uint32Array : t <= Number.MAX_SAFE_INTEGER ? ot : null : null;
1613
1613
  class ot extends Array {
1614
1614
  constructor(e) {
1615
1615
  super(e), this.fill(0);
1616
1616
  }
1617
1617
  }
1618
- class Pe {
1618
+ class He {
1619
1619
  heap;
1620
1620
  length;
1621
1621
  // private constructor
1622
1622
  static #n = !1;
1623
1623
  static create(e) {
1624
- const n = es(e);
1624
+ const n = Jr(e);
1625
1625
  if (!n)
1626
1626
  return [];
1627
- Pe.#n = !0;
1628
- const r = new Pe(e, n);
1629
- return Pe.#n = !1, r;
1627
+ He.#n = !0;
1628
+ const r = new He(e, n);
1629
+ return He.#n = !1, r;
1630
1630
  }
1631
1631
  constructor(e, n) {
1632
- if (!Pe.#n)
1632
+ if (!He.#n)
1633
1633
  throw new TypeError("instantiate Stack using Stack.create(n)");
1634
1634
  this.heap = new n(e), this.length = 0;
1635
1635
  }
@@ -1640,7 +1640,7 @@ class Pe {
1640
1640
  return this.heap[--this.length];
1641
1641
  }
1642
1642
  }
1643
- let Ja = class ts {
1643
+ let Qa = class es {
1644
1644
  // options that cannot be changed without disaster
1645
1645
  #n;
1646
1646
  #i;
@@ -1812,7 +1812,7 @@ let Ja = class ts {
1812
1812
  const { max: n = 0, ttl: r, ttlResolution: i = 1, ttlAutopurge: s, updateAgeOnGet: o, updateAgeOnHas: a, allowStale: l, dispose: u, disposeAfter: c, noDisposeOnSet: p, noUpdateTTL: g, maxSize: f = 0, maxEntrySize: S = 0, sizeCalculation: v, fetchMethod: w, memoMethod: y, noDeleteOnFetchRejection: I, noDeleteOnStaleGet: A, allowStaleOnFetchRejection: b, allowStaleOnFetchAbort: L, ignoreFetchAbort: j } = e;
1813
1813
  if (n !== 0 && !ve(n))
1814
1814
  throw new TypeError("max option must be a nonnegative integer");
1815
- const P = n ? es(n) : Array;
1815
+ const P = n ? Jr(n) : Array;
1816
1816
  if (!P)
1817
1817
  throw new Error("invalid max value: " + n);
1818
1818
  if (this.#n = n, this.#i = f, this.maxEntrySize = S || this.#i, this.sizeCalculation = v, this.sizeCalculation) {
@@ -1825,7 +1825,7 @@ let Ja = class ts {
1825
1825
  throw new TypeError("memoMethod must be a function if defined");
1826
1826
  if (this.#C = y, w !== void 0 && typeof w != "function")
1827
1827
  throw new TypeError("fetchMethod must be a function if specified");
1828
- if (this.#I = w, this.#_ = !!w, this.#o = /* @__PURE__ */ new Map(), this.#s = new Array(n).fill(void 0), this.#e = new Array(n).fill(void 0), this.#f = new P(n), this.#p = new P(n), this.#u = 0, this.#l = 0, this.#E = Pe.create(n), this.#a = 0, this.#$ = 0, typeof u == "function" && (this.#t = u), typeof c == "function" ? (this.#m = c, this.#c = []) : (this.#m = void 0, this.#c = void 0), this.#v = !!this.#t, this.#h = !!this.#m, this.noDisposeOnSet = !!p, this.noUpdateTTL = !!g, this.noDeleteOnFetchRejection = !!I, this.allowStaleOnFetchRejection = !!b, this.allowStaleOnFetchAbort = !!L, this.ignoreFetchAbort = !!j, this.maxEntrySize !== 0) {
1828
+ if (this.#I = w, this.#_ = !!w, this.#o = /* @__PURE__ */ new Map(), this.#s = new Array(n).fill(void 0), this.#e = new Array(n).fill(void 0), this.#f = new P(n), this.#p = new P(n), this.#u = 0, this.#l = 0, this.#E = He.create(n), this.#a = 0, this.#$ = 0, typeof u == "function" && (this.#t = u), typeof c == "function" ? (this.#m = c, this.#c = []) : (this.#m = void 0, this.#c = void 0), this.#v = !!this.#t, this.#h = !!this.#m, this.noDisposeOnSet = !!p, this.noUpdateTTL = !!g, this.noDeleteOnFetchRejection = !!I, this.allowStaleOnFetchRejection = !!b, this.allowStaleOnFetchAbort = !!L, this.ignoreFetchAbort = !!j, this.maxEntrySize !== 0) {
1829
1829
  if (this.#i !== 0 && !ve(this.#i))
1830
1830
  throw new TypeError("maxSize must be a positive integer if specified");
1831
1831
  if (!ve(this.maxEntrySize))
@@ -1841,7 +1841,7 @@ let Ja = class ts {
1841
1841
  throw new TypeError("At least one of max, maxSize, or ttl is required");
1842
1842
  if (!this.ttlAutopurge && !this.#n && !this.#i) {
1843
1843
  const H = "LRU_CACHE_UNBOUNDED";
1844
- Qa(H) && (Qr.add(H), Jr("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", H, ts));
1844
+ Za(H) && (Zr.add(H), Qr("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.", "UnboundedCacheWarning", H, es));
1845
1845
  }
1846
1846
  }
1847
1847
  /**
@@ -2490,8 +2490,8 @@ let Ja = class ts {
2490
2490
  }
2491
2491
  }
2492
2492
  };
2493
- vt.LRUCache = Ja;
2494
- const z = (...t) => t.every((e) => e) ? t.join("") : "", Q = (t) => t ? encodeURIComponent(t) : "", ns = (t) => t.toLowerCase().replace(/^\W+|\/|\W+$/g, "").replace(/\W+/g, "-"), el = {
2493
+ vt.LRUCache = Qa;
2494
+ const z = (...t) => t.every((e) => e) ? t.join("") : "", Q = (t) => t ? encodeURIComponent(t) : "", ts = (t) => t.toLowerCase().replace(/^\W+|\/|\W+$/g, "").replace(/\W+/g, "-"), Ja = {
2495
2495
  sshtemplate: ({ domain: t, user: e, project: n, committish: r }) => `git@${t}:${e}/${n}.git${z("#", r)}`,
2496
2496
  sshurltemplate: ({ domain: t, user: e, project: n, committish: r }) => `git+ssh://git@${t}/${e}/${n}.git${z("#", r)}`,
2497
2497
  edittemplate: ({ domain: t, user: e, project: n, committish: r, editpath: i, path: s }) => `https://${t}/${e}/${n}${z("/", i, "/", Q(r || "HEAD"), "/", s)}`,
@@ -2504,7 +2504,7 @@ const z = (...t) => t.every((e) => e) ? t.join("") : "", Q = (t) => t ? encodeUR
2504
2504
  shortcuttemplate: ({ type: t, user: e, project: n, committish: r }) => `${t}:${e}/${n}${z("#", r)}`,
2505
2505
  pathtemplate: ({ user: t, project: e, committish: n }) => `${t}/${e}${z("#", n)}`,
2506
2506
  bugstemplate: ({ domain: t, user: e, project: n }) => `https://${t}/${e}/${n}/issues`,
2507
- hashformat: ns
2507
+ hashformat: ts
2508
2508
  }, Ae = {};
2509
2509
  Ae.github = {
2510
2510
  // First two are insecure and generally shouldn't be used any more, but
@@ -2587,7 +2587,7 @@ Ae.gist = {
2587
2587
  }
2588
2588
  },
2589
2589
  hashformat: function(t) {
2590
- return t && "file-" + ns(t);
2590
+ return t && "file-" + ts(t);
2591
2591
  }
2592
2592
  };
2593
2593
  Ae.sourcehut = {
@@ -2606,38 +2606,38 @@ Ae.sourcehut = {
2606
2606
  }
2607
2607
  };
2608
2608
  for (const [t, e] of Object.entries(Ae))
2609
- Ae[t] = Object.assign({}, el, e);
2610
- var tl = Ae;
2611
- const nl = Gr, jt = (t, e, n) => {
2609
+ Ae[t] = Object.assign({}, Ja, e);
2610
+ var el = Ae;
2611
+ const tl = Gr, jt = (t, e, n) => {
2612
2612
  const r = t.indexOf(n);
2613
2613
  return t.lastIndexOf(e, r > -1 ? r : 1 / 0);
2614
2614
  }, cr = (t) => {
2615
2615
  try {
2616
- return new nl.URL(t);
2616
+ return new tl.URL(t);
2617
2617
  } catch {
2618
2618
  }
2619
- }, rl = (t, e) => {
2619
+ }, nl = (t, e) => {
2620
2620
  const n = t.indexOf(":"), r = t.slice(0, n + 1);
2621
2621
  if (Object.prototype.hasOwnProperty.call(e, r))
2622
2622
  return t;
2623
2623
  const i = t.indexOf("@");
2624
2624
  return i > -1 ? i > n ? `git+ssh://${t}` : t : t.indexOf("//") === n + 1 ? t : `${t.slice(0, n + 1)}//${t.slice(n + 1)}`;
2625
- }, sl = (t) => {
2625
+ }, rl = (t) => {
2626
2626
  const e = jt(t, "@", "#"), n = jt(t, ":", "#");
2627
2627
  return n > e && (t = t.slice(0, n) + "/" + t.slice(n + 1)), jt(t, ":", "#") === -1 && t.indexOf("//") === -1 && (t = `git+ssh://${t}`), t;
2628
2628
  };
2629
- var rs = (t, e) => {
2630
- const n = e ? rl(t, e) : t;
2631
- return cr(n) || cr(sl(n));
2629
+ var ns = (t, e) => {
2630
+ const n = e ? nl(t, e) : t;
2631
+ return cr(n) || cr(rl(n));
2632
2632
  };
2633
- const il = rs, ol = (t) => {
2633
+ const sl = ns, il = (t) => {
2634
2634
  const e = t.indexOf("#"), n = t.indexOf("/"), r = t.indexOf("/", n + 1), i = t.indexOf(":"), s = /\s/.exec(t), o = t.indexOf("@"), a = !s || e > -1 && s.index > e, l = o === -1 || e > -1 && o > e, u = i === -1 || e > -1 && i > e, c = r === -1 || e > -1 && r > e, p = n > 0, g = e > -1 ? t[e - 1] !== "/" : !t.endsWith("/"), f = !t.startsWith(".");
2635
2635
  return a && p && g && f && l && u && c;
2636
2636
  };
2637
- var al = (t, e, { gitHosts: n, protocols: r }) => {
2637
+ var ol = (t, e, { gitHosts: n, protocols: r }) => {
2638
2638
  if (!t)
2639
2639
  return;
2640
- const i = ol(t) ? `github:${t}` : t, s = il(i, r);
2640
+ const i = il(t) ? `github:${t}` : t, s = sl(i, r);
2641
2641
  if (!s)
2642
2642
  return;
2643
2643
  const o = n.byShortcut[s.protocol], a = n.byDomain[s.hostname.startsWith("www.") ? s.hostname.slice(4) : s.hostname], l = o || a;
@@ -2669,7 +2669,7 @@ var al = (t, e, { gitHosts: n, protocols: r }) => {
2669
2669
  }
2670
2670
  return [l, g, c, f, p, S, e];
2671
2671
  };
2672
- const { LRUCache: ll } = vt, cl = tl, ul = al, fl = rs, Gt = new ll({ max: 1e3 });
2672
+ const { LRUCache: al } = vt, ll = el, cl = ol, ul = ns, Gt = new al({ max: 1e3 });
2673
2673
  class le {
2674
2674
  constructor(e, n, r, i, s, o, a = {}) {
2675
2675
  Object.assign(this, le.#n[e], {
@@ -2700,7 +2700,7 @@ class le {
2700
2700
  return;
2701
2701
  const r = e + JSON.stringify(n || {});
2702
2702
  if (!Gt.has(r)) {
2703
- const i = ul(e, n, {
2703
+ const i = cl(e, n, {
2704
2704
  gitHosts: le.#n,
2705
2705
  protocols: le.#i
2706
2706
  });
@@ -2709,7 +2709,7 @@ class le {
2709
2709
  return Gt.get(r);
2710
2710
  }
2711
2711
  static parseUrl(e) {
2712
- return fl(e);
2712
+ return ul(e);
2713
2713
  }
2714
2714
  #t(e, n) {
2715
2715
  if (typeof e != "function")
@@ -2773,10 +2773,10 @@ class le {
2773
2773
  return this.default && typeof this[this.default] == "function" ? this[this.default](e) : this.sshurl(e);
2774
2774
  }
2775
2775
  }
2776
- for (const [t, e] of Object.entries(cl))
2776
+ for (const [t, e] of Object.entries(ll))
2777
2777
  le.addHost(t, e);
2778
- var hl = le;
2779
- const pl = /* @__PURE__ */ Ve(hl), dl = [
2778
+ var fl = le;
2779
+ const hl = /* @__PURE__ */ Xe(fl), pl = [
2780
2780
  [1e3, 6e4, "sec"],
2781
2781
  [6e4, 36e5, "min"],
2782
2782
  [36e5, 864e5, "hour"],
@@ -2784,7 +2784,7 @@ const pl = /* @__PURE__ */ Ve(hl), dl = [
2784
2784
  [6048e5, 2628e6, "week"],
2785
2785
  [2628e6, 31536e6, "month"],
2786
2786
  [31536e6, 1 / 0, "year"]
2787
- ], gl = {
2787
+ ], dl = {
2788
2788
  "1 day ago": "yesterday",
2789
2789
  "1 week ago": "last week",
2790
2790
  "1 month ago": "last month",
@@ -2793,14 +2793,14 @@ const pl = /* @__PURE__ */ Ve(hl), dl = [
2793
2793
  "in 1 week": "next week",
2794
2794
  "in 1 month": "next month",
2795
2795
  "in 1 year": "next year"
2796
- }, ml = {
2796
+ }, gl = {
2797
2797
  sec: "second",
2798
2798
  min: "minute"
2799
2799
  };
2800
2800
  function ur(t) {
2801
2801
  return t instanceof Date ? t.getTime() : typeof t == "string" ? Date.parse(t) : t;
2802
2802
  }
2803
- function fr(t, { now: e, noAffix: n = !1, times: r = dl, nowThreshold: i = 2e3, nowString: s = "now", unknownString: o = "", aliases: a = !1, aliasesMap: l = gl, longUnits: u = !1 } = {}) {
2803
+ function fr(t, { now: e, noAffix: n = !1, times: r = pl, nowThreshold: i = 2e3, nowString: s = "now", unknownString: o = "", aliases: a = !1, aliasesMap: l = dl, longUnits: u = !1 } = {}) {
2804
2804
  const c = ur(t);
2805
2805
  if (e = e !== void 0 ? ur(e) : Date.now(), Number.isNaN(c))
2806
2806
  return o || String(t);
@@ -2811,25 +2811,25 @@ function fr(t, { now: e, noAffix: n = !1, times: r = dl, nowThreshold: i = 2e3,
2811
2811
  for (let w = 0, y = r.length; w < y; w++) {
2812
2812
  const I = r[w];
2813
2813
  if (!(g >= I[1])) {
2814
- f = Math.floor(g / I[0]), S = (u && ml[I[2]] || I[2]) + (f > 1 ? "s" : "");
2814
+ f = Math.floor(g / I[0]), S = (u && gl[I[2]] || I[2]) + (f > 1 ? "s" : "");
2815
2815
  break;
2816
2816
  }
2817
2817
  }
2818
2818
  const v = `${p && !n ? "in " : ""}${f} ${S}${!p && !n ? " ago" : ""}`;
2819
2819
  return a ? l[v] ?? v : v;
2820
2820
  }
2821
- function oe(t, e = globalThis.Deno ? globalThis.Deno.args : sn.argv) {
2821
+ function oe(t, e = globalThis.Deno ? globalThis.Deno.args : rn.argv) {
2822
2822
  const n = t.startsWith("-") ? "" : t.length === 1 ? "-" : "--", r = e.indexOf(n + t), i = e.indexOf("--");
2823
2823
  return r !== -1 && (i === -1 || r < i);
2824
2824
  }
2825
- const { env: K } = sn;
2825
+ const { env: K } = rn;
2826
2826
  let ct;
2827
2827
  oe("no-color") || oe("no-colors") || oe("color=false") || oe("color=never") ? ct = 0 : (oe("color") || oe("colors") || oe("color=true") || oe("color=always")) && (ct = 1);
2828
- function $l() {
2828
+ function ml() {
2829
2829
  if ("FORCE_COLOR" in K)
2830
2830
  return K.FORCE_COLOR === "true" ? 1 : K.FORCE_COLOR === "false" ? 0 : K.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(K.FORCE_COLOR, 10), 3);
2831
2831
  }
2832
- function El(t) {
2832
+ function $l(t) {
2833
2833
  return t === 0 ? !1 : {
2834
2834
  level: t,
2835
2835
  hasBasic: !0,
@@ -2837,8 +2837,8 @@ function El(t) {
2837
2837
  has16m: t >= 3
2838
2838
  };
2839
2839
  }
2840
- function yl(t, { streamIsTTY: e, sniffFlags: n = !0 } = {}) {
2841
- const r = $l();
2840
+ function El(t, { streamIsTTY: e, sniffFlags: n = !0 } = {}) {
2841
+ const r = ml();
2842
2842
  r !== void 0 && (ct = r);
2843
2843
  const i = n ? ct : r;
2844
2844
  if (i === 0)
@@ -2856,8 +2856,8 @@ function yl(t, { streamIsTTY: e, sniffFlags: n = !0 } = {}) {
2856
2856
  const s = i || 0;
2857
2857
  if (K.TERM === "dumb")
2858
2858
  return s;
2859
- if (sn.platform === "win32") {
2860
- const o = Ts.release().split(".");
2859
+ if (rn.platform === "win32") {
2860
+ const o = Os.release().split(".");
2861
2861
  return Number(o[0]) >= 10 && Number(o[2]) >= 10586 ? Number(o[2]) >= 14931 ? 3 : 2 : 1;
2862
2862
  }
2863
2863
  if ("CI" in K)
@@ -2878,33 +2878,33 @@ function yl(t, { streamIsTTY: e, sniffFlags: n = !0 } = {}) {
2878
2878
  return /-256(color)?$/i.test(K.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM) || "COLORTERM" in K ? 1 : s;
2879
2879
  }
2880
2880
  function hr(t, e = {}) {
2881
- const n = yl(t, {
2881
+ const n = El(t, {
2882
2882
  streamIsTTY: t && t.isTTY,
2883
2883
  ...e
2884
2884
  });
2885
- return El(n);
2885
+ return $l(n);
2886
2886
  }
2887
- const wl = {
2887
+ const yl = {
2888
2888
  stdout: hr({ isTTY: _n.isatty(1) }),
2889
2889
  stderr: hr({ isTTY: _n.isatty(2) })
2890
2890
  };
2891
- let ss = !0;
2892
- function vl() {
2893
- ss = !1;
2891
+ let rs = !0;
2892
+ function wl() {
2893
+ rs = !1;
2894
2894
  }
2895
2895
  function dn(t, e, n) {
2896
2896
  const r = t.join(" ");
2897
- return ss ? `\x1B[${e}m${r}\x1B[${n}m` : r;
2897
+ return rs ? `\x1B[${e}m${r}\x1B[${n}m` : r;
2898
2898
  }
2899
- const gn = (...t) => dn(t, 31, 39), mn = (...t) => dn(t, 32, 39), Al = (...t) => dn(t, 35, 39), Rl = (t) => {
2899
+ const gn = (...t) => dn(t, 31, 39), mn = (...t) => dn(t, 32, 39), vl = (...t) => dn(t, 35, 39), Al = (t) => {
2900
2900
  const e = typeof t;
2901
2901
  return t !== null && (e === "object" || e === "function");
2902
2902
  }, Ut = /* @__PURE__ */ new Set([
2903
2903
  "__proto__",
2904
2904
  "prototype",
2905
2905
  "constructor"
2906
- ]), bl = new Set("0123456789");
2907
- function Sl(t) {
2906
+ ]), Rl = new Set("0123456789");
2907
+ function bl(t) {
2908
2908
  const e = [];
2909
2909
  let n = "", r = "start", i = !1;
2910
2910
  for (const s of t)
@@ -2961,7 +2961,7 @@ function Sl(t) {
2961
2961
  throw new Error("Invalid character after an index");
2962
2962
  }
2963
2963
  default: {
2964
- if (r === "index" && !bl.has(s))
2964
+ if (r === "index" && !Rl.has(s))
2965
2965
  throw new Error("Invalid character in an index");
2966
2966
  if (r === "indexEnd")
2967
2967
  throw new Error("Invalid character after an index");
@@ -2984,22 +2984,22 @@ function Sl(t) {
2984
2984
  }
2985
2985
  return e;
2986
2986
  }
2987
- function _l(t, e) {
2987
+ function Sl(t, e) {
2988
2988
  if (typeof e != "number" && Array.isArray(t)) {
2989
2989
  const n = Number.parseInt(e, 10);
2990
2990
  return Number.isInteger(n) && t[n] === t[e];
2991
2991
  }
2992
2992
  return !1;
2993
2993
  }
2994
- function Ol(t, e, n) {
2995
- if (!Rl(t) || typeof e != "string")
2994
+ function _l(t, e, n) {
2995
+ if (!Al(t) || typeof e != "string")
2996
2996
  return n === void 0 ? t : n;
2997
- const r = Sl(e);
2997
+ const r = bl(e);
2998
2998
  if (r.length === 0)
2999
2999
  return n;
3000
3000
  for (let i = 0; i < r.length; i++) {
3001
3001
  const s = r[i];
3002
- if (_l(t, s) ? t = i === r.length - 1 ? void 0 : null : t = t[s], t == null) {
3002
+ if (Sl(t, s) ? t = i === r.length - 1 ? void 0 : null : t = t[s], t == null) {
3003
3003
  if (i !== r.length - 1)
3004
3004
  return n;
3005
3005
  break;
@@ -3007,16 +3007,16 @@ function Ol(t, e, n) {
3007
3007
  }
3008
3008
  return t === void 0 ? n : t;
3009
3009
  }
3010
- class Tl extends Error {
3010
+ class Ol extends Error {
3011
3011
  constructor(e) {
3012
3012
  super(), this.name = "AbortError", this.message = e;
3013
3013
  }
3014
3014
  }
3015
- const pr = (t) => globalThis.DOMException === void 0 ? new Tl(t) : new DOMException(t), dr = (t) => {
3015
+ const pr = (t) => globalThis.DOMException === void 0 ? new Ol(t) : new DOMException(t), dr = (t) => {
3016
3016
  const e = t.reason === void 0 ? pr("This operation was aborted.") : t.reason;
3017
3017
  return e instanceof Error ? e : pr(e);
3018
3018
  };
3019
- async function xl(t, e, {
3019
+ async function Tl(t, e, {
3020
3020
  concurrency: n = Number.POSITIVE_INFINITY,
3021
3021
  stopOnError: r = !0,
3022
3022
  signal: i
@@ -3094,9 +3094,9 @@ async function xl(t, e, {
3094
3094
  }
3095
3095
  const gr = Symbol("skip");
3096
3096
  async function mr(t, e) {
3097
- return xl(t, (n) => n(), e);
3097
+ return Tl(t, (n) => n(), e);
3098
3098
  }
3099
- function Xe(t, e) {
3099
+ function qe(t, e) {
3100
3100
  var n = 0, r, i;
3101
3101
  e = e || {};
3102
3102
  function s() {
@@ -3127,26 +3127,26 @@ function Xe(t, e) {
3127
3127
  r = null, i = null, n = 0;
3128
3128
  }, s;
3129
3129
  }
3130
- var qe = {};
3131
- const he = "\\\\/", $r = `[^${he}]`, $e = "\\.", Il = "\\+", Cl = "\\?", At = "\\/", Ll = "(?=.)", is = "[^/]", $n = `(?:${At}|$)`, os = `(?:^|${At})`, En = `${$e}{1,2}${$n}`, Nl = `(?!${$e})`, Dl = `(?!${os}${En})`, Pl = `(?!${$e}{0,1}${$n})`, Hl = `(?!${En})`, Fl = `[^.${At}]`, jl = `${is}*?`, Gl = "/", as = {
3130
+ var Ke = {};
3131
+ const he = "\\\\/", $r = `[^${he}]`, $e = "\\.", xl = "\\+", Il = "\\?", At = "\\/", Cl = "(?=.)", ss = "[^/]", $n = `(?:${At}|$)`, is = `(?:^|${At})`, En = `${$e}{1,2}${$n}`, Ll = `(?!${$e})`, Nl = `(?!${is}${En})`, Dl = `(?!${$e}{0,1}${$n})`, Pl = `(?!${En})`, Hl = `[^.${At}]`, Fl = `${ss}*?`, jl = "/", os = {
3132
3132
  DOT_LITERAL: $e,
3133
- PLUS_LITERAL: Il,
3134
- QMARK_LITERAL: Cl,
3133
+ PLUS_LITERAL: xl,
3134
+ QMARK_LITERAL: Il,
3135
3135
  SLASH_LITERAL: At,
3136
- ONE_CHAR: Ll,
3137
- QMARK: is,
3136
+ ONE_CHAR: Cl,
3137
+ QMARK: ss,
3138
3138
  END_ANCHOR: $n,
3139
3139
  DOTS_SLASH: En,
3140
- NO_DOT: Nl,
3141
- NO_DOTS: Dl,
3142
- NO_DOT_SLASH: Pl,
3143
- NO_DOTS_SLASH: Hl,
3144
- QMARK_NO_DOT: Fl,
3145
- STAR: jl,
3146
- START_ANCHOR: os,
3147
- SEP: Gl
3148
- }, Ul = {
3149
- ...as,
3140
+ NO_DOT: Ll,
3141
+ NO_DOTS: Nl,
3142
+ NO_DOT_SLASH: Dl,
3143
+ NO_DOTS_SLASH: Pl,
3144
+ QMARK_NO_DOT: Hl,
3145
+ STAR: Fl,
3146
+ START_ANCHOR: is,
3147
+ SEP: jl
3148
+ }, Gl = {
3149
+ ...os,
3150
3150
  SLASH_LITERAL: `[${he}]`,
3151
3151
  QMARK: $r,
3152
3152
  STAR: `${$r}*?`,
@@ -3159,7 +3159,7 @@ const he = "\\\\/", $r = `[^${he}]`, $e = "\\.", Il = "\\+", Cl = "\\?", At = "\
3159
3159
  START_ANCHOR: `(?:^|[${he}])`,
3160
3160
  END_ANCHOR: `(?:[${he}]|$)`,
3161
3161
  SEP: "\\"
3162
- }, Ml = {
3162
+ }, Ul = {
3163
3163
  alnum: "a-zA-Z0-9",
3164
3164
  alpha: "a-zA-Z",
3165
3165
  ascii: "\\x00-\\x7F",
@@ -3177,7 +3177,7 @@ const he = "\\\\/", $r = `[^${he}]`, $e = "\\.", Il = "\\+", Cl = "\\?", At = "\
3177
3177
  };
3178
3178
  var Rt = {
3179
3179
  MAX_LENGTH: 1024 * 64,
3180
- POSIX_REGEX_SOURCE: Ml,
3180
+ POSIX_REGEX_SOURCE: Ul,
3181
3181
  // regular expressions
3182
3182
  REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g,
3183
3183
  REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/,
@@ -3296,7 +3296,7 @@ var Rt = {
3296
3296
  * Create GLOB_CHARS
3297
3297
  */
3298
3298
  globChars(t) {
3299
- return t === !0 ? Ul : as;
3299
+ return t === !0 ? Gl : os;
3300
3300
  }
3301
3301
  };
3302
3302
  (function(t) {
@@ -3326,29 +3326,29 @@ var Rt = {
3326
3326
  const a = s.split(o ? /[\\/]/ : "/"), l = a[a.length - 1];
3327
3327
  return l === "" ? a[a.length - 2] : l;
3328
3328
  };
3329
- })(qe);
3330
- const Er = qe, {
3329
+ })(Ke);
3330
+ const Er = Ke, {
3331
3331
  CHAR_ASTERISK: Mt,
3332
3332
  /* * */
3333
- CHAR_AT: Bl,
3333
+ CHAR_AT: Ml,
3334
3334
  /* @ */
3335
- CHAR_BACKWARD_SLASH: Be,
3335
+ CHAR_BACKWARD_SLASH: ze,
3336
3336
  /* \ */
3337
- CHAR_COMMA: zl,
3337
+ CHAR_COMMA: Bl,
3338
3338
  /* , */
3339
3339
  CHAR_DOT: Bt,
3340
3340
  /* . */
3341
3341
  CHAR_EXCLAMATION_MARK: zt,
3342
3342
  /* ! */
3343
- CHAR_FORWARD_SLASH: ls,
3343
+ CHAR_FORWARD_SLASH: as,
3344
3344
  /* / */
3345
3345
  CHAR_LEFT_CURLY_BRACE: kt,
3346
3346
  /* { */
3347
- CHAR_LEFT_PARENTHESES: Wt,
3347
+ CHAR_LEFT_PARENTHESES: Vt,
3348
3348
  /* ( */
3349
- CHAR_LEFT_SQUARE_BRACKET: kl,
3349
+ CHAR_LEFT_SQUARE_BRACKET: zl,
3350
3350
  /* [ */
3351
- CHAR_PLUS: Wl,
3351
+ CHAR_PLUS: kl,
3352
3352
  /* + */
3353
3353
  CHAR_QUESTION_MARK: yr,
3354
3354
  /* ? */
@@ -3356,24 +3356,24 @@ const Er = qe, {
3356
3356
  /* } */
3357
3357
  CHAR_RIGHT_PARENTHESES: wr,
3358
3358
  /* ) */
3359
- CHAR_RIGHT_SQUARE_BRACKET: Xl
3359
+ CHAR_RIGHT_SQUARE_BRACKET: Wl
3360
3360
  /* ] */
3361
- } = Rt, vr = (t) => t === ls || t === Be, Ar = (t) => {
3361
+ } = Rt, vr = (t) => t === as || t === ze, Ar = (t) => {
3362
3362
  t.isPrefix !== !0 && (t.depth = t.isGlobstar ? 1 / 0 : 1);
3363
- }, ql = (t, e) => {
3363
+ }, Xl = (t, e) => {
3364
3364
  const n = e || {}, r = t.length - 1, i = n.parts === !0 || n.scanToEnd === !0, s = [], o = [], a = [];
3365
3365
  let l = t, u = -1, c = 0, p = 0, g = !1, f = !1, S = !1, v = !1, w = !1, y = !1, I = !1, A = !1, b = !1, L = !1, j = 0, P, H, D = { value: "", depth: 0, isGlob: !1 };
3366
3366
  const m = () => u >= r, _ = () => l.charCodeAt(u + 1), E = () => (P = H, l.charCodeAt(++u));
3367
3367
  for (; u < r; ) {
3368
3368
  H = E();
3369
3369
  let R;
3370
- if (H === Be) {
3370
+ if (H === ze) {
3371
3371
  I = D.backslashes = !0, H = E(), H === kt && (y = !0);
3372
3372
  continue;
3373
3373
  }
3374
3374
  if (y === !0 || H === kt) {
3375
3375
  for (j++; m() !== !0 && (H = E()); ) {
3376
- if (H === Be) {
3376
+ if (H === ze) {
3377
3377
  I = D.backslashes = !0, E();
3378
3378
  continue;
3379
3379
  }
@@ -3386,7 +3386,7 @@ const Er = qe, {
3386
3386
  continue;
3387
3387
  break;
3388
3388
  }
3389
- if (y !== !0 && H === zl) {
3389
+ if (y !== !0 && H === Bl) {
3390
3390
  if (g = D.isBrace = !0, S = D.isGlob = !0, L = !0, i === !0)
3391
3391
  continue;
3392
3392
  break;
@@ -3400,7 +3400,7 @@ const Er = qe, {
3400
3400
  continue;
3401
3401
  break;
3402
3402
  }
3403
- if (H === ls) {
3403
+ if (H === as) {
3404
3404
  if (s.push(u), o.push(D), D = { value: "", depth: 0, isGlob: !1 }, L === !0) continue;
3405
3405
  if (P === Bt && u === c + 1) {
3406
3406
  c += 2;
@@ -3409,10 +3409,10 @@ const Er = qe, {
3409
3409
  p = u + 1;
3410
3410
  continue;
3411
3411
  }
3412
- if (n.noext !== !0 && (H === Wl || H === Bl || H === Mt || H === yr || H === zt) === !0 && _() === Wt) {
3412
+ if (n.noext !== !0 && (H === kl || H === Ml || H === Mt || H === yr || H === zt) === !0 && _() === Vt) {
3413
3413
  if (S = D.isGlob = !0, v = D.isExtglob = !0, L = !0, H === zt && u === c && (b = !0), i === !0) {
3414
3414
  for (; m() !== !0 && (H = E()); ) {
3415
- if (H === Be) {
3415
+ if (H === ze) {
3416
3416
  I = D.backslashes = !0, H = E();
3417
3417
  continue;
3418
3418
  }
@@ -3435,13 +3435,13 @@ const Er = qe, {
3435
3435
  continue;
3436
3436
  break;
3437
3437
  }
3438
- if (H === kl) {
3438
+ if (H === zl) {
3439
3439
  for (; m() !== !0 && (R = E()); ) {
3440
- if (R === Be) {
3440
+ if (R === ze) {
3441
3441
  I = D.backslashes = !0, E();
3442
3442
  continue;
3443
3443
  }
3444
- if (R === Xl) {
3444
+ if (R === Wl) {
3445
3445
  f = D.isBracket = !0, S = D.isGlob = !0, L = !0;
3446
3446
  break;
3447
3447
  }
@@ -3454,10 +3454,10 @@ const Er = qe, {
3454
3454
  A = D.negated = !0, c++;
3455
3455
  continue;
3456
3456
  }
3457
- if (n.noparen !== !0 && H === Wt) {
3457
+ if (n.noparen !== !0 && H === Vt) {
3458
3458
  if (S = D.isGlob = !0, i === !0) {
3459
3459
  for (; m() !== !0 && (H = E()); ) {
3460
- if (H === Wt) {
3460
+ if (H === Vt) {
3461
3461
  I = D.backslashes = !0, H = E();
3462
3462
  continue;
3463
3463
  }
@@ -3507,14 +3507,14 @@ const Er = qe, {
3507
3507
  }
3508
3508
  return $;
3509
3509
  };
3510
- var Kl = ql;
3511
- const ut = Rt, pe = qe, {
3510
+ var ql = Xl;
3511
+ const ut = Rt, pe = Ke, {
3512
3512
  MAX_LENGTH: ft,
3513
- POSIX_REGEX_SOURCE: Yl,
3514
- REGEX_NON_SPECIAL_CHARS: Zl,
3515
- REGEX_SPECIAL_CHARS_BACKREF: Ql,
3516
- REPLACEMENTS: cs
3517
- } = ut, Jl = (t, e) => {
3513
+ POSIX_REGEX_SOURCE: Kl,
3514
+ REGEX_NON_SPECIAL_CHARS: Yl,
3515
+ REGEX_SPECIAL_CHARS_BACKREF: Zl,
3516
+ REPLACEMENTS: ls
3517
+ } = ut, Ql = (t, e) => {
3518
3518
  if (typeof e.expandRange == "function")
3519
3519
  return e.expandRange(...t, e);
3520
3520
  t.sort();
@@ -3528,7 +3528,7 @@ const ut = Rt, pe = qe, {
3528
3528
  }, Ne = (t, e) => `Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`, yn = (t, e) => {
3529
3529
  if (typeof t != "string")
3530
3530
  throw new TypeError("Expected a string");
3531
- t = cs[t] || t;
3531
+ t = ls[t] || t;
3532
3532
  const n = { ...e }, r = typeof n.maxLength == "number" ? Math.min(ft, n.maxLength) : ft;
3533
3533
  let i = t.length;
3534
3534
  if (i > r)
@@ -3569,11 +3569,11 @@ const ut = Rt, pe = qe, {
3569
3569
  t = pe.removePrefix(t, m), i = t.length;
3570
3570
  const _ = [], E = [], T = [];
3571
3571
  let h = s, d;
3572
- const $ = () => m.index === i - 1, R = m.peek = (C = 1) => t[m.index + C], x = m.advance = () => t[++m.index] || "", N = () => t.slice(m.index + 1), F = (C = "", W = 0) => {
3573
- m.consumed += C, m.index += W;
3572
+ const $ = () => m.index === i - 1, R = m.peek = (C = 1) => t[m.index + C], x = m.advance = () => t[++m.index] || "", N = () => t.slice(m.index + 1), F = (C = "", V = 0) => {
3573
+ m.consumed += C, m.index += V;
3574
3574
  }, X = (C) => {
3575
3575
  m.output += C.output != null ? C.output : C.value, F(C.value);
3576
- }, V = () => {
3576
+ }, W = () => {
3577
3577
  let C = 1;
3578
3578
  for (; R() === "!" && (R(2) !== "(" || R(3) === "?"); )
3579
3579
  x(), m.start++, C++;
@@ -3584,34 +3584,34 @@ const ut = Rt, pe = qe, {
3584
3584
  m[C]--, T.pop();
3585
3585
  }, G = (C) => {
3586
3586
  if (h.type === "globstar") {
3587
- const W = m.braces > 0 && (C.type === "comma" || C.type === "brace"), O = C.extglob === !0 || _.length && (C.type === "pipe" || C.type === "paren");
3588
- C.type !== "slash" && C.type !== "paren" && !W && !O && (m.output = m.output.slice(0, -h.output.length), h.type = "star", h.value = "*", h.output = D, m.output += h.output);
3587
+ const V = m.braces > 0 && (C.type === "comma" || C.type === "brace"), O = C.extglob === !0 || _.length && (C.type === "pipe" || C.type === "paren");
3588
+ C.type !== "slash" && C.type !== "paren" && !V && !O && (m.output = m.output.slice(0, -h.output.length), h.type = "star", h.value = "*", h.output = D, m.output += h.output);
3589
3589
  }
3590
3590
  if (_.length && C.type !== "paren" && (_[_.length - 1].inner += C.value), (C.value || C.output) && X(C), h && h.type === "text" && C.type === "text") {
3591
3591
  h.output = (h.output || h.value) + C.value, h.value += C.value;
3592
3592
  return;
3593
3593
  }
3594
3594
  C.prev = h, o.push(C), h = C;
3595
- }, ye = (C, W) => {
3596
- const O = { ...u[W], conditions: 1, inner: "" };
3595
+ }, ye = (C, V) => {
3596
+ const O = { ...u[V], conditions: 1, inner: "" };
3597
3597
  O.prev = h, O.parens = m.parens, O.output = m.output;
3598
3598
  const U = (n.capture ? "(" : "") + O.open;
3599
- J("parens"), G({ type: C, value: W, output: m.output ? "" : f }), G({ type: "paren", extglob: !0, value: x(), output: U }), _.push(O);
3599
+ J("parens"), G({ type: C, value: V, output: m.output ? "" : f }), G({ type: "paren", extglob: !0, value: x(), output: U }), _.push(O);
3600
3600
  }, ie = (C) => {
3601
- let W = C.close + (n.capture ? ")" : ""), O;
3601
+ let V = C.close + (n.capture ? ")" : ""), O;
3602
3602
  if (C.type === "negate") {
3603
3603
  let U = D;
3604
- if (C.inner && C.inner.length > 1 && C.inner.includes("/") && (U = j(n)), (U !== D || $() || /^\)+$/.test(N())) && (W = C.close = `)$))${U}`), C.inner.includes("*") && (O = N()) && /^\.[^\\/.]+$/.test(O)) {
3604
+ if (C.inner && C.inner.length > 1 && C.inner.includes("/") && (U = j(n)), (U !== D || $() || /^\)+$/.test(N())) && (V = C.close = `)$))${U}`), C.inner.includes("*") && (O = N()) && /^\.[^\\/.]+$/.test(O)) {
3605
3605
  const q = yn(O, { ...e, fastpaths: !1 }).output;
3606
- W = C.close = `)${q})${U})`;
3606
+ V = C.close = `)${q})${U})`;
3607
3607
  }
3608
3608
  C.prev.type === "bos" && (m.negatedExtglob = !0);
3609
3609
  }
3610
- G({ type: "paren", extglob: !0, value: d, output: W }), Z("parens");
3610
+ G({ type: "paren", extglob: !0, value: d, output: V }), Z("parens");
3611
3611
  };
3612
3612
  if (n.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(t)) {
3613
- let C = !1, W = t.replace(Ql, (O, U, q, re, ee, St) => re === "\\" ? (C = !0, O) : re === "?" ? U ? U + re + (ee ? I.repeat(ee.length) : "") : St === 0 ? H + (ee ? I.repeat(ee.length) : "") : I.repeat(q.length) : re === "." ? c.repeat(q.length) : re === "*" ? U ? U + re + (ee ? D : "") : D : U ? O : `\\${O}`);
3614
- return C === !0 && (n.unescape === !0 ? W = W.replace(/\\/g, "") : W = W.replace(/\\+/g, (O) => O.length % 2 === 0 ? "\\\\" : O ? "\\" : "")), W === t && n.contains === !0 ? (m.output = t, m) : (m.output = pe.wrapOutput(W, m, e), m);
3613
+ let C = !1, V = t.replace(Zl, (O, U, q, re, ee, St) => re === "\\" ? (C = !0, O) : re === "?" ? U ? U + re + (ee ? I.repeat(ee.length) : "") : St === 0 ? H + (ee ? I.repeat(ee.length) : "") : I.repeat(q.length) : re === "." ? c.repeat(q.length) : re === "*" ? U ? U + re + (ee ? D : "") : D : U ? O : `\\${O}`);
3614
+ return C === !0 && (n.unescape === !0 ? V = V.replace(/\\/g, "") : V = V.replace(/\\+/g, (O) => O.length % 2 === 0 ? "\\\\" : O ? "\\" : "")), V === t && n.contains === !0 ? (m.output = t, m) : (m.output = pe.wrapOutput(V, m, e), m);
3615
3615
  }
3616
3616
  for (; !$(); ) {
3617
3617
  if (d = x(), d === "\0")
@@ -3635,7 +3635,7 @@ const ut = Rt, pe = qe, {
3635
3635
  if (n.posix !== !1 && d === ":") {
3636
3636
  const O = h.value.slice(1);
3637
3637
  if (O.includes("[") && (h.posix = !0, O.includes(":"))) {
3638
- const U = h.value.lastIndexOf("["), q = h.value.slice(0, U), re = h.value.slice(U + 2), ee = Yl[re];
3638
+ const U = h.value.lastIndexOf("["), q = h.value.slice(0, U), re = h.value.slice(U + 2), ee = Kl[re];
3639
3639
  if (ee) {
3640
3640
  h.value = q + ee, m.backtrack = !0, x(), !s.output && o.indexOf(h) === 1 && (s.output = f);
3641
3641
  continue;
@@ -3724,7 +3724,7 @@ const ut = Rt, pe = qe, {
3724
3724
  const q = o.slice(), re = [];
3725
3725
  for (let ee = q.length - 1; ee >= 0 && (o.pop(), q[ee].type !== "brace"); ee--)
3726
3726
  q[ee].type !== "dots" && re.unshift(q[ee].value);
3727
- U = Jl(re, n), m.backtrack = !0;
3727
+ U = Ql(re, n), m.backtrack = !0;
3728
3728
  }
3729
3729
  if (O.comma !== !0 && O.dots !== !0) {
3730
3730
  const q = m.output.slice(0, O.outputIndex), re = m.tokens.slice(O.tokensIndex);
@@ -3791,7 +3791,7 @@ const ut = Rt, pe = qe, {
3791
3791
  continue;
3792
3792
  }
3793
3793
  if (n.nonegate !== !0 && m.index === 0) {
3794
- V();
3794
+ W();
3795
3795
  continue;
3796
3796
  }
3797
3797
  }
@@ -3821,7 +3821,7 @@ const ut = Rt, pe = qe, {
3821
3821
  }
3822
3822
  if (d !== "*") {
3823
3823
  (d === "$" || d === "^") && (d = `\\${d}`);
3824
- const O = Zl.exec(N());
3824
+ const O = Yl.exec(N());
3825
3825
  O && (d += O[0], m.index += O[0].length), G({ type: "text", value: d });
3826
3826
  continue;
3827
3827
  }
@@ -3850,8 +3850,8 @@ const ut = Rt, pe = qe, {
3850
3850
  continue;
3851
3851
  }
3852
3852
  for (; C.slice(0, 3) === "/**"; ) {
3853
- const Ze = t[m.index + 4];
3854
- if (Ze && Ze !== "/")
3853
+ const Qe = t[m.index + 4];
3854
+ if (Qe && Qe !== "/")
3855
3855
  break;
3856
3856
  C = C.slice(3), F("/**", 3);
3857
3857
  }
@@ -3864,8 +3864,8 @@ const ut = Rt, pe = qe, {
3864
3864
  continue;
3865
3865
  }
3866
3866
  if (O.type === "slash" && O.prev.type !== "bos" && C[0] === "/") {
3867
- const Ze = C[1] !== void 0 ? "|$" : "";
3868
- m.output = m.output.slice(0, -(O.output + h.output).length), O.output = `(?:${O.output}`, h.type = "globstar", h.output = `${j(n)}${g}|${g}${Ze})`, h.value += d, m.output += O.output + h.output, m.globstar = !0, F(d + x()), G({ type: "slash", value: "/", output: "" });
3867
+ const Qe = C[1] !== void 0 ? "|$" : "";
3868
+ m.output = m.output.slice(0, -(O.output + h.output).length), O.output = `(?:${O.output}`, h.type = "globstar", h.output = `${j(n)}${g}|${g}${Qe})`, h.value += d, m.output += O.output + h.output, m.globstar = !0, F(d + x()), G({ type: "slash", value: "/", output: "" });
3869
3869
  continue;
3870
3870
  }
3871
3871
  if (O.type === "bos" && C[0] === "/") {
@@ -3875,16 +3875,16 @@ const ut = Rt, pe = qe, {
3875
3875
  m.output = m.output.slice(0, -h.output.length), h.type = "globstar", h.output = j(n), h.value += d, m.output += h.output, m.globstar = !0, F(d);
3876
3876
  continue;
3877
3877
  }
3878
- const W = { type: "star", value: d, output: D };
3878
+ const V = { type: "star", value: d, output: D };
3879
3879
  if (n.bash === !0) {
3880
- W.output = ".*?", (h.type === "bos" || h.type === "slash") && (W.output = P + W.output), G(W);
3880
+ V.output = ".*?", (h.type === "bos" || h.type === "slash") && (V.output = P + V.output), G(V);
3881
3881
  continue;
3882
3882
  }
3883
3883
  if (h && (h.type === "bracket" || h.type === "paren") && n.regex === !0) {
3884
- W.output = d, G(W);
3884
+ V.output = d, G(V);
3885
3885
  continue;
3886
3886
  }
3887
- (m.index === m.start || h.type === "slash" || h.type === "dot") && (h.type === "dot" ? (m.output += w, h.output += w) : n.dot === !0 ? (m.output += y, h.output += y) : (m.output += P, h.output += P), R() !== "*" && (m.output += f, h.output += f)), G(W);
3887
+ (m.index === m.start || h.type === "slash" || h.type === "dot") && (h.type === "dot" ? (m.output += w, h.output += w) : n.dot === !0 ? (m.output += y, h.output += y) : (m.output += P, h.output += P), R() !== "*" && (m.output += f, h.output += f)), G(V);
3888
3888
  }
3889
3889
  for (; m.brackets > 0; ) {
3890
3890
  if (n.strictBrackets === !0) throw new SyntaxError(Ne("closing", "]"));
@@ -3909,7 +3909,7 @@ yn.fastpaths = (t, e) => {
3909
3909
  const n = { ...e }, r = typeof n.maxLength == "number" ? Math.min(ft, n.maxLength) : ft, i = t.length;
3910
3910
  if (i > r)
3911
3911
  throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${r}`);
3912
- t = cs[t] || t;
3912
+ t = ls[t] || t;
3913
3913
  const {
3914
3914
  DOT_LITERAL: s,
3915
3915
  SLASH_LITERAL: o,
@@ -3952,8 +3952,8 @@ yn.fastpaths = (t, e) => {
3952
3952
  let j = b(L);
3953
3953
  return j && n.strictSlashes !== !0 && (j += `${o}?`), j;
3954
3954
  };
3955
- var ec = yn;
3956
- const tc = Kl, Qt = ec, us = qe, nc = Rt, rc = (t) => t && typeof t == "object" && !Array.isArray(t), Y = (t, e, n = !1) => {
3955
+ var Jl = yn;
3956
+ const ec = ql, Qt = Jl, cs = Ke, tc = Rt, nc = (t) => t && typeof t == "object" && !Array.isArray(t), Y = (t, e, n = !1) => {
3957
3957
  if (Array.isArray(t)) {
3958
3958
  const c = t.map((g) => Y(g, e, n));
3959
3959
  return (g) => {
@@ -3964,7 +3964,7 @@ const tc = Kl, Qt = ec, us = qe, nc = Rt, rc = (t) => t && typeof t == "object"
3964
3964
  return !1;
3965
3965
  };
3966
3966
  }
3967
- const r = rc(t) && t.tokens && t.input;
3967
+ const r = nc(t) && t.tokens && t.input;
3968
3968
  if (t === "" || typeof t != "string" && !r)
3969
3969
  throw new TypeError("Expected pattern to be a non-empty string");
3970
3970
  const i = e || {}, s = i.windows, o = r ? Y.compileRe(t, e) : Y.makeRe(t, e, !1, !0), a = o.state;
@@ -3985,14 +3985,14 @@ Y.test = (t, e, n, { glob: r, posix: i } = {}) => {
3985
3985
  throw new TypeError("Expected input to be a string");
3986
3986
  if (t === "")
3987
3987
  return { isMatch: !1, output: "" };
3988
- const s = n || {}, o = s.format || (i ? us.toPosixSlashes : null);
3988
+ const s = n || {}, o = s.format || (i ? cs.toPosixSlashes : null);
3989
3989
  let a = t === r, l = a && o ? o(t) : t;
3990
3990
  return a === !1 && (l = o ? o(t) : t, a = l === r), (a === !1 || s.capture === !0) && (s.matchBase === !0 || s.basename === !0 ? a = Y.matchBase(t, e, n, i) : a = e.exec(l)), { isMatch: !!a, match: a, output: l };
3991
3991
  };
3992
- Y.matchBase = (t, e, n) => (e instanceof RegExp ? e : Y.makeRe(e, n)).test(us.basename(t));
3992
+ Y.matchBase = (t, e, n) => (e instanceof RegExp ? e : Y.makeRe(e, n)).test(cs.basename(t));
3993
3993
  Y.isMatch = (t, e, n) => Y(e, n)(t);
3994
3994
  Y.parse = (t, e) => Array.isArray(t) ? t.map((n) => Y.parse(n, e)) : Qt(t, { ...e, fastpaths: !1 });
3995
- Y.scan = (t, e) => tc(t, e);
3995
+ Y.scan = (t, e) => ec(t, e);
3996
3996
  Y.compileRe = (t, e, n = !1, r = !1) => {
3997
3997
  if (n === !0)
3998
3998
  return t.output;
@@ -4017,19 +4017,19 @@ Y.toRegex = (t, e) => {
4017
4017
  return /$^/;
4018
4018
  }
4019
4019
  };
4020
- Y.constants = nc;
4021
- var sc = Y;
4022
- const fs = sc, ic = qe;
4023
- function hs(t, e, n = !1) {
4024
- return e && (e.windows === null || e.windows === void 0) && (e = { ...e, windows: ic.isWindows() }), fs(t, e, n);
4020
+ Y.constants = tc;
4021
+ var rc = Y;
4022
+ const us = rc, sc = Ke;
4023
+ function fs(t, e, n = !1) {
4024
+ return e && (e.windows === null || e.windows === void 0) && (e = { ...e, windows: sc.isWindows() }), us(t, e, n);
4025
4025
  }
4026
- Object.assign(hs, fs);
4027
- var oc = hs;
4028
- const Rr = /* @__PURE__ */ Ve(oc), ac = "updates", lc = "16.3.1", cc = "Flexible npm and poetry dependency update tool", uc = "silverwind", fc = "silverwind/updates", hc = "BSD-2-Clause", pc = "dist/index.js", dc = "module", gc = [
4026
+ Object.assign(fs, us);
4027
+ var ic = fs;
4028
+ const Rr = /* @__PURE__ */ Xe(ic), oc = "updates", ac = "16.3.3", lc = "Flexible npm and poetry dependency update tool", cc = "silverwind", uc = "silverwind/updates", fc = "BSD-2-Clause", hc = "dist/index.js", pc = "module", dc = [
4029
4029
  "dist"
4030
- ], mc = {
4030
+ ], gc = {
4031
4031
  node: ">=18"
4032
- }, $c = {
4032
+ }, mc = {
4033
4033
  "@swc-node/register": "1.10.9",
4034
4034
  "@types/hosted-git-info": "3.0.5",
4035
4035
  "@types/minimist": "1.2.5",
@@ -4064,23 +4064,23 @@ const Rr = /* @__PURE__ */ Ve(oc), ac = "updates", lc = "16.3.1", cc = "Flexible
4064
4064
  "vite-config-silverwind": "3.0.0",
4065
4065
  vitest: "2.0.4",
4066
4066
  "vitest-config-silverwind": "9.1.0"
4067
- }, Ec = {
4068
- name: ac,
4069
- version: lc,
4070
- description: cc,
4071
- author: uc,
4072
- repository: fc,
4073
- license: hc,
4074
- bin: pc,
4075
- type: dc,
4076
- files: gc,
4077
- engines: mc,
4078
- devDependencies: $c
4079
- }, yc = /^.*?:\/\/(.*?@)?(github\.com[:/])/i, wc = /^([^/]+)\/([^/#]+)?.*?\/([0-9a-f]+|v?[0-9]+\.[0-9]+\.[0-9]+)$/i, Jt = /^[0-9a-f]{7,}$/i, br = /[0-9]+(\.[0-9]+)?(\.[0-9]+)?/g, ht = (t) => t.replace(/[|\\{}()[\]^$+*?.-]/g, "\\$&"), vc = Xe(pl.fromUrl), Vt = Xe(Ks), Ke = Xe((t) => t.endsWith("/") ? t.substring(0, t.length - 1) : t), ps = Ec.version, de = "\0", en = {
4067
+ }, $c = {
4068
+ name: oc,
4069
+ version: ac,
4070
+ description: lc,
4071
+ author: cc,
4072
+ repository: uc,
4073
+ license: fc,
4074
+ bin: hc,
4075
+ type: pc,
4076
+ files: dc,
4077
+ engines: gc,
4078
+ devDependencies: mc
4079
+ }, Ec = /^.*?:\/\/(.*?@)?(github\.com[:/])/i, yc = /^([^/]+)\/([^/#]+)?.*?\/([0-9a-f]+|v?[0-9]+\.[0-9]+\.[0-9]+)$/i, Jt = /^[0-9a-f]{7,}$/i, br = /[0-9]+(\.[0-9]+)?(\.[0-9]+)?/g, ht = (t) => t.replace(/[|\\{}()[\]^$+*?.-]/g, "\\$&"), wc = qe(hl.fromUrl), Wt = qe(qs), Ye = qe((t) => t.endsWith("/") ? t.substring(0, t.length - 1) : t), hs = $c.version, de = "\0", en = {
4080
4080
  "package.json": "npm",
4081
4081
  "pyproject.toml": "pypi",
4082
4082
  "go.mod": "go"
4083
- }, B = Ls(As.slice(2), {
4083
+ }, B = Cs(vs.slice(2), {
4084
4084
  boolean: [
4085
4085
  "E",
4086
4086
  "error-on-outdated",
@@ -4152,73 +4152,79 @@ const Rr = /* @__PURE__ */ Ve(oc), ac = "updates", lc = "16.3.1", cc = "Flexible
4152
4152
  V: "verbose"
4153
4153
  }
4154
4154
  });
4155
- (B["no-color"] || !wl.stdout) && vl();
4156
- const De = Ye(Re(B.greatest)), Xt = Ye(Re(B.prerelease)), qt = Ye(Re(B.release)), Sr = Ye(Re(B.patch)), _r = Ye(Re(B.minor)), Or = Re(B["allow-downgrade"]), Ac = Re(B.modes) || /* @__PURE__ */ new Set(["npm", "pypi"]), ds = B.githubapi ? Ke(B.githubapi) : "https://api.github.com", Rc = B.pypiapi ? Ke(B.pypiapi) : "https://pypi.org", tn = "https://proxy.golang.org", bc = B.goproxy ? Ke(B.goproxy) : Me.GOPROXY || tn, nt = (t) => t.replace(/^v/, "");
4155
+ (B["no-color"] || !yl.stdout) && wl();
4156
+ const De = Ze(Re(B.greatest)), Xt = Ze(Re(B.prerelease)), qt = Ze(Re(B.release)), Sr = Ze(Re(B.patch)), _r = Ze(Re(B.minor)), Or = Re(B["allow-downgrade"]), vc = Re(B.modes) || /* @__PURE__ */ new Set(["npm", "pypi"]), ps = B.githubapi ? Ye(B.githubapi) : "https://api.github.com", Ac = B.pypiapi ? Ye(B.pypiapi) : "https://pypi.org", Rc = "https://proxy.golang.org", bc = B.goproxy ? Ye(B.goproxy) : _c(), Fe = (t) => t.replace(/^v/, "");
4157
4157
  function Se(t, e) {
4158
4158
  for (const n of e instanceof Set ? e : [])
4159
4159
  if (n.test(t)) return !0;
4160
4160
  return !1;
4161
4161
  }
4162
- const Sc = Xe((t, e) => {
4162
+ const Sc = qe((t, e) => {
4163
4163
  const n = e[`${t}:registry`] || e.registry;
4164
4164
  return n.endsWith("/") ? n : `${n}/`;
4165
4165
  });
4166
- function gs(t, e) {
4166
+ function _c() {
4167
+ return Pe.GOPROXY ? Pe.GOPROXY.split(/[,|]/).map((t) => t.trim()).filter((t) => !!t && t !== "direct") : [Rc];
4168
+ }
4169
+ function ds(t, e) {
4167
4170
  const n = on(e, t);
4168
4171
  try {
4169
- return Os(n), n;
4172
+ return _s(n), n;
4170
4173
  } catch {
4171
4174
  }
4172
- const r = Mr(e);
4173
- return r === e ? null : gs(t, r);
4175
+ const r = sn(e);
4176
+ return r === e ? null : ds(t, r);
4174
4177
  }
4175
- function _c(t, e, n, r) {
4178
+ function Oc(t, e, n, r) {
4176
4179
  if (t.startsWith("@")) {
4177
- const i = (/@[a-z0-9][\w-.]+/.exec(t) || [""])[0], s = Ke(Sc(i, r));
4180
+ const i = (/@[a-z0-9][\w-.]+/.exec(t) || [""])[0], s = Ye(Sc(i, r));
4178
4181
  if (s !== e)
4179
4182
  try {
4180
- const o = Vt(s, n);
4183
+ const o = Wt(s, n);
4181
4184
  if (o?.token) return { auth: o, registry: s };
4182
4185
  } catch {
4183
4186
  }
4184
- return { auth: Vt(e, n), registry: e };
4187
+ return { auth: Wt(e, n), registry: e };
4185
4188
  } else
4186
- return { auth: Vt(e, n), registry: e };
4189
+ return { auth: Wt(e, n), registry: e };
4187
4190
  }
4188
- const wn = Xe((t, e, n) => ({
4191
+ const wn = qe((t, e, n) => ({
4189
4192
  ...Object.keys(t).length && { agentOpts: t },
4190
4193
  headers: {
4191
- "user-agent": `updates/${ps}`,
4194
+ "user-agent": `updates/${hs}`,
4192
4195
  ...n && { Authorization: `${e} ${n}` }
4193
4196
  }
4194
4197
  }));
4195
4198
  async function bt(t, e) {
4196
- B.verbose && console.error(`${Al("fetch")} ${t}`);
4199
+ B.verbose && console.error(`${vl("fetch")} ${t}`);
4197
4200
  const n = await fetch(t, e);
4198
4201
  return B.verbose && console.error(`${n.ok ? mn(n.status) : gn(n.status)} ${t}`), n;
4199
4202
  }
4200
- async function Oc(t, e, n, r, i, s) {
4201
- const { auth: o, registry: a } = _c(t, n, i, s), l = e === "resolutions" ? st(t) : t, u = `${a}/${l.replace(/\//g, "%2f")}`, c = await bt(u, wn(r, o?.type, o?.token));
4203
+ async function Tc(t, e, n, r, i, s) {
4204
+ const { auth: o, registry: a } = Oc(t, n, i, s), l = e === "resolutions" ? st(t) : t, u = `${a}/${l.replace(/\//g, "%2f")}`, c = await bt(u, wn(r, o?.type, o?.token));
4202
4205
  if (c?.ok)
4203
4206
  return [await c.json(), e, a, t];
4204
4207
  throw c?.status && c?.statusText ? new Error(`Received ${c.status} ${c.statusText} from ${u}`) : new Error(`Unable to fetch ${t} from ${a}`);
4205
4208
  }
4206
- async function Tc(t, e, n) {
4207
- const r = `${Rc}/pypi/${t}/json`, i = await bt(r, wn(n));
4209
+ async function xc(t, e, n) {
4210
+ const r = `${Ac}/pypi/${t}/json`, i = await bt(r, wn(n));
4208
4211
  if (i?.ok)
4209
4212
  return [await i.json(), e, null, t];
4210
4213
  throw i?.status && i?.statusText ? new Error(`Received ${i.status} ${i.statusText} from ${r}`) : new Error(`Unable to fetch ${t} from PyPi`);
4211
4214
  }
4212
- function xc(t) {
4215
+ function Ic(t) {
4213
4216
  return t.split(/\r?\n/).map((e) => e.trim()).filter(Boolean);
4214
4217
  }
4215
- async function ms(t, e, n, r) {
4216
- const i = `${r}/${t.toLowerCase()}/@latest`, s = await bt(i, wn(n));
4217
- if ([404, 410].includes(s.status) && r !== tn)
4218
- return ms(t, e, n, tn);
4219
- if (s?.ok)
4220
- return s.json();
4221
- throw s?.status && s?.statusText ? new Error(`Received ${s.status} ${s.statusText} from ${i}`) : new Error(`Unable to fetch ${t} from PyPi`);
4218
+ async function gs(t, e, n, r) {
4219
+ const i = r.shift();
4220
+ if (!i)
4221
+ throw new Error("No more go proxies available");
4222
+ const s = `${i}/${t.toLowerCase()}/@latest`, o = await bt(s, wn(n));
4223
+ if ([404, 410].includes(o.status) && r.length)
4224
+ return gs(t, e, n, r);
4225
+ if (o?.ok)
4226
+ return o.json();
4227
+ throw o?.status && o?.statusText ? new Error(`Received ${o.status} ${o.statusText} from ${s}`) : new Error(`Unable to fetch ${t} from PyPi`);
4222
4228
  }
4223
4229
  function Tr({ repository: t, homepage: e, info: n }, r, i) {
4224
4230
  n && (t = n.project_urls.repository || n.project_urls.Repository || n.project_urls.repo || n.project_urls.Repo || n.project_urls.source || n.project_urls.Source || n.project_urls["source code"] || n.project_urls["Source Code"] || n.project_urls.homepage || n.project_urls.Homepage || `https://pypi.org/project/${i}/`);
@@ -4226,22 +4232,22 @@ function Tr({ repository: t, homepage: e, info: n }, r, i) {
4226
4232
  if (r === "https://npm.pkg.github.com")
4227
4233
  return `https://github.com/${i.replace(/^@/, "")}`;
4228
4234
  if (t) {
4229
- const o = typeof t == "string" ? t : t.url, a = vc(o), l = a?.browse?.();
4235
+ const o = typeof t == "string" ? t : t.url, a = wc(o), l = a?.browse?.();
4230
4236
  l && (s = l), s && typeof t != "string" && t.directory && a?.treepath && (s = `${s}/${a.treepath}/HEAD/${t.directory}`), !s && typeof t != "string" && t?.url && /^https?:/.test(t.url) && (s = t.url), !s && o && (s = o);
4231
4237
  }
4232
4238
  return s || e || "";
4233
4239
  }
4234
4240
  function xr(t) {
4235
- console.info(B.json ? JSON.stringify({ message: t }) : t), ke();
4241
+ console.info(B.json ? JSON.stringify({ message: t }) : t), Ve();
4236
4242
  }
4237
- function ke(t) {
4243
+ function Ve(t) {
4238
4244
  if (t) {
4239
4245
  const e = t.stack ?? t.message;
4240
4246
  console.info(B.json ? JSON.stringify({ error: e }) : gn(e));
4241
4247
  }
4242
4248
  process.exit(t ? 1 : 0);
4243
4249
  }
4244
- function Ic(t = {}) {
4250
+ function Cc(t = {}) {
4245
4251
  for (const n of Object.keys(t))
4246
4252
  for (const r of Object.values(t[n]))
4247
4253
  typeof r.oldPrint == "string" && (r.old = r.oldPrint, delete r.oldPrint), typeof r.newPrint == "string" && (r.new = r.newPrint, delete r.newPrint), typeof r.oldOriginal == "string" && (r.old = r.oldOriginal, delete r.oldOriginal);
@@ -4256,12 +4262,12 @@ function Ic(t = {}) {
4256
4262
  n.results[r] || (n.results[r] = {}), n.results[r][o] || (n.results[r][o] = {}), n.results[r][o][a] = s;
4257
4263
  }
4258
4264
  console.info(JSON.stringify(n));
4259
- } else e && console.info(Nc(t));
4265
+ } else e && console.info(Pc(t));
4260
4266
  return B["error-on-outdated"] ? e ? 2 : 0 : B["error-on-unchanged"] ? e ? 0 : 2 : 0;
4261
4267
  }
4262
- async function Cc(t, e) {
4268
+ async function Lc(t, e) {
4263
4269
  const { platform: n } = await import("node:os"), r = n() === "win32";
4264
- r && Ss(t, 0), _s(t, e, r ? { flag: "r+" } : void 0);
4270
+ r && bs(t, 0), Ss(t, e, r ? { flag: "r+" } : void 0);
4265
4271
  }
4266
4272
  function Ir(t, e, n) {
4267
4273
  if (t === e) return t;
@@ -4275,8 +4281,8 @@ function Ir(t, e, n) {
4275
4281
  o += `${r[a]}.`;
4276
4282
  return o.replace(/\.$/, "");
4277
4283
  }
4278
- const Cr = (t) => t.replace(Is(), "").length;
4279
- function Lc(t, e = " ") {
4284
+ const Cr = (t) => t.replace(xs(), "").length;
4285
+ function Nc(t, e = " ") {
4280
4286
  let n = "";
4281
4287
  const r = new Array(t[0].length).fill(0);
4282
4288
  for (const i of t)
@@ -4295,22 +4301,25 @@ function Lc(t, e = " ") {
4295
4301
  }
4296
4302
  return n;
4297
4303
  }
4298
- function Nc(t) {
4304
+ function Dc(t) {
4305
+ return /\/v[0-9]$/.test(t) && (t = sn(t)), t;
4306
+ }
4307
+ function Pc(t) {
4299
4308
  const e = [["NAME", "OLD", "NEW", "AGE", "INFO"]], n = /* @__PURE__ */ new Set();
4300
4309
  for (const r of Object.keys(t))
4301
4310
  for (const [i, s] of Object.entries(t[r])) {
4302
4311
  const o = i.split(de)[1], a = `${r}|${o}`;
4303
4312
  n.has(a) || (n.add(a), e.push([
4304
- o,
4313
+ r === "go" ? Dc(o) : o,
4305
4314
  Ir(s.old, s.new, gn),
4306
4315
  Ir(s.new, s.old, mn),
4307
4316
  s.age || "",
4308
4317
  s.info || ""
4309
4318
  ]));
4310
4319
  }
4311
- return Lc(e);
4320
+ return Nc(e);
4312
4321
  }
4313
- function Dc(t, e) {
4322
+ function Hc(t, e) {
4314
4323
  let n = t;
4315
4324
  for (const r of Object.keys(e)) {
4316
4325
  const i = r.split(de)[1], s = e[r].oldOriginal || e[r].old, o = new RegExp(`"${ht(i)}": *"${ht(s)}"`, "g");
@@ -4318,7 +4327,7 @@ function Dc(t, e) {
4318
4327
  }
4319
4328
  return n;
4320
4329
  }
4321
- function Pc(t, e) {
4330
+ function Fc(t, e) {
4322
4331
  let n = t;
4323
4332
  for (const r of Object.keys(e)) {
4324
4333
  const i = r.split(de)[1], s = e[r].oldOriginal || e[r].old, o = new RegExp(`${ht(i)} *= *"${ht(s)}"`, "g");
@@ -4326,7 +4335,7 @@ function Pc(t, e) {
4326
4335
  }
4327
4336
  return n;
4328
4337
  }
4329
- function Hc(t, e, n) {
4338
+ function jc(t, e, n) {
4330
4339
  let r = t.replace(/[0-9]+\.[0-9]+\.[0-9]+(-.+)?/g, e);
4331
4340
  if (n && n !== t && /^[\^~]/.test(r)) {
4332
4341
  const i = n.substring(1).split("."), s = r.substring(1).split(".");
@@ -4338,7 +4347,7 @@ function Kt(t) {
4338
4347
  const e = ne.parse(t);
4339
4348
  return e ? !!e.prerelease.length : !1;
4340
4349
  }
4341
- function $s(t) {
4350
+ function ms(t) {
4342
4351
  return /[0-9]+\.[0-9]+\.[0-9]+-.+/.test(t);
4343
4352
  }
4344
4353
  function We(t) {
@@ -4348,9 +4357,9 @@ function We(t) {
4348
4357
  return "";
4349
4358
  }
4350
4359
  }
4351
- function Fc(t, e, { range: n, semvers: r, usePre: i, useRel: s, useGreatest: o }) {
4360
+ function Gc(t, e, { range: n, semvers: r, usePre: i, useRel: s, useGreatest: o }) {
4352
4361
  let a = We(n), l = 0;
4353
- i = $s(n) || i, i && (r.add("prerelease"), r.has("patch") && r.add("prepatch"), r.has("minor") && r.add("preminor"), r.has("major") && r.add("premajor"));
4362
+ i = ms(n) || i, i && (r.add("prerelease"), r.has("patch") && r.add("prepatch"), r.has("minor") && r.add("preminor"), r.has("major") && r.add("premajor"));
4354
4363
  for (const u of e) {
4355
4364
  const c = ne.parse(u);
4356
4365
  if (!c || !a || c.prerelease.length && (!i || s)) continue;
@@ -4365,19 +4374,20 @@ function Fc(t, e, { range: n, semvers: r, usePre: i, useRel: s, useGreatest: o }
4365
4374
  }
4366
4375
  return a || null;
4367
4376
  }
4368
- function jc(t, { mode: e, range: n, useGreatest: r, useRel: i, usePre: s, semvers: o }) {
4369
- if (e === "go") return t.Version;
4377
+ function Uc(t, { mode: e, range: n, useGreatest: r, useRel: i, usePre: s, semvers: o }) {
4378
+ if (e === "go")
4379
+ return ne.gt(Fe(t.Version), Fe(n)) ? t.Version : null;
4370
4380
  if (n === "*" || n.includes("||")) return null;
4371
4381
  let a = [];
4372
4382
  e === "pypi" ? a = Object.keys(t.releases).filter((u) => ne.valid(u)) : e === "npm" && (a = Object.keys(t.versions).filter((u) => ne.valid(u)));
4373
- const l = Fc(t, a, { range: n, semvers: o, usePre: s, useRel: i, useGreatest: r });
4383
+ const l = Gc(t, a, { range: n, semvers: o, usePre: s, useRel: i, useGreatest: r });
4374
4384
  if (!l) return null;
4375
4385
  if (r)
4376
4386
  return l;
4377
4387
  {
4378
4388
  let u = "", c = "";
4379
4389
  e === "pypi" ? (c = t.info.version, u = We(t.info.version)) : u = t["dist-tags"].latest;
4380
- const p = We(n), g = $s(n), f = Kt(l), S = Kt(u), v = ne.gt(l, p);
4390
+ const p = We(n), g = ms(n), f = Kt(l), S = Kt(u), v = ne.gt(l, p);
4381
4391
  if (!i && s || g && f || i && !v && g && !f || g && !f && v)
4382
4392
  return l;
4383
4393
  if (g && !f && !v)
@@ -4386,27 +4396,27 @@ function jc(t, { mode: e, range: n, useGreatest: r, useRel: i, usePre: s, semver
4386
4396
  return w && w !== "prerelease" && !o.has(w.replace(/^pre/, "")) || i && Kt(u) ? l : ne.lt(u, p) && !S ? Or === !0 || Se(t.name, Or) ? u : null : c || u;
4387
4397
  }
4388
4398
  }
4389
- function Es(t) {
4390
- const e = {}, n = Me.UPDATES_GITHUB_API_TOKEN || Me.GITHUB_API_TOKEN || Me.GH_TOKEN || Me.HOMEBREW_GITHUB_API_TOKEN;
4399
+ function $s(t) {
4400
+ const e = {}, n = Pe.UPDATES_GITHUB_API_TOKEN || Pe.GITHUB_API_TOKEN || Pe.GH_TOKEN || Pe.HOMEBREW_GITHUB_API_TOKEN;
4391
4401
  return n && (e.headers = { Authorization: `Bearer ${n}` }), bt(t, e);
4392
4402
  }
4393
- async function Gc(t, e) {
4394
- const n = `${ds}/repos/${t}/${e}/commits`, r = await Es(n);
4403
+ async function Mc(t, e) {
4404
+ const n = `${ps}/repos/${t}/${e}/commits`, r = await $s(n);
4395
4405
  if (!r?.ok) return { hash: "", commit: {} };
4396
4406
  const i = await r.json(), { sha: s, commit: o } = i[0];
4397
4407
  return { hash: s, commit: o };
4398
4408
  }
4399
- async function Uc(t, e) {
4400
- const n = await Es(`${ds}/repos/${t}/${e}/git/refs/tags`);
4409
+ async function Bc(t, e) {
4410
+ const n = await $s(`${ps}/repos/${t}/${e}/git/refs/tags`);
4401
4411
  return n?.ok ? (await n.json()).map((s) => s.ref.replace(/^refs\/tags\//, "")) : [];
4402
4412
  }
4403
- function Mc(t, e, n) {
4404
- const r = nt(e);
4413
+ function zc(t, e, n) {
4414
+ const r = Fe(e);
4405
4415
  if (ne.valid(r))
4406
4416
  if (n) {
4407
- let i = e, s = nt(e);
4417
+ let i = e, s = Fe(e);
4408
4418
  for (const o of t) {
4409
- const a = nt(o);
4419
+ const a = Fe(o);
4410
4420
  ne.valid(a) && (!i || ne.gt(a, s)) && (i = o, s = a);
4411
4421
  }
4412
4422
  if (ne.neq(r, s))
@@ -4414,17 +4424,17 @@ function Mc(t, e, n) {
4414
4424
  } else {
4415
4425
  const i = t.at(-1);
4416
4426
  if (!i) return;
4417
- const s = nt(i);
4427
+ const s = Fe(i);
4418
4428
  if (!ne.valid(s)) return;
4419
4429
  if (ne.neq(r, s))
4420
4430
  return i;
4421
4431
  }
4422
4432
  }
4423
- async function Bc(t, e, n) {
4424
- const r = e.old.replace(yc, ""), [i, s, o, a] = wc.exec(r) || [];
4433
+ async function kc(t, e, n) {
4434
+ const r = e.old.replace(Ec, ""), [i, s, o, a] = yc.exec(r) || [];
4425
4435
  if (!(!s || !o || !a))
4426
4436
  if (Jt.test(a)) {
4427
- const { hash: l, commit: u } = await Gc(s, o);
4437
+ const { hash: l, commit: u } = await Mc(s, o);
4428
4438
  if (!l) return;
4429
4439
  const c = u?.committer?.date ?? u?.author?.date, p = l.substring(0, a.length);
4430
4440
  if (a !== p) {
@@ -4432,12 +4442,15 @@ async function Bc(t, e, n) {
4432
4442
  return { key: t, newRange: g, user: s, repo: o, oldRef: a, newRef: p, newDate: c };
4433
4443
  }
4434
4444
  } else {
4435
- const l = await Uc(s, o), u = Mc(l, a, n);
4445
+ const l = await Bc(s, o), u = zc(l, a, n);
4436
4446
  if (u)
4437
4447
  return { key: t, newRange: u, user: s, repo: o, oldRef: a, newRef: u };
4438
4448
  }
4439
4449
  }
4440
- function zc(t) {
4450
+ function Vc(t) {
4451
+ return t.replace(/-.*/, "");
4452
+ }
4453
+ function Wc(t) {
4441
4454
  const e = t.match(br);
4442
4455
  return e?.length !== 1 ? t : t.replace(br, We(e[0]));
4443
4456
  }
@@ -4450,14 +4463,14 @@ function Lr(t) {
4450
4463
  async function Nr(t = []) {
4451
4464
  return [...(await import("node:tls")).rootCertificates, ...t];
4452
4465
  }
4453
- function nn(t, e) {
4466
+ function tn(t, e) {
4454
4467
  return e && typeof t == "string" ? /\/.+\//.test(t) ? new RegExp(t.slice(1, -1)) : Rr.makeRe(t) : t instanceof RegExp ? t : Rr.makeRe(t);
4455
4468
  }
4456
- function Ye(t) {
4469
+ function Ze(t) {
4457
4470
  if (t instanceof Set) {
4458
4471
  const e = /* @__PURE__ */ new Set();
4459
4472
  for (const n of t)
4460
- e.add(nn(n, !0));
4473
+ e.add(tn(n, !0));
4461
4474
  return e;
4462
4475
  }
4463
4476
  return t;
@@ -4465,9 +4478,9 @@ function Ye(t) {
4465
4478
  function Dr(t, e) {
4466
4479
  const n = /* @__PURE__ */ new Set();
4467
4480
  for (const r of t || [])
4468
- n.add(nn(r, !0));
4481
+ n.add(tn(r, !0));
4469
4482
  for (const r of e || [])
4470
- n.add(nn(r, !1));
4483
+ n.add(tn(r, !1));
4471
4484
  return n;
4472
4485
  }
4473
4486
  function Pr(t, e, n, r) {
@@ -4479,7 +4492,7 @@ function Pr(t, e, n, r) {
4479
4492
  if (i.test(t)) return !0;
4480
4493
  return !n.size;
4481
4494
  }
4482
- function kc(t) {
4495
+ function Xc(t) {
4483
4496
  const e = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
4484
4497
  if (t)
4485
4498
  for (const r of t) {
@@ -4507,16 +4520,16 @@ function kc(t) {
4507
4520
  }
4508
4521
  else
4509
4522
  for (const r of Object.keys(en)) {
4510
- const i = gs(r, bs());
4523
+ const i = ds(r, Rs());
4511
4524
  i && e.add(rt(i));
4512
4525
  }
4513
4526
  return [e, n];
4514
4527
  }
4515
- async function Wc() {
4528
+ async function qc() {
4516
4529
  for (const w of [process.stdout, process.stderr])
4517
4530
  w?._handle?.setBlocking?.(!0);
4518
4531
  const t = 96, e = typeof B.sockets == "number" ? B.sockets : t, { help: n, version: r, file: i, types: s, update: o } = B;
4519
- n && (Rs.write(`usage: updates [options]
4532
+ n && (As.write(`usage: updates [options]
4520
4533
 
4521
4534
  Options:
4522
4535
  -u, --update Update versions and write package file
@@ -4548,13 +4561,13 @@ async function Wc() {
4548
4561
  $ updates -e '/^react-(dom)?/'
4549
4562
  $ updates -f package.json
4550
4563
  $ updates -f pyproject.toml
4551
- `), Rn(0)), r && (console.info(ps), Rn(0));
4564
+ `), Rn(0)), r && (console.info(hs), Rn(0));
4552
4565
  const a = {}, l = {}, u = {}, c = {};
4553
4566
  let p = 0;
4554
- const [g, f] = kc(Re(i));
4567
+ const [g, f] = Xc(Re(i));
4555
4568
  for (const w of g) {
4556
- const y = Mr(rt(w)), I = st(w), A = en[I];
4557
- if (!Ac.has(A) && !f.has(w)) continue;
4569
+ const y = sn(rt(w)), I = st(w), A = en[I];
4570
+ if (!vc.has(A) && !f.has(w)) continue;
4558
4571
  c[A] = w, a[A] || (a[A] = {});
4559
4572
  let b = {};
4560
4573
  try {
@@ -4572,7 +4585,7 @@ async function Wc() {
4572
4585
  }
4573
4586
  let L = [], j = [];
4574
4587
  B.include && B.include !== !0 && (L = (Array.isArray(B.include) ? B.include : [B.include]).flatMap(($) => $.split(","))), B.exclude && B.exclude !== !0 && (j = (Array.isArray(B.exclude) ? B.exclude : [B.exclude]).flatMap(($) => $.split(",")));
4575
- const P = Dr(L, b?.include), H = Dr(j, b?.exclude), D = {}, m = Zs("npm", { registry: "https://registry.npmjs.org" }), _ = { npmrc: m, recursive: !0 };
4588
+ const P = Dr(L, b?.include), H = Dr(j, b?.exclude), D = {}, m = Ys("npm", { registry: "https://registry.npmjs.org" }), _ = { npmrc: m, recursive: !0 };
4576
4589
  if (A === "npm" && (m["strict-ssl"] === !1 && (D.rejectUnauthorized = !1), m?.cafile && (D.ca = await Nr(Lr(bn(m.cafile, "utf8")))), m?.ca)) {
4577
4590
  const $ = Array.isArray(m.ca) ? m.ca : [m.ca];
4578
4591
  D.ca = await Nr($.flatMap((R) => Lr(R)));
@@ -4595,7 +4608,7 @@ async function Wc() {
4595
4608
  ]);
4596
4609
  let T = {};
4597
4610
  if (A === "go")
4598
- u[A] = xs("go", [
4611
+ u[A] = Ts("go", [
4599
4612
  "list",
4600
4613
  "-m",
4601
4614
  "-f",
@@ -4612,10 +4625,10 @@ async function Wc() {
4612
4625
  if (A === "npm")
4613
4626
  T = JSON.parse(u[A]);
4614
4627
  else if (A === "pypi")
4615
- T = (await Promise.resolve().then(() => iu)).parse(u[A]);
4628
+ T = (await Promise.resolve().then(() => lu)).parse(u[A]);
4616
4629
  else {
4617
4630
  T.deps = {};
4618
- for (const $ of xc(u[A])) {
4631
+ for (const $ of Ic(u[A])) {
4619
4632
  const [R, x] = $.split("@");
4620
4633
  x && (T.deps[R] = x);
4621
4634
  }
@@ -4625,59 +4638,66 @@ async function Wc() {
4625
4638
  }
4626
4639
  for (const $ of E) {
4627
4640
  let R;
4628
- A === "npm" || A === "go" ? R = T[$] || {} : R = Ol(T, $) || {};
4641
+ A === "npm" || A === "go" ? R = T[$] || {} : R = _l(T, $) || {};
4629
4642
  for (const [x, N] of Object.entries(R))
4630
4643
  A !== "go" && ne.validRange(N) && Pr(x, A, P, H) ? a[A][`${$}${de}${x}`] = {
4631
- old: zc(N),
4644
+ old: Wc(N),
4632
4645
  oldOriginal: N
4633
4646
  } : A === "npm" && Pr(x, A, P, H) ? l[`${$}${de}${x}`] = {
4634
4647
  old: N
4635
4648
  } : A === "go" && (a[A][`${$}${de}${x}`] = {
4636
- old: N,
4649
+ old: Vc(N),
4637
4650
  oldOriginal: N
4638
4651
  });
4639
4652
  }
4640
4653
  if (p += Object.keys(a[A]).length + Object.keys(l).length, !p) continue;
4641
4654
  let h;
4642
- A === "npm" && (h = Ke(B.registry || b.registry || m.registry));
4655
+ A === "npm" && (h = Ye(B.registry || b.registry || m.registry));
4643
4656
  const d = await mr(Object.keys(a[A]).map(($) => async () => {
4644
4657
  const [R, x] = $.split(de);
4645
- return A === "npm" ? Oc(x, R, h, D, _, m) : A === "pypi" ? Tc(x, R, D) : [await ms(x, "latest", D, bc), "deps", null, x];
4658
+ if (A === "npm")
4659
+ return Tc(x, R, h, D, _, m);
4660
+ if (A === "pypi")
4661
+ return xc(x, R, D);
4662
+ {
4663
+ const N = Array.from(bc);
4664
+ return [await gs(x, "latest", D, N), "deps", null, x];
4665
+ }
4646
4666
  }), { concurrency: e });
4647
4667
  for (const [$, R, x, N] of d) {
4648
4668
  if ($?.error) throw new Error($.error);
4649
- const F = typeof De == "boolean" ? De : Se($.name, De), X = typeof Xt == "boolean" ? Xt : Se($.name, Xt), V = typeof qt == "boolean" ? qt : Se($.name, qt);
4669
+ const F = typeof De == "boolean" ? De : Se($.name, De), X = typeof Xt == "boolean" ? Xt : Se($.name, Xt), W = typeof qt == "boolean" ? qt : Se($.name, qt);
4650
4670
  let J;
4651
4671
  Sr === !0 || Se($.name, Sr) ? J = /* @__PURE__ */ new Set(["patch"]) : _r === !0 || Se($.name, _r) ? J = /* @__PURE__ */ new Set(["patch", "minor"]) : J = /* @__PURE__ */ new Set(["patch", "minor", "major"]);
4652
- const Z = `${R}${de}${N}`, G = a[A][Z].old, ye = a[A][Z].oldOriginal, ie = jc($, {
4672
+ const Z = `${R}${de}${N}`, G = a[A][Z].old, ye = a[A][Z].oldOriginal, ie = Uc($, {
4653
4673
  usePre: X,
4654
- useRel: V,
4674
+ useRel: W,
4655
4675
  useGreatest: F,
4656
4676
  semvers: J,
4657
4677
  range: G,
4658
4678
  mode: A
4659
4679
  });
4660
4680
  let C = "";
4661
- if (A === "go" && ie ? C = ie : ie && (C = Hc(G, ie, ye)), !ie || ye && ye === C)
4681
+ if (A === "go" && ie ? C = ie : ie && (C = jc(G, ie, ye)), !ie || ye && ye === C)
4662
4682
  delete a[A][Z];
4663
4683
  else {
4664
4684
  a[A][Z].new = C, A === "npm" ? a[A][Z].info = Tr($?.versions?.[ie], x, $.name) : A === "pypi" ? a[A][Z].info = Tr($, x, $.info.name) : a[A][Z].info = $?.Origin?.URL ?? `https://${N}`;
4665
- let W = "";
4666
- A === "npm" && $.time?.[ie] ? W = $.time[ie] : A === "pypi" && $.releases?.[ie]?.[0]?.upload_time_iso_8601 ? W = $.releases[ie][0].upload_time_iso_8601 : A === "go" && $.Time && (W = $.Time), W && (a[A][Z].age = fr(W, { noAffix: !0 }));
4685
+ let V = "";
4686
+ A === "npm" && $.time?.[ie] ? V = $.time[ie] : A === "pypi" && $.releases?.[ie]?.[0]?.upload_time_iso_8601 ? V = $.releases[ie][0].upload_time_iso_8601 : A === "go" && $.Time && (V = $.Time), V && (a[A][Z].age = fr(V, { noAffix: !0 }));
4667
4687
  }
4668
4688
  }
4669
4689
  if (Object.keys(l).length) {
4670
4690
  const $ = await mr(Object.entries(l).map(([R, x]) => () => {
4671
4691
  const N = R.split(de)[1], F = typeof De == "boolean" ? De : Se(N, De);
4672
- return Bc(R, x, F);
4692
+ return kc(R, x, F);
4673
4693
  }), { concurrency: e });
4674
4694
  for (const R of ($ || []).filter(Boolean)) {
4675
- const { key: x, newRange: N, user: F, repo: X, oldRef: V, newRef: J, newDate: Z } = R;
4695
+ const { key: x, newRange: N, user: F, repo: X, oldRef: W, newRef: J, newDate: Z } = R;
4676
4696
  a[A][x] = {
4677
4697
  // @ts-expect-error
4678
4698
  old: l[x].old,
4679
4699
  new: N,
4680
- oldPrint: Jt.test(V) ? V.substring(0, 7) : V,
4700
+ oldPrint: Jt.test(W) ? W.substring(0, 7) : W,
4681
4701
  newPrint: Jt.test(J) ? J.substring(0, 7) : J,
4682
4702
  info: `https://github.com/${F}/${X}`,
4683
4703
  ...Z ? { age: fr(Z, { noAffix: !0 }) } : {}
@@ -4685,18 +4705,18 @@ async function Wc() {
4685
4705
  }
4686
4706
  }
4687
4707
  }
4688
- p === 0 && (xr("No dependencies found, nothing to do."), ke());
4708
+ p === 0 && (xr("No dependencies found, nothing to do."), Ve());
4689
4709
  let S = 0;
4690
4710
  for (const w of Object.keys(a))
4691
4711
  S += Object.keys(a[w]).length;
4692
- S || (xr("All dependencies are up to date."), ke());
4693
- const v = Ic(a);
4712
+ S || (xr("All dependencies are up to date."), Ve());
4713
+ const v = Cc(a);
4694
4714
  if (o) {
4695
4715
  for (const w of Object.keys(a))
4696
4716
  if (Object.keys(a[w]).length) {
4697
4717
  try {
4698
- const y = w === "npm" ? Dc : Pc;
4699
- await Cc(c[w], y(u[w], a[w]));
4718
+ const y = w === "npm" ? Hc : Fc;
4719
+ await Lc(c[w], y(u[w], a[w]));
4700
4720
  } catch (y) {
4701
4721
  throw new Error(`Error writing ${st(c[w])}: ${y.message}`);
4702
4722
  }
@@ -4705,12 +4725,12 @@ async function Wc() {
4705
4725
  }
4706
4726
  process.exit(v);
4707
4727
  }
4708
- Wc().catch(ke).then(ke);
4709
- function Vc(t, e) {
4728
+ qc().catch(Ve).then(Ve);
4729
+ function Kc(t, e) {
4710
4730
  let n = t.slice(0, e).split(/\r\n|\n|\r/g);
4711
4731
  return [n.length, n.pop().length + 1];
4712
4732
  }
4713
- function Xc(t, e, n) {
4733
+ function Yc(t, e, n) {
4714
4734
  let r = t.split(/\r\n|\n|\r/g), i = "", s = (Math.log10(e + 1) | 0) + 1;
4715
4735
  for (let o = e - 1; o <= e + 1; o++) {
4716
4736
  let a = r[o - 1];
@@ -4725,7 +4745,7 @@ class M extends Error {
4725
4745
  column;
4726
4746
  codeblock;
4727
4747
  constructor(e, n) {
4728
- const [r, i] = Vc(n.toml, n.ptr), s = Xc(n.toml, r, i);
4748
+ const [r, i] = Kc(n.toml, n.ptr), s = Yc(n.toml, r, i);
4729
4749
  super(`Invalid TOML document: ${e}
4730
4750
 
4731
4751
  ${s}`, n), this.line = r, this.column = i, this.codeblock = s;
@@ -4784,7 +4804,7 @@ function Hr(t, e, n, r, i = !1) {
4784
4804
  ptr: e
4785
4805
  });
4786
4806
  }
4787
- function ys(t, e) {
4807
+ function Es(t, e) {
4788
4808
  let n = t[e], r = n === t[e + 1] && t[e + 1] === t[e + 2] ? t.slice(e, e + 3) : n;
4789
4809
  e += r.length - 1;
4790
4810
  do
@@ -4792,7 +4812,7 @@ function ys(t, e) {
4792
4812
  while (e > -1 && n !== "'" && t[e - 1] === "\\" && t[e - 2] !== "\\");
4793
4813
  return e > -1 && (e += r.length, r.length > 1 && (t[e] === n && e++, t[e] === n && e++)), e;
4794
4814
  }
4795
- let qc = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}:\d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i;
4815
+ let Zc = /^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}:\d{2}(?:\.\d+)?)?(Z|[-+]\d{2}:\d{2})?$/i;
4796
4816
  class Te extends Date {
4797
4817
  #n = !1;
4798
4818
  #i = !1;
@@ -4800,7 +4820,7 @@ class Te extends Date {
4800
4820
  constructor(e) {
4801
4821
  let n = !0, r = !0, i = "Z";
4802
4822
  if (typeof e == "string") {
4803
- let s = e.match(qc);
4823
+ let s = e.match(Zc);
4804
4824
  s ? (s[1] || (n = !1, e = `0000-01-01T${e}`), r = !!s[2], s[2] && +s[2] > 23 ? e = "" : (i = s[3] || null, e = e.toUpperCase(), !i && r && (e += "Z"))) : e = "";
4805
4825
  }
4806
4826
  super(e), isNaN(this.getTime()) || (this.#n = n, this.#i = r, this.#t = i);
@@ -4850,7 +4870,7 @@ class Te extends Date {
4850
4870
  return n.#n = !1, n.#t = null, n;
4851
4871
  }
4852
4872
  }
4853
- let Kc = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/, Yc = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/, Zc = /^[+-]?0[0-9_]/, Qc = /^[0-9a-f]{4,8}$/i, Fr = {
4873
+ let Qc = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/, Jc = /^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/, eu = /^[+-]?0[0-9_]/, tu = /^[0-9a-f]{4,8}$/i, Fr = {
4854
4874
  b: "\b",
4855
4875
  t: " ",
4856
4876
  n: `
@@ -4860,7 +4880,7 @@ let Kc = /^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/, Yc = /^
4860
4880
  '"': '"',
4861
4881
  "\\": "\\"
4862
4882
  };
4863
- function ws(t, e = 0, n = t.length) {
4883
+ function ys(t, e = 0, n = t.length) {
4864
4884
  let r = t[e] === "'", i = t[e++] === t[e] && t[e] === t[e + 1];
4865
4885
  i && (n -= 2, t[e += 2] === "\r" && e++, t[e] === `
4866
4886
  ` && e++);
@@ -4883,7 +4903,7 @@ function ws(t, e = 0, n = t.length) {
4883
4903
  if (o) {
4884
4904
  if (o = !1, u === "u" || u === "U") {
4885
4905
  let c = t.slice(e, e += u === "u" ? 4 : 8);
4886
- if (!Qc.test(c))
4906
+ if (!tu.test(c))
4887
4907
  throw new M("invalid unicode escape", {
4888
4908
  toml: t,
4889
4909
  ptr: s
@@ -4917,7 +4937,7 @@ function ws(t, e = 0, n = t.length) {
4917
4937
  }
4918
4938
  return a + t.slice(l, n - 1);
4919
4939
  }
4920
- function Jc(t, e, n) {
4940
+ function nu(t, e, n) {
4921
4941
  if (t === "true")
4922
4942
  return !0;
4923
4943
  if (t === "false")
@@ -4931,8 +4951,8 @@ function Jc(t, e, n) {
4931
4951
  if (t === "-0")
4932
4952
  return 0;
4933
4953
  let r;
4934
- if ((r = Kc.test(t)) || Yc.test(t)) {
4935
- if (Zc.test(t))
4954
+ if ((r = Qc.test(t)) || Jc.test(t)) {
4955
+ if (eu.test(t))
4936
4956
  throw new M("leading zeroes are not allowed", {
4937
4957
  toml: e,
4938
4958
  ptr: n
@@ -4958,7 +4978,7 @@ function Jc(t, e, n) {
4958
4978
  });
4959
4979
  return i;
4960
4980
  }
4961
- function eu(t, e, n, r) {
4981
+ function ru(t, e, n, r) {
4962
4982
  let i = t.slice(e, n), s = i.indexOf("#");
4963
4983
  s > -1 && (vn(t, s), i = i.slice(0, s));
4964
4984
  let o = i.trimEnd();
@@ -4976,7 +4996,7 @@ function eu(t, e, n, r) {
4976
4996
  function An(t, e, n) {
4977
4997
  let r = t[e];
4978
4998
  if (r === "[" || r === "{") {
4979
- let [o, a] = r === "[" ? ru(t, e) : nu(t, e), l = Hr(t, a, ",", n);
4999
+ let [o, a] = r === "[" ? ou(t, e) : iu(t, e), l = Hr(t, a, ",", n);
4980
5000
  if (n === "}") {
4981
5001
  let u = pt(t, a, l);
4982
5002
  if (u > -1)
@@ -4989,8 +5009,8 @@ function An(t, e, n) {
4989
5009
  }
4990
5010
  let i;
4991
5011
  if (r === '"' || r === "'") {
4992
- i = ys(t, e);
4993
- let o = ws(t, e, i);
5012
+ i = Es(t, e);
5013
+ let o = ys(t, e, i);
4994
5014
  if (n) {
4995
5015
  if (i = Ee(t, i, n !== "]"), t[i] && t[i] !== "," && t[i] !== n && t[i] !== `
4996
5016
  ` && t[i] !== "\r")
@@ -5003,19 +5023,19 @@ function An(t, e, n) {
5003
5023
  return [o, i];
5004
5024
  }
5005
5025
  i = Hr(t, e, ",", n);
5006
- let s = eu(t, e, i - +(t[i - 1] === ","), n === "]");
5026
+ let s = ru(t, e, i - +(t[i - 1] === ","), n === "]");
5007
5027
  if (!s[0])
5008
5028
  throw new M("incomplete key-value declaration: no value specified", {
5009
5029
  toml: t,
5010
5030
  ptr: e
5011
5031
  });
5012
5032
  return n && s[1] > -1 && (i = Ee(t, e + s[1]), i += +(t[i] === ",")), [
5013
- Jc(s[0], t, e),
5033
+ nu(s[0], t, e),
5014
5034
  i
5015
5035
  ];
5016
5036
  }
5017
- let tu = /^[a-zA-Z0-9-_]+[ \t]*$/;
5018
- function rn(t, e, n = "=") {
5037
+ let su = /^[a-zA-Z0-9-_]+[ \t]*$/;
5038
+ function nn(t, e, n = "=") {
5019
5039
  let r = e - 1, i = [], s = t.indexOf(n, e);
5020
5040
  if (s < 0)
5021
5041
  throw new M("incomplete key-value: cannot find end of key", {
@@ -5031,7 +5051,7 @@ function rn(t, e, n = "=") {
5031
5051
  toml: t,
5032
5052
  ptr: e
5033
5053
  });
5034
- let a = ys(t, e);
5054
+ let a = Es(t, e);
5035
5055
  if (a < 0)
5036
5056
  throw new M("unfinished string encountered", {
5037
5057
  toml: t,
@@ -5054,11 +5074,11 @@ function rn(t, e, n = "=") {
5054
5074
  toml: t,
5055
5075
  ptr: e
5056
5076
  });
5057
- i.push(ws(t, e, a));
5077
+ i.push(ys(t, e, a));
5058
5078
  } else {
5059
5079
  r = t.indexOf(".", e);
5060
5080
  let a = t.slice(e, r < 0 || r > s ? s : r);
5061
- if (!tu.test(a))
5081
+ if (!su.test(a))
5062
5082
  throw new M("only letter, numbers, dashes and underscores are allowed in keys", {
5063
5083
  toml: t,
5064
5084
  ptr: e
@@ -5068,7 +5088,7 @@ function rn(t, e, n = "=") {
5068
5088
  } while (r + 1 && r < s);
5069
5089
  return [i, Ee(t, s + 1, !0, !0)];
5070
5090
  }
5071
- function nu(t, e) {
5091
+ function iu(t, e) {
5072
5092
  let n = {}, r = /* @__PURE__ */ new Set(), i, s = 0;
5073
5093
  for (e++; (i = t[e++]) !== "}" && i; ) {
5074
5094
  if (i === `
@@ -5088,7 +5108,7 @@ function nu(t, e) {
5088
5108
  ptr: e - 1
5089
5109
  });
5090
5110
  if (i !== " " && i !== " ") {
5091
- let o, a = n, l = !1, [u, c] = rn(t, e - 1);
5111
+ let o, a = n, l = !1, [u, c] = nn(t, e - 1);
5092
5112
  for (let f = 0; f < u.length; f++) {
5093
5113
  if (f && (a = l ? a[o] : a[o] = {}), o = u[f], (l = Object.hasOwn(a, o)) && (typeof a[o] != "object" || r.has(a[o])))
5094
5114
  throw new M("trying to redefine an already defined value", {
@@ -5118,7 +5138,7 @@ function nu(t, e) {
5118
5138
  });
5119
5139
  return [n, e];
5120
5140
  }
5121
- function ru(t, e) {
5141
+ function ou(t, e) {
5122
5142
  let n = [], r;
5123
5143
  for (e++; (r = t[e++]) !== "]" && r; ) {
5124
5144
  if (r === ",")
@@ -5169,11 +5189,11 @@ function jr(t, e, n, r) {
5169
5189
  return null;
5170
5190
  return [o, i, l.c];
5171
5191
  }
5172
- function su(t) {
5192
+ function au(t) {
5173
5193
  let e = {}, n = {}, r = e, i = n;
5174
5194
  for (let s = Ee(t, 0); s < t.length; ) {
5175
5195
  if (t[s] === "[") {
5176
- let o = t[++s] === "[", a = rn(t, s += +o, "]");
5196
+ let o = t[++s] === "[", a = nn(t, s += +o, "]");
5177
5197
  if (o) {
5178
5198
  if (t[a[1] - 1] !== "]")
5179
5199
  throw new M("expected end of table declaration", {
@@ -5196,7 +5216,7 @@ function su(t) {
5196
5216
  });
5197
5217
  i = l[2], r = l[1], s = a[1];
5198
5218
  } else {
5199
- let o = rn(t, s), a = jr(
5219
+ let o = nn(t, s), a = jr(
5200
5220
  o[0],
5201
5221
  r,
5202
5222
  i,
@@ -5221,9 +5241,9 @@ function su(t) {
5221
5241
  }
5222
5242
  return e;
5223
5243
  }
5224
- const iu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5244
+ const lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5225
5245
  __proto__: null,
5226
5246
  TomlDate: Te,
5227
5247
  TomlError: M,
5228
- parse: su
5248
+ parse: au
5229
5249
  }, Symbol.toStringTag, { value: "Module" }));