updates 16.6.0 → 16.6.2
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.
- package/dist/index.js +335 -335
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { argv as Ki, env as be, stdout as Br, stderr as Wi, platform as
|
|
3
|
-
import { dirname as
|
|
2
|
+
import { argv as Ki, env as be, stdout as Br, stderr as Wi, platform as wr, versions as zi, exit as Yi, cwd as Qi } from "node:process";
|
|
3
|
+
import { dirname as _r, resolve as Be, basename as He, join as Or } from "node:path";
|
|
4
4
|
import { readFileSync as Hr, lstatSync as Gr, truncateSync as Ji, writeFileSync as Zi, accessSync as es } from "node:fs";
|
|
5
5
|
import { styleText as ts, stripVTControlCharacters as rs } from "node:util";
|
|
6
6
|
import { execFileSync as ns } from "node:child_process";
|
|
@@ -15,13 +15,13 @@ import Ci from "url";
|
|
|
15
15
|
import us from "http";
|
|
16
16
|
import cs from "os";
|
|
17
17
|
import { rootCertificates as ls } from "node:tls";
|
|
18
|
-
var
|
|
19
|
-
function
|
|
18
|
+
var tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
19
|
+
function ke(e) {
|
|
20
20
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
21
21
|
}
|
|
22
|
-
var
|
|
22
|
+
var rt, Mr;
|
|
23
23
|
function Pi() {
|
|
24
|
-
if (Mr) return
|
|
24
|
+
if (Mr) return rt;
|
|
25
25
|
Mr = 1;
|
|
26
26
|
function e(o, c) {
|
|
27
27
|
var r = o;
|
|
@@ -37,7 +37,7 @@ function Pi() {
|
|
|
37
37
|
function s(o, c) {
|
|
38
38
|
return c === "constructor" && typeof o[c] == "function" || c === "__proto__";
|
|
39
39
|
}
|
|
40
|
-
return
|
|
40
|
+
return rt = function(o, c) {
|
|
41
41
|
c || (c = {});
|
|
42
42
|
var r = {
|
|
43
43
|
bools: {},
|
|
@@ -135,10 +135,10 @@ function Pi() {
|
|
|
135
135
|
}), c["--"] ? a["--"] = h.slice() : h.forEach(function(x) {
|
|
136
136
|
a._.push(x);
|
|
137
137
|
}), a;
|
|
138
|
-
},
|
|
138
|
+
}, rt;
|
|
139
139
|
}
|
|
140
140
|
var fs = Pi();
|
|
141
|
-
const ps = /* @__PURE__ */
|
|
141
|
+
const ps = /* @__PURE__ */ ke(fs);
|
|
142
142
|
class hs extends Error {
|
|
143
143
|
constructor(i) {
|
|
144
144
|
super(), this.name = "AbortError", this.message = i;
|
|
@@ -228,9 +228,9 @@ const Vr = Symbol("skip");
|
|
|
228
228
|
async function Xr(e, i) {
|
|
229
229
|
return ds(e, (s) => s(), i);
|
|
230
230
|
}
|
|
231
|
-
var
|
|
232
|
-
function
|
|
233
|
-
if (Kr) return
|
|
231
|
+
var nt = {}, it, Kr;
|
|
232
|
+
function Ve() {
|
|
233
|
+
if (Kr) return it;
|
|
234
234
|
Kr = 1;
|
|
235
235
|
const e = "\\\\/", i = `[^${e}]`, s = "\\.", o = "\\+", c = "\\?", r = "\\/", t = "(?=.)", n = "[^/]", u = `(?:${r}|$)`, a = `(?:^|${r})`, l = `${s}{1,2}${u}`, d = `(?!${s})`, f = `(?!${a}${l})`, h = `(?!${s}{0,1}${u})`, g = `(?!${l})`, y = `[^.${r}]`, p = `${n}*?`, A = {
|
|
236
236
|
DOT_LITERAL: s,
|
|
@@ -279,7 +279,7 @@ function ke() {
|
|
|
279
279
|
word: "A-Za-z0-9_",
|
|
280
280
|
xdigit: "A-Fa-f0-9"
|
|
281
281
|
};
|
|
282
|
-
return
|
|
282
|
+
return it = {
|
|
283
283
|
MAX_LENGTH: 1024 * 64,
|
|
284
284
|
POSIX_REGEX_SOURCE: m,
|
|
285
285
|
// regular expressions
|
|
@@ -403,17 +403,17 @@ function ke() {
|
|
|
403
403
|
globChars(b) {
|
|
404
404
|
return b === !0 ? v : A;
|
|
405
405
|
}
|
|
406
|
-
},
|
|
406
|
+
}, it;
|
|
407
407
|
}
|
|
408
408
|
var Wr;
|
|
409
|
-
function
|
|
409
|
+
function Xe() {
|
|
410
410
|
return Wr || (Wr = 1, function(e) {
|
|
411
411
|
const {
|
|
412
412
|
REGEX_BACKSLASH: i,
|
|
413
413
|
REGEX_REMOVE_BACKSLASH: s,
|
|
414
414
|
REGEX_SPECIAL_CHARS: o,
|
|
415
415
|
REGEX_SPECIAL_CHARS_GLOBAL: c
|
|
416
|
-
} = /* @__PURE__ */
|
|
416
|
+
} = /* @__PURE__ */ Ve();
|
|
417
417
|
e.isObject = (r) => r !== null && typeof r == "object" && !Array.isArray(r), e.hasRegexChars = (r) => o.test(r), e.isRegexChar = (r) => r.length === 1 && e.hasRegexChars(r), e.escapeRegex = (r) => r.replace(c, "\\$1"), e.toPosixSlashes = (r) => r.replace(i, "/"), e.isWindows = () => {
|
|
418
418
|
if (typeof navigator < "u" && navigator.platform) {
|
|
419
419
|
const r = navigator.platform.toLowerCase();
|
|
@@ -434,13 +434,13 @@ function Ve() {
|
|
|
434
434
|
const n = r.split(t ? /[\\/]/ : "/"), u = n[n.length - 1];
|
|
435
435
|
return u === "" ? n[n.length - 2] : u;
|
|
436
436
|
};
|
|
437
|
-
}(
|
|
437
|
+
}(nt)), nt;
|
|
438
438
|
}
|
|
439
|
-
var
|
|
439
|
+
var st, zr;
|
|
440
440
|
function gs() {
|
|
441
|
-
if (zr) return
|
|
441
|
+
if (zr) return st;
|
|
442
442
|
zr = 1;
|
|
443
|
-
const e = /* @__PURE__ */
|
|
443
|
+
const e = /* @__PURE__ */ Xe(), {
|
|
444
444
|
CHAR_ASTERISK: i,
|
|
445
445
|
/* * */
|
|
446
446
|
CHAR_AT: s,
|
|
@@ -471,10 +471,10 @@ function gs() {
|
|
|
471
471
|
/* ) */
|
|
472
472
|
CHAR_RIGHT_SQUARE_BRACKET: y
|
|
473
473
|
/* ] */
|
|
474
|
-
} = /* @__PURE__ */
|
|
474
|
+
} = /* @__PURE__ */ Ve(), p = (v) => v === n || v === o, E = (v) => {
|
|
475
475
|
v.isPrefix !== !0 && (v.depth = v.isGlobstar ? 1 / 0 : 1);
|
|
476
476
|
};
|
|
477
|
-
return
|
|
477
|
+
return st = (v, m) => {
|
|
478
478
|
const b = m || {}, $ = v.length - 1, x = b.parts === !0 || b.scanToEnd === !0, F = [], G = [], M = [];
|
|
479
479
|
let T = v, _ = -1, L = 0, B = 0, H = !1, O = !1, I = !1, D = !1, C = !1, w = !1, X = !1, k = !1, ne = !1, S = !1, R = 0, V, N, U = { value: "", depth: 0, isGlob: !1 };
|
|
480
480
|
const Q = () => _ >= $, te = () => T.charCodeAt(_ + 1), W = () => (V = N, T.charCodeAt(++_));
|
|
@@ -620,13 +620,13 @@ function gs() {
|
|
|
620
620
|
q.slashes = F, q.parts = M;
|
|
621
621
|
}
|
|
622
622
|
return q;
|
|
623
|
-
},
|
|
623
|
+
}, st;
|
|
624
624
|
}
|
|
625
|
-
var
|
|
625
|
+
var ot, Yr;
|
|
626
626
|
function ms() {
|
|
627
|
-
if (Yr) return
|
|
627
|
+
if (Yr) return ot;
|
|
628
628
|
Yr = 1;
|
|
629
|
-
const e = /* @__PURE__ */
|
|
629
|
+
const e = /* @__PURE__ */ Ve(), i = /* @__PURE__ */ Xe(), {
|
|
630
630
|
MAX_LENGTH: s,
|
|
631
631
|
POSIX_REGEX_SOURCE: o,
|
|
632
632
|
REGEX_NON_SPECIAL_CHARS: c,
|
|
@@ -728,7 +728,7 @@ function ms() {
|
|
|
728
728
|
q({ type: "paren", extglob: !0, value: R, output: re }), ee("parens");
|
|
729
729
|
};
|
|
730
730
|
if (f.fastpaths !== !1 && !/(^[*!]|[/()[\]{}"])/.test(l)) {
|
|
731
|
-
let j = !1, re = l.replace(r, (P, z, ie, ce, se,
|
|
731
|
+
let j = !1, re = l.replace(r, (P, z, ie, ce, se, et) => ce === "\\" ? (j = !0, P) : ce === "?" ? z ? z + ce + (se ? _.repeat(se.length) : "") : et === 0 ? D + (se ? _.repeat(se.length) : "") : _.repeat(ie.length) : ce === "." ? m.repeat(ie.length) : ce === "*" ? z ? z + ce + (se ? C : "") : C : z ? P : `\\${P}`);
|
|
732
732
|
return j === !0 && (f.unescape === !0 ? re = re.replace(/\\/g, "") : re = re.replace(/\\+/g, (P) => P.length % 2 === 0 ? "\\\\" : P ? "\\" : "")), re === l && f.contains === !0 ? (w.output = l, w) : (w.output = i.wrapOutput(re, w, d), w);
|
|
733
733
|
}
|
|
734
734
|
for (; !V(); ) {
|
|
@@ -962,8 +962,8 @@ function ms() {
|
|
|
962
962
|
q({ type: "star", value: R, output: "" });
|
|
963
963
|
continue;
|
|
964
964
|
}
|
|
965
|
-
const se = w.braces > 0 && (P.type === "comma" || P.type === "brace"),
|
|
966
|
-
if (!ie && P.type !== "paren" && !se && !
|
|
965
|
+
const se = w.braces > 0 && (P.type === "comma" || P.type === "brace"), et = X.length && (P.type === "pipe" || P.type === "paren");
|
|
966
|
+
if (!ie && P.type !== "paren" && !se && !et) {
|
|
967
967
|
q({ type: "star", value: R, output: "" });
|
|
968
968
|
continue;
|
|
969
969
|
}
|
|
@@ -1069,13 +1069,13 @@ function ms() {
|
|
|
1069
1069
|
}, H = i.removePrefix(l, T);
|
|
1070
1070
|
let O = B(H);
|
|
1071
1071
|
return O && f.strictSlashes !== !0 && (O += `${p}?`), O;
|
|
1072
|
-
},
|
|
1072
|
+
}, ot = a, ot;
|
|
1073
1073
|
}
|
|
1074
|
-
var
|
|
1074
|
+
var at, Qr;
|
|
1075
1075
|
function vs() {
|
|
1076
|
-
if (Qr) return
|
|
1076
|
+
if (Qr) return at;
|
|
1077
1077
|
Qr = 1;
|
|
1078
|
-
const e = /* @__PURE__ */ gs(), i = /* @__PURE__ */ ms(), s = /* @__PURE__ */
|
|
1078
|
+
const e = /* @__PURE__ */ gs(), i = /* @__PURE__ */ ms(), s = /* @__PURE__ */ Xe(), o = /* @__PURE__ */ Ve(), c = (t) => t && typeof t == "object" && !Array.isArray(t), r = (t, n, u = !1) => {
|
|
1079
1079
|
if (Array.isArray(t)) {
|
|
1080
1080
|
const p = t.map((A) => r(A, n, u));
|
|
1081
1081
|
return (A) => {
|
|
@@ -1131,20 +1131,20 @@ function vs() {
|
|
|
1131
1131
|
if (n && n.debug === !0) throw u;
|
|
1132
1132
|
return /$^/;
|
|
1133
1133
|
}
|
|
1134
|
-
}, r.constants = o,
|
|
1134
|
+
}, r.constants = o, at = r, at;
|
|
1135
1135
|
}
|
|
1136
|
-
var
|
|
1136
|
+
var ut, Jr;
|
|
1137
1137
|
function ys() {
|
|
1138
|
-
if (Jr) return
|
|
1138
|
+
if (Jr) return ut;
|
|
1139
1139
|
Jr = 1;
|
|
1140
|
-
const e = /* @__PURE__ */ vs(), i = /* @__PURE__ */
|
|
1140
|
+
const e = /* @__PURE__ */ vs(), i = /* @__PURE__ */ Xe();
|
|
1141
1141
|
function s(o, c, r = !1) {
|
|
1142
1142
|
return c && (c.windows === null || c.windows === void 0) && (c = { ...c, windows: i.isWindows() }), e(o, c, r);
|
|
1143
1143
|
}
|
|
1144
|
-
return Object.assign(s, e),
|
|
1144
|
+
return Object.assign(s, e), ut = s, ut;
|
|
1145
1145
|
}
|
|
1146
1146
|
var Es = /* @__PURE__ */ ys();
|
|
1147
|
-
const Zr = /* @__PURE__ */
|
|
1147
|
+
const Zr = /* @__PURE__ */ ke(Es), Rs = "16.6.2", ws = {
|
|
1148
1148
|
version: Rs
|
|
1149
1149
|
};
|
|
1150
1150
|
var ye = {}, ge = {}, en;
|
|
@@ -1253,9 +1253,9 @@ function Di() {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
return ge;
|
|
1255
1255
|
}
|
|
1256
|
-
var
|
|
1256
|
+
var ct, tn;
|
|
1257
1257
|
function $s() {
|
|
1258
|
-
if (tn) return
|
|
1258
|
+
if (tn) return ct;
|
|
1259
1259
|
tn = 1;
|
|
1260
1260
|
var e = 1, i = 2;
|
|
1261
1261
|
function s() {
|
|
@@ -1264,7 +1264,7 @@ function $s() {
|
|
|
1264
1264
|
function o(c, r, t) {
|
|
1265
1265
|
return c.slice(r, t).replace(/\S/g, " ");
|
|
1266
1266
|
}
|
|
1267
|
-
return
|
|
1267
|
+
return ct = function(c, r) {
|
|
1268
1268
|
r = r || {};
|
|
1269
1269
|
for (var t, n, u = !1, a = !1, l = 0, d = "", f = r.whitespace === !1 ? s : o, h = 0; h < c.length; h++) {
|
|
1270
1270
|
if (t = c[h], n = c[h + 1], !a && t === '"') {
|
|
@@ -1291,7 +1291,7 @@ function $s() {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
}
|
|
1293
1293
|
return d + (a ? f(c.substr(l)) : c.substr(l));
|
|
1294
|
-
},
|
|
1294
|
+
}, ct;
|
|
1295
1295
|
}
|
|
1296
1296
|
var rn;
|
|
1297
1297
|
function Ss() {
|
|
@@ -1343,10 +1343,10 @@ function Ss() {
|
|
|
1343
1343
|
return n(process.cwd(), t);
|
|
1344
1344
|
}, ye;
|
|
1345
1345
|
}
|
|
1346
|
-
var
|
|
1346
|
+
var lt = { exports: {} };
|
|
1347
1347
|
var nn;
|
|
1348
1348
|
function bs() {
|
|
1349
|
-
if (nn) return
|
|
1349
|
+
if (nn) return lt.exports;
|
|
1350
1350
|
nn = 1;
|
|
1351
1351
|
function e(r) {
|
|
1352
1352
|
return r instanceof Buffer || r instanceof Date || r instanceof RegExp;
|
|
@@ -1372,7 +1372,7 @@ function bs() {
|
|
|
1372
1372
|
function o(r, t) {
|
|
1373
1373
|
return t === "__proto__" ? void 0 : r[t];
|
|
1374
1374
|
}
|
|
1375
|
-
var c =
|
|
1375
|
+
var c = lt.exports = function() {
|
|
1376
1376
|
if (arguments.length < 1 || typeof arguments[0] != "object")
|
|
1377
1377
|
return !1;
|
|
1378
1378
|
if (arguments.length < 2)
|
|
@@ -1400,14 +1400,14 @@ function bs() {
|
|
|
1400
1400
|
});
|
|
1401
1401
|
}), r;
|
|
1402
1402
|
};
|
|
1403
|
-
return
|
|
1403
|
+
return lt.exports;
|
|
1404
1404
|
}
|
|
1405
|
-
var
|
|
1405
|
+
var ft, sn;
|
|
1406
1406
|
function As() {
|
|
1407
|
-
if (sn) return
|
|
1407
|
+
if (sn) return ft;
|
|
1408
1408
|
sn = 1;
|
|
1409
1409
|
var e = Ss(), i = me.join, s = bs(), o = "/etc", c = process.platform === "win32", r = c ? process.env.USERPROFILE : process.env.HOME;
|
|
1410
|
-
return
|
|
1410
|
+
return ft = function(t, n, u, a) {
|
|
1411
1411
|
if (typeof t != "string")
|
|
1412
1412
|
throw new Error("rc(name): name *must* be string");
|
|
1413
1413
|
u || (u = Pi()(process.argv.slice(2))), n = (typeof n == "string" ? e.json(n) : n) || {}, a = a || e.parse;
|
|
@@ -1431,13 +1431,13 @@ function As() {
|
|
|
1431
1431
|
u,
|
|
1432
1432
|
f.length ? { configs: f, config: f[f.length - 1] } : void 0
|
|
1433
1433
|
]));
|
|
1434
|
-
},
|
|
1434
|
+
}, ft;
|
|
1435
1435
|
}
|
|
1436
1436
|
var _s = As();
|
|
1437
|
-
const Os = /* @__PURE__ */
|
|
1438
|
-
var
|
|
1437
|
+
const Os = /* @__PURE__ */ ke(_s);
|
|
1438
|
+
var pt = { exports: {} }, Ee = {}, Re = {}, ht, on;
|
|
1439
1439
|
function xs() {
|
|
1440
|
-
if (on) return
|
|
1440
|
+
if (on) return ht;
|
|
1441
1441
|
on = 1;
|
|
1442
1442
|
var e = is, i = process.cwd, s = null, o = process.env.GRACEFUL_FS_PLATFORM || process.platform;
|
|
1443
1443
|
process.cwd = function() {
|
|
@@ -1453,7 +1453,7 @@ function xs() {
|
|
|
1453
1453
|
s = null, c.call(process, t);
|
|
1454
1454
|
}, Object.setPrototypeOf && Object.setPrototypeOf(process.chdir, c);
|
|
1455
1455
|
}
|
|
1456
|
-
|
|
1456
|
+
ht = r;
|
|
1457
1457
|
function r(t) {
|
|
1458
1458
|
e.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./) && n(t), t.lutimes || u(t), t.chown = d(t.chown), t.fchown = d(t.fchown), t.lchown = d(t.lchown), t.chmod = a(t.chmod), t.fchmod = a(t.fchmod), t.lchmod = a(t.lchmod), t.chownSync = f(t.chownSync), t.fchownSync = f(t.fchownSync), t.lchownSync = f(t.lchownSync), t.chmodSync = l(t.chmodSync), t.fchmodSync = l(t.fchmodSync), t.lchmodSync = l(t.lchmodSync), t.stat = h(t.stat), t.fstat = h(t.fstat), t.lstat = h(t.lstat), t.statSync = g(t.statSync), t.fstatSync = g(t.fstatSync), t.lstatSync = g(t.lstatSync), t.chmod && !t.lchmod && (t.lchmod = function(p, E, A) {
|
|
1459
1459
|
A && process.nextTick(A);
|
|
@@ -1625,14 +1625,14 @@ function xs() {
|
|
|
1625
1625
|
return !!(E && (p.code === "EINVAL" || p.code === "EPERM"));
|
|
1626
1626
|
}
|
|
1627
1627
|
}
|
|
1628
|
-
return
|
|
1628
|
+
return ht;
|
|
1629
1629
|
}
|
|
1630
|
-
var
|
|
1630
|
+
var dt, an;
|
|
1631
1631
|
function Ts() {
|
|
1632
|
-
if (an) return
|
|
1632
|
+
if (an) return dt;
|
|
1633
1633
|
an = 1;
|
|
1634
1634
|
var e = Li.Stream;
|
|
1635
|
-
|
|
1635
|
+
dt = i;
|
|
1636
1636
|
function i(s) {
|
|
1637
1637
|
return {
|
|
1638
1638
|
ReadStream: o,
|
|
@@ -1689,12 +1689,12 @@ function Ts() {
|
|
|
1689
1689
|
this.busy = !1, this._queue = [], this.fd === null && (this._open = s.open, this._queue.push([this._open, this.path, this.flags, this.mode, void 0]), this.flush());
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
|
-
return
|
|
1692
|
+
return dt;
|
|
1693
1693
|
}
|
|
1694
|
-
var
|
|
1694
|
+
var gt, un;
|
|
1695
1695
|
function Is() {
|
|
1696
|
-
if (un) return
|
|
1697
|
-
un = 1,
|
|
1696
|
+
if (un) return gt;
|
|
1697
|
+
un = 1, gt = i;
|
|
1698
1698
|
var e = Object.getPrototypeOf || function(s) {
|
|
1699
1699
|
return s.__proto__;
|
|
1700
1700
|
};
|
|
@@ -1709,7 +1709,7 @@ function Is() {
|
|
|
1709
1709
|
Object.defineProperty(o, c, Object.getOwnPropertyDescriptor(s, c));
|
|
1710
1710
|
}), o;
|
|
1711
1711
|
}
|
|
1712
|
-
return
|
|
1712
|
+
return gt;
|
|
1713
1713
|
}
|
|
1714
1714
|
var qe, cn;
|
|
1715
1715
|
function Ns() {
|
|
@@ -1732,7 +1732,7 @@ function Ns() {
|
|
|
1732
1732
|
p = "GFS4: " + p.split(/\n/).join(`
|
|
1733
1733
|
GFS4: `), console.error(p);
|
|
1734
1734
|
}), !e[r]) {
|
|
1735
|
-
var l =
|
|
1735
|
+
var l = tt[r] || [];
|
|
1736
1736
|
u(e, l), e.close = function(p) {
|
|
1737
1737
|
function E(A, v) {
|
|
1738
1738
|
return p.call(e, A, function(m) {
|
|
@@ -1753,7 +1753,7 @@ GFS4: `), console.error(p);
|
|
|
1753
1753
|
a(e[r]), os.equal(e[r].length, 0);
|
|
1754
1754
|
});
|
|
1755
1755
|
}
|
|
1756
|
-
|
|
1756
|
+
tt[r] || u(tt, e[r]), qe = d(o(e)), process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !e.__patched && (qe = d(e), e.__patched = !0);
|
|
1757
1757
|
function d(p) {
|
|
1758
1758
|
i(p), p.gracefulify = d, p.createReadStream = X, p.createWriteStream = k;
|
|
1759
1759
|
var E = p.readFile;
|
|
@@ -1978,10 +1978,10 @@ function Cs() {
|
|
|
1978
1978
|
Object.defineProperty(e, "__esModule", { value: !0 }), s(Ls(), e);
|
|
1979
1979
|
}(Ee)), Ee;
|
|
1980
1980
|
}
|
|
1981
|
-
var
|
|
1981
|
+
var mt = { exports: {} }, vt, pn;
|
|
1982
1982
|
function Ps() {
|
|
1983
|
-
if (pn) return
|
|
1984
|
-
pn = 1,
|
|
1983
|
+
if (pn) return vt;
|
|
1984
|
+
pn = 1, vt = i;
|
|
1985
1985
|
function e(s, o) {
|
|
1986
1986
|
if (typeof Object.setPrototypeOf == "function")
|
|
1987
1987
|
return Object.setPrototypeOf(s, o);
|
|
@@ -2048,13 +2048,13 @@ function Ps() {
|
|
|
2048
2048
|
e(this.list[o], this.list[o + 1] || this.root);
|
|
2049
2049
|
return s;
|
|
2050
2050
|
}
|
|
2051
|
-
},
|
|
2051
|
+
}, vt;
|
|
2052
2052
|
}
|
|
2053
2053
|
var hn;
|
|
2054
2054
|
function Ds() {
|
|
2055
|
-
if (hn) return
|
|
2055
|
+
if (hn) return mt.exports;
|
|
2056
2056
|
hn = 1;
|
|
2057
|
-
var e = Ps(), i = me, s = Ce, o = Di(), c = as.EventEmitter, r = Ci, t = us, n =
|
|
2057
|
+
var e = Ps(), i = me, s = Ce, o = Di(), c = as.EventEmitter, r = Ci, t = us, n = mt.exports = function() {
|
|
2058
2058
|
for (var f = [].slice.call(arguments), h = new l(); f.length; ) {
|
|
2059
2059
|
var g = f.shift();
|
|
2060
2060
|
g && h.push(typeof g == "string" ? a(g) : g);
|
|
@@ -2191,12 +2191,12 @@ function Ds() {
|
|
|
2191
2191
|
this._awaiting++;
|
|
2192
2192
|
}, l.prototype._resolve = function() {
|
|
2193
2193
|
this._awaiting--, this._awaiting === 0 && this.emit("load", this);
|
|
2194
|
-
},
|
|
2194
|
+
}, mt.exports;
|
|
2195
2195
|
}
|
|
2196
|
-
var
|
|
2196
|
+
var yt, dn;
|
|
2197
2197
|
function js() {
|
|
2198
|
-
if (dn) return
|
|
2199
|
-
dn = 1,
|
|
2198
|
+
if (dn) return yt;
|
|
2199
|
+
dn = 1, yt = function(i) {
|
|
2200
2200
|
const s = i.indexOf(":");
|
|
2201
2201
|
if (s === -1)
|
|
2202
2202
|
return e(i);
|
|
@@ -2210,9 +2210,9 @@ function js() {
|
|
|
2210
2210
|
s += i[o] === "_" ? "-" : i[o];
|
|
2211
2211
|
return s;
|
|
2212
2212
|
}
|
|
2213
|
-
return
|
|
2213
|
+
return yt;
|
|
2214
2214
|
}
|
|
2215
|
-
var $e = {},
|
|
2215
|
+
var $e = {}, Et = {}, Ie = {}, gn;
|
|
2216
2216
|
function qs() {
|
|
2217
2217
|
if (gn) return Ie;
|
|
2218
2218
|
gn = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.envReplace = void 0;
|
|
@@ -2247,7 +2247,7 @@ function Fs() {
|
|
|
2247
2247
|
Object.defineProperty(e, "envReplace", { enumerable: !0, get: function() {
|
|
2248
2248
|
return i.envReplace;
|
|
2249
2249
|
} });
|
|
2250
|
-
}(
|
|
2250
|
+
}(Et)), Et;
|
|
2251
2251
|
}
|
|
2252
2252
|
var vn;
|
|
2253
2253
|
function Bs() {
|
|
@@ -2307,14 +2307,14 @@ function Bs() {
|
|
|
2307
2307
|
};
|
|
2308
2308
|
return $e.envReplace = s, $e.findPrefix = r, $e.parseField = c, $e.parseKey = o, $e;
|
|
2309
2309
|
}
|
|
2310
|
-
var
|
|
2310
|
+
var Rt = {}, yn;
|
|
2311
2311
|
function Hs() {
|
|
2312
|
-
if (yn) return
|
|
2312
|
+
if (yn) return Rt;
|
|
2313
2313
|
yn = 1;
|
|
2314
2314
|
const e = me, i = Li.Stream, s = Ci, o = () => {
|
|
2315
2315
|
}, c = () => [], r = () => {
|
|
2316
2316
|
};
|
|
2317
|
-
return
|
|
2317
|
+
return Rt.types = {
|
|
2318
2318
|
access: [null, "restricted", "public"],
|
|
2319
2319
|
"allow-same-version": Boolean,
|
|
2320
2320
|
"always-auth": Boolean,
|
|
@@ -2437,11 +2437,11 @@ function Hs() {
|
|
|
2437
2437
|
versions: Boolean,
|
|
2438
2438
|
viewer: String,
|
|
2439
2439
|
_exit: Boolean
|
|
2440
|
-
},
|
|
2440
|
+
}, Rt;
|
|
2441
2441
|
}
|
|
2442
|
-
var
|
|
2442
|
+
var wt, En;
|
|
2443
2443
|
function Gs() {
|
|
2444
|
-
if (En) return
|
|
2444
|
+
if (En) return wt;
|
|
2445
2445
|
En = 1;
|
|
2446
2446
|
const { readCAFileSync: e } = Cs(), i = Ce, s = me, { ConfigChain: o } = Ds(), c = js(), r = Bs();
|
|
2447
2447
|
class t extends o {
|
|
@@ -2563,9 +2563,9 @@ function Gs() {
|
|
|
2563
2563
|
}
|
|
2564
2564
|
return a;
|
|
2565
2565
|
}
|
|
2566
|
-
return
|
|
2566
|
+
return wt = t, wt;
|
|
2567
2567
|
}
|
|
2568
|
-
var
|
|
2568
|
+
var $t = {}, Rn;
|
|
2569
2569
|
function Ms() {
|
|
2570
2570
|
return Rn || (Rn = 1, function(e) {
|
|
2571
2571
|
const i = cs, s = me, o = i.tmpdir(), c = process.getuid ? process.getuid() : process.pid, r = () => !0, t = process.platform === "win32", n = {
|
|
@@ -2703,7 +2703,7 @@ function Ms() {
|
|
|
2703
2703
|
}, h);
|
|
2704
2704
|
}
|
|
2705
2705
|
});
|
|
2706
|
-
}(
|
|
2706
|
+
}($t)), $t;
|
|
2707
2707
|
}
|
|
2708
2708
|
var wn;
|
|
2709
2709
|
function Us() {
|
|
@@ -2747,14 +2747,14 @@ function Us() {
|
|
|
2747
2747
|
},
|
|
2748
2748
|
enumerable: !0
|
|
2749
2749
|
});
|
|
2750
|
-
}(
|
|
2750
|
+
}(pt)), pt.exports;
|
|
2751
2751
|
}
|
|
2752
|
-
var
|
|
2752
|
+
var St, $n;
|
|
2753
2753
|
function ks() {
|
|
2754
|
-
if ($n) return
|
|
2754
|
+
if ($n) return St;
|
|
2755
2755
|
$n = 1;
|
|
2756
2756
|
const e = Us(), i = ":_authToken", s = ":_auth", o = ":username", c = ":_password";
|
|
2757
|
-
|
|
2757
|
+
St = function() {
|
|
2758
2758
|
let y, p;
|
|
2759
2759
|
arguments.length >= 2 ? (y = arguments[0], p = Object.assign({}, arguments[1])) : typeof arguments[0] == "string" ? y = arguments[0] : p = Object.assign({}, arguments[0]), p = p || {};
|
|
2760
2760
|
const E = p.npmrc;
|
|
@@ -2823,10 +2823,10 @@ function ks() {
|
|
|
2823
2823
|
function h(g) {
|
|
2824
2824
|
return g ? { token: l(g), type: "Basic" } : void 0;
|
|
2825
2825
|
}
|
|
2826
|
-
return
|
|
2826
|
+
return St;
|
|
2827
2827
|
}
|
|
2828
2828
|
var Vs = ks();
|
|
2829
|
-
const
|
|
2829
|
+
const bt = /* @__PURE__ */ ke(Vs);
|
|
2830
2830
|
function Xs(e, i) {
|
|
2831
2831
|
let s = e.slice(0, i).split(/\r\n|\n|\r/g);
|
|
2832
2832
|
return [s.length, s.pop().length + 1];
|
|
@@ -2857,7 +2857,7 @@ function Me(e, i = 0, s = e.length) {
|
|
|
2857
2857
|
`, i);
|
|
2858
2858
|
return e[o - 1] === "\r" && o--, o <= s ? o : -1;
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2860
|
+
function xr(e, i) {
|
|
2861
2861
|
for (let s = i; s < e.length; s++) {
|
|
2862
2862
|
let o = e[s];
|
|
2863
2863
|
if (o === `
|
|
@@ -2880,7 +2880,7 @@ function de(e, i, s, o) {
|
|
|
2880
2880
|
` || c === "\r" && e[i + 1] === `
|
|
2881
2881
|
`); )
|
|
2882
2882
|
i++;
|
|
2883
|
-
return o || c !== "#" ? i : de(e,
|
|
2883
|
+
return o || c !== "#" ? i : de(e, xr(e, i), s);
|
|
2884
2884
|
}
|
|
2885
2885
|
function Sn(e, i, s, o, c = !1) {
|
|
2886
2886
|
if (!o)
|
|
@@ -3083,7 +3083,7 @@ function Zs(e, i, s, o) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
function eo(e, i, s, o) {
|
|
3085
3085
|
let c = e.slice(i, s), r = c.indexOf("#");
|
|
3086
|
-
r > -1 && (
|
|
3086
|
+
r > -1 && (xr(e, r), c = c.slice(0, r));
|
|
3087
3087
|
let t = c.trimEnd();
|
|
3088
3088
|
if (!o) {
|
|
3089
3089
|
let n = c.indexOf(`
|
|
@@ -3096,7 +3096,7 @@ function eo(e, i, s, o) {
|
|
|
3096
3096
|
}
|
|
3097
3097
|
return [t, r];
|
|
3098
3098
|
}
|
|
3099
|
-
function
|
|
3099
|
+
function Tr(e, i, s, o, c) {
|
|
3100
3100
|
if (o === 0)
|
|
3101
3101
|
throw new Y("document contains excessively nested structures. aborting.", {
|
|
3102
3102
|
toml: e,
|
|
@@ -3143,7 +3143,7 @@ function xr(e, i, s, o, c) {
|
|
|
3143
3143
|
];
|
|
3144
3144
|
}
|
|
3145
3145
|
let to = /^[a-zA-Z0-9-_]+[ \t]*$/;
|
|
3146
|
-
function
|
|
3146
|
+
function $r(e, i, s = "=") {
|
|
3147
3147
|
let o = i - 1, c = [], r = e.indexOf(s, i);
|
|
3148
3148
|
if (r < 0)
|
|
3149
3149
|
throw new Y("incomplete key-value: cannot find end of key", {
|
|
@@ -3208,7 +3208,7 @@ function ro(e, i, s, o) {
|
|
|
3208
3208
|
if (t === ",")
|
|
3209
3209
|
throw new Y("expected key-value, found comma", u);
|
|
3210
3210
|
if (t !== " " && t !== " ") {
|
|
3211
|
-
let a, l = c, d = !1, [f, h] =
|
|
3211
|
+
let a, l = c, d = !1, [f, h] = $r(e, i - 1);
|
|
3212
3212
|
for (let p = 0; p < f.length; p++) {
|
|
3213
3213
|
if (p && (l = d ? l[a] : l[a] = {}), a = f[p], (d = Object.hasOwn(l, a)) && (typeof l[a] != "object" || r.has(l[a])))
|
|
3214
3214
|
throw new Y("trying to redefine an already defined value", {
|
|
@@ -3222,7 +3222,7 @@ function ro(e, i, s, o) {
|
|
|
3222
3222
|
toml: e,
|
|
3223
3223
|
ptr: i
|
|
3224
3224
|
});
|
|
3225
|
-
let [g, y] =
|
|
3225
|
+
let [g, y] = Tr(e, h, "}", s - 1, o);
|
|
3226
3226
|
r.add(g), l[a] = g, i = y, n = e[i - 1] === "," ? i - 1 : 0;
|
|
3227
3227
|
}
|
|
3228
3228
|
}
|
|
@@ -3247,10 +3247,10 @@ function no(e, i, s, o) {
|
|
|
3247
3247
|
ptr: i - 1
|
|
3248
3248
|
});
|
|
3249
3249
|
if (r === "#")
|
|
3250
|
-
i =
|
|
3250
|
+
i = xr(e, i);
|
|
3251
3251
|
else if (r !== " " && r !== " " && r !== `
|
|
3252
3252
|
` && r !== "\r") {
|
|
3253
|
-
let t =
|
|
3253
|
+
let t = Tr(e, i - 1, "]", s - 1, o);
|
|
3254
3254
|
c.push(t[0]), i = t[1];
|
|
3255
3255
|
}
|
|
3256
3256
|
}
|
|
@@ -3293,7 +3293,7 @@ function io(e, { maxDepth: i = 1e3, integersAsBigInt: s } = {}) {
|
|
|
3293
3293
|
let o = {}, c = {}, r = o, t = c;
|
|
3294
3294
|
for (let n = de(e, 0); n < e.length; ) {
|
|
3295
3295
|
if (e[n] === "[") {
|
|
3296
|
-
let u = e[++n] === "[", a =
|
|
3296
|
+
let u = e[++n] === "[", a = $r(e, n += +u, "]");
|
|
3297
3297
|
if (u) {
|
|
3298
3298
|
if (e[a[1] - 1] !== "]")
|
|
3299
3299
|
throw new Y("expected end of table declaration", {
|
|
@@ -3316,7 +3316,7 @@ function io(e, { maxDepth: i = 1e3, integersAsBigInt: s } = {}) {
|
|
|
3316
3316
|
});
|
|
3317
3317
|
t = l[2], r = l[1], n = a[1];
|
|
3318
3318
|
} else {
|
|
3319
|
-
let u =
|
|
3319
|
+
let u = $r(e, n), a = An(
|
|
3320
3320
|
u[0],
|
|
3321
3321
|
r,
|
|
3322
3322
|
t,
|
|
@@ -3328,7 +3328,7 @@ function io(e, { maxDepth: i = 1e3, integersAsBigInt: s } = {}) {
|
|
|
3328
3328
|
toml: e,
|
|
3329
3329
|
ptr: n
|
|
3330
3330
|
});
|
|
3331
|
-
let l =
|
|
3331
|
+
let l = Tr(e, u[1], void 0, i, s);
|
|
3332
3332
|
a[1][a[0]] = l[0], n = l[1];
|
|
3333
3333
|
}
|
|
3334
3334
|
if (n = de(e, n, !0), e[n] && e[n] !== `
|
|
@@ -3341,28 +3341,28 @@ function io(e, { maxDepth: i = 1e3, integersAsBigInt: s } = {}) {
|
|
|
3341
3341
|
}
|
|
3342
3342
|
return o;
|
|
3343
3343
|
}
|
|
3344
|
-
var Fe = { exports: {} },
|
|
3345
|
-
function
|
|
3346
|
-
if (_n) return
|
|
3344
|
+
var Fe = { exports: {} }, At, _n;
|
|
3345
|
+
function Ke() {
|
|
3346
|
+
if (_n) return At;
|
|
3347
3347
|
_n = 1;
|
|
3348
3348
|
const e = "2.0.0", i = 256, s = Number.MAX_SAFE_INTEGER || /* istanbul ignore next */
|
|
3349
3349
|
9007199254740991;
|
|
3350
|
-
return
|
|
3350
|
+
return At = {
|
|
3351
3351
|
SEMVER_SPEC_VERSION: e,
|
|
3352
3352
|
MAX_LENGTH: i,
|
|
3353
3353
|
MAX_SAFE_INTEGER: s,
|
|
3354
3354
|
MAX_SAFE_COMPONENT_LENGTH: 16
|
|
3355
|
-
},
|
|
3355
|
+
}, At;
|
|
3356
3356
|
}
|
|
3357
|
-
var
|
|
3358
|
-
function
|
|
3359
|
-
return On || (On = 1,
|
|
3360
|
-
}),
|
|
3357
|
+
var _t, On;
|
|
3358
|
+
function We() {
|
|
3359
|
+
return On || (On = 1, _t = typeof process == "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...i) => console.error("SEMVER", ...i) : () => {
|
|
3360
|
+
}), _t;
|
|
3361
3361
|
}
|
|
3362
3362
|
var xn;
|
|
3363
3363
|
function xe() {
|
|
3364
3364
|
return xn || (xn = 1, function(e, i) {
|
|
3365
|
-
const { MAX_SAFE_COMPONENT_LENGTH: s } =
|
|
3365
|
+
const { MAX_SAFE_COMPONENT_LENGTH: s } = Ke(), o = We();
|
|
3366
3366
|
i = e.exports = {};
|
|
3367
3367
|
const c = i.re = [], r = i.src = [], t = i.t = {};
|
|
3368
3368
|
let n = 0;
|
|
@@ -3373,31 +3373,31 @@ function xe() {
|
|
|
3373
3373
|
u("NUMERICIDENTIFIER", "0|[1-9]\\d*"), u("NUMERICIDENTIFIERLOOSE", "[0-9]+"), u("NONNUMERICIDENTIFIER", "\\d*[a-zA-Z-][a-zA-Z0-9-]*"), u("MAINVERSION", `(${r[t.NUMERICIDENTIFIER]})\\.(${r[t.NUMERICIDENTIFIER]})\\.(${r[t.NUMERICIDENTIFIER]})`), u("MAINVERSIONLOOSE", `(${r[t.NUMERICIDENTIFIERLOOSE]})\\.(${r[t.NUMERICIDENTIFIERLOOSE]})\\.(${r[t.NUMERICIDENTIFIERLOOSE]})`), u("PRERELEASEIDENTIFIER", `(?:${r[t.NUMERICIDENTIFIER]}|${r[t.NONNUMERICIDENTIFIER]})`), u("PRERELEASEIDENTIFIERLOOSE", `(?:${r[t.NUMERICIDENTIFIERLOOSE]}|${r[t.NONNUMERICIDENTIFIER]})`), u("PRERELEASE", `(?:-(${r[t.PRERELEASEIDENTIFIER]}(?:\\.${r[t.PRERELEASEIDENTIFIER]})*))`), u("PRERELEASELOOSE", `(?:-?(${r[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${r[t.PRERELEASEIDENTIFIERLOOSE]})*))`), u("BUILDIDENTIFIER", "[0-9A-Za-z-]+"), u("BUILD", `(?:\\+(${r[t.BUILDIDENTIFIER]}(?:\\.${r[t.BUILDIDENTIFIER]})*))`), u("FULLPLAIN", `v?${r[t.MAINVERSION]}${r[t.PRERELEASE]}?${r[t.BUILD]}?`), u("FULL", `^${r[t.FULLPLAIN]}$`), u("LOOSEPLAIN", `[v=\\s]*${r[t.MAINVERSIONLOOSE]}${r[t.PRERELEASELOOSE]}?${r[t.BUILD]}?`), u("LOOSE", `^${r[t.LOOSEPLAIN]}$`), u("GTLT", "((?:<|>)?=?)"), u("XRANGEIDENTIFIERLOOSE", `${r[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), u("XRANGEIDENTIFIER", `${r[t.NUMERICIDENTIFIER]}|x|X|\\*`), u("XRANGEPLAIN", `[v=\\s]*(${r[t.XRANGEIDENTIFIER]})(?:\\.(${r[t.XRANGEIDENTIFIER]})(?:\\.(${r[t.XRANGEIDENTIFIER]})(?:${r[t.PRERELEASE]})?${r[t.BUILD]}?)?)?`), u("XRANGEPLAINLOOSE", `[v=\\s]*(${r[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${r[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${r[t.XRANGEIDENTIFIERLOOSE]})(?:${r[t.PRERELEASELOOSE]})?${r[t.BUILD]}?)?)?`), u("XRANGE", `^${r[t.GTLT]}\\s*${r[t.XRANGEPLAIN]}$`), u("XRANGELOOSE", `^${r[t.GTLT]}\\s*${r[t.XRANGEPLAINLOOSE]}$`), u("COERCE", `(^|[^\\d])(\\d{1,${s}})(?:\\.(\\d{1,${s}}))?(?:\\.(\\d{1,${s}}))?(?:$|[^\\d])`), u("COERCERTL", r[t.COERCE], !0), u("LONETILDE", "(?:~>?)"), u("TILDETRIM", `(\\s*)${r[t.LONETILDE]}\\s+`, !0), i.tildeTrimReplace = "$1~", u("TILDE", `^${r[t.LONETILDE]}${r[t.XRANGEPLAIN]}$`), u("TILDELOOSE", `^${r[t.LONETILDE]}${r[t.XRANGEPLAINLOOSE]}$`), u("LONECARET", "(?:\\^)"), u("CARETTRIM", `(\\s*)${r[t.LONECARET]}\\s+`, !0), i.caretTrimReplace = "$1^", u("CARET", `^${r[t.LONECARET]}${r[t.XRANGEPLAIN]}$`), u("CARETLOOSE", `^${r[t.LONECARET]}${r[t.XRANGEPLAINLOOSE]}$`), u("COMPARATORLOOSE", `^${r[t.GTLT]}\\s*(${r[t.LOOSEPLAIN]})$|^$`), u("COMPARATOR", `^${r[t.GTLT]}\\s*(${r[t.FULLPLAIN]})$|^$`), u("COMPARATORTRIM", `(\\s*)${r[t.GTLT]}\\s*(${r[t.LOOSEPLAIN]}|${r[t.XRANGEPLAIN]})`, !0), i.comparatorTrimReplace = "$1$2$3", u("HYPHENRANGE", `^\\s*(${r[t.XRANGEPLAIN]})\\s+-\\s+(${r[t.XRANGEPLAIN]})\\s*$`), u("HYPHENRANGELOOSE", `^\\s*(${r[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${r[t.XRANGEPLAINLOOSE]})\\s*$`), u("STAR", "(<|>)?=?\\s*\\*"), u("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), u("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
3374
3374
|
}(Fe, Fe.exports)), Fe.exports;
|
|
3375
3375
|
}
|
|
3376
|
-
var
|
|
3377
|
-
function
|
|
3378
|
-
if (Tn) return
|
|
3376
|
+
var Ot, Tn;
|
|
3377
|
+
function ze() {
|
|
3378
|
+
if (Tn) return Ot;
|
|
3379
3379
|
Tn = 1;
|
|
3380
3380
|
const e = ["includePrerelease", "loose", "rtl"];
|
|
3381
|
-
return
|
|
3381
|
+
return Ot = (s) => s ? typeof s != "object" ? { loose: !0 } : e.filter((o) => s[o]).reduce((o, c) => (o[c] = !0, o), {}) : {}, Ot;
|
|
3382
3382
|
}
|
|
3383
|
-
var
|
|
3383
|
+
var xt, In;
|
|
3384
3384
|
function Fi() {
|
|
3385
|
-
if (In) return
|
|
3385
|
+
if (In) return xt;
|
|
3386
3386
|
In = 1;
|
|
3387
3387
|
const e = /^[0-9]+$/, i = (o, c) => {
|
|
3388
3388
|
const r = e.test(o), t = e.test(c);
|
|
3389
3389
|
return r && t && (o = +o, c = +c), o === c ? 0 : r && !t ? -1 : t && !r ? 1 : o < c ? -1 : 1;
|
|
3390
3390
|
};
|
|
3391
|
-
return
|
|
3391
|
+
return xt = {
|
|
3392
3392
|
compareIdentifiers: i,
|
|
3393
3393
|
rcompareIdentifiers: (o, c) => i(c, o)
|
|
3394
|
-
},
|
|
3394
|
+
}, xt;
|
|
3395
3395
|
}
|
|
3396
|
-
var
|
|
3396
|
+
var Tt, Nn;
|
|
3397
3397
|
function le() {
|
|
3398
|
-
if (Nn) return
|
|
3398
|
+
if (Nn) return Tt;
|
|
3399
3399
|
Nn = 1;
|
|
3400
|
-
const e =
|
|
3400
|
+
const e = We(), { MAX_LENGTH: i, MAX_SAFE_INTEGER: s } = Ke(), { re: o, t: c } = xe(), r = ze(), { compareIdentifiers: t } = Fi();
|
|
3401
3401
|
class n {
|
|
3402
3402
|
constructor(a, l) {
|
|
3403
3403
|
if (l = r(l), a instanceof n) {
|
|
@@ -3529,14 +3529,14 @@ function le() {
|
|
|
3529
3529
|
return this.format(), this.raw = this.version, this;
|
|
3530
3530
|
}
|
|
3531
3531
|
}
|
|
3532
|
-
return
|
|
3532
|
+
return Tt = n, Tt;
|
|
3533
3533
|
}
|
|
3534
|
-
var
|
|
3534
|
+
var It, Ln;
|
|
3535
3535
|
function Te() {
|
|
3536
|
-
if (Ln) return
|
|
3536
|
+
if (Ln) return It;
|
|
3537
3537
|
Ln = 1;
|
|
3538
|
-
const { MAX_LENGTH: e } =
|
|
3539
|
-
return
|
|
3538
|
+
const { MAX_LENGTH: e } = Ke(), { re: i, t: s } = xe(), o = le(), c = ze();
|
|
3539
|
+
return It = (t, n) => {
|
|
3540
3540
|
if (n = c(n), t instanceof o)
|
|
3541
3541
|
return t;
|
|
3542
3542
|
if (typeof t != "string" || t.length > e || !(n.loose ? i[s.LOOSE] : i[s.FULL]).test(t))
|
|
@@ -3546,34 +3546,34 @@ function Te() {
|
|
|
3546
3546
|
} catch {
|
|
3547
3547
|
return null;
|
|
3548
3548
|
}
|
|
3549
|
-
},
|
|
3549
|
+
}, It;
|
|
3550
3550
|
}
|
|
3551
|
-
var
|
|
3551
|
+
var Nt, Cn;
|
|
3552
3552
|
function so() {
|
|
3553
|
-
if (Cn) return
|
|
3553
|
+
if (Cn) return Nt;
|
|
3554
3554
|
Cn = 1;
|
|
3555
3555
|
const e = Te();
|
|
3556
|
-
return
|
|
3556
|
+
return Nt = (s, o) => {
|
|
3557
3557
|
const c = e(s, o);
|
|
3558
3558
|
return c ? c.version : null;
|
|
3559
|
-
},
|
|
3559
|
+
}, Nt;
|
|
3560
3560
|
}
|
|
3561
|
-
var
|
|
3561
|
+
var Lt, Pn;
|
|
3562
3562
|
function oo() {
|
|
3563
|
-
if (Pn) return
|
|
3563
|
+
if (Pn) return Lt;
|
|
3564
3564
|
Pn = 1;
|
|
3565
3565
|
const e = Te();
|
|
3566
|
-
return
|
|
3566
|
+
return Lt = (s, o) => {
|
|
3567
3567
|
const c = e(s.trim().replace(/^[=v]+/, ""), o);
|
|
3568
3568
|
return c ? c.version : null;
|
|
3569
|
-
},
|
|
3569
|
+
}, Lt;
|
|
3570
3570
|
}
|
|
3571
|
-
var
|
|
3571
|
+
var Ct, Dn;
|
|
3572
3572
|
function ao() {
|
|
3573
|
-
if (Dn) return
|
|
3573
|
+
if (Dn) return Ct;
|
|
3574
3574
|
Dn = 1;
|
|
3575
3575
|
const e = le();
|
|
3576
|
-
return
|
|
3576
|
+
return Ct = (s, o, c, r) => {
|
|
3577
3577
|
typeof c == "string" && (r = c, c = void 0);
|
|
3578
3578
|
try {
|
|
3579
3579
|
return new e(
|
|
@@ -3583,28 +3583,28 @@ function ao() {
|
|
|
3583
3583
|
} catch {
|
|
3584
3584
|
return null;
|
|
3585
3585
|
}
|
|
3586
|
-
},
|
|
3586
|
+
}, Ct;
|
|
3587
3587
|
}
|
|
3588
|
-
var
|
|
3588
|
+
var Pt, jn;
|
|
3589
3589
|
function pe() {
|
|
3590
|
-
if (jn) return
|
|
3590
|
+
if (jn) return Pt;
|
|
3591
3591
|
jn = 1;
|
|
3592
3592
|
const e = le();
|
|
3593
|
-
return
|
|
3593
|
+
return Pt = (s, o, c) => new e(s, c).compare(new e(o, c)), Pt;
|
|
3594
3594
|
}
|
|
3595
|
-
var
|
|
3596
|
-
function
|
|
3597
|
-
if (qn) return
|
|
3595
|
+
var Dt, qn;
|
|
3596
|
+
function Ir() {
|
|
3597
|
+
if (qn) return Dt;
|
|
3598
3598
|
qn = 1;
|
|
3599
3599
|
const e = pe();
|
|
3600
|
-
return
|
|
3600
|
+
return Dt = (s, o, c) => e(s, o, c) === 0, Dt;
|
|
3601
3601
|
}
|
|
3602
|
-
var
|
|
3602
|
+
var jt, Fn;
|
|
3603
3603
|
function uo() {
|
|
3604
|
-
if (Fn) return
|
|
3604
|
+
if (Fn) return jt;
|
|
3605
3605
|
Fn = 1;
|
|
3606
|
-
const e = Te(), i =
|
|
3607
|
-
return
|
|
3606
|
+
const e = Te(), i = Ir();
|
|
3607
|
+
return jt = (o, c) => {
|
|
3608
3608
|
if (i(o, c))
|
|
3609
3609
|
return null;
|
|
3610
3610
|
{
|
|
@@ -3614,118 +3614,118 @@ function uo() {
|
|
|
3614
3614
|
return u + l;
|
|
3615
3615
|
return a;
|
|
3616
3616
|
}
|
|
3617
|
-
},
|
|
3617
|
+
}, jt;
|
|
3618
3618
|
}
|
|
3619
|
-
var
|
|
3619
|
+
var qt, Bn;
|
|
3620
3620
|
function co() {
|
|
3621
|
-
if (Bn) return
|
|
3621
|
+
if (Bn) return qt;
|
|
3622
3622
|
Bn = 1;
|
|
3623
3623
|
const e = le();
|
|
3624
|
-
return
|
|
3624
|
+
return qt = (s, o) => new e(s, o).major, qt;
|
|
3625
3625
|
}
|
|
3626
|
-
var
|
|
3626
|
+
var Ft, Hn;
|
|
3627
3627
|
function lo() {
|
|
3628
|
-
if (Hn) return
|
|
3628
|
+
if (Hn) return Ft;
|
|
3629
3629
|
Hn = 1;
|
|
3630
3630
|
const e = le();
|
|
3631
|
-
return
|
|
3631
|
+
return Ft = (s, o) => new e(s, o).minor, Ft;
|
|
3632
3632
|
}
|
|
3633
|
-
var
|
|
3633
|
+
var Bt, Gn;
|
|
3634
3634
|
function fo() {
|
|
3635
|
-
if (Gn) return
|
|
3635
|
+
if (Gn) return Bt;
|
|
3636
3636
|
Gn = 1;
|
|
3637
3637
|
const e = le();
|
|
3638
|
-
return
|
|
3638
|
+
return Bt = (s, o) => new e(s, o).patch, Bt;
|
|
3639
3639
|
}
|
|
3640
|
-
var
|
|
3640
|
+
var Ht, Mn;
|
|
3641
3641
|
function po() {
|
|
3642
|
-
if (Mn) return
|
|
3642
|
+
if (Mn) return Ht;
|
|
3643
3643
|
Mn = 1;
|
|
3644
3644
|
const e = Te();
|
|
3645
|
-
return
|
|
3645
|
+
return Ht = (s, o) => {
|
|
3646
3646
|
const c = e(s, o);
|
|
3647
3647
|
return c && c.prerelease.length ? c.prerelease : null;
|
|
3648
|
-
},
|
|
3648
|
+
}, Ht;
|
|
3649
3649
|
}
|
|
3650
|
-
var
|
|
3650
|
+
var Gt, Un;
|
|
3651
3651
|
function ho() {
|
|
3652
|
-
if (Un) return
|
|
3652
|
+
if (Un) return Gt;
|
|
3653
3653
|
Un = 1;
|
|
3654
3654
|
const e = pe();
|
|
3655
|
-
return
|
|
3655
|
+
return Gt = (s, o, c) => e(o, s, c), Gt;
|
|
3656
3656
|
}
|
|
3657
|
-
var
|
|
3657
|
+
var Mt, kn;
|
|
3658
3658
|
function go() {
|
|
3659
|
-
if (kn) return
|
|
3659
|
+
if (kn) return Mt;
|
|
3660
3660
|
kn = 1;
|
|
3661
3661
|
const e = pe();
|
|
3662
|
-
return
|
|
3662
|
+
return Mt = (s, o) => e(s, o, !0), Mt;
|
|
3663
3663
|
}
|
|
3664
|
-
var
|
|
3665
|
-
function
|
|
3666
|
-
if (Vn) return
|
|
3664
|
+
var Ut, Vn;
|
|
3665
|
+
function Nr() {
|
|
3666
|
+
if (Vn) return Ut;
|
|
3667
3667
|
Vn = 1;
|
|
3668
3668
|
const e = le();
|
|
3669
|
-
return
|
|
3669
|
+
return Ut = (s, o, c) => {
|
|
3670
3670
|
const r = new e(s, c), t = new e(o, c);
|
|
3671
3671
|
return r.compare(t) || r.compareBuild(t);
|
|
3672
|
-
},
|
|
3672
|
+
}, Ut;
|
|
3673
3673
|
}
|
|
3674
|
-
var
|
|
3674
|
+
var kt, Xn;
|
|
3675
3675
|
function mo() {
|
|
3676
|
-
if (Xn) return
|
|
3676
|
+
if (Xn) return kt;
|
|
3677
3677
|
Xn = 1;
|
|
3678
|
-
const e =
|
|
3679
|
-
return
|
|
3678
|
+
const e = Nr();
|
|
3679
|
+
return kt = (s, o) => s.sort((c, r) => e(c, r, o)), kt;
|
|
3680
3680
|
}
|
|
3681
|
-
var
|
|
3681
|
+
var Vt, Kn;
|
|
3682
3682
|
function vo() {
|
|
3683
|
-
if (Kn) return
|
|
3683
|
+
if (Kn) return Vt;
|
|
3684
3684
|
Kn = 1;
|
|
3685
|
-
const e =
|
|
3686
|
-
return
|
|
3685
|
+
const e = Nr();
|
|
3686
|
+
return Vt = (s, o) => s.sort((c, r) => e(r, c, o)), Vt;
|
|
3687
3687
|
}
|
|
3688
|
-
var
|
|
3689
|
-
function
|
|
3690
|
-
if (Wn) return
|
|
3688
|
+
var Xt, Wn;
|
|
3689
|
+
function Ye() {
|
|
3690
|
+
if (Wn) return Xt;
|
|
3691
3691
|
Wn = 1;
|
|
3692
3692
|
const e = pe();
|
|
3693
|
-
return
|
|
3693
|
+
return Xt = (s, o, c) => e(s, o, c) > 0, Xt;
|
|
3694
3694
|
}
|
|
3695
|
-
var
|
|
3696
|
-
function
|
|
3697
|
-
if (zn) return
|
|
3695
|
+
var Kt, zn;
|
|
3696
|
+
function Lr() {
|
|
3697
|
+
if (zn) return Kt;
|
|
3698
3698
|
zn = 1;
|
|
3699
3699
|
const e = pe();
|
|
3700
|
-
return
|
|
3700
|
+
return Kt = (s, o, c) => e(s, o, c) < 0, Kt;
|
|
3701
3701
|
}
|
|
3702
|
-
var
|
|
3702
|
+
var Wt, Yn;
|
|
3703
3703
|
function Bi() {
|
|
3704
|
-
if (Yn) return
|
|
3704
|
+
if (Yn) return Wt;
|
|
3705
3705
|
Yn = 1;
|
|
3706
3706
|
const e = pe();
|
|
3707
|
-
return
|
|
3707
|
+
return Wt = (s, o, c) => e(s, o, c) !== 0, Wt;
|
|
3708
3708
|
}
|
|
3709
|
-
var
|
|
3710
|
-
function
|
|
3711
|
-
if (Qn) return
|
|
3709
|
+
var zt, Qn;
|
|
3710
|
+
function Cr() {
|
|
3711
|
+
if (Qn) return zt;
|
|
3712
3712
|
Qn = 1;
|
|
3713
3713
|
const e = pe();
|
|
3714
|
-
return
|
|
3714
|
+
return zt = (s, o, c) => e(s, o, c) >= 0, zt;
|
|
3715
3715
|
}
|
|
3716
|
-
var
|
|
3717
|
-
function
|
|
3718
|
-
if (Jn) return
|
|
3716
|
+
var Yt, Jn;
|
|
3717
|
+
function Pr() {
|
|
3718
|
+
if (Jn) return Yt;
|
|
3719
3719
|
Jn = 1;
|
|
3720
3720
|
const e = pe();
|
|
3721
|
-
return
|
|
3721
|
+
return Yt = (s, o, c) => e(s, o, c) <= 0, Yt;
|
|
3722
3722
|
}
|
|
3723
|
-
var
|
|
3723
|
+
var Qt, Zn;
|
|
3724
3724
|
function Hi() {
|
|
3725
|
-
if (Zn) return
|
|
3725
|
+
if (Zn) return Qt;
|
|
3726
3726
|
Zn = 1;
|
|
3727
|
-
const e =
|
|
3728
|
-
return
|
|
3727
|
+
const e = Ir(), i = Bi(), s = Ye(), o = Cr(), c = Lr(), r = Pr();
|
|
3728
|
+
return Qt = (n, u, a, l) => {
|
|
3729
3729
|
switch (u) {
|
|
3730
3730
|
case "===":
|
|
3731
3731
|
return typeof n == "object" && (n = n.version), typeof a == "object" && (a = a.version), n === a;
|
|
@@ -3748,14 +3748,14 @@ function Hi() {
|
|
|
3748
3748
|
default:
|
|
3749
3749
|
throw new TypeError(`Invalid operator: ${u}`);
|
|
3750
3750
|
}
|
|
3751
|
-
},
|
|
3751
|
+
}, Qt;
|
|
3752
3752
|
}
|
|
3753
|
-
var
|
|
3753
|
+
var Jt, ei;
|
|
3754
3754
|
function yo() {
|
|
3755
|
-
if (ei) return
|
|
3755
|
+
if (ei) return Jt;
|
|
3756
3756
|
ei = 1;
|
|
3757
3757
|
const e = le(), i = Te(), { re: s, t: o } = xe();
|
|
3758
|
-
return
|
|
3758
|
+
return Jt = (r, t) => {
|
|
3759
3759
|
if (r instanceof e)
|
|
3760
3760
|
return r;
|
|
3761
3761
|
if (typeof r == "number" && (r = String(r)), typeof r != "string")
|
|
@@ -3771,21 +3771,21 @@ function yo() {
|
|
|
3771
3771
|
s[o.COERCERTL].lastIndex = -1;
|
|
3772
3772
|
}
|
|
3773
3773
|
return n === null ? null : i(`${n[2]}.${n[3] || "0"}.${n[4] || "0"}`, t);
|
|
3774
|
-
},
|
|
3774
|
+
}, Jt;
|
|
3775
3775
|
}
|
|
3776
|
-
var
|
|
3776
|
+
var Zt, ti;
|
|
3777
3777
|
function Eo() {
|
|
3778
|
-
return ti || (ti = 1,
|
|
3778
|
+
return ti || (ti = 1, Zt = function(e) {
|
|
3779
3779
|
e.prototype[Symbol.iterator] = function* () {
|
|
3780
3780
|
for (let i = this.head; i; i = i.next)
|
|
3781
3781
|
yield i.value;
|
|
3782
3782
|
};
|
|
3783
|
-
}),
|
|
3783
|
+
}), Zt;
|
|
3784
3784
|
}
|
|
3785
|
-
var
|
|
3785
|
+
var er, ri;
|
|
3786
3786
|
function Ro() {
|
|
3787
|
-
if (ri) return
|
|
3788
|
-
ri = 1,
|
|
3787
|
+
if (ri) return er;
|
|
3788
|
+
ri = 1, er = e, e.Node = c, e.create = e;
|
|
3789
3789
|
function e(r) {
|
|
3790
3790
|
var t = this;
|
|
3791
3791
|
if (t instanceof e || (t = new e()), t.tail = null, t.head = null, t.length = 0, r && typeof r.forEach == "function")
|
|
@@ -3948,11 +3948,11 @@ function Ro() {
|
|
|
3948
3948
|
Eo()(e);
|
|
3949
3949
|
} catch {
|
|
3950
3950
|
}
|
|
3951
|
-
return
|
|
3951
|
+
return er;
|
|
3952
3952
|
}
|
|
3953
|
-
var
|
|
3953
|
+
var tr, ni;
|
|
3954
3954
|
function wo() {
|
|
3955
|
-
if (ni) return
|
|
3955
|
+
if (ni) return tr;
|
|
3956
3956
|
ni = 1;
|
|
3957
3957
|
const e = Ro(), i = Symbol("max"), s = Symbol("length"), o = Symbol("lengthCalculator"), c = Symbol("allowStale"), r = Symbol("maxAge"), t = Symbol("dispose"), n = Symbol("noDisposeOnSet"), u = Symbol("lruList"), a = Symbol("cache"), l = Symbol("updateAgeOnGet"), d = () => 1;
|
|
3958
3958
|
class f {
|
|
@@ -4121,11 +4121,11 @@ function wo() {
|
|
|
4121
4121
|
let x = b.value;
|
|
4122
4122
|
g(v, x) && (p(v, b), v[c] || (x = void 0)), x && m.call($, x.value, x.key, v);
|
|
4123
4123
|
};
|
|
4124
|
-
return
|
|
4124
|
+
return tr = f, tr;
|
|
4125
4125
|
}
|
|
4126
|
-
var
|
|
4126
|
+
var rr, ii;
|
|
4127
4127
|
function he() {
|
|
4128
|
-
if (ii) return
|
|
4128
|
+
if (ii) return rr;
|
|
4129
4129
|
ii = 1;
|
|
4130
4130
|
class e {
|
|
4131
4131
|
constructor(_, L) {
|
|
@@ -4195,8 +4195,8 @@ function he() {
|
|
|
4195
4195
|
return !1;
|
|
4196
4196
|
}
|
|
4197
4197
|
}
|
|
4198
|
-
|
|
4199
|
-
const i = wo(), s = new i({ max: 1e3 }), o =
|
|
4198
|
+
rr = e;
|
|
4199
|
+
const i = wo(), s = new i({ max: 1e3 }), o = ze(), c = Qe(), r = We(), t = le(), {
|
|
4200
4200
|
re: n,
|
|
4201
4201
|
t: u,
|
|
4202
4202
|
comparatorTrimReplace: a,
|
|
@@ -4247,11 +4247,11 @@ function he() {
|
|
|
4247
4247
|
}
|
|
4248
4248
|
return !0;
|
|
4249
4249
|
};
|
|
4250
|
-
return
|
|
4250
|
+
return rr;
|
|
4251
4251
|
}
|
|
4252
|
-
var
|
|
4253
|
-
function
|
|
4254
|
-
if (si) return
|
|
4252
|
+
var nr, si;
|
|
4253
|
+
function Qe() {
|
|
4254
|
+
if (si) return nr;
|
|
4255
4255
|
si = 1;
|
|
4256
4256
|
const e = Symbol("SemVer ANY");
|
|
4257
4257
|
class i {
|
|
@@ -4300,37 +4300,37 @@ function Ye() {
|
|
|
4300
4300
|
return f || h || g && y || p || E;
|
|
4301
4301
|
}
|
|
4302
4302
|
}
|
|
4303
|
-
|
|
4304
|
-
const s =
|
|
4305
|
-
return
|
|
4303
|
+
nr = i;
|
|
4304
|
+
const s = ze(), { re: o, t: c } = xe(), r = Hi(), t = We(), n = le(), u = he();
|
|
4305
|
+
return nr;
|
|
4306
4306
|
}
|
|
4307
|
-
var
|
|
4308
|
-
function
|
|
4309
|
-
if (oi) return
|
|
4307
|
+
var ir, oi;
|
|
4308
|
+
function Je() {
|
|
4309
|
+
if (oi) return ir;
|
|
4310
4310
|
oi = 1;
|
|
4311
4311
|
const e = he();
|
|
4312
|
-
return
|
|
4312
|
+
return ir = (s, o, c) => {
|
|
4313
4313
|
try {
|
|
4314
4314
|
o = new e(o, c);
|
|
4315
4315
|
} catch {
|
|
4316
4316
|
return !1;
|
|
4317
4317
|
}
|
|
4318
4318
|
return o.test(s);
|
|
4319
|
-
},
|
|
4319
|
+
}, ir;
|
|
4320
4320
|
}
|
|
4321
|
-
var
|
|
4321
|
+
var sr, ai;
|
|
4322
4322
|
function $o() {
|
|
4323
|
-
if (ai) return
|
|
4323
|
+
if (ai) return sr;
|
|
4324
4324
|
ai = 1;
|
|
4325
4325
|
const e = he();
|
|
4326
|
-
return
|
|
4326
|
+
return sr = (s, o) => new e(s, o).set.map((c) => c.map((r) => r.value).join(" ").trim().split(" ")), sr;
|
|
4327
4327
|
}
|
|
4328
|
-
var
|
|
4328
|
+
var or, ui;
|
|
4329
4329
|
function So() {
|
|
4330
|
-
if (ui) return
|
|
4330
|
+
if (ui) return or;
|
|
4331
4331
|
ui = 1;
|
|
4332
4332
|
const e = le(), i = he();
|
|
4333
|
-
return
|
|
4333
|
+
return or = (o, c, r) => {
|
|
4334
4334
|
let t = null, n = null, u = null;
|
|
4335
4335
|
try {
|
|
4336
4336
|
u = new i(c, r);
|
|
@@ -4340,14 +4340,14 @@ function So() {
|
|
|
4340
4340
|
return o.forEach((a) => {
|
|
4341
4341
|
u.test(a) && (!t || n.compare(a) === -1) && (t = a, n = new e(t, r));
|
|
4342
4342
|
}), t;
|
|
4343
|
-
},
|
|
4343
|
+
}, or;
|
|
4344
4344
|
}
|
|
4345
|
-
var
|
|
4345
|
+
var ar, ci;
|
|
4346
4346
|
function bo() {
|
|
4347
|
-
if (ci) return
|
|
4347
|
+
if (ci) return ar;
|
|
4348
4348
|
ci = 1;
|
|
4349
4349
|
const e = le(), i = he();
|
|
4350
|
-
return
|
|
4350
|
+
return ar = (o, c, r) => {
|
|
4351
4351
|
let t = null, n = null, u = null;
|
|
4352
4352
|
try {
|
|
4353
4353
|
u = new i(c, r);
|
|
@@ -4357,14 +4357,14 @@ function bo() {
|
|
|
4357
4357
|
return o.forEach((a) => {
|
|
4358
4358
|
u.test(a) && (!t || n.compare(a) === 1) && (t = a, n = new e(t, r));
|
|
4359
4359
|
}), t;
|
|
4360
|
-
},
|
|
4360
|
+
}, ar;
|
|
4361
4361
|
}
|
|
4362
|
-
var
|
|
4362
|
+
var ur, li;
|
|
4363
4363
|
function Ao() {
|
|
4364
|
-
if (li) return
|
|
4364
|
+
if (li) return ur;
|
|
4365
4365
|
li = 1;
|
|
4366
|
-
const e = le(), i = he(), s =
|
|
4367
|
-
return
|
|
4366
|
+
const e = le(), i = he(), s = Ye();
|
|
4367
|
+
return ur = (c, r) => {
|
|
4368
4368
|
c = new i(c, r);
|
|
4369
4369
|
let t = new e("0.0.0");
|
|
4370
4370
|
if (c.test(t) || (t = new e("0.0.0-0"), c.test(t)))
|
|
@@ -4393,27 +4393,27 @@ function Ao() {
|
|
|
4393
4393
|
}), a && (!t || s(t, a)) && (t = a);
|
|
4394
4394
|
}
|
|
4395
4395
|
return t && c.test(t) ? t : null;
|
|
4396
|
-
},
|
|
4396
|
+
}, ur;
|
|
4397
4397
|
}
|
|
4398
|
-
var
|
|
4398
|
+
var cr, fi;
|
|
4399
4399
|
function _o() {
|
|
4400
|
-
if (fi) return
|
|
4400
|
+
if (fi) return cr;
|
|
4401
4401
|
fi = 1;
|
|
4402
4402
|
const e = he();
|
|
4403
|
-
return
|
|
4403
|
+
return cr = (s, o) => {
|
|
4404
4404
|
try {
|
|
4405
4405
|
return new e(s, o).range || "*";
|
|
4406
4406
|
} catch {
|
|
4407
4407
|
return null;
|
|
4408
4408
|
}
|
|
4409
|
-
},
|
|
4409
|
+
}, cr;
|
|
4410
4410
|
}
|
|
4411
|
-
var
|
|
4412
|
-
function
|
|
4413
|
-
if (pi) return
|
|
4411
|
+
var lr, pi;
|
|
4412
|
+
function Dr() {
|
|
4413
|
+
if (pi) return lr;
|
|
4414
4414
|
pi = 1;
|
|
4415
|
-
const e = le(), i =
|
|
4416
|
-
return
|
|
4415
|
+
const e = le(), i = Qe(), { ANY: s } = i, o = he(), c = Je(), r = Ye(), t = Lr(), n = Pr(), u = Cr();
|
|
4416
|
+
return lr = (l, d, f, h) => {
|
|
4417
4417
|
l = new e(l, h), d = new o(d, h);
|
|
4418
4418
|
let g, y, p, E, A;
|
|
4419
4419
|
switch (f) {
|
|
@@ -4439,35 +4439,35 @@ function Pr() {
|
|
|
4439
4439
|
return !1;
|
|
4440
4440
|
}
|
|
4441
4441
|
return !0;
|
|
4442
|
-
},
|
|
4442
|
+
}, lr;
|
|
4443
4443
|
}
|
|
4444
|
-
var
|
|
4444
|
+
var fr, hi;
|
|
4445
4445
|
function Oo() {
|
|
4446
|
-
if (hi) return
|
|
4446
|
+
if (hi) return fr;
|
|
4447
4447
|
hi = 1;
|
|
4448
|
-
const e =
|
|
4449
|
-
return
|
|
4448
|
+
const e = Dr();
|
|
4449
|
+
return fr = (s, o, c) => e(s, o, ">", c), fr;
|
|
4450
4450
|
}
|
|
4451
|
-
var
|
|
4451
|
+
var pr, di;
|
|
4452
4452
|
function xo() {
|
|
4453
|
-
if (di) return
|
|
4453
|
+
if (di) return pr;
|
|
4454
4454
|
di = 1;
|
|
4455
|
-
const e =
|
|
4456
|
-
return
|
|
4455
|
+
const e = Dr();
|
|
4456
|
+
return pr = (s, o, c) => e(s, o, "<", c), pr;
|
|
4457
4457
|
}
|
|
4458
|
-
var
|
|
4458
|
+
var hr, gi;
|
|
4459
4459
|
function To() {
|
|
4460
|
-
if (gi) return
|
|
4460
|
+
if (gi) return hr;
|
|
4461
4461
|
gi = 1;
|
|
4462
4462
|
const e = he();
|
|
4463
|
-
return
|
|
4463
|
+
return hr = (s, o, c) => (s = new e(s, c), o = new e(o, c), s.intersects(o)), hr;
|
|
4464
4464
|
}
|
|
4465
|
-
var
|
|
4465
|
+
var dr, mi;
|
|
4466
4466
|
function Io() {
|
|
4467
|
-
if (mi) return
|
|
4467
|
+
if (mi) return dr;
|
|
4468
4468
|
mi = 1;
|
|
4469
|
-
const e =
|
|
4470
|
-
return
|
|
4469
|
+
const e = Je(), i = pe();
|
|
4470
|
+
return dr = (s, o, c) => {
|
|
4471
4471
|
const r = [];
|
|
4472
4472
|
let t = null, n = null;
|
|
4473
4473
|
const u = s.sort((f, h) => i(f, h, c));
|
|
@@ -4479,13 +4479,13 @@ function Io() {
|
|
|
4479
4479
|
f === h ? a.push(f) : !h && f === u[0] ? a.push("*") : h ? f === u[0] ? a.push(`<=${h}`) : a.push(`${f} - ${h}`) : a.push(`>=${f}`);
|
|
4480
4480
|
const l = a.join(" || "), d = typeof o.raw == "string" ? o.raw : String(o);
|
|
4481
4481
|
return l.length < d.length ? l : o;
|
|
4482
|
-
},
|
|
4482
|
+
}, dr;
|
|
4483
4483
|
}
|
|
4484
|
-
var
|
|
4484
|
+
var gr, vi;
|
|
4485
4485
|
function No() {
|
|
4486
|
-
if (vi) return
|
|
4486
|
+
if (vi) return gr;
|
|
4487
4487
|
vi = 1;
|
|
4488
|
-
const e = he(), i =
|
|
4488
|
+
const e = he(), i = Qe(), { ANY: s } = i, o = Je(), c = pe(), r = (a, l, d = {}) => {
|
|
4489
4489
|
if (a === l)
|
|
4490
4490
|
return !0;
|
|
4491
4491
|
a = new e(a, d), l = new e(l, d);
|
|
@@ -4566,14 +4566,14 @@ function No() {
|
|
|
4566
4566
|
const f = c(a.semver, l.semver, d);
|
|
4567
4567
|
return f < 0 ? a : f > 0 || l.operator === "<" && a.operator === "<=" ? l : a;
|
|
4568
4568
|
};
|
|
4569
|
-
return
|
|
4569
|
+
return gr = r, gr;
|
|
4570
4570
|
}
|
|
4571
|
-
var
|
|
4571
|
+
var mr, yi;
|
|
4572
4572
|
function Lo() {
|
|
4573
|
-
if (yi) return
|
|
4573
|
+
if (yi) return mr;
|
|
4574
4574
|
yi = 1;
|
|
4575
|
-
const e = xe(), i =
|
|
4576
|
-
return
|
|
4575
|
+
const e = xe(), i = Ke(), s = le(), o = Fi(), c = Te(), r = so(), t = oo(), n = ao(), u = uo(), a = co(), l = lo(), d = fo(), f = po(), h = pe(), g = ho(), y = go(), p = Nr(), E = mo(), A = vo(), v = Ye(), m = Lr(), b = Ir(), $ = Bi(), x = Cr(), F = Pr(), G = Hi(), M = yo(), T = Qe(), _ = he(), L = Je(), B = $o(), H = So(), O = bo(), I = Ao(), D = _o(), C = Dr(), w = Oo(), X = xo(), k = To(), ne = Io(), S = No();
|
|
4576
|
+
return mr = {
|
|
4577
4577
|
parse: c,
|
|
4578
4578
|
valid: r,
|
|
4579
4579
|
clean: t,
|
|
@@ -4618,7 +4618,7 @@ function Lo() {
|
|
|
4618
4618
|
SEMVER_SPEC_VERSION: i.SEMVER_SPEC_VERSION,
|
|
4619
4619
|
compareIdentifiers: o.compareIdentifiers,
|
|
4620
4620
|
rcompareIdentifiers: o.rcompareIdentifiers
|
|
4621
|
-
},
|
|
4621
|
+
}, mr;
|
|
4622
4622
|
}
|
|
4623
4623
|
var oe = Lo();
|
|
4624
4624
|
const Co = [
|
|
@@ -4687,7 +4687,7 @@ const qo = [
|
|
|
4687
4687
|
"dependency-groups.dev",
|
|
4688
4688
|
"dependency-groups.lint",
|
|
4689
4689
|
"dependency-groups.test"
|
|
4690
|
-
], Ho = /^.*?:\/\/(.*?@)?(github\.com[:/])/i, Go = /^([^/]+)\/([^/#]+)?.*?\/([0-9a-f]+|v?[0-9]+\.[0-9]+\.[0-9]+)$/i,
|
|
4690
|
+
], Ho = /^.*?:\/\/(.*?@)?(github\.com[:/])/i, Go = /^([^/]+)\/([^/#]+)?.*?\/([0-9a-f]+|v?[0-9]+\.[0-9]+\.[0-9]+)$/i, Sr = /^[0-9a-f]{7,}$/i, wi = /[0-9]+(\.[0-9]+)?(\.[0-9]+)?/g, Mo = /[0-9]+\.[0-9]+\.[0-9]+(-.+)?/g, _e = (e) => e.replace(/[|\\{}()[\]^$+*?.-]/g, "\\$&"), Pe = (e) => e.endsWith("/") ? e.substring(0, e.length - 1) : e, Gi = ws.version, fe = "\0", br = {
|
|
4691
4691
|
"package.json": "npm",
|
|
4692
4692
|
"pyproject.toml": "pypi",
|
|
4693
4693
|
"go.mod": "go"
|
|
@@ -4762,7 +4762,7 @@ const qo = [
|
|
|
4762
4762
|
v: "version",
|
|
4763
4763
|
V: "verbose"
|
|
4764
4764
|
}
|
|
4765
|
-
}), [Uo,
|
|
4765
|
+
}), [Uo, Ue, jr] = ["magenta", "red", "green"].map((e) => Z["no-color"] ? String : (i) => ts(e, String(i))), Se = De(ve(Z.greatest)), vr = De(ve(Z.prerelease)), yr = De(ve(Z.release)), $i = De(ve(Z.patch)), Si = De(ve(Z.minor)), bi = ve(Z["allow-downgrade"]), ko = ve(Z.modes) || /* @__PURE__ */ new Set(["npm", "pypi"]), Mi = Z.githubapi ? Pe(Z.githubapi) : "https://api.github.com", Ai = Z.pypiapi ? Pe(Z.pypiapi) : "https://pypi.org", Vo = "https://proxy.golang.org", Ui = Z.goproxy ? [Pe(Z.goproxy)] : Ko(), Oe = (e) => e.replace(/^v/, "");
|
|
4766
4766
|
function we(e, i) {
|
|
4767
4767
|
for (const s of i instanceof Set ? i : [])
|
|
4768
4768
|
if (s.test(e)) return !0;
|
|
@@ -4782,12 +4782,12 @@ function Ge(e) {
|
|
|
4782
4782
|
return e.split(",").filter(Boolean);
|
|
4783
4783
|
}
|
|
4784
4784
|
function ki(e, i) {
|
|
4785
|
-
const s =
|
|
4785
|
+
const s = Or(i, e);
|
|
4786
4786
|
try {
|
|
4787
4787
|
return es(s), s;
|
|
4788
4788
|
} catch {
|
|
4789
4789
|
}
|
|
4790
|
-
const o =
|
|
4790
|
+
const o = _r(i);
|
|
4791
4791
|
return o === i ? null : ki(e, o);
|
|
4792
4792
|
}
|
|
4793
4793
|
function zo(e, i, s, o) {
|
|
@@ -4795,13 +4795,13 @@ function zo(e, i, s, o) {
|
|
|
4795
4795
|
const c = (/@[a-z0-9][\w-.]+/.exec(e) || [""])[0], r = Pe(Xo(c, o));
|
|
4796
4796
|
if (r !== i)
|
|
4797
4797
|
try {
|
|
4798
|
-
const t =
|
|
4798
|
+
const t = bt(r, s);
|
|
4799
4799
|
if (t?.token) return { auth: t, registry: r };
|
|
4800
4800
|
} catch {
|
|
4801
4801
|
}
|
|
4802
|
-
return { auth:
|
|
4802
|
+
return { auth: bt(i, s), registry: i };
|
|
4803
4803
|
} else
|
|
4804
|
-
return { auth:
|
|
4804
|
+
return { auth: bt(i, s), registry: i };
|
|
4805
4805
|
}
|
|
4806
4806
|
function qr(e, i, s) {
|
|
4807
4807
|
return {
|
|
@@ -4812,19 +4812,19 @@ function qr(e, i, s) {
|
|
|
4812
4812
|
}
|
|
4813
4813
|
};
|
|
4814
4814
|
}
|
|
4815
|
-
async function
|
|
4815
|
+
async function Ze(e, i) {
|
|
4816
4816
|
Z.verbose && console.error(`${Uo("fetch")} ${e}`);
|
|
4817
4817
|
const s = await fetch(e, i);
|
|
4818
|
-
return Z.verbose && console.error(`${s.ok ? jr(s.status) :
|
|
4818
|
+
return Z.verbose && console.error(`${s.ok ? jr(s.status) : Ue(s.status)} ${e}`), s;
|
|
4819
4819
|
}
|
|
4820
4820
|
async function Yo(e, i, s, o, c, r) {
|
|
4821
|
-
const { auth: t, registry: n } = zo(e, s, c, r), u = i === "resolutions" ? He(e) : e, a = `${n}/${u.replace(/\//g, "%2f")}`, l = await
|
|
4821
|
+
const { auth: t, registry: n } = zo(e, s, c, r), u = i === "resolutions" ? He(e) : e, a = `${n}/${u.replace(/\//g, "%2f")}`, l = await Ze(a, qr(o, t?.type, t?.token));
|
|
4822
4822
|
if (l?.ok)
|
|
4823
4823
|
return [await l.json(), i, n, e];
|
|
4824
4824
|
throw l?.status && l?.statusText ? new Error(`Received ${l.status} ${l.statusText} from ${a}`) : new Error(`Unable to fetch ${e} from ${n}`);
|
|
4825
4825
|
}
|
|
4826
4826
|
async function Qo(e, i, s) {
|
|
4827
|
-
const o = `${Ai}/pypi/${e}/json`, c = await
|
|
4827
|
+
const o = `${Ai}/pypi/${e}/json`, c = await Ze(o, qr(s));
|
|
4828
4828
|
if (c?.ok)
|
|
4829
4829
|
return [await c.json(), i, null, e];
|
|
4830
4830
|
throw c?.status && c?.statusText ? new Error(`Received ${c.status} ${c.statusText} from ${o}`) : new Error(`Unable to fetch ${e} from ${Ai}`);
|
|
@@ -4836,7 +4836,7 @@ async function Fr(e, i, s, o, c = {}) {
|
|
|
4836
4836
|
const r = o.shift();
|
|
4837
4837
|
if (!r)
|
|
4838
4838
|
throw new Error("No more go proxies available");
|
|
4839
|
-
const t = `${r}/${e.toLowerCase()}/@latest`, n = await
|
|
4839
|
+
const t = `${r}/${e.toLowerCase()}/@latest`, n = await Ze(t, { ...qr(s), ...c });
|
|
4840
4840
|
if ([404, 410].includes(n.status) && o.length)
|
|
4841
4841
|
return Fr(e, i, s, o, c);
|
|
4842
4842
|
if (n?.ok)
|
|
@@ -4855,7 +4855,7 @@ async function Zo(e, i) {
|
|
|
4855
4855
|
const c = await Fr(o, "latest", i, Array.from(Ui), {
|
|
4856
4856
|
// proxy.golang.org takes 5+ seconds to answer requests for unknown packages with an error. If it
|
|
4857
4857
|
// takes that long, it's likely going to fail. Subsequent requests are faster apparently as it caches.
|
|
4858
|
-
signal: AbortSignal.timeout(
|
|
4858
|
+
signal: AbortSignal.timeout(1e3)
|
|
4859
4859
|
});
|
|
4860
4860
|
if (c.Version) {
|
|
4861
4861
|
s = c;
|
|
@@ -4889,10 +4889,10 @@ async function Oi(e) {
|
|
|
4889
4889
|
}
|
|
4890
4890
|
async function Ne(e, i) {
|
|
4891
4891
|
if (e) {
|
|
4892
|
-
const s = e.stack ?? e.message;
|
|
4893
|
-
|
|
4892
|
+
const s = e.stack ?? e.message, o = e.cause;
|
|
4893
|
+
Z.json ? console.info(JSON.stringify({ error: s, cause: o })) : (console.info(Ue(s)), o && console.info(Ue(`Caused by: ${o}`)));
|
|
4894
4894
|
}
|
|
4895
|
-
|
|
4895
|
+
wr === "win32" && Number(zi?.node?.split(".")[0]) >= 23 && await new Promise((s) => setTimeout(s, 50)), Yi(i || e ? 1 : 0);
|
|
4896
4896
|
}
|
|
4897
4897
|
function ra(e = {}) {
|
|
4898
4898
|
for (const s of Object.keys(e))
|
|
@@ -4913,7 +4913,7 @@ function ra(e = {}) {
|
|
|
4913
4913
|
return Z["error-on-outdated"] ? i ? 2 : 0 : Z["error-on-unchanged"] ? i ? 0 : 2 : 0;
|
|
4914
4914
|
}
|
|
4915
4915
|
function na(e, i) {
|
|
4916
|
-
|
|
4916
|
+
wr === "win32" && Ji(e, 0), Zi(e, i, wr === "win32" ? { flag: "r+" } : void 0);
|
|
4917
4917
|
}
|
|
4918
4918
|
function xi(e, i, s) {
|
|
4919
4919
|
if (e === i) return e;
|
|
@@ -4948,7 +4948,7 @@ function ia(e, i = " ") {
|
|
|
4948
4948
|
return s;
|
|
4949
4949
|
}
|
|
4950
4950
|
function sa(e) {
|
|
4951
|
-
return /\/v[0-9]$/.test(e) && (e =
|
|
4951
|
+
return /\/v[0-9]$/.test(e) && (e = _r(e)), e;
|
|
4952
4952
|
}
|
|
4953
4953
|
function oa(e) {
|
|
4954
4954
|
const i = [["NAME", "OLD", "NEW", "AGE", "INFO"]], s = /* @__PURE__ */ new Set();
|
|
@@ -4957,7 +4957,7 @@ function oa(e) {
|
|
|
4957
4957
|
const t = c.split(fe)[1], n = `${o}|${t}`;
|
|
4958
4958
|
s.has(n) || (s.add(n), i.push([
|
|
4959
4959
|
o === "go" ? sa(t) : t,
|
|
4960
|
-
xi(r.old, r.new,
|
|
4960
|
+
xi(r.old, r.new, Ue),
|
|
4961
4961
|
xi(r.new, r.old, jr),
|
|
4962
4962
|
r.age || "",
|
|
4963
4963
|
r.info || ""
|
|
@@ -4997,7 +4997,7 @@ function ca(e, i, s) {
|
|
|
4997
4997
|
}
|
|
4998
4998
|
return o;
|
|
4999
4999
|
}
|
|
5000
|
-
function
|
|
5000
|
+
function Er(e) {
|
|
5001
5001
|
const i = oe.parse(e);
|
|
5002
5002
|
return i ? !!i.prerelease.length : !1;
|
|
5003
5003
|
}
|
|
@@ -5041,18 +5041,18 @@ function fa(e, { mode: i, range: s, useGreatest: o, useRel: c, usePre: r, semver
|
|
|
5041
5041
|
{
|
|
5042
5042
|
let a = "", l = "";
|
|
5043
5043
|
i === "pypi" ? (l = e.info.version, a = Le(e.info.version)) : a = e["dist-tags"].latest;
|
|
5044
|
-
const d = Le(s), f = Vi(s), h =
|
|
5044
|
+
const d = Le(s), f = Vi(s), h = Er(u), g = Er(a), y = oe.gt(u, d);
|
|
5045
5045
|
if (!c && r || f && h || c && !y && f && !h || f && !h && y)
|
|
5046
5046
|
return u;
|
|
5047
5047
|
if (f && !h && !y)
|
|
5048
5048
|
return null;
|
|
5049
5049
|
const p = oe.diff(d, a);
|
|
5050
|
-
return p && p !== "prerelease" && !t.has(p.replace(/^pre/, "")) || c &&
|
|
5050
|
+
return p && p !== "prerelease" && !t.has(p.replace(/^pre/, "")) || c && Er(a) ? u : oe.lt(a, d) && !g ? bi === !0 || we(e.name, bi) ? a : null : l || a;
|
|
5051
5051
|
}
|
|
5052
5052
|
}
|
|
5053
5053
|
function Xi(e) {
|
|
5054
5054
|
const i = {}, s = be.UPDATES_GITHUB_API_TOKEN || be.GITHUB_API_TOKEN || be.GH_TOKEN || be.HOMEBREW_GITHUB_API_TOKEN;
|
|
5055
|
-
return s && (i.headers = { Authorization: `Bearer ${s}` }),
|
|
5055
|
+
return s && (i.headers = { Authorization: `Bearer ${s}` }), Ze(e, i);
|
|
5056
5056
|
}
|
|
5057
5057
|
async function pa(e, i) {
|
|
5058
5058
|
const s = `${Mi}/repos/${e}/${i}/commits`, o = await Xi(s);
|
|
@@ -5087,7 +5087,7 @@ function da(e, i, s) {
|
|
|
5087
5087
|
async function ga(e, i, s) {
|
|
5088
5088
|
const o = i.old.replace(Ho, ""), [c, r, t, n] = Go.exec(o) || [];
|
|
5089
5089
|
if (!(!r || !t || !n))
|
|
5090
|
-
if (
|
|
5090
|
+
if (Sr.test(n)) {
|
|
5091
5091
|
const { hash: u, commit: a } = await pa(r, t);
|
|
5092
5092
|
if (!u) return;
|
|
5093
5093
|
const l = a?.committer?.date ?? a?.author?.date, d = u.substring(0, n.length);
|
|
@@ -5117,14 +5117,14 @@ function va(e) {
|
|
|
5117
5117
|
function ya(e) {
|
|
5118
5118
|
return Array.from(e.matchAll(/(----BEGIN [^]+?PRIVATE KEY----)/g), (i) => i[0]);
|
|
5119
5119
|
}
|
|
5120
|
-
function
|
|
5120
|
+
function Ar(e, i, s) {
|
|
5121
5121
|
return i && typeof e == "string" ? /\/.+\//.test(e) ? new RegExp(e.slice(1, -1)) : Zr.makeRe(e, { nocase: s }) : e instanceof RegExp ? e : Zr.makeRe(e, { nocase: s });
|
|
5122
5122
|
}
|
|
5123
5123
|
function De(e) {
|
|
5124
5124
|
if (e instanceof Set) {
|
|
5125
5125
|
const i = /* @__PURE__ */ new Set();
|
|
5126
5126
|
for (const s of e)
|
|
5127
|
-
i.add(
|
|
5127
|
+
i.add(Ar(s, !0, !1));
|
|
5128
5128
|
return i;
|
|
5129
5129
|
}
|
|
5130
5130
|
return e;
|
|
@@ -5132,12 +5132,12 @@ function De(e) {
|
|
|
5132
5132
|
function Ni(e, i) {
|
|
5133
5133
|
const s = /* @__PURE__ */ new Set();
|
|
5134
5134
|
for (const o of e || [])
|
|
5135
|
-
s.add(
|
|
5135
|
+
s.add(Ar(o, !0, !0));
|
|
5136
5136
|
for (const o of i || [])
|
|
5137
|
-
s.add(
|
|
5137
|
+
s.add(Ar(o, !1, !0));
|
|
5138
5138
|
return s;
|
|
5139
5139
|
}
|
|
5140
|
-
function
|
|
5140
|
+
function Rr(e, i, s, o) {
|
|
5141
5141
|
if (i === "pypi" && e === "python") return !1;
|
|
5142
5142
|
if (!s.size && !o.size) return !0;
|
|
5143
5143
|
for (const c of o)
|
|
@@ -5160,8 +5160,8 @@ function Ea(e) {
|
|
|
5160
5160
|
const r = Be(o);
|
|
5161
5161
|
i.add(r), s.add(r);
|
|
5162
5162
|
} else if (c?.isDirectory())
|
|
5163
|
-
for (const r of Object.keys(
|
|
5164
|
-
const t =
|
|
5163
|
+
for (const r of Object.keys(br)) {
|
|
5164
|
+
const t = Or(o, r);
|
|
5165
5165
|
let n = null;
|
|
5166
5166
|
try {
|
|
5167
5167
|
n = Gr(t);
|
|
@@ -5173,7 +5173,7 @@ function Ea(e) {
|
|
|
5173
5173
|
throw new Error(`${o} is neither a file nor directory`);
|
|
5174
5174
|
}
|
|
5175
5175
|
else
|
|
5176
|
-
for (const o of Object.keys(
|
|
5176
|
+
for (const o of Object.keys(br)) {
|
|
5177
5177
|
const c = ki(o, Qi());
|
|
5178
5178
|
c && i.add(Be(c));
|
|
5179
5179
|
}
|
|
@@ -5186,7 +5186,7 @@ async function Ra(e) {
|
|
|
5186
5186
|
i.push(`${o}updates${o ? "" : ".config"}.${c}`);
|
|
5187
5187
|
let s = {};
|
|
5188
5188
|
try {
|
|
5189
|
-
({ default: s } = await Promise.any(i.map((o) => import(
|
|
5189
|
+
({ default: s } = await Promise.any(i.map((o) => import(Or(e, ...o.split("/"))))));
|
|
5190
5190
|
} catch {
|
|
5191
5191
|
}
|
|
5192
5192
|
return s;
|
|
@@ -5194,7 +5194,7 @@ async function Ra(e) {
|
|
|
5194
5194
|
async function wa() {
|
|
5195
5195
|
for (const p of [Br, Wi])
|
|
5196
5196
|
p?._handle?.setBlocking?.(!0);
|
|
5197
|
-
const e =
|
|
5197
|
+
const e = 96, i = typeof Z.sockets == "number" ? Z.sockets : e, { help: s, version: o, file: c, types: r, update: t } = Z;
|
|
5198
5198
|
s && (Br.write(`usage: updates [options]
|
|
5199
5199
|
|
|
5200
5200
|
Options:
|
|
@@ -5232,7 +5232,7 @@ async function wa() {
|
|
|
5232
5232
|
let d = 0;
|
|
5233
5233
|
const [f, h] = Ea(ve(c));
|
|
5234
5234
|
for (const p of f) {
|
|
5235
|
-
const E =
|
|
5235
|
+
const E = _r(Be(p)), A = He(p), v = br[A];
|
|
5236
5236
|
if (!ko.has(v) && !h.has(p)) continue;
|
|
5237
5237
|
l[v] = p, n[v] || (n[v] = {});
|
|
5238
5238
|
const m = await Ra(E);
|
|
@@ -5283,16 +5283,16 @@ async function wa() {
|
|
|
5283
5283
|
let I;
|
|
5284
5284
|
if (v === "npm" || v === "go" ? I = L[O] || {} : I = Wo(L, O) || {}, Array.isArray(I) && v === "pypi")
|
|
5285
5285
|
for (const { name: D, version: C } of jo(I))
|
|
5286
|
-
|
|
5286
|
+
Rr(D, v, x, F) && (n[v][`${O}${fe}${D}`] = {
|
|
5287
5287
|
old: Ii(C),
|
|
5288
5288
|
oldOriginal: C
|
|
5289
5289
|
});
|
|
5290
5290
|
else
|
|
5291
5291
|
for (const [D, C] of Object.entries(I))
|
|
5292
|
-
v !== "go" && oe.validRange(C) &&
|
|
5292
|
+
v !== "go" && oe.validRange(C) && Rr(D, v, x, F) ? n[v][`${O}${fe}${D}`] = {
|
|
5293
5293
|
old: Ii(C),
|
|
5294
5294
|
oldOriginal: C
|
|
5295
|
-
} : v === "npm" &&
|
|
5295
|
+
} : v === "npm" && Rr(D, v, x, F) ? u[`${O}${fe}${D}`] = {
|
|
5296
5296
|
old: C
|
|
5297
5297
|
} : v === "go" && (n[v][`${O}${fe}${D}`] = {
|
|
5298
5298
|
old: ma(C),
|
|
@@ -5316,7 +5316,7 @@ async function wa() {
|
|
|
5316
5316
|
}), { concurrency: i });
|
|
5317
5317
|
for (const [O, I, D, C] of H) {
|
|
5318
5318
|
if (O?.error) throw new Error(O.error);
|
|
5319
|
-
const w = typeof Se == "boolean" ? Se : we(O.name, Se), X = typeof
|
|
5319
|
+
const w = typeof Se == "boolean" ? Se : we(O.name, Se), X = typeof vr == "boolean" ? vr : we(O.name, vr), k = typeof yr == "boolean" ? yr : we(O.name, yr);
|
|
5320
5320
|
let ne;
|
|
5321
5321
|
$i === !0 || we(O.name, $i) ? ne = /* @__PURE__ */ new Set(["patch"]) : Si === !0 || we(O.name, Si) ? ne = /* @__PURE__ */ new Set(["patch", "minor"]) : ne = /* @__PURE__ */ new Set(["patch", "minor", "major"]);
|
|
5322
5322
|
const S = `${I}${fe}${C}`, R = n[v][S].old, V = n[v][S].oldOriginal, N = fa(O, {
|
|
@@ -5346,8 +5346,8 @@ async function wa() {
|
|
|
5346
5346
|
n[v][D] = {
|
|
5347
5347
|
old: u[D].old,
|
|
5348
5348
|
new: C,
|
|
5349
|
-
oldPrint:
|
|
5350
|
-
newPrint:
|
|
5349
|
+
oldPrint: Sr.test(k) ? k.substring(0, 7) : k,
|
|
5350
|
+
newPrint: Sr.test(ne) ? ne.substring(0, 7) : ne,
|
|
5351
5351
|
info: `https://github.com/${w}/${X}`,
|
|
5352
5352
|
...S ? { age: Ri(S, { noAffix: !0 }) } : {}
|
|
5353
5353
|
};
|