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