@ariestools/toolchain 8.7.0 → 8.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/license.d.ts +4 -0
- package/dist/actions/license.d.ts.map +1 -1
- package/dist/actions/lint.d.ts +11 -2
- package/dist/actions/lint.d.ts.map +1 -1
- package/dist/actions/lintNext.d.ts +22 -1
- package/dist/actions/lintNext.d.ts.map +1 -1
- package/dist/actions/lintNextRun.d.ts +36 -0
- package/dist/actions/lintNextRun.d.ts.map +1 -0
- package/dist/actions/lintNextWorker.d.ts +70 -3
- package/dist/actions/lintNextWorker.d.ts.map +1 -1
- package/dist/actions/lintPackageFilter.d.ts +44 -0
- package/dist/actions/lintPackageFilter.d.ts.map +1 -0
- package/dist/bin/package/build.mjs +296 -83
- package/dist/bin/package/build.mjs.map +1 -1
- package/dist/bin/package/clean.mjs +214 -47
- package/dist/bin/package/clean.mjs.map +1 -1
- package/dist/bin/package/compile.mjs +296 -83
- package/dist/bin/package/compile.mjs.map +1 -1
- package/dist/bin/package/copy-assets-cjs.mjs +214 -47
- package/dist/bin/package/copy-assets-cjs.mjs.map +1 -1
- package/dist/bin/package/copy-assets-esm.mjs +214 -47
- package/dist/bin/package/copy-assets-esm.mjs.map +1 -1
- package/dist/bin/package/publint.mjs +224 -50
- package/dist/bin/package/publint.mjs.map +1 -1
- package/dist/bin/package/recompile.mjs +296 -83
- package/dist/bin/package/recompile.mjs.map +1 -1
- package/dist/bin/package/sync-layout.mjs +10 -3
- package/dist/bin/package/sync-layout.mjs.map +1 -1
- package/dist/bin/skills.mjs +135 -91
- package/dist/bin/skills.mjs.map +1 -1
- package/dist/bin/source-map-explorer.mjs +7 -2
- package/dist/bin/source-map-explorer.mjs.map +1 -1
- package/dist/bin/xy.mjs +1068 -281
- package/dist/bin/xy.mjs.map +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/licenseCheck/checkLicenses.d.ts +23 -0
- package/dist/lib/licenseCheck/checkLicenses.d.ts.map +1 -0
- package/dist/lib/licenseCheck/collectProductionLicenses.d.ts +21 -0
- package/dist/lib/licenseCheck/collectProductionLicenses.d.ts.map +1 -0
- package/dist/lib/licenseCheck/index.d.ts +4 -0
- package/dist/lib/licenseCheck/index.d.ts.map +1 -0
- package/dist/lib/licenseCheck/readPackageLicense.d.ts +25 -0
- package/dist/lib/licenseCheck/readPackageLicense.d.ts.map +1 -0
- package/dist/xy/common/licenseCommand.d.ts.map +1 -1
- package/dist/xy/lint/cycleCommand.d.ts.map +1 -1
- package/dist/xy/lint/lint/runCommand.d.ts.map +1 -1
- package/package.json +7 -8
|
@@ -533,10 +533,12 @@ __esmMin((() => {
|
|
|
533
533
|
body: e.slice(r[0] + s.length, r[1]),
|
|
534
534
|
post: e.slice(r[1] + i.length)
|
|
535
535
|
};
|
|
536
|
-
}
|
|
536
|
+
};
|
|
537
|
+
ce = (n, t) => {
|
|
537
538
|
let e = t.match(n);
|
|
538
539
|
return e ? e[0] : null;
|
|
539
|
-
}
|
|
540
|
+
};
|
|
541
|
+
ss = (n, t, e) => {
|
|
540
542
|
let s, i, r, o, h, a = e.indexOf(n), l = e.indexOf(t, a + 1), u = a;
|
|
541
543
|
if (a >= 0 && l > 0) {
|
|
542
544
|
if (n === t) return [a, l];
|
|
@@ -552,7 +554,22 @@ __esmMin((() => {
|
|
|
552
554
|
}
|
|
553
555
|
return h;
|
|
554
556
|
};
|
|
555
|
-
fe = "\0SLASH" + Math.random() + "\0"
|
|
557
|
+
fe = "\0SLASH" + Math.random() + "\0";
|
|
558
|
+
ue = "\0OPEN" + Math.random() + "\0";
|
|
559
|
+
qt = "\0CLOSE" + Math.random() + "\0";
|
|
560
|
+
de = "\0COMMA" + Math.random() + "\0";
|
|
561
|
+
pe = "\0PERIOD" + Math.random() + "\0";
|
|
562
|
+
is = new RegExp(fe, "g");
|
|
563
|
+
rs = new RegExp(ue, "g");
|
|
564
|
+
ns = new RegExp(qt, "g");
|
|
565
|
+
os$1 = new RegExp(de, "g");
|
|
566
|
+
hs = new RegExp(pe, "g");
|
|
567
|
+
as = /\\\\/g;
|
|
568
|
+
ls = /\\{/g;
|
|
569
|
+
cs = /\\}/g;
|
|
570
|
+
fs$1 = /\\,/g;
|
|
571
|
+
us = /\\./g;
|
|
572
|
+
ds = 1e5;
|
|
556
573
|
at = (n) => {
|
|
557
574
|
if (typeof n != "string") throw new TypeError("invalid pattern");
|
|
558
575
|
if (n.length > 65536) throw new TypeError("pattern is too long");
|
|
@@ -576,7 +593,11 @@ __esmMin((() => {
|
|
|
576
593
|
"[:upper:]": ["\\p{Lu}", !0],
|
|
577
594
|
"[:word:]": ["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}", !0],
|
|
578
595
|
"[:xdigit:]": ["A-Fa-f0-9", !1]
|
|
579
|
-
}
|
|
596
|
+
};
|
|
597
|
+
lt = (n) => n.replace(/[[\]\\-]/g, "\\$&");
|
|
598
|
+
Es = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
599
|
+
we = (n) => n.join("");
|
|
600
|
+
ye = (n, t) => {
|
|
580
601
|
let e = t;
|
|
581
602
|
if (n.charAt(e) !== "[") throw new Error("not in a brace expression");
|
|
582
603
|
let s = [], i = [], r = e + 1, o = !1, h = !1, a = !1, l = !1, u = e, c = "";
|
|
@@ -653,7 +674,18 @@ __esmMin((() => {
|
|
|
653
674
|
"+",
|
|
654
675
|
"*",
|
|
655
676
|
"@"
|
|
656
|
-
])
|
|
677
|
+
]);
|
|
678
|
+
be = (n) => xs.has(n);
|
|
679
|
+
vs = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
680
|
+
Ct = "(?!\\.)";
|
|
681
|
+
Cs = /* @__PURE__ */ new Set(["[", "."]);
|
|
682
|
+
Ts = /* @__PURE__ */ new Set(["..", "."]);
|
|
683
|
+
As = /* @__PURE__ */ new Set("().*{}+?[]^$\\!");
|
|
684
|
+
ks = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
685
|
+
Kt = "[^/]";
|
|
686
|
+
Se = Kt + "*?";
|
|
687
|
+
Ee = Kt + "+?";
|
|
688
|
+
Q = class n {
|
|
657
689
|
type;
|
|
658
690
|
#t;
|
|
659
691
|
#s;
|
|
@@ -894,34 +926,60 @@ __esmMin((() => {
|
|
|
894
926
|
}
|
|
895
927
|
};
|
|
896
928
|
tt = (n, { windowsPathsNoEscape: t = !1, magicalBraces: e = !1 } = {}) => e ? t ? n.replace(/[?*()[\]{}]/g, "[$&]") : n.replace(/[?*()[\]\\{}]/g, "\\$&") : t ? n.replace(/[?*()[\]]/g, "[$&]") : n.replace(/[?*()[\]\\]/g, "\\$&");
|
|
897
|
-
O = (n, t, e = {}) => (at(t), !e.nocomment && t.charAt(0) === "#" ? !1 : new D(t, e).match(n))
|
|
929
|
+
O = (n, t, e = {}) => (at(t), !e.nocomment && t.charAt(0) === "#" ? !1 : new D(t, e).match(n));
|
|
930
|
+
Rs = /^\*+([^+@!?\*\[\(]*)$/;
|
|
931
|
+
Os = (n) => (t) => !t.startsWith(".") && t.endsWith(n);
|
|
932
|
+
Fs = (n) => (t) => t.endsWith(n);
|
|
933
|
+
Ds = (n) => (n = n.toLowerCase(), (t) => !t.startsWith(".") && t.toLowerCase().endsWith(n));
|
|
934
|
+
Ms = (n) => (n = n.toLowerCase(), (t) => t.toLowerCase().endsWith(n));
|
|
935
|
+
Ns = /^\*+\.\*+$/;
|
|
936
|
+
_s = (n) => !n.startsWith(".") && n.includes(".");
|
|
937
|
+
Ls = (n) => n !== "." && n !== ".." && n.includes(".");
|
|
938
|
+
Ws = /^\.\*+$/;
|
|
939
|
+
Ps = (n) => n !== "." && n !== ".." && n.startsWith(".");
|
|
940
|
+
js = /^\*+$/;
|
|
941
|
+
Is = (n) => n.length !== 0 && !n.startsWith(".");
|
|
942
|
+
zs = (n) => n.length !== 0 && n !== "." && n !== "..";
|
|
943
|
+
Bs = /^\?+([^+@!?\*\[\(]*)?$/;
|
|
944
|
+
Us = ([n, t = ""]) => {
|
|
898
945
|
let e = Ce([n]);
|
|
899
946
|
return t ? (t = t.toLowerCase(), (s) => e(s) && s.toLowerCase().endsWith(t)) : e;
|
|
900
|
-
}
|
|
947
|
+
};
|
|
948
|
+
$s = ([n, t = ""]) => {
|
|
901
949
|
let e = Te([n]);
|
|
902
950
|
return t ? (t = t.toLowerCase(), (s) => e(s) && s.toLowerCase().endsWith(t)) : e;
|
|
903
|
-
}
|
|
951
|
+
};
|
|
952
|
+
Gs = ([n, t = ""]) => {
|
|
904
953
|
let e = Te([n]);
|
|
905
954
|
return t ? (s) => e(s) && s.endsWith(t) : e;
|
|
906
|
-
}
|
|
955
|
+
};
|
|
956
|
+
Hs = ([n, t = ""]) => {
|
|
907
957
|
let e = Ce([n]);
|
|
908
958
|
return t ? (s) => e(s) && s.endsWith(t) : e;
|
|
909
|
-
}
|
|
959
|
+
};
|
|
960
|
+
Ce = ([n]) => {
|
|
910
961
|
let t = n.length;
|
|
911
962
|
return (e) => e.length === t && !e.startsWith(".");
|
|
912
|
-
}
|
|
963
|
+
};
|
|
964
|
+
Te = ([n]) => {
|
|
913
965
|
let t = n.length;
|
|
914
966
|
return (e) => e.length === t && e !== "." && e !== "..";
|
|
915
|
-
}
|
|
967
|
+
};
|
|
968
|
+
Ae = typeof process == "object" && process ? typeof process.env == "object" && process.env && process.env.__MINIMATCH_TESTING_PLATFORM__ || process.platform : "posix";
|
|
969
|
+
xe = {
|
|
916
970
|
win32: { sep: "\\" },
|
|
917
971
|
posix: { sep: "/" }
|
|
918
972
|
};
|
|
919
973
|
O.sep = Ae === "win32" ? xe.win32.sep : xe.posix.sep;
|
|
920
974
|
A = Symbol("globstar **");
|
|
921
975
|
O.GLOBSTAR = A;
|
|
922
|
-
Vs = "[^/]*?"
|
|
976
|
+
Vs = "[^/]*?";
|
|
977
|
+
Ys = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
|
|
978
|
+
Xs = "(?:(?!(?:\\/|^)\\.).)*?";
|
|
979
|
+
Js = (n, t = {}) => (e) => O(e, n, t);
|
|
923
980
|
O.filter = Js;
|
|
924
|
-
N = (n, t = {}) => Object.assign({}, n, t)
|
|
981
|
+
N = (n, t = {}) => Object.assign({}, n, t);
|
|
982
|
+
Zs = (n) => {
|
|
925
983
|
if (!n || typeof n != "object" || !Object.keys(n).length) return O;
|
|
926
984
|
let t = O;
|
|
927
985
|
return Object.assign((s, i, r = {}) => t(s, i, N(n, r)), {
|
|
@@ -962,7 +1020,9 @@ __esmMin((() => {
|
|
|
962
1020
|
return n = n.filter((i) => s.match(i)), s.options.nonull && !n.length && n.push(t), n;
|
|
963
1021
|
};
|
|
964
1022
|
O.match = ti;
|
|
965
|
-
ve = /[?*]|[+@!]\(.*?\)|\[|\]
|
|
1023
|
+
ve = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
|
1024
|
+
ei = (n) => n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
1025
|
+
D = class {
|
|
966
1026
|
options;
|
|
967
1027
|
set;
|
|
968
1028
|
pattern;
|
|
@@ -1246,9 +1306,14 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
|
|
|
1246
1306
|
O.Minimatch = D;
|
|
1247
1307
|
O.escape = tt;
|
|
1248
1308
|
O.unescape = W;
|
|
1249
|
-
si = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date
|
|
1309
|
+
si = typeof performance == "object" && performance && typeof performance.now == "function" ? performance : Date;
|
|
1310
|
+
Oe = /* @__PURE__ */ new Set();
|
|
1311
|
+
Vt = typeof process == "object" && process ? process : {};
|
|
1312
|
+
Fe = (n, t, e, s) => {
|
|
1250
1313
|
typeof Vt.emitWarning == "function" ? Vt.emitWarning(n, t, e, s) : console.error(`[${e}] ${t}: ${n}`);
|
|
1251
|
-
}
|
|
1314
|
+
};
|
|
1315
|
+
At = globalThis.AbortController;
|
|
1316
|
+
Re = globalThis.AbortSignal;
|
|
1252
1317
|
if (typeof At > "u") {
|
|
1253
1318
|
Re = class {
|
|
1254
1319
|
onabort;
|
|
@@ -1276,11 +1341,14 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
|
|
|
1276
1341
|
};
|
|
1277
1342
|
}
|
|
1278
1343
|
ii = (n) => !Oe.has(n);
|
|
1279
|
-
q = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n)
|
|
1344
|
+
q = (n) => n && n === Math.floor(n) && n > 0 && isFinite(n);
|
|
1345
|
+
De = (n) => q(n) ? n <= Math.pow(2, 8) ? Uint8Array : n <= Math.pow(2, 16) ? Uint16Array : n <= Math.pow(2, 32) ? Uint32Array : n <= Number.MAX_SAFE_INTEGER ? Tt : null : null;
|
|
1346
|
+
Tt = class extends Array {
|
|
1280
1347
|
constructor(n) {
|
|
1281
1348
|
super(n), this.fill(0);
|
|
1282
1349
|
}
|
|
1283
|
-
}
|
|
1350
|
+
};
|
|
1351
|
+
ri = class ct {
|
|
1284
1352
|
heap;
|
|
1285
1353
|
length;
|
|
1286
1354
|
static #t = !1;
|
|
@@ -1301,7 +1369,8 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
|
|
|
1301
1369
|
pop() {
|
|
1302
1370
|
return this.heap[--this.length];
|
|
1303
1371
|
}
|
|
1304
|
-
}
|
|
1372
|
+
};
|
|
1373
|
+
ft = class Me {
|
|
1305
1374
|
#t;
|
|
1306
1375
|
#s;
|
|
1307
1376
|
#n;
|
|
@@ -1844,7 +1913,47 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
|
|
|
1844
1913
|
Ne = typeof process == "object" && process ? process : {
|
|
1845
1914
|
stdout: null,
|
|
1846
1915
|
stderr: null
|
|
1847
|
-
}
|
|
1916
|
+
};
|
|
1917
|
+
oi = (n) => !!n && typeof n == "object" && (n instanceof V || n instanceof Pe || hi(n) || ai(n));
|
|
1918
|
+
hi = (n) => !!n && typeof n == "object" && n instanceof EventEmitter && typeof n.pipe == "function" && n.pipe !== Pe.Writable.prototype.pipe;
|
|
1919
|
+
ai = (n) => !!n && typeof n == "object" && n instanceof EventEmitter && typeof n.write == "function" && typeof n.end == "function";
|
|
1920
|
+
G = Symbol("EOF");
|
|
1921
|
+
H = Symbol("maybeEmitEnd");
|
|
1922
|
+
K = Symbol("emittedEnd");
|
|
1923
|
+
kt = Symbol("emittingEnd");
|
|
1924
|
+
ut = Symbol("emittedError");
|
|
1925
|
+
Rt = Symbol("closed");
|
|
1926
|
+
_e = Symbol("read");
|
|
1927
|
+
Ot = Symbol("flush");
|
|
1928
|
+
Le = Symbol("flushChunk");
|
|
1929
|
+
P = Symbol("encoding");
|
|
1930
|
+
et = Symbol("decoder");
|
|
1931
|
+
v = Symbol("flowing");
|
|
1932
|
+
dt = Symbol("paused");
|
|
1933
|
+
st = Symbol("resume");
|
|
1934
|
+
C = Symbol("buffer");
|
|
1935
|
+
F = Symbol("pipes");
|
|
1936
|
+
T = Symbol("bufferLength");
|
|
1937
|
+
Yt = Symbol("bufferPush");
|
|
1938
|
+
Ft = Symbol("bufferShift");
|
|
1939
|
+
k = Symbol("objectMode");
|
|
1940
|
+
x = Symbol("destroyed");
|
|
1941
|
+
Xt = Symbol("error");
|
|
1942
|
+
Jt = Symbol("emitData");
|
|
1943
|
+
We = Symbol("emitEnd");
|
|
1944
|
+
Zt = Symbol("emitEnd2");
|
|
1945
|
+
B = Symbol("async");
|
|
1946
|
+
Qt = Symbol("abort");
|
|
1947
|
+
Dt = Symbol("aborted");
|
|
1948
|
+
pt = Symbol("signal");
|
|
1949
|
+
Y = Symbol("dataListeners");
|
|
1950
|
+
M = Symbol("discarded");
|
|
1951
|
+
mt = (n) => Promise.resolve().then(n);
|
|
1952
|
+
li = (n) => n();
|
|
1953
|
+
ci = (n) => n === "end" || n === "finish" || n === "prefinish";
|
|
1954
|
+
fi = (n) => n instanceof ArrayBuffer || !!n && typeof n == "object" && n.constructor && n.constructor.name === "ArrayBuffer" && n.byteLength >= 0;
|
|
1955
|
+
ui = (n) => !Buffer.isBuffer(n) && ArrayBuffer.isView(n);
|
|
1956
|
+
Mt = class {
|
|
1848
1957
|
src;
|
|
1849
1958
|
dest;
|
|
1850
1959
|
opts;
|
|
@@ -1859,14 +1968,18 @@ globstar while`, t, d, e, f, m), this.matchOne(t.slice(d), e.slice(f), s)) retur
|
|
|
1859
1968
|
end() {
|
|
1860
1969
|
this.unpipe(), this.opts.end && this.dest.end();
|
|
1861
1970
|
}
|
|
1862
|
-
}
|
|
1971
|
+
};
|
|
1972
|
+
te = class extends Mt {
|
|
1863
1973
|
unpipe() {
|
|
1864
1974
|
this.src.removeListener("error", this.proxyErrors), super.unpipe();
|
|
1865
1975
|
}
|
|
1866
1976
|
constructor(t, e, s) {
|
|
1867
1977
|
super(t, e, s), this.proxyErrors = (i) => this.dest.emit("error", i), t.on("error", this.proxyErrors);
|
|
1868
1978
|
}
|
|
1869
|
-
}
|
|
1979
|
+
};
|
|
1980
|
+
di = (n) => !!n.objectMode;
|
|
1981
|
+
pi = (n) => !n.objectMode && !!n.encoding && n.encoding !== "buffer";
|
|
1982
|
+
V = class extends EventEmitter {
|
|
1870
1983
|
[v] = !1;
|
|
1871
1984
|
[dt] = !1;
|
|
1872
1985
|
[F] = [];
|
|
@@ -2163,7 +2276,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2163
2276
|
static get isStream() {
|
|
2164
2277
|
return oi;
|
|
2165
2278
|
}
|
|
2166
|
-
}
|
|
2279
|
+
};
|
|
2280
|
+
wt = {
|
|
2167
2281
|
lstatSync,
|
|
2168
2282
|
readdir,
|
|
2169
2283
|
readdirSync,
|
|
@@ -2175,35 +2289,66 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2175
2289
|
readlink,
|
|
2176
2290
|
realpath
|
|
2177
2291
|
}
|
|
2178
|
-
}
|
|
2292
|
+
};
|
|
2293
|
+
Ue = (n) => !n || n === wt || n === xi ? wt : {
|
|
2179
2294
|
...wt,
|
|
2180
2295
|
...n,
|
|
2181
2296
|
promises: {
|
|
2182
2297
|
...wt.promises,
|
|
2183
2298
|
...n.promises || {}
|
|
2184
2299
|
}
|
|
2185
|
-
}
|
|
2300
|
+
};
|
|
2301
|
+
$e = /^\\\\\?\\([a-z]:)\\?$/i;
|
|
2302
|
+
Ri = (n) => n.replace(/\//g, "\\").replace($e, "$1\\");
|
|
2303
|
+
Oi = /[\\\/]/;
|
|
2304
|
+
L = 0;
|
|
2305
|
+
Ge = 1;
|
|
2306
|
+
He = 2;
|
|
2307
|
+
U = 4;
|
|
2308
|
+
qe = 6;
|
|
2309
|
+
Ke = 8;
|
|
2310
|
+
X = 10;
|
|
2311
|
+
Ve = 12;
|
|
2312
|
+
_ = 15;
|
|
2313
|
+
gt = ~_;
|
|
2314
|
+
se = 16;
|
|
2315
|
+
je = 32;
|
|
2316
|
+
yt = 64;
|
|
2317
|
+
j = 128;
|
|
2318
|
+
Nt = 256;
|
|
2319
|
+
Lt = 512;
|
|
2320
|
+
Ie = yt | j | Lt;
|
|
2321
|
+
Fi = 1023;
|
|
2322
|
+
ie = (n) => n.isFile() ? Ke : n.isDirectory() ? U : n.isSymbolicLink() ? X : n.isCharacterDevice() ? He : n.isBlockDevice() ? qe : n.isSocket() ? Ve : n.isFIFO() ? Ge : L;
|
|
2323
|
+
ze = new ft({ max: 2 ** 12 });
|
|
2324
|
+
bt = (n) => {
|
|
2186
2325
|
let t = ze.get(n);
|
|
2187
2326
|
if (t) return t;
|
|
2188
2327
|
let e = n.normalize("NFKD");
|
|
2189
2328
|
return ze.set(n, e), e;
|
|
2190
|
-
}
|
|
2329
|
+
};
|
|
2330
|
+
Be = new ft({ max: 2 ** 12 });
|
|
2331
|
+
_t = (n) => {
|
|
2191
2332
|
let t = Be.get(n);
|
|
2192
2333
|
if (t) return t;
|
|
2193
2334
|
let e = bt(n.toLowerCase());
|
|
2194
2335
|
return Be.set(n, e), e;
|
|
2195
|
-
}
|
|
2336
|
+
};
|
|
2337
|
+
Wt = class extends ft {
|
|
2196
2338
|
constructor() {
|
|
2197
2339
|
super({ max: 256 });
|
|
2198
2340
|
}
|
|
2199
|
-
}
|
|
2341
|
+
};
|
|
2342
|
+
ne = class extends ft {
|
|
2200
2343
|
constructor(t = 16 * 1024) {
|
|
2201
2344
|
super({
|
|
2202
2345
|
maxSize: t,
|
|
2203
2346
|
sizeCalculation: (e) => e.length + 1
|
|
2204
2347
|
});
|
|
2205
2348
|
}
|
|
2206
|
-
}
|
|
2349
|
+
};
|
|
2350
|
+
Ye = Symbol("PathScurry setAsCwd");
|
|
2351
|
+
R = class {
|
|
2207
2352
|
name;
|
|
2208
2353
|
root;
|
|
2209
2354
|
roots;
|
|
@@ -2616,7 +2761,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2616
2761
|
for (; i && i.parent;) e.add(i), i.#x = s.join(this.sep), i.#A = s.join("/"), i = i.parent, s.push("..");
|
|
2617
2762
|
for (i = t; i && i.parent && !e.has(i);) i.#x = void 0, i.#A = void 0, i = i.parent;
|
|
2618
2763
|
}
|
|
2619
|
-
}
|
|
2764
|
+
};
|
|
2765
|
+
Pt = class n extends R {
|
|
2620
2766
|
sep = "\\";
|
|
2621
2767
|
splitSep = Oi;
|
|
2622
2768
|
constructor(t, e = L, s, i, r, o, h) {
|
|
@@ -2636,7 +2782,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2636
2782
|
sameRoot(t, e = this.root.name) {
|
|
2637
2783
|
return t = t.toUpperCase().replace(/\//g, "\\").replace($e, "$1\\"), t === e;
|
|
2638
2784
|
}
|
|
2639
|
-
}
|
|
2785
|
+
};
|
|
2786
|
+
jt = class n extends R {
|
|
2640
2787
|
splitSep = "/";
|
|
2641
2788
|
sep = "/";
|
|
2642
2789
|
constructor(t, e = L, s, i, r, o, h) {
|
|
@@ -2651,7 +2798,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2651
2798
|
newChild(t, e = L, s = {}) {
|
|
2652
2799
|
return new n(t, e, this.root, this.roots, this.nocase, this.childrenCache(), s);
|
|
2653
2800
|
}
|
|
2654
|
-
}
|
|
2801
|
+
};
|
|
2802
|
+
It = class {
|
|
2655
2803
|
root;
|
|
2656
2804
|
rootPath;
|
|
2657
2805
|
roots;
|
|
@@ -2895,7 +3043,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2895
3043
|
let e = this.cwd;
|
|
2896
3044
|
this.cwd = typeof t == "string" ? this.cwd.resolve(t) : t, this.cwd[Ye](e);
|
|
2897
3045
|
}
|
|
2898
|
-
}
|
|
3046
|
+
};
|
|
3047
|
+
it = class extends It {
|
|
2899
3048
|
sep = "\\";
|
|
2900
3049
|
constructor(t = process.cwd(), e = {}) {
|
|
2901
3050
|
let { nocase: s = !0 } = e;
|
|
@@ -2914,7 +3063,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2914
3063
|
isAbsolute(t) {
|
|
2915
3064
|
return t.startsWith("/") || t.startsWith("\\") || /^[a-z]:(\/|\\)/i.test(t);
|
|
2916
3065
|
}
|
|
2917
|
-
}
|
|
3066
|
+
};
|
|
3067
|
+
rt = class extends It {
|
|
2918
3068
|
sep = "/";
|
|
2919
3069
|
constructor(t = process.cwd(), e = {}) {
|
|
2920
3070
|
let { nocase: s = !1 } = e;
|
|
@@ -2932,7 +3082,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2932
3082
|
isAbsolute(t) {
|
|
2933
3083
|
return t.startsWith("/");
|
|
2934
3084
|
}
|
|
2935
|
-
}
|
|
3085
|
+
};
|
|
3086
|
+
St = class extends rt {
|
|
2936
3087
|
constructor(t = process.cwd(), e = {}) {
|
|
2937
3088
|
let { nocase: s = !0 } = e;
|
|
2938
3089
|
super(t, {
|
|
@@ -2943,7 +3094,10 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
2943
3094
|
};
|
|
2944
3095
|
process.platform;
|
|
2945
3096
|
Xe = process.platform === "win32" ? it : process.platform === "darwin" ? St : rt;
|
|
2946
|
-
Di = (n) => n.length >= 1
|
|
3097
|
+
Di = (n) => n.length >= 1;
|
|
3098
|
+
Mi = (n) => n.length >= 1;
|
|
3099
|
+
Ni = Symbol.for("nodejs.util.inspect.custom");
|
|
3100
|
+
nt = class n {
|
|
2947
3101
|
#t;
|
|
2948
3102
|
#s;
|
|
2949
3103
|
#n;
|
|
@@ -3033,7 +3187,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3033
3187
|
return this.#n === 0 || !this.isGlobstar() || !this.#u ? !1 : (this.#u = !1, !0);
|
|
3034
3188
|
}
|
|
3035
3189
|
};
|
|
3036
|
-
_i = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux"
|
|
3190
|
+
_i = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux";
|
|
3191
|
+
ot = class {
|
|
3037
3192
|
relative;
|
|
3038
3193
|
relativeChildren;
|
|
3039
3194
|
absolute;
|
|
@@ -3092,7 +3247,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3092
3247
|
let s = t.fullpath(), i = this.store.get(s);
|
|
3093
3248
|
i ? i.add(e.globString()) : this.store.set(s, /* @__PURE__ */ new Set([e.globString()]));
|
|
3094
3249
|
}
|
|
3095
|
-
}
|
|
3250
|
+
};
|
|
3251
|
+
he = class {
|
|
3096
3252
|
store = /* @__PURE__ */ new Map();
|
|
3097
3253
|
add(t, e, s) {
|
|
3098
3254
|
let i = (e ? 2 : 0) | (s ? 1 : 0), r = this.store.get(t);
|
|
@@ -3105,7 +3261,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3105
3261
|
!!(e & 1)
|
|
3106
3262
|
]);
|
|
3107
3263
|
}
|
|
3108
|
-
}
|
|
3264
|
+
};
|
|
3265
|
+
ae = class {
|
|
3109
3266
|
store = /* @__PURE__ */ new Map();
|
|
3110
3267
|
add(t, e) {
|
|
3111
3268
|
if (!t.canReaddir()) return;
|
|
@@ -3123,7 +3280,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3123
3280
|
keys() {
|
|
3124
3281
|
return [...this.store.keys()].filter((t) => t.canReaddir());
|
|
3125
3282
|
}
|
|
3126
|
-
}
|
|
3283
|
+
};
|
|
3284
|
+
Et = class n {
|
|
3127
3285
|
hasWalkedCache;
|
|
3128
3286
|
matches = new he();
|
|
3129
3287
|
subwalks = new ae();
|
|
@@ -3203,7 +3361,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3203
3361
|
t.isNamed(e) && (s ? this.subwalks.add(t, s) : this.matches.add(t, i, !1));
|
|
3204
3362
|
}
|
|
3205
3363
|
};
|
|
3206
|
-
Li = (n, t) => typeof n == "string" ? new ot([n], t) : Array.isArray(n) ? new ot(n, t) : n
|
|
3364
|
+
Li = (n, t) => typeof n == "string" ? new ot([n], t) : Array.isArray(n) ? new ot(n, t) : n;
|
|
3365
|
+
zt = class {
|
|
3207
3366
|
path;
|
|
3208
3367
|
patterns;
|
|
3209
3368
|
opts;
|
|
@@ -3359,7 +3518,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3359
3518
|
for (let [h, a] of s.subwalks.entries()) r++, this.walkCB2Sync(h, a, s.child(), o);
|
|
3360
3519
|
o();
|
|
3361
3520
|
}
|
|
3362
|
-
}
|
|
3521
|
+
};
|
|
3522
|
+
xt = class extends zt {
|
|
3363
3523
|
matches = /* @__PURE__ */ new Set();
|
|
3364
3524
|
constructor(t, e, s) {
|
|
3365
3525
|
super(t, e, s);
|
|
@@ -3381,7 +3541,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3381
3541
|
if (this.signal?.aborted) throw this.signal.reason;
|
|
3382
3542
|
}), this.matches;
|
|
3383
3543
|
}
|
|
3384
|
-
}
|
|
3544
|
+
};
|
|
3545
|
+
vt = class extends zt {
|
|
3385
3546
|
results;
|
|
3386
3547
|
constructor(t, e, s) {
|
|
3387
3548
|
super(t, e, s), this.results = new V({
|
|
@@ -3402,7 +3563,8 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3402
3563
|
return this.path.isUnknown() && this.path.lstatSync(), this.walkCBSync(this.path, this.patterns, () => this.results.end()), this.results;
|
|
3403
3564
|
}
|
|
3404
3565
|
};
|
|
3405
|
-
Pi = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux"
|
|
3566
|
+
Pi = typeof process == "object" && process && typeof process.platform == "string" ? process.platform : "linux";
|
|
3567
|
+
I = class {
|
|
3406
3568
|
absolute;
|
|
3407
3569
|
cwd;
|
|
3408
3570
|
root;
|
|
@@ -3526,10 +3688,15 @@ while (this[Le](this[Ft]()) && this[C].length);
|
|
|
3526
3688
|
for (let e of n) if (new D(e, t).hasMagic()) return !0;
|
|
3527
3689
|
return !1;
|
|
3528
3690
|
};
|
|
3529
|
-
ji = Bt
|
|
3691
|
+
ji = Bt;
|
|
3692
|
+
Ii = Object.assign(Qe, { sync: Bt });
|
|
3693
|
+
zi = Ut;
|
|
3694
|
+
Bi = Object.assign(es, { sync: Ut });
|
|
3695
|
+
Ui = Object.assign(ts, {
|
|
3530
3696
|
stream: Bt,
|
|
3531
3697
|
iterate: Ut
|
|
3532
|
-
})
|
|
3698
|
+
});
|
|
3699
|
+
Ze = Object.assign(Je, {
|
|
3533
3700
|
glob: Je,
|
|
3534
3701
|
globSync: ts,
|
|
3535
3702
|
sync: Ui,
|