@settlemint/sdk-cli 2.3.1-prb0c12599 → 2.3.1-prd35b49be
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/cli.js +428 -428
- package/dist/cli.js.map +3 -3
- package/package.json +4 -4
package/dist/cli.js
CHANGED
@@ -233491,7 +233491,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
233491
233491
|
const sign = str[0];
|
233492
233492
|
const parts = sign === "-" || sign === "+" ? str.substring(1) : str;
|
233493
233493
|
const num = (n7) => asBigInt ? BigInt(n7) : Number(n7);
|
233494
|
-
const res = parts.replace(/_/g, "").split(":").reduce((res2,
|
233494
|
+
const res = parts.replace(/_/g, "").split(":").reduce((res2, p6) => res2 * num(60) + num(p6), num(0));
|
233495
233495
|
return sign === "-" ? num(-1) * res : res;
|
233496
233496
|
}
|
233497
233497
|
function stringifySexagesimal(node) {
|
@@ -234937,8 +234937,8 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
234937
234937
|
function splitLines(source) {
|
234938
234938
|
const split3 = source.split(/\n( *)/);
|
234939
234939
|
const first = split3[0];
|
234940
|
-
const
|
234941
|
-
const line0 =
|
234940
|
+
const m8 = first.match(/^( *)/);
|
234941
|
+
const line0 = m8?.[1] ? [m8[1], first.slice(m8[1].length)] : ["", first];
|
234942
234942
|
const lines2 = [line0];
|
234943
234943
|
for (let i7 = 1;i7 < split3.length; i7 += 2)
|
234944
234944
|
lines2.push([split3[i7], split3[i7 + 1]]);
|
@@ -247890,7 +247890,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
247890
247890
|
var package_default = {
|
247891
247891
|
name: "@settlemint/sdk-cli",
|
247892
247892
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
247893
|
-
version: "2.3.1-
|
247893
|
+
version: "2.3.1-prd35b49be",
|
247894
247894
|
type: "module",
|
247895
247895
|
private: false,
|
247896
247896
|
license: "FSL-1.1-MIT",
|
@@ -247939,12 +247939,12 @@ var package_default = {
|
|
247939
247939
|
"@inquirer/input": "4.1.10",
|
247940
247940
|
"@inquirer/password": "4.0.13",
|
247941
247941
|
"@inquirer/select": "4.2.1",
|
247942
|
-
"@settlemint/sdk-js": "2.3.1-
|
247943
|
-
"@settlemint/sdk-utils": "2.3.1-
|
247942
|
+
"@settlemint/sdk-js": "2.3.1-prd35b49be",
|
247943
|
+
"@settlemint/sdk-utils": "2.3.1-prd35b49be",
|
247944
247944
|
"@types/node": "22.15.19",
|
247945
247945
|
"@types/semver": "7.7.0",
|
247946
247946
|
"@types/which": "3.0.4",
|
247947
|
-
"get-tsconfig": "4.10.
|
247947
|
+
"get-tsconfig": "4.10.1",
|
247948
247948
|
giget: "2.0.0",
|
247949
247949
|
"is-in-ci": "1.0.0",
|
247950
247950
|
semver: "7.7.2",
|
@@ -253044,8 +253044,8 @@ async function testGqlEndpoint({
|
|
253044
253044
|
}
|
253045
253045
|
|
253046
253046
|
// ../../node_modules/get-tsconfig/dist/index.mjs
|
253047
|
-
import
|
253048
|
-
import
|
253047
|
+
import m6 from "node:path";
|
253048
|
+
import te3 from "node:fs";
|
253049
253049
|
import ve3 from "node:module";
|
253050
253050
|
|
253051
253051
|
// ../../node_modules/resolve-pkg-maps/dist/index.mjs
|
@@ -253128,38 +253128,38 @@ function E5(e10) {
|
|
253128
253128
|
}
|
253129
253129
|
o7(E5, "slash");
|
253130
253130
|
var O5 = o7((e10) => {
|
253131
|
-
const t8 =
|
253131
|
+
const t8 = te3[e10];
|
253132
253132
|
return (s7, ...n6) => {
|
253133
253133
|
const l3 = `${e10}:${n6.join(":")}`;
|
253134
253134
|
let i6 = s7 == null ? undefined : s7.get(l3);
|
253135
|
-
return i6 === undefined && (i6 = Reflect.apply(t8,
|
253135
|
+
return i6 === undefined && (i6 = Reflect.apply(t8, te3, n6), s7 == null || s7.set(l3, i6)), i6;
|
253136
253136
|
};
|
253137
253137
|
}, "cacheFs");
|
253138
253138
|
var B3 = O5("existsSync");
|
253139
253139
|
var _e2 = O5("readFileSync");
|
253140
|
-
var
|
253141
|
-
var
|
253140
|
+
var P4 = O5("statSync");
|
253141
|
+
var se3 = o7((e10, t8, s7) => {
|
253142
253142
|
for (;; ) {
|
253143
|
-
const n6 =
|
253143
|
+
const n6 = m6.posix.join(e10, t8);
|
253144
253144
|
if (B3(s7, n6))
|
253145
253145
|
return n6;
|
253146
|
-
const l3 =
|
253146
|
+
const l3 = m6.dirname(e10);
|
253147
253147
|
if (l3 === e10)
|
253148
253148
|
return;
|
253149
253149
|
e10 = l3;
|
253150
253150
|
}
|
253151
253151
|
}, "findUp");
|
253152
|
-
var
|
253153
|
-
var
|
253152
|
+
var z3 = /^\.{1,2}(\/.*)?$/;
|
253153
|
+
var G3 = o7((e10) => {
|
253154
253154
|
const t8 = E5(e10);
|
253155
|
-
return
|
253155
|
+
return z3.test(t8) ? t8 : `./${t8}`;
|
253156
253156
|
}, "normalizeRelativePath");
|
253157
253157
|
function je2(e10, t8 = false) {
|
253158
253158
|
const s7 = e10.length;
|
253159
253159
|
let n6 = 0, l3 = "", i6 = 0, u6 = 16, f5 = 0, r6 = 0, g5 = 0, T4 = 0, b4 = 0;
|
253160
253160
|
function _5(c3, k5) {
|
253161
|
-
let
|
253162
|
-
for (;
|
253161
|
+
let p5 = 0, F3 = 0;
|
253162
|
+
for (;p5 < c3; ) {
|
253163
253163
|
let j3 = e10.charCodeAt(n6);
|
253164
253164
|
if (j3 >= 48 && j3 <= 57)
|
253165
253165
|
F3 = F3 * 16 + j3 - 48;
|
@@ -253169,9 +253169,9 @@ function je2(e10, t8 = false) {
|
|
253169
253169
|
F3 = F3 * 16 + j3 - 97 + 10;
|
253170
253170
|
else
|
253171
253171
|
break;
|
253172
|
-
n6++,
|
253172
|
+
n6++, p5++;
|
253173
253173
|
}
|
253174
|
-
return
|
253174
|
+
return p5 < c3 && (F3 = -1), F3;
|
253175
253175
|
}
|
253176
253176
|
o7(_5, "scanHexDigits");
|
253177
253177
|
function d6(c3) {
|
@@ -253183,18 +253183,18 @@ function je2(e10, t8 = false) {
|
|
253183
253183
|
if (e10.charCodeAt(n6) === 48)
|
253184
253184
|
n6++;
|
253185
253185
|
else
|
253186
|
-
for (n6++;n6 < e10.length &&
|
253186
|
+
for (n6++;n6 < e10.length && U5(e10.charCodeAt(n6)); )
|
253187
253187
|
n6++;
|
253188
253188
|
if (n6 < e10.length && e10.charCodeAt(n6) === 46)
|
253189
|
-
if (n6++, n6 < e10.length &&
|
253190
|
-
for (n6++;n6 < e10.length &&
|
253189
|
+
if (n6++, n6 < e10.length && U5(e10.charCodeAt(n6)))
|
253190
|
+
for (n6++;n6 < e10.length && U5(e10.charCodeAt(n6)); )
|
253191
253191
|
n6++;
|
253192
253192
|
else
|
253193
253193
|
return b4 = 3, e10.substring(c3, n6);
|
253194
253194
|
let k5 = n6;
|
253195
253195
|
if (n6 < e10.length && (e10.charCodeAt(n6) === 69 || e10.charCodeAt(n6) === 101))
|
253196
|
-
if (n6++, (n6 < e10.length && e10.charCodeAt(n6) === 43 || e10.charCodeAt(n6) === 45) && n6++, n6 < e10.length &&
|
253197
|
-
for (n6++;n6 < e10.length &&
|
253196
|
+
if (n6++, (n6 < e10.length && e10.charCodeAt(n6) === 43 || e10.charCodeAt(n6) === 45) && n6++, n6 < e10.length && U5(e10.charCodeAt(n6))) {
|
253197
|
+
for (n6++;n6 < e10.length && U5(e10.charCodeAt(n6)); )
|
253198
253198
|
n6++;
|
253199
253199
|
k5 = n6;
|
253200
253200
|
} else
|
@@ -253209,12 +253209,12 @@ function je2(e10, t8 = false) {
|
|
253209
253209
|
c3 += e10.substring(k5, n6), b4 = 2;
|
253210
253210
|
break;
|
253211
253211
|
}
|
253212
|
-
const
|
253213
|
-
if (
|
253212
|
+
const p5 = e10.charCodeAt(n6);
|
253213
|
+
if (p5 === 34) {
|
253214
253214
|
c3 += e10.substring(k5, n6), n6++;
|
253215
253215
|
break;
|
253216
253216
|
}
|
253217
|
-
if (
|
253217
|
+
if (p5 === 92) {
|
253218
253218
|
if (c3 += e10.substring(k5, n6), n6++, n6 >= s7) {
|
253219
253219
|
b4 = 2;
|
253220
253220
|
break;
|
@@ -253255,8 +253255,8 @@ function je2(e10, t8 = false) {
|
|
253255
253255
|
k5 = n6;
|
253256
253256
|
continue;
|
253257
253257
|
}
|
253258
|
-
if (
|
253259
|
-
if (
|
253258
|
+
if (p5 >= 0 && p5 <= 31)
|
253259
|
+
if (x5(p5)) {
|
253260
253260
|
c3 += e10.substring(k5, n6), b4 = 2;
|
253261
253261
|
break;
|
253262
253262
|
} else
|
@@ -253270,13 +253270,13 @@ function je2(e10, t8 = false) {
|
|
253270
253270
|
if (l3 = "", b4 = 0, i6 = n6, r6 = f5, T4 = g5, n6 >= s7)
|
253271
253271
|
return i6 = s7, u6 = 17;
|
253272
253272
|
let c3 = e10.charCodeAt(n6);
|
253273
|
-
if (
|
253273
|
+
if (Q3(c3)) {
|
253274
253274
|
do
|
253275
253275
|
n6++, l3 += String.fromCharCode(c3), c3 = e10.charCodeAt(n6);
|
253276
|
-
while (
|
253276
|
+
while (Q3(c3));
|
253277
253277
|
return u6 = 15;
|
253278
253278
|
}
|
253279
|
-
if (
|
253279
|
+
if (x5(c3))
|
253280
253280
|
return n6++, l3 += String.fromCharCode(c3), c3 === 13 && e10.charCodeAt(n6) === 10 && (n6++, l3 += `
|
253281
253281
|
`), f5++, g5 = n6, u6 = 14;
|
253282
253282
|
switch (c3) {
|
@@ -253297,27 +253297,27 @@ function je2(e10, t8 = false) {
|
|
253297
253297
|
case 47:
|
253298
253298
|
const k5 = n6 - 1;
|
253299
253299
|
if (e10.charCodeAt(n6 + 1) === 47) {
|
253300
|
-
for (n6 += 2;n6 < s7 && !
|
253300
|
+
for (n6 += 2;n6 < s7 && !x5(e10.charCodeAt(n6)); )
|
253301
253301
|
n6++;
|
253302
253302
|
return l3 = e10.substring(k5, n6), u6 = 12;
|
253303
253303
|
}
|
253304
253304
|
if (e10.charCodeAt(n6 + 1) === 42) {
|
253305
253305
|
n6 += 2;
|
253306
|
-
const
|
253306
|
+
const p5 = s7 - 1;
|
253307
253307
|
let F3 = false;
|
253308
|
-
for (;n6 <
|
253308
|
+
for (;n6 < p5; ) {
|
253309
253309
|
const j3 = e10.charCodeAt(n6);
|
253310
253310
|
if (j3 === 42 && e10.charCodeAt(n6 + 1) === 47) {
|
253311
253311
|
n6 += 2, F3 = true;
|
253312
253312
|
break;
|
253313
253313
|
}
|
253314
|
-
n6++,
|
253314
|
+
n6++, x5(j3) && (j3 === 13 && e10.charCodeAt(n6) === 10 && n6++, f5++, g5 = n6);
|
253315
253315
|
}
|
253316
253316
|
return F3 || (n6++, b4 = 1), l3 = e10.substring(k5, n6), u6 = 13;
|
253317
253317
|
}
|
253318
253318
|
return l3 += String.fromCharCode(c3), n6++, u6 = 16;
|
253319
253319
|
case 45:
|
253320
|
-
if (l3 += String.fromCharCode(c3), n6++, n6 === s7 || !
|
253320
|
+
if (l3 += String.fromCharCode(c3), n6++, n6 === s7 || !U5(e10.charCodeAt(n6)))
|
253321
253321
|
return u6 = 16;
|
253322
253322
|
case 48:
|
253323
253323
|
case 49:
|
@@ -253349,7 +253349,7 @@ function je2(e10, t8 = false) {
|
|
253349
253349
|
}
|
253350
253350
|
o7(y4, "scanNext");
|
253351
253351
|
function I6(c3) {
|
253352
|
-
if (
|
253352
|
+
if (Q3(c3) || x5(c3))
|
253353
253353
|
return false;
|
253354
253354
|
switch (c3) {
|
253355
253355
|
case 125:
|
@@ -253375,33 +253375,33 @@ function je2(e10, t8 = false) {
|
|
253375
253375
|
return o7(L5, "scanNextNonTrivia"), { setPosition: d6, getPosition: o7(() => n6, "getPosition"), scan: t8 ? L5 : y4, getToken: o7(() => u6, "getToken"), getTokenValue: o7(() => l3, "getTokenValue"), getTokenOffset: o7(() => i6, "getTokenOffset"), getTokenLength: o7(() => n6 - i6, "getTokenLength"), getTokenStartLine: o7(() => r6, "getTokenStartLine"), getTokenStartCharacter: o7(() => i6 - T4, "getTokenStartCharacter"), getTokenError: o7(() => b4, "getTokenError") };
|
253376
253376
|
}
|
253377
253377
|
o7(je2, "createScanner");
|
253378
|
-
function
|
253378
|
+
function Q3(e10) {
|
253379
253379
|
return e10 === 32 || e10 === 9;
|
253380
253380
|
}
|
253381
|
-
o7(
|
253382
|
-
function
|
253381
|
+
o7(Q3, "isWhiteSpace");
|
253382
|
+
function x5(e10) {
|
253383
253383
|
return e10 === 10 || e10 === 13;
|
253384
253384
|
}
|
253385
|
-
o7(
|
253386
|
-
function
|
253385
|
+
o7(x5, "isLineBreak");
|
253386
|
+
function U5(e10) {
|
253387
253387
|
return e10 >= 48 && e10 <= 57;
|
253388
253388
|
}
|
253389
|
-
o7(
|
253390
|
-
var
|
253389
|
+
o7(U5, "isDigit");
|
253390
|
+
var le3;
|
253391
253391
|
(function(e10) {
|
253392
253392
|
e10[e10.lineFeed = 10] = "lineFeed", e10[e10.carriageReturn = 13] = "carriageReturn", e10[e10.space = 32] = "space", e10[e10._0 = 48] = "_0", e10[e10._1 = 49] = "_1", e10[e10._2 = 50] = "_2", e10[e10._3 = 51] = "_3", e10[e10._4 = 52] = "_4", e10[e10._5 = 53] = "_5", e10[e10._6 = 54] = "_6", e10[e10._7 = 55] = "_7", e10[e10._8 = 56] = "_8", e10[e10._9 = 57] = "_9", e10[e10.a = 97] = "a", e10[e10.b = 98] = "b", e10[e10.c = 99] = "c", e10[e10.d = 100] = "d", e10[e10.e = 101] = "e", e10[e10.f = 102] = "f", e10[e10.g = 103] = "g", e10[e10.h = 104] = "h", e10[e10.i = 105] = "i", e10[e10.j = 106] = "j", e10[e10.k = 107] = "k", e10[e10.l = 108] = "l", e10[e10.m = 109] = "m", e10[e10.n = 110] = "n", e10[e10.o = 111] = "o", e10[e10.p = 112] = "p", e10[e10.q = 113] = "q", e10[e10.r = 114] = "r", e10[e10.s = 115] = "s", e10[e10.t = 116] = "t", e10[e10.u = 117] = "u", e10[e10.v = 118] = "v", e10[e10.w = 119] = "w", e10[e10.x = 120] = "x", e10[e10.y = 121] = "y", e10[e10.z = 122] = "z", e10[e10.A = 65] = "A", e10[e10.B = 66] = "B", e10[e10.C = 67] = "C", e10[e10.D = 68] = "D", e10[e10.E = 69] = "E", e10[e10.F = 70] = "F", e10[e10.G = 71] = "G", e10[e10.H = 72] = "H", e10[e10.I = 73] = "I", e10[e10.J = 74] = "J", e10[e10.K = 75] = "K", e10[e10.L = 76] = "L", e10[e10.M = 77] = "M", e10[e10.N = 78] = "N", e10[e10.O = 79] = "O", e10[e10.P = 80] = "P", e10[e10.Q = 81] = "Q", e10[e10.R = 82] = "R", e10[e10.S = 83] = "S", e10[e10.T = 84] = "T", e10[e10.U = 85] = "U", e10[e10.V = 86] = "V", e10[e10.W = 87] = "W", e10[e10.X = 88] = "X", e10[e10.Y = 89] = "Y", e10[e10.Z = 90] = "Z", e10[e10.asterisk = 42] = "asterisk", e10[e10.backslash = 92] = "backslash", e10[e10.closeBrace = 125] = "closeBrace", e10[e10.closeBracket = 93] = "closeBracket", e10[e10.colon = 58] = "colon", e10[e10.comma = 44] = "comma", e10[e10.dot = 46] = "dot", e10[e10.doubleQuote = 34] = "doubleQuote", e10[e10.minus = 45] = "minus", e10[e10.openBrace = 123] = "openBrace", e10[e10.openBracket = 91] = "openBracket", e10[e10.plus = 43] = "plus", e10[e10.slash = 47] = "slash", e10[e10.formFeed = 12] = "formFeed", e10[e10.tab = 9] = "tab";
|
253393
|
-
})(
|
253394
|
-
var
|
253395
|
-
new Array(
|
253396
|
-
` + " ".repeat(t8)), new Array(
|
253397
|
-
` + " ".repeat(t8)), new Array(
|
253398
|
-
` + "\t".repeat(t8)), new Array(
|
253393
|
+
})(le3 || (le3 = {})), new Array(20).fill(0).map((e10, t8) => " ".repeat(t8));
|
253394
|
+
var h7 = 200;
|
253395
|
+
new Array(h7).fill(0).map((e10, t8) => `
|
253396
|
+
` + " ".repeat(t8)), new Array(h7).fill(0).map((e10, t8) => "\r" + " ".repeat(t8)), new Array(h7).fill(0).map((e10, t8) => `\r
|
253397
|
+
` + " ".repeat(t8)), new Array(h7).fill(0).map((e10, t8) => `
|
253398
|
+
` + "\t".repeat(t8)), new Array(h7).fill(0).map((e10, t8) => "\r" + "\t".repeat(t8)), new Array(h7).fill(0).map((e10, t8) => `\r
|
253399
253399
|
` + "\t".repeat(t8));
|
253400
|
-
var
|
253400
|
+
var R6;
|
253401
253401
|
(function(e10) {
|
253402
253402
|
e10.DEFAULT = { allowTrailingComma: false };
|
253403
|
-
})(
|
253404
|
-
function ye2(e10, t8 = [], s7 =
|
253403
|
+
})(R6 || (R6 = {}));
|
253404
|
+
function ye2(e10, t8 = [], s7 = R6.DEFAULT) {
|
253405
253405
|
let n6 = null, l3 = [];
|
253406
253406
|
const i6 = [];
|
253407
253407
|
function u6(r6) {
|
@@ -253424,7 +253424,7 @@ function ye2(e10, t8 = [], s7 = M4.DEFAULT) {
|
|
253424
253424
|
}, "onError") }, s7), l3[0];
|
253425
253425
|
}
|
253426
253426
|
o7(ye2, "parse$1");
|
253427
|
-
function Fe2(e10, t8, s7 =
|
253427
|
+
function Fe2(e10, t8, s7 = R6.DEFAULT) {
|
253428
253428
|
const n6 = je2(e10, false), l3 = [];
|
253429
253429
|
function i6(v6) {
|
253430
253430
|
return v6 ? () => v6(n6.getTokenOffset(), n6.getTokenLength(), n6.getTokenStartLine(), n6.getTokenStartCharacter()) : () => true;
|
@@ -253448,31 +253448,31 @@ function Fe2(e10, t8, s7 = M4.DEFAULT) {
|
|
253448
253448
|
const v6 = n6.scan();
|
253449
253449
|
switch (n6.getTokenError()) {
|
253450
253450
|
case 4:
|
253451
|
-
|
253451
|
+
p5(14);
|
253452
253452
|
break;
|
253453
253453
|
case 5:
|
253454
|
-
|
253454
|
+
p5(15);
|
253455
253455
|
break;
|
253456
253456
|
case 3:
|
253457
|
-
|
253457
|
+
p5(13);
|
253458
253458
|
break;
|
253459
253459
|
case 1:
|
253460
|
-
L5 ||
|
253460
|
+
L5 || p5(11);
|
253461
253461
|
break;
|
253462
253462
|
case 2:
|
253463
|
-
|
253463
|
+
p5(12);
|
253464
253464
|
break;
|
253465
253465
|
case 6:
|
253466
|
-
|
253466
|
+
p5(16);
|
253467
253467
|
break;
|
253468
253468
|
}
|
253469
253469
|
switch (v6) {
|
253470
253470
|
case 12:
|
253471
253471
|
case 13:
|
253472
|
-
L5 ?
|
253472
|
+
L5 ? p5(10) : y4();
|
253473
253473
|
break;
|
253474
253474
|
case 16:
|
253475
|
-
|
253475
|
+
p5(1);
|
253476
253476
|
break;
|
253477
253477
|
case 15:
|
253478
253478
|
case 14:
|
@@ -253483,20 +253483,20 @@ function Fe2(e10, t8, s7 = M4.DEFAULT) {
|
|
253483
253483
|
}
|
253484
253484
|
}
|
253485
253485
|
o7(k5, "scanNext");
|
253486
|
-
function
|
253487
|
-
if (I6(v6), D3.length +
|
253488
|
-
let
|
253489
|
-
for (;
|
253490
|
-
if (D3.indexOf(
|
253486
|
+
function p5(v6, D3 = [], ne3 = []) {
|
253487
|
+
if (I6(v6), D3.length + ne3.length > 0) {
|
253488
|
+
let S4 = n6.getToken();
|
253489
|
+
for (;S4 !== 17; ) {
|
253490
|
+
if (D3.indexOf(S4) !== -1) {
|
253491
253491
|
k5();
|
253492
253492
|
break;
|
253493
|
-
} else if (
|
253493
|
+
} else if (ne3.indexOf(S4) !== -1)
|
253494
253494
|
break;
|
253495
|
-
|
253495
|
+
S4 = k5();
|
253496
253496
|
}
|
253497
253497
|
}
|
253498
253498
|
}
|
253499
|
-
o7(
|
253499
|
+
o7(p5, "handleError");
|
253500
253500
|
function F3(v6) {
|
253501
253501
|
const D3 = n6.getTokenValue();
|
253502
253502
|
return v6 ? A5(D3) : (T4(D3), l3.push(D3)), k5(), true;
|
@@ -253507,7 +253507,7 @@ function Fe2(e10, t8, s7 = M4.DEFAULT) {
|
|
253507
253507
|
case 11:
|
253508
253508
|
const v6 = n6.getTokenValue();
|
253509
253509
|
let D3 = Number(v6);
|
253510
|
-
isNaN(D3) && (
|
253510
|
+
isNaN(D3) && (p5(2), D3 = 0), A5(D3);
|
253511
253511
|
break;
|
253512
253512
|
case 7:
|
253513
253513
|
A5(null);
|
@@ -253524,78 +253524,78 @@ function Fe2(e10, t8, s7 = M4.DEFAULT) {
|
|
253524
253524
|
return k5(), true;
|
253525
253525
|
}
|
253526
253526
|
o7(j3, "parseLiteral");
|
253527
|
-
function
|
253528
|
-
return n6.getToken() !== 10 ? (
|
253527
|
+
function a7() {
|
253528
|
+
return n6.getToken() !== 10 ? (p5(3, [], [2, 5]), false) : (F3(false), n6.getToken() === 6 ? (w5(":"), k5(), J3() || p5(4, [], [2, 5])) : p5(5, [], [2, 5]), l3.pop(), true);
|
253529
253529
|
}
|
253530
|
-
o7(
|
253531
|
-
function
|
253530
|
+
o7(a7, "parseProperty");
|
253531
|
+
function N6() {
|
253532
253532
|
g5(), k5();
|
253533
253533
|
let v6 = false;
|
253534
253534
|
for (;n6.getToken() !== 2 && n6.getToken() !== 17; ) {
|
253535
253535
|
if (n6.getToken() === 5) {
|
253536
|
-
if (v6 ||
|
253536
|
+
if (v6 || p5(4, [], []), w5(","), k5(), n6.getToken() === 2 && c3)
|
253537
253537
|
break;
|
253538
253538
|
} else
|
253539
|
-
v6 &&
|
253540
|
-
|
253539
|
+
v6 && p5(6, [], []);
|
253540
|
+
a7() || p5(4, [], [2, 5]), v6 = true;
|
253541
253541
|
}
|
253542
|
-
return b4(), n6.getToken() !== 2 ?
|
253542
|
+
return b4(), n6.getToken() !== 2 ? p5(7, [2], []) : k5(), true;
|
253543
253543
|
}
|
253544
|
-
o7(
|
253545
|
-
function
|
253544
|
+
o7(N6, "parseObject");
|
253545
|
+
function be3() {
|
253546
253546
|
_5(), k5();
|
253547
253547
|
let v6 = true, D3 = false;
|
253548
253548
|
for (;n6.getToken() !== 4 && n6.getToken() !== 17; ) {
|
253549
253549
|
if (n6.getToken() === 5) {
|
253550
|
-
if (D3 ||
|
253550
|
+
if (D3 || p5(4, [], []), w5(","), k5(), n6.getToken() === 4 && c3)
|
253551
253551
|
break;
|
253552
253552
|
} else
|
253553
|
-
D3 &&
|
253554
|
-
v6 ? (l3.push(0), v6 = false) : l3[l3.length - 1]++,
|
253553
|
+
D3 && p5(6, [], []);
|
253554
|
+
v6 ? (l3.push(0), v6 = false) : l3[l3.length - 1]++, J3() || p5(4, [], [4, 5]), D3 = true;
|
253555
253555
|
}
|
253556
|
-
return d6(), v6 || l3.pop(), n6.getToken() !== 4 ?
|
253556
|
+
return d6(), v6 || l3.pop(), n6.getToken() !== 4 ? p5(8, [4], []) : k5(), true;
|
253557
253557
|
}
|
253558
|
-
o7(
|
253559
|
-
function
|
253558
|
+
o7(be3, "parseArray");
|
253559
|
+
function J3() {
|
253560
253560
|
switch (n6.getToken()) {
|
253561
253561
|
case 3:
|
253562
|
-
return
|
253562
|
+
return be3();
|
253563
253563
|
case 1:
|
253564
|
-
return
|
253564
|
+
return N6();
|
253565
253565
|
case 10:
|
253566
253566
|
return F3(true);
|
253567
253567
|
default:
|
253568
253568
|
return j3();
|
253569
253569
|
}
|
253570
253570
|
}
|
253571
|
-
return o7(
|
253571
|
+
return o7(J3, "parseValue"), k5(), n6.getToken() === 17 ? s7.allowEmptyContent ? true : (p5(4, [], []), false) : J3() ? (n6.getToken() !== 17 && p5(9, [], []), true) : (p5(4, [], []), false);
|
253572
253572
|
}
|
253573
253573
|
o7(Fe2, "visit");
|
253574
|
-
var
|
253574
|
+
var ie3;
|
253575
253575
|
(function(e10) {
|
253576
253576
|
e10[e10.None = 0] = "None", e10[e10.UnexpectedEndOfComment = 1] = "UnexpectedEndOfComment", e10[e10.UnexpectedEndOfString = 2] = "UnexpectedEndOfString", e10[e10.UnexpectedEndOfNumber = 3] = "UnexpectedEndOfNumber", e10[e10.InvalidUnicode = 4] = "InvalidUnicode", e10[e10.InvalidEscapeCharacter = 5] = "InvalidEscapeCharacter", e10[e10.InvalidCharacter = 6] = "InvalidCharacter";
|
253577
|
-
})(
|
253578
|
-
var
|
253577
|
+
})(ie3 || (ie3 = {}));
|
253578
|
+
var oe3;
|
253579
253579
|
(function(e10) {
|
253580
253580
|
e10[e10.OpenBraceToken = 1] = "OpenBraceToken", e10[e10.CloseBraceToken = 2] = "CloseBraceToken", e10[e10.OpenBracketToken = 3] = "OpenBracketToken", e10[e10.CloseBracketToken = 4] = "CloseBracketToken", e10[e10.CommaToken = 5] = "CommaToken", e10[e10.ColonToken = 6] = "ColonToken", e10[e10.NullKeyword = 7] = "NullKeyword", e10[e10.TrueKeyword = 8] = "TrueKeyword", e10[e10.FalseKeyword = 9] = "FalseKeyword", e10[e10.StringLiteral = 10] = "StringLiteral", e10[e10.NumericLiteral = 11] = "NumericLiteral", e10[e10.LineCommentTrivia = 12] = "LineCommentTrivia", e10[e10.BlockCommentTrivia = 13] = "BlockCommentTrivia", e10[e10.LineBreakTrivia = 14] = "LineBreakTrivia", e10[e10.Trivia = 15] = "Trivia", e10[e10.Unknown = 16] = "Unknown", e10[e10.EOF = 17] = "EOF";
|
253581
|
-
})(
|
253581
|
+
})(oe3 || (oe3 = {}));
|
253582
253582
|
var De2 = ye2;
|
253583
|
-
var
|
253583
|
+
var ue3;
|
253584
253584
|
(function(e10) {
|
253585
253585
|
e10[e10.InvalidSymbol = 1] = "InvalidSymbol", e10[e10.InvalidNumberFormat = 2] = "InvalidNumberFormat", e10[e10.PropertyNameExpected = 3] = "PropertyNameExpected", e10[e10.ValueExpected = 4] = "ValueExpected", e10[e10.ColonExpected = 5] = "ColonExpected", e10[e10.CommaExpected = 6] = "CommaExpected", e10[e10.CloseBraceExpected = 7] = "CloseBraceExpected", e10[e10.CloseBracketExpected = 8] = "CloseBracketExpected", e10[e10.EndOfFileExpected = 9] = "EndOfFileExpected", e10[e10.InvalidCommentToken = 10] = "InvalidCommentToken", e10[e10.UnexpectedEndOfComment = 11] = "UnexpectedEndOfComment", e10[e10.UnexpectedEndOfString = 12] = "UnexpectedEndOfString", e10[e10.UnexpectedEndOfNumber = 13] = "UnexpectedEndOfNumber", e10[e10.InvalidUnicode = 14] = "InvalidUnicode", e10[e10.InvalidEscapeCharacter = 15] = "InvalidEscapeCharacter", e10[e10.InvalidCharacter = 16] = "InvalidCharacter";
|
253586
|
-
})(
|
253587
|
-
var
|
253588
|
-
var
|
253586
|
+
})(ue3 || (ue3 = {}));
|
253587
|
+
var re3 = o7((e10, t8) => De2(_e2(t8, e10, "utf8")), "readJsonc");
|
253588
|
+
var H3 = Symbol("implicitBaseUrl");
|
253589
253589
|
var $4 = "${configDir}";
|
253590
253590
|
var Ee3 = o7(() => {
|
253591
253591
|
const { findPnpApi: e10 } = ve3;
|
253592
253592
|
return e10 && e10(process.cwd());
|
253593
253593
|
}, "getPnpApi");
|
253594
|
-
var
|
253594
|
+
var X4 = o7((e10, t8, s7, n6) => {
|
253595
253595
|
const l3 = `resolveFromPackageJsonPath:${e10}:${t8}:${s7}`;
|
253596
253596
|
if (n6 != null && n6.has(l3))
|
253597
253597
|
return n6.get(l3);
|
253598
|
-
const i6 =
|
253598
|
+
const i6 = re3(e10, n6);
|
253599
253599
|
if (!i6)
|
253600
253600
|
return;
|
253601
253601
|
let u6 = t8 || "tsconfig.json";
|
@@ -253608,15 +253608,15 @@ var Y3 = o7((e10, t8, s7, n6) => {
|
|
253608
253608
|
}
|
253609
253609
|
else
|
253610
253610
|
!t8 && i6.tsconfig && (u6 = i6.tsconfig);
|
253611
|
-
return u6 =
|
253611
|
+
return u6 = m6.join(e10, "..", u6), n6 == null || n6.set(l3, u6), u6;
|
253612
253612
|
}, "resolveFromPackageJsonPath");
|
253613
|
-
var
|
253614
|
-
var
|
253613
|
+
var Y3 = "package.json";
|
253614
|
+
var Z3 = "tsconfig.json";
|
253615
253615
|
var Be2 = o7((e10, t8, s7) => {
|
253616
253616
|
let n6 = e10;
|
253617
|
-
if (e10 === ".." && (n6 =
|
253617
|
+
if (e10 === ".." && (n6 = m6.join(n6, Z3)), e10[0] === "." && (n6 = m6.resolve(t8, n6)), m6.isAbsolute(n6)) {
|
253618
253618
|
if (B3(s7, n6)) {
|
253619
|
-
if (
|
253619
|
+
if (P4(s7, n6).isFile())
|
253620
253620
|
return n6;
|
253621
253621
|
} else if (!n6.endsWith(".json")) {
|
253622
253622
|
const d6 = `${n6}.json`;
|
@@ -253630,9 +253630,9 @@ var Be2 = o7((e10, t8, s7) => {
|
|
253630
253630
|
const { resolveRequest: d6 } = r6;
|
253631
253631
|
try {
|
253632
253632
|
if (u6 === e10) {
|
253633
|
-
const A5 = d6(
|
253633
|
+
const A5 = d6(m6.join(u6, Y3), t8);
|
253634
253634
|
if (A5) {
|
253635
|
-
const w5 =
|
253635
|
+
const w5 = X4(A5, f5, false, s7);
|
253636
253636
|
if (w5 && B3(s7, w5))
|
253637
253637
|
return w5;
|
253638
253638
|
}
|
@@ -253641,47 +253641,47 @@ var Be2 = o7((e10, t8, s7) => {
|
|
253641
253641
|
try {
|
253642
253642
|
A5 = d6(e10, t8, { extensions: [".json"] });
|
253643
253643
|
} catch {
|
253644
|
-
A5 = d6(
|
253644
|
+
A5 = d6(m6.join(e10, Z3), t8);
|
253645
253645
|
}
|
253646
253646
|
if (A5)
|
253647
253647
|
return A5;
|
253648
253648
|
}
|
253649
253649
|
} catch {}
|
253650
253650
|
}
|
253651
|
-
const g5 =
|
253652
|
-
if (!g5 || !
|
253651
|
+
const g5 = se3(m6.resolve(t8), m6.join("node_modules", u6), s7);
|
253652
|
+
if (!g5 || !P4(s7, g5).isDirectory())
|
253653
253653
|
return;
|
253654
|
-
const T4 =
|
253654
|
+
const T4 = m6.join(g5, Y3);
|
253655
253655
|
if (B3(s7, T4)) {
|
253656
|
-
const d6 =
|
253656
|
+
const d6 = X4(T4, f5, false, s7);
|
253657
253657
|
if (d6 === false)
|
253658
253658
|
return;
|
253659
|
-
if (d6 && B3(s7, d6) &&
|
253659
|
+
if (d6 && B3(s7, d6) && P4(s7, d6).isFile())
|
253660
253660
|
return d6;
|
253661
253661
|
}
|
253662
|
-
const b4 =
|
253662
|
+
const b4 = m6.join(g5, f5), _5 = b4.endsWith(".json");
|
253663
253663
|
if (!_5) {
|
253664
253664
|
const d6 = `${b4}.json`;
|
253665
253665
|
if (B3(s7, d6))
|
253666
253666
|
return d6;
|
253667
253667
|
}
|
253668
253668
|
if (B3(s7, b4)) {
|
253669
|
-
if (
|
253670
|
-
const d6 =
|
253669
|
+
if (P4(s7, b4).isDirectory()) {
|
253670
|
+
const d6 = m6.join(b4, Y3);
|
253671
253671
|
if (B3(s7, d6)) {
|
253672
|
-
const w5 =
|
253672
|
+
const w5 = X4(d6, "", true, s7);
|
253673
253673
|
if (w5 && B3(s7, w5))
|
253674
253674
|
return w5;
|
253675
253675
|
}
|
253676
|
-
const A5 =
|
253676
|
+
const A5 = m6.join(b4, Z3);
|
253677
253677
|
if (B3(s7, A5))
|
253678
253678
|
return A5;
|
253679
253679
|
} else if (_5)
|
253680
253680
|
return b4;
|
253681
253681
|
}
|
253682
253682
|
}, "resolveExtendsPath");
|
253683
|
-
var
|
253684
|
-
var
|
253683
|
+
var q5 = o7((e10, t8) => G3(m6.relative(e10, t8)), "pathRelative");
|
253684
|
+
var fe4 = ["files", "include", "exclude"];
|
253685
253685
|
var Ie2 = o7((e10, t8, s7, n6) => {
|
253686
253686
|
const l3 = Be2(e10, t8, n6);
|
253687
253687
|
if (!l3)
|
@@ -253689,35 +253689,35 @@ var Ie2 = o7((e10, t8, s7, n6) => {
|
|
253689
253689
|
if (s7.has(l3))
|
253690
253690
|
throw new Error(`Circularity detected while resolving configuration: ${l3}`);
|
253691
253691
|
s7.add(l3);
|
253692
|
-
const i6 =
|
253692
|
+
const i6 = m6.dirname(l3), u6 = ce2(l3, n6, s7);
|
253693
253693
|
delete u6.references;
|
253694
253694
|
const { compilerOptions: f5 } = u6;
|
253695
253695
|
if (f5) {
|
253696
253696
|
const { baseUrl: r6 } = f5;
|
253697
|
-
r6 && !r6.startsWith($4) && (f5.baseUrl = E5(
|
253697
|
+
r6 && !r6.startsWith($4) && (f5.baseUrl = E5(m6.relative(t8, m6.join(i6, r6))) || "./");
|
253698
253698
|
let { outDir: g5 } = f5;
|
253699
|
-
g5 && (g5.startsWith($4) || (g5 =
|
253699
|
+
g5 && (g5.startsWith($4) || (g5 = m6.relative(t8, m6.join(i6, g5))), f5.outDir = E5(g5) || "./");
|
253700
253700
|
}
|
253701
|
-
for (const r6 of
|
253701
|
+
for (const r6 of fe4) {
|
253702
253702
|
const g5 = u6[r6];
|
253703
|
-
g5 && (u6[r6] = g5.map((T4) => T4.startsWith($4) ? T4 : E5(
|
253703
|
+
g5 && (u6[r6] = g5.map((T4) => T4.startsWith($4) ? T4 : E5(m6.relative(t8, m6.join(i6, T4)))));
|
253704
253704
|
}
|
253705
253705
|
return u6;
|
253706
253706
|
}, "resolveExtends");
|
253707
253707
|
var Le2 = ["outDir", "declarationDir"];
|
253708
|
-
var
|
253708
|
+
var ce2 = o7((e10, t8, s7 = new Set) => {
|
253709
253709
|
let n6;
|
253710
253710
|
try {
|
253711
|
-
n6 =
|
253711
|
+
n6 = re3(e10, t8) || {};
|
253712
253712
|
} catch {
|
253713
253713
|
throw new Error(`Cannot resolve tsconfig at path: ${e10}`);
|
253714
253714
|
}
|
253715
253715
|
if (typeof n6 != "object")
|
253716
253716
|
throw new SyntaxError(`Failed to parse tsconfig at: ${e10}`);
|
253717
|
-
const l3 =
|
253717
|
+
const l3 = m6.dirname(e10);
|
253718
253718
|
if (n6.compilerOptions) {
|
253719
253719
|
const { compilerOptions: i6 } = n6;
|
253720
|
-
i6.paths && !i6.baseUrl && (i6[
|
253720
|
+
i6.paths && !i6.baseUrl && (i6[H3] = l3);
|
253721
253721
|
}
|
253722
253722
|
if (n6.extends) {
|
253723
253723
|
const i6 = Array.isArray(n6.extends) ? n6.extends : [n6.extends];
|
@@ -253732,63 +253732,63 @@ var ae3 = o7((e10, t8, s7 = new Set) => {
|
|
253732
253732
|
for (const f5 of u6) {
|
253733
253733
|
const r6 = i6[f5];
|
253734
253734
|
if (r6 && !r6.startsWith($4)) {
|
253735
|
-
const g5 =
|
253735
|
+
const g5 = m6.resolve(l3, r6), T4 = q5(l3, g5);
|
253736
253736
|
i6[f5] = T4;
|
253737
253737
|
}
|
253738
253738
|
}
|
253739
253739
|
for (const f5 of Le2) {
|
253740
253740
|
let r6 = i6[f5];
|
253741
|
-
r6 && (Array.isArray(n6.exclude) || (n6.exclude = []), n6.exclude.includes(r6) || n6.exclude.push(r6), r6.startsWith($4) || (r6 =
|
253741
|
+
r6 && (Array.isArray(n6.exclude) || (n6.exclude = []), n6.exclude.includes(r6) || n6.exclude.push(r6), r6.startsWith($4) || (r6 = G3(r6)), i6[f5] = r6);
|
253742
253742
|
}
|
253743
253743
|
} else
|
253744
253744
|
n6.compilerOptions = {};
|
253745
|
-
if (n6.include ? (n6.include = n6.include.map(E5), n6.files && delete n6.files) : n6.files && (n6.files = n6.files.map((i6) => i6.startsWith($4) ? i6 :
|
253745
|
+
if (n6.include ? (n6.include = n6.include.map(E5), n6.files && delete n6.files) : n6.files && (n6.files = n6.files.map((i6) => i6.startsWith($4) ? i6 : G3(i6))), n6.watchOptions) {
|
253746
253746
|
const { watchOptions: i6 } = n6;
|
253747
|
-
i6.excludeDirectories && (i6.excludeDirectories = i6.excludeDirectories.map((u6) => E5(
|
253747
|
+
i6.excludeDirectories && (i6.excludeDirectories = i6.excludeDirectories.map((u6) => E5(m6.resolve(l3, u6))));
|
253748
253748
|
}
|
253749
253749
|
return n6;
|
253750
253750
|
}, "_parseTsconfig");
|
253751
|
-
var
|
253751
|
+
var W4 = o7((e10, t8) => {
|
253752
253752
|
if (e10.startsWith($4))
|
253753
|
-
return E5(
|
253753
|
+
return E5(m6.join(t8, e10.slice($4.length)));
|
253754
253754
|
}, "interpolateConfigDir");
|
253755
253755
|
var $e2 = ["outDir", "declarationDir", "outFile", "rootDir", "baseUrl", "tsBuildInfoFile"];
|
253756
253756
|
var Ue2 = o7((e10) => {
|
253757
|
-
var t8, s7, n6, l3, i6, u6, f5, r6, g5, T4, b4, _5, d6, A5, w5, y4, I6, L5, c3, k5,
|
253757
|
+
var t8, s7, n6, l3, i6, u6, f5, r6, g5, T4, b4, _5, d6, A5, w5, y4, I6, L5, c3, k5, p5, F3, j3;
|
253758
253758
|
if (e10.strict) {
|
253759
253759
|
const a7 = ["noImplicitAny", "noImplicitThis", "strictNullChecks", "strictFunctionTypes", "strictBindCallApply", "strictPropertyInitialization", "strictBuiltinIteratorReturn", "alwaysStrict", "useUnknownInCatchVariables"];
|
253760
|
-
for (const
|
253761
|
-
e10[
|
253760
|
+
for (const N6 of a7)
|
253761
|
+
e10[N6] === undefined && (e10[N6] = true);
|
253762
253762
|
}
|
253763
253763
|
if (e10.target) {
|
253764
253764
|
let a7 = e10.target.toLowerCase();
|
253765
|
-
a7 === "es2015" && (a7 = "es6"), e10.target = a7, a7 === "esnext" && ((t8 = e10.module) != null || (e10.module = "es6"), (s7 = e10.
|
253765
|
+
a7 === "es2015" && (a7 = "es6"), e10.target = a7, a7 === "esnext" && ((t8 = e10.module) != null || (e10.module = "es6"), (s7 = e10.useDefineForClassFields) != null || (e10.useDefineForClassFields = true)), (a7 === "es6" || a7 === "es2016" || a7 === "es2017" || a7 === "es2018" || a7 === "es2019" || a7 === "es2020" || a7 === "es2021" || a7 === "es2022" || a7 === "es2023" || a7 === "es2024") && ((n6 = e10.module) != null || (e10.module = "es6")), (a7 === "es2022" || a7 === "es2023" || a7 === "es2024") && ((l3 = e10.useDefineForClassFields) != null || (e10.useDefineForClassFields = true));
|
253766
253766
|
}
|
253767
253767
|
if (e10.module) {
|
253768
253768
|
let a7 = e10.module.toLowerCase();
|
253769
|
-
a7 === "es2015" && (a7 = "es6"), e10.module = a7, (a7 === "es6" || a7 === "es2020" || a7 === "es2022" || a7 === "esnext" || a7 === "none" || a7 === "system" || a7 === "umd" || a7 === "amd") && ((
|
253769
|
+
a7 === "es2015" && (a7 = "es6"), e10.module = a7, (a7 === "es6" || a7 === "es2020" || a7 === "es2022" || a7 === "esnext" || a7 === "none" || a7 === "system" || a7 === "umd" || a7 === "amd") && ((i6 = e10.moduleResolution) != null || (e10.moduleResolution = "classic")), a7 === "system" && ((u6 = e10.allowSyntheticDefaultImports) != null || (e10.allowSyntheticDefaultImports = true)), (a7 === "node16" || a7 === "nodenext" || a7 === "preserve") && ((f5 = e10.esModuleInterop) != null || (e10.esModuleInterop = true), (r6 = e10.allowSyntheticDefaultImports) != null || (e10.allowSyntheticDefaultImports = true)), (a7 === "node16" || a7 === "nodenext") && ((g5 = e10.moduleDetection) != null || (e10.moduleDetection = "force"), (T4 = e10.useDefineForClassFields) != null || (e10.useDefineForClassFields = true)), a7 === "node16" && ((b4 = e10.target) != null || (e10.target = "es2022"), (_5 = e10.moduleResolution) != null || (e10.moduleResolution = "node16")), a7 === "nodenext" && ((d6 = e10.target) != null || (e10.target = "esnext"), (A5 = e10.moduleResolution) != null || (e10.moduleResolution = "nodenext")), a7 === "preserve" && ((w5 = e10.moduleResolution) != null || (e10.moduleResolution = "bundler"));
|
253770
253770
|
}
|
253771
253771
|
if (e10.moduleResolution) {
|
253772
253772
|
let a7 = e10.moduleResolution.toLowerCase();
|
253773
|
-
a7 === "node" && (a7 = "node10"), e10.moduleResolution = a7, (a7 === "node16" || a7 === "nodenext" || a7 === "bundler") && ((
|
253773
|
+
a7 === "node" && (a7 = "node10"), e10.moduleResolution = a7, (a7 === "node16" || a7 === "nodenext" || a7 === "bundler") && ((y4 = e10.resolvePackageJsonExports) != null || (e10.resolvePackageJsonExports = true), (I6 = e10.resolvePackageJsonImports) != null || (e10.resolvePackageJsonImports = true)), a7 === "bundler" && ((L5 = e10.allowSyntheticDefaultImports) != null || (e10.allowSyntheticDefaultImports = true), (c3 = e10.resolveJsonModule) != null || (e10.resolveJsonModule = true));
|
253774
253774
|
}
|
253775
|
-
e10.esModuleInterop && ((
|
253775
|
+
e10.esModuleInterop && ((k5 = e10.allowSyntheticDefaultImports) != null || (e10.allowSyntheticDefaultImports = true)), e10.verbatimModuleSyntax && ((p5 = e10.isolatedModules) != null || (e10.isolatedModules = true), (F3 = e10.preserveConstEnums) != null || (e10.preserveConstEnums = true)), e10.isolatedModules && ((j3 = e10.preserveConstEnums) != null || (e10.preserveConstEnums = true));
|
253776
253776
|
}, "normalizeCompilerOptions");
|
253777
|
-
var
|
253778
|
-
const s7 =
|
253777
|
+
var ae3 = o7((e10, t8 = new Map) => {
|
253778
|
+
const s7 = m6.resolve(e10), n6 = ce2(s7, t8), l3 = m6.dirname(s7), { compilerOptions: i6 } = n6;
|
253779
253779
|
if (i6) {
|
253780
253780
|
for (const f5 of $e2) {
|
253781
253781
|
const r6 = i6[f5];
|
253782
253782
|
if (r6) {
|
253783
|
-
const g5 =
|
253784
|
-
i6[f5] = g5 ?
|
253783
|
+
const g5 = W4(r6, l3);
|
253784
|
+
i6[f5] = g5 ? q5(l3, g5) : r6;
|
253785
253785
|
}
|
253786
253786
|
}
|
253787
253787
|
for (const f5 of ["rootDirs", "typeRoots"]) {
|
253788
253788
|
const r6 = i6[f5];
|
253789
253789
|
r6 && (i6[f5] = r6.map((g5) => {
|
253790
|
-
const T4 =
|
253791
|
-
return T4 ?
|
253790
|
+
const T4 = W4(g5, l3);
|
253791
|
+
return T4 ? q5(l3, T4) : g5;
|
253792
253792
|
}));
|
253793
253793
|
}
|
253794
253794
|
const { paths: u6 } = i6;
|
@@ -253796,28 +253796,28 @@ var ge3 = o7((e10, t8 = new Map) => {
|
|
253796
253796
|
for (const f5 of Object.keys(u6))
|
253797
253797
|
u6[f5] = u6[f5].map((r6) => {
|
253798
253798
|
var g5;
|
253799
|
-
return (g5 =
|
253799
|
+
return (g5 = W4(r6, l3)) != null ? g5 : r6;
|
253800
253800
|
});
|
253801
253801
|
Ue2(i6);
|
253802
253802
|
}
|
253803
|
-
for (const u6 of
|
253803
|
+
for (const u6 of fe4) {
|
253804
253804
|
const f5 = n6[u6];
|
253805
253805
|
f5 && (n6[u6] = f5.map((r6) => {
|
253806
253806
|
var g5;
|
253807
|
-
return (g5 =
|
253807
|
+
return (g5 = W4(r6, l3)) != null ? g5 : r6;
|
253808
253808
|
}));
|
253809
253809
|
}
|
253810
253810
|
return n6;
|
253811
253811
|
}, "parseTsconfig");
|
253812
253812
|
var he4 = o7((e10 = process.cwd(), t8 = "tsconfig.json", s7 = new Map) => {
|
253813
|
-
const n6 =
|
253813
|
+
const n6 = se3(E5(e10), t8, s7);
|
253814
253814
|
if (!n6)
|
253815
253815
|
return null;
|
253816
|
-
const l3 =
|
253816
|
+
const l3 = ae3(n6, s7);
|
253817
253817
|
return { path: n6, config: l3 };
|
253818
253818
|
}, "getTsconfig");
|
253819
253819
|
var xe3 = /\*/g;
|
253820
|
-
var
|
253820
|
+
var ge3 = o7((e10, t8) => {
|
253821
253821
|
const s7 = e10.match(xe3);
|
253822
253822
|
if (s7 && s7.length > 1)
|
253823
253823
|
throw new Error(t8);
|
@@ -253830,21 +253830,21 @@ var Ne2 = o7((e10) => {
|
|
253830
253830
|
return e10;
|
253831
253831
|
}, "parsePattern");
|
253832
253832
|
var Se2 = o7(({ prefix: e10, suffix: t8 }, s7) => s7.startsWith(e10) && s7.endsWith(t8), "isPatternMatch");
|
253833
|
-
var
|
253834
|
-
if (
|
253833
|
+
var Pe2 = o7((e10, t8, s7) => Object.entries(e10).map(([n6, l3]) => (ge3(n6, `Pattern '${n6}' can have at most one '*' character.`), { pattern: Ne2(n6), substitutions: l3.map((i6) => {
|
253834
|
+
if (ge3(i6, `Substitution '${i6}' in pattern '${n6}' can have at most one '*' character.`), !t8 && !z3.test(i6))
|
253835
253835
|
throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");
|
253836
|
-
return
|
253836
|
+
return m6.resolve(s7, i6);
|
253837
253837
|
}) })), "parsePaths");
|
253838
|
-
var
|
253838
|
+
var Re2 = o7((e10) => {
|
253839
253839
|
const { compilerOptions: t8 } = e10.config;
|
253840
253840
|
if (!t8)
|
253841
253841
|
return null;
|
253842
253842
|
const { baseUrl: s7, paths: n6 } = t8;
|
253843
253843
|
if (!s7 && !n6)
|
253844
253844
|
return null;
|
253845
|
-
const l3 =
|
253845
|
+
const l3 = H3 in t8 && t8[H3], i6 = m6.resolve(m6.dirname(e10.path), s7 || l3 || "."), u6 = n6 ? Pe2(n6, s7, i6) : [];
|
253846
253846
|
return (f5) => {
|
253847
|
-
if (
|
253847
|
+
if (z3.test(f5))
|
253848
253848
|
return [];
|
253849
253849
|
const r6 = [];
|
253850
253850
|
for (const _5 of u6) {
|
@@ -253856,7 +253856,7 @@ var Pe2 = o7((e10) => {
|
|
253856
253856
|
for (const _5 of r6)
|
253857
253857
|
Se2(_5.pattern, f5) && _5.pattern.prefix.length > T4 && (T4 = _5.pattern.prefix.length, g5 = _5);
|
253858
253858
|
if (!g5)
|
253859
|
-
return s7 ? [E5(
|
253859
|
+
return s7 ? [E5(m6.join(i6, f5))] : [];
|
253860
253860
|
const b4 = f5.slice(g5.pattern.prefix.length, f5.length - g5.pattern.suffix.length);
|
253861
253861
|
return g5.substitutions.map((_5) => E5(_5.replace("*", b4)));
|
253862
253862
|
};
|
@@ -253873,7 +253873,7 @@ var We2 = 65;
|
|
253873
253873
|
var Me2 = 97;
|
253874
253874
|
var Ve2 = o7(() => Math.floor(Math.random() * 26), "m");
|
253875
253875
|
var Je2 = o7((e10) => Array.from({ length: e10 }, () => String.fromCodePoint(Ve2() + (Math.random() > 0.5 ? We2 : Me2))).join(""), "S");
|
253876
|
-
var
|
253876
|
+
var Oe2 = o7((e10 = Ae2) => {
|
253877
253877
|
const t8 = process.execPath;
|
253878
253878
|
if (e10.existsSync(t8))
|
253879
253879
|
return !e10.existsSync(pe3(t8));
|
@@ -253882,10 +253882,10 @@ var ze2 = o7((e10 = Ae2) => {
|
|
253882
253882
|
const n6 = !e10.existsSync(pe3(s7));
|
253883
253883
|
return e10.unlinkSync(s7), n6;
|
253884
253884
|
}, "l");
|
253885
|
-
var { join:
|
253886
|
-
var
|
253887
|
-
var
|
253888
|
-
const t8 = [...
|
253885
|
+
var { join: M4 } = m6.posix;
|
253886
|
+
var K3 = { ts: [".ts", ".tsx", ".d.ts"], cts: [".cts", ".d.cts"], mts: [".mts", ".d.mts"] };
|
253887
|
+
var ze2 = o7((e10) => {
|
253888
|
+
const t8 = [...K3.ts], s7 = [...K3.cts], n6 = [...K3.mts];
|
253889
253889
|
return e10 != null && e10.allowJs && (t8.push(".js", ".jsx"), s7.push(".cjs"), n6.push(".mjs")), [...t8, ...s7, ...n6];
|
253890
253890
|
}, "getSupportedExtensions");
|
253891
253891
|
var Ge2 = o7((e10) => {
|
@@ -253895,39 +253895,39 @@ var Ge2 = o7((e10) => {
|
|
253895
253895
|
const { outDir: s7, declarationDir: n6 } = e10;
|
253896
253896
|
return s7 && t8.push(s7), n6 && t8.push(n6), t8;
|
253897
253897
|
}, "getDefaultExcludeSpec");
|
253898
|
-
var
|
253898
|
+
var me3 = o7((e10) => e10.replaceAll(/[.*+?^${}()|[\]\\]/g, String.raw`\$&`), "escapeForRegexp");
|
253899
253899
|
var Qe2 = ["node_modules", "bower_components", "jspm_packages"];
|
253900
|
-
var
|
253900
|
+
var C3 = `(?!(${Qe2.join("|")})(/|$))`;
|
253901
253901
|
var He2 = /(?:^|\/)[^.*?]+$/;
|
253902
|
-
var
|
253903
|
-
var
|
253904
|
-
var
|
253905
|
-
var
|
253906
|
-
var Xe2 = o7(({ config: e10, path: t8 }, s7 =
|
253902
|
+
var ke2 = "**/*";
|
253903
|
+
var V4 = "[^/]";
|
253904
|
+
var ee3 = "[^./]";
|
253905
|
+
var we3 = process.platform === "win32";
|
253906
|
+
var Xe2 = o7(({ config: e10, path: t8 }, s7 = Oe2()) => {
|
253907
253907
|
if ("extends" in e10)
|
253908
253908
|
throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");
|
253909
|
-
if (!
|
253909
|
+
if (!m6.isAbsolute(t8))
|
253910
253910
|
throw new Error("The tsconfig path must be absolute");
|
253911
|
-
|
253912
|
-
const n6 =
|
253913
|
-
const y4 =
|
253911
|
+
we3 && (t8 = E5(t8));
|
253912
|
+
const n6 = m6.dirname(t8), { files: l3, include: i6, exclude: u6, compilerOptions: f5 } = e10, r6 = l3 == null ? undefined : l3.map((w5) => M4(n6, w5)), g5 = ze2(f5), T4 = s7 ? "" : "i", _5 = (u6 || Ge2(f5)).map((w5) => {
|
253913
|
+
const y4 = M4(n6, w5), I6 = me3(y4).replaceAll(String.raw`\*\*/`, "(.+/)?").replaceAll(String.raw`\*`, `${V4}*`).replaceAll(String.raw`\?`, V4);
|
253914
253914
|
return new RegExp(`^${I6}($|/)`, T4);
|
253915
|
-
}), d6 = l3 || i6 ? i6 : [
|
253916
|
-
let y4 =
|
253917
|
-
He2.test(y4) && (y4 =
|
253918
|
-
const I6 =
|
253919
|
-
const k5 = `(${
|
253920
|
-
return c3 ? `/${
|
253915
|
+
}), d6 = l3 || i6 ? i6 : [ke2], A5 = d6 ? d6.map((w5) => {
|
253916
|
+
let y4 = M4(n6, w5);
|
253917
|
+
He2.test(y4) && (y4 = M4(y4, ke2));
|
253918
|
+
const I6 = me3(y4).replaceAll(String.raw`/\*\*`, `(/${C3}${ee3}${V4}*)*?`).replaceAll(/(\/)?\\\*/g, (L5, c3) => {
|
253919
|
+
const k5 = `(${ee3}|(\\.(?!min\\.js$))?)*`;
|
253920
|
+
return c3 ? `/${C3}${ee3}${k5}` : k5;
|
253921
253921
|
}).replaceAll(/(\/)?\\\?/g, (L5, c3) => {
|
253922
|
-
const k5 =
|
253923
|
-
return c3 ? `/${
|
253922
|
+
const k5 = V4;
|
253923
|
+
return c3 ? `/${C3}${k5}` : k5;
|
253924
253924
|
});
|
253925
253925
|
return new RegExp(`^${I6}$`, T4);
|
253926
253926
|
}) : undefined;
|
253927
253927
|
return (w5) => {
|
253928
|
-
if (!
|
253928
|
+
if (!m6.isAbsolute(w5))
|
253929
253929
|
throw new Error("filePath must be absolute");
|
253930
|
-
if (
|
253930
|
+
if (we3 && (w5 = E5(w5)), r6 != null && r6.includes(w5))
|
253931
253931
|
return e10;
|
253932
253932
|
if (!(!g5.some((y4) => w5.endsWith(y4)) || _5.some((y4) => y4.test(w5))) && A5 && A5.some((y4) => y4.test(w5)))
|
253933
253933
|
return e10;
|
@@ -255901,7 +255901,7 @@ import H$2 from "path";
|
|
255901
255901
|
import nt2 from "events";
|
255902
255902
|
import ot2 from "stream";
|
255903
255903
|
import ht4 from "string_decoder";
|
255904
|
-
import
|
255904
|
+
import P5 from "buffer";
|
255905
255905
|
import O$2 from "zlib";
|
255906
255906
|
import nt$1 from "process";
|
255907
255907
|
import V5 from "fs";
|
@@ -256054,18 +256054,18 @@ function normalizeString(path5, allowAboveRoot) {
|
|
256054
256054
|
}
|
256055
256055
|
return res;
|
256056
256056
|
}
|
256057
|
-
var isAbsolute = function(
|
256058
|
-
return _IS_ABSOLUTE_RE.test(
|
256057
|
+
var isAbsolute = function(p5) {
|
256058
|
+
return _IS_ABSOLUTE_RE.test(p5);
|
256059
256059
|
};
|
256060
|
-
var dirname9 = function(
|
256061
|
-
const segments = normalizeWindowsPath(
|
256060
|
+
var dirname9 = function(p5) {
|
256061
|
+
const segments = normalizeWindowsPath(p5).replace(/\/$/, "").split("/").slice(0, -1);
|
256062
256062
|
if (segments.length === 1 && _DRIVE_LETTER_RE.test(segments[0])) {
|
256063
256063
|
segments[0] += "/";
|
256064
256064
|
}
|
256065
|
-
return segments.join("/") || (isAbsolute(
|
256065
|
+
return segments.join("/") || (isAbsolute(p5) ? "/" : ".");
|
256066
256066
|
};
|
256067
|
-
var basename2 = function(
|
256068
|
-
const segments = normalizeWindowsPath(
|
256067
|
+
var basename2 = function(p5, extension) {
|
256068
|
+
const segments = normalizeWindowsPath(p5).split("/");
|
256069
256069
|
let lastSegment = "";
|
256070
256070
|
for (let i6 = segments.length - 1;i6 >= 0; i6--) {
|
256071
256071
|
const val = segments[i6];
|
@@ -256120,7 +256120,7 @@ function _defu(baseObject, defaults2, namespace = ".", merger) {
|
|
256120
256120
|
return object;
|
256121
256121
|
}
|
256122
256122
|
function createDefu(merger) {
|
256123
|
-
return (...arguments_4) => arguments_4.reduce((
|
256123
|
+
return (...arguments_4) => arguments_4.reduce((p5, c3) => _defu(p5, c3, "", merger), {});
|
256124
256124
|
}
|
256125
256125
|
var defu = createDefu();
|
256126
256126
|
var defuFn = createDefu((object, key2, currentValue) => {
|
@@ -256142,7 +256142,7 @@ import { spawn as de4 } from "child_process";
|
|
256142
256142
|
import { normalize as fe5 } from "path";
|
256143
256143
|
import { cwd as he5 } from "process";
|
256144
256144
|
import {
|
256145
|
-
delimiter as
|
256145
|
+
delimiter as N6,
|
256146
256146
|
resolve as qt3,
|
256147
256147
|
dirname as It3
|
256148
256148
|
} from "path";
|
@@ -256213,11 +256213,11 @@ var X5 = l3((ke3, B4) => {
|
|
256213
256213
|
return t8.isFile() && Kt2(t8, e10);
|
256214
256214
|
}
|
256215
256215
|
function Kt2(t8, e10) {
|
256216
|
-
var { mode: n6, uid: r6, gid: s7 } = t8, o8 = e10.uid !== undefined ? e10.uid : process.getuid && process.getuid(), i6 = e10.gid !== undefined ? e10.gid : process.getgid && process.getgid(), a7 = parseInt("100", 8), c3 = parseInt("010", 8), u6 = parseInt("001", 8), f5 = a7 | c3,
|
256217
|
-
return
|
256216
|
+
var { mode: n6, uid: r6, gid: s7 } = t8, o8 = e10.uid !== undefined ? e10.uid : process.getuid && process.getuid(), i6 = e10.gid !== undefined ? e10.gid : process.getgid && process.getgid(), a7 = parseInt("100", 8), c3 = parseInt("010", 8), u6 = parseInt("001", 8), f5 = a7 | c3, p5 = n6 & u6 || n6 & c3 && s7 === i6 || n6 & a7 && r6 === o8 || n6 & f5 && o8 === 0;
|
256217
|
+
return p5;
|
256218
256218
|
}
|
256219
256219
|
});
|
256220
|
-
var
|
256220
|
+
var U6 = l3((Ae3, G4) => {
|
256221
256221
|
var Te2 = h8("fs"), v6;
|
256222
256222
|
process.platform === "win32" || global.TESTING_WINDOWS ? v6 = W5() : v6 = X5();
|
256223
256223
|
G4.exports = y4;
|
@@ -256247,7 +256247,7 @@ var U5 = l3((Ae3, G4) => {
|
|
256247
256247
|
}
|
256248
256248
|
});
|
256249
256249
|
var et3 = l3((Re3, tt2) => {
|
256250
|
-
var g5 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", Y4 = h8("path"), Bt2 = g5 ? ";" : ":", V5 =
|
256250
|
+
var g5 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys", Y4 = h8("path"), Bt2 = g5 ? ";" : ":", V5 = U6(), J3 = (t8) => Object.assign(new Error(`not found: ${t8}`), { code: "ENOENT" }), Q4 = (t8, e10) => {
|
256251
256251
|
let n6 = e10.colon || Bt2, r6 = t8.match(/\//) || g5 && t8.match(/\\/) ? [""] : [
|
256252
256252
|
...g5 ? [process.cwd()] : [],
|
256253
256253
|
...(e10.path || process.env.PATH || "").split(n6)
|
@@ -256259,22 +256259,22 @@ var et3 = l3((Re3, tt2) => {
|
|
256259
256259
|
};
|
256260
256260
|
}, Z4 = (t8, e10, n6) => {
|
256261
256261
|
typeof e10 == "function" && (n6 = e10, e10 = {}), e10 || (e10 = {});
|
256262
|
-
let { pathEnv: r6, pathExt: s7, pathExtExe: o8 } = Q4(t8, e10), i6 = [], a7 = (u6) => new Promise((f5,
|
256262
|
+
let { pathEnv: r6, pathExt: s7, pathExtExe: o8 } = Q4(t8, e10), i6 = [], a7 = (u6) => new Promise((f5, p5) => {
|
256263
256263
|
if (u6 === r6.length)
|
256264
|
-
return e10.all && i6.length ? f5(i6) :
|
256265
|
-
let d6 = r6[u6], w5 = /^".*"$/.test(d6) ? d6.slice(1, -1) : d6,
|
256264
|
+
return e10.all && i6.length ? f5(i6) : p5(J3(t8));
|
256265
|
+
let d6 = r6[u6], w5 = /^".*"$/.test(d6) ? d6.slice(1, -1) : d6, m7 = Y4.join(w5, t8), b4 = !w5 && /^\.[\\\/]/.test(t8) ? t8.slice(0, 2) + m7 : m7;
|
256266
256266
|
f5(c3(b4, u6, 0));
|
256267
|
-
}), c3 = (u6, f5,
|
256268
|
-
if (
|
256267
|
+
}), c3 = (u6, f5, p5) => new Promise((d6, w5) => {
|
256268
|
+
if (p5 === s7.length)
|
256269
256269
|
return d6(a7(f5 + 1));
|
256270
|
-
let
|
256271
|
-
V5(u6 +
|
256270
|
+
let m7 = s7[p5];
|
256271
|
+
V5(u6 + m7, { pathExt: o8 }, (b4, Ot2) => {
|
256272
256272
|
if (!b4 && Ot2)
|
256273
256273
|
if (e10.all)
|
256274
|
-
i6.push(u6 +
|
256274
|
+
i6.push(u6 + m7);
|
256275
256275
|
else
|
256276
|
-
return d6(u6 +
|
256277
|
-
return d6(c3(u6, f5,
|
256276
|
+
return d6(u6 + m7);
|
256277
|
+
return d6(c3(u6, f5, p5 + 1));
|
256278
256278
|
});
|
256279
256279
|
});
|
256280
256280
|
return n6 ? a7(0).then((u6) => n6(null, u6), n6) : a7(0);
|
@@ -256283,8 +256283,8 @@ var et3 = l3((Re3, tt2) => {
|
|
256283
256283
|
let { pathEnv: n6, pathExt: r6, pathExtExe: s7 } = Q4(t8, e10), o8 = [];
|
256284
256284
|
for (let i6 = 0;i6 < n6.length; i6++) {
|
256285
256285
|
let a7 = n6[i6], c3 = /^".*"$/.test(a7) ? a7.slice(1, -1) : a7, u6 = Y4.join(c3, t8), f5 = !c3 && /^\.[\\\/]/.test(t8) ? t8.slice(0, 2) + u6 : u6;
|
256286
|
-
for (let
|
256287
|
-
let d6 = f5 + r6[
|
256286
|
+
for (let p5 = 0;p5 < r6.length; p5++) {
|
256287
|
+
let d6 = f5 + r6[p5];
|
256288
256288
|
try {
|
256289
256289
|
if (V5.sync(d6, { pathExt: s7 }))
|
256290
256290
|
if (e10.all)
|
@@ -256298,7 +256298,7 @@ var et3 = l3((Re3, tt2) => {
|
|
256298
256298
|
return o8;
|
256299
256299
|
if (e10.nothrow)
|
256300
256300
|
return null;
|
256301
|
-
throw
|
256301
|
+
throw J3(t8);
|
256302
256302
|
};
|
256303
256303
|
tt2.exports = Z4;
|
256304
256304
|
Z4.sync = Xt2;
|
@@ -256335,7 +256335,7 @@ var ct3 = l3((Ne3, it2) => {
|
|
256335
256335
|
}
|
256336
256336
|
it2.exports = Yt2;
|
256337
256337
|
});
|
256338
|
-
var ut3 = l3((qe2,
|
256338
|
+
var ut3 = l3((qe2, P5) => {
|
256339
256339
|
var C4 = /([()\][%!^"`<>&|;, *?])/g;
|
256340
256340
|
function Vt2(t8) {
|
256341
256341
|
return t8 = t8.replace(C4, "^$1"), t8;
|
@@ -256343,8 +256343,8 @@ var ut3 = l3((qe2, P4) => {
|
|
256343
256343
|
function Jt2(t8, e10) {
|
256344
256344
|
return t8 = `${t8}`, t8 = t8.replace(/(\\*)"/g, "$1$1\\\""), t8 = t8.replace(/(\\*)$/, "$1$1"), t8 = `"${t8}"`, t8 = t8.replace(C4, "^$1"), e10 && (t8 = t8.replace(C4, "^$1")), t8;
|
256345
256345
|
}
|
256346
|
-
|
256347
|
-
|
256346
|
+
P5.exports.command = Vt2;
|
256347
|
+
P5.exports.argument = Jt2;
|
256348
256348
|
});
|
256349
256349
|
var lt4 = l3((Ie3, at2) => {
|
256350
256350
|
at2.exports = /^#!(.*)/;
|
@@ -256361,20 +256361,20 @@ var dt3 = l3((Le3, pt2) => {
|
|
256361
256361
|
});
|
256362
256362
|
var ht3 = l3((je3, ft2) => {
|
256363
256363
|
var O6 = h8("fs"), Zt2 = dt3();
|
256364
|
-
function
|
256364
|
+
function te4(t8) {
|
256365
256365
|
let n6 = Buffer.alloc(150), r6;
|
256366
256366
|
try {
|
256367
256367
|
r6 = O6.openSync(t8, "r"), O6.readSync(r6, n6, 0, 150, 0), O6.closeSync(r6);
|
256368
256368
|
} catch {}
|
256369
256369
|
return Zt2(n6.toString());
|
256370
256370
|
}
|
256371
|
-
ft2.exports =
|
256371
|
+
ft2.exports = te4;
|
256372
256372
|
});
|
256373
256373
|
var wt3 = l3((Fe3, Et2) => {
|
256374
|
-
var ee4 = h8("path"), mt2 = ct3(), gt3 = ut3(),
|
256374
|
+
var ee4 = h8("path"), mt2 = ct3(), gt3 = ut3(), ne3 = ht3(), re4 = process.platform === "win32", se4 = /\.(?:com|exe)$/i, oe4 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
256375
256375
|
function ie4(t8) {
|
256376
256376
|
t8.file = mt2(t8);
|
256377
|
-
let e10 = t8.file &&
|
256377
|
+
let e10 = t8.file && ne3(t8.file);
|
256378
256378
|
return e10 ? (t8.args.unshift(t8.file), t8.command = e10, mt2(t8)) : t8.file;
|
256379
256379
|
}
|
256380
256380
|
function ce3(t8) {
|
@@ -256470,11 +256470,11 @@ function jt3(t8) {
|
|
256470
256470
|
return q6;
|
256471
256471
|
}
|
256472
256472
|
function Ft3(t8, e10) {
|
256473
|
-
let n6 = e10.value.split(
|
256473
|
+
let n6 = e10.value.split(N6), r6 = t8, s7;
|
256474
256474
|
do
|
256475
256475
|
n6.push(qt3(r6, "node_modules", ".bin")), s7 = r6, r6 = It3(r6);
|
256476
256476
|
while (r6 !== s7);
|
256477
|
-
return { key: e10.key, value: n6.join(
|
256477
|
+
return { key: e10.key, value: n6.join(N6) };
|
256478
256478
|
}
|
256479
256479
|
function I6(t8, e10) {
|
256480
256480
|
let n6 = {
|
@@ -256530,7 +256530,7 @@ function xe4(t8) {
|
|
256530
256530
|
}
|
256531
256531
|
return e10.signal;
|
256532
256532
|
}
|
256533
|
-
var
|
256533
|
+
var R7 = class {
|
256534
256534
|
_process;
|
256535
256535
|
_aborted = false;
|
256536
256536
|
_options;
|
@@ -256567,7 +256567,7 @@ var R6 = class {
|
|
256567
256567
|
return this._process?.killed === true;
|
256568
256568
|
}
|
256569
256569
|
pipe(e10, n6, r6) {
|
256570
|
-
return
|
256570
|
+
return be3(e10, n6, {
|
256571
256571
|
...r6,
|
256572
256572
|
stdin: this
|
256573
256573
|
});
|
@@ -256644,10 +256644,10 @@ var R6 = class {
|
|
256644
256644
|
};
|
256645
256645
|
};
|
256646
256646
|
var ve4 = (t8, e10, n6) => {
|
256647
|
-
let r6 = new
|
256647
|
+
let r6 = new R7(t8, e10, n6);
|
256648
256648
|
return r6.spawn(), r6;
|
256649
256649
|
};
|
256650
|
-
var
|
256650
|
+
var be3 = ve4;
|
256651
256651
|
|
256652
256652
|
// ../../node_modules/nypm/dist/shared/nypm.Bcw9TJOu.mjs
|
256653
256653
|
import { existsSync as existsSync2 } from "node:fs";
|
@@ -256856,7 +256856,7 @@ function s$6() {
|
|
256856
256856
|
return i$6;
|
256857
256857
|
t$5 = 1;
|
256858
256858
|
const n6 = new Map([["C", "cwd"], ["f", "file"], ["z", "gzip"], ["P", "preservePaths"], ["U", "unlink"], ["strip-components", "strip"], ["stripComponents", "strip"], ["keep-newer", "newer"], ["keepNewer", "newer"], ["keep-newer-files", "newer"], ["keepNewerFiles", "newer"], ["k", "keep"], ["keep-existing", "keep"], ["keepExisting", "keep"], ["m", "noMtime"], ["no-mtime", "noMtime"], ["p", "preserveOwner"], ["L", "follow"], ["h", "follow"]]);
|
256859
|
-
return i$6 = (r6) => r6 ? Object.keys(r6).map((e10) => [n6.has(e10) ? n6.get(e10) : e10, r6[e10]]).reduce((e10,
|
256859
|
+
return i$6 = (r6) => r6 ? Object.keys(r6).map((e10) => [n6.has(e10) ? n6.get(e10) : e10, r6[e10]]).reduce((e10, p5) => (e10[p5[0]] = p5[1], e10), Object.create(null)) : {}, i$6;
|
256860
256860
|
}
|
256861
256861
|
var e$5;
|
256862
256862
|
var t$4;
|
@@ -256882,11 +256882,11 @@ function w$1() {
|
|
256882
256882
|
i$5 = 1;
|
256883
256883
|
const v6 = (e10, r6) => {
|
256884
256884
|
if (Number.isSafeInteger(e10))
|
256885
|
-
e10 < 0 ? g5(e10, r6) :
|
256885
|
+
e10 < 0 ? g5(e10, r6) : p5(e10, r6);
|
256886
256886
|
else
|
256887
256887
|
throw Error("cannot encode number outside of javascript safe integer range");
|
256888
256888
|
return r6;
|
256889
|
-
},
|
256889
|
+
}, p5 = (e10, r6) => {
|
256890
256890
|
r6[0] = 128;
|
256891
256891
|
for (var o8 = r6.length;o8 > 1; o8--)
|
256892
256892
|
r6[o8 - 1] = e10 & 255, e10 = Math.floor(e10 / 256);
|
@@ -256926,7 +256926,7 @@ function E6() {
|
|
256926
256926
|
if (w5)
|
256927
256927
|
return k5;
|
256928
256928
|
w5 = 1;
|
256929
|
-
const u6 = n$3(), x7 = H$2.posix, y4 = w$1(),
|
256929
|
+
const u6 = n$3(), x7 = H$2.posix, y4 = w$1(), P6 = Symbol("slurp"), a7 = Symbol("type");
|
256930
256930
|
|
256931
256931
|
class B4 {
|
256932
256932
|
constructor(e10, t8, i6, h9) {
|
@@ -256935,7 +256935,7 @@ function E6() {
|
|
256935
256935
|
decode(e10, t8, i6, h9) {
|
256936
256936
|
if (t8 || (t8 = 0), !e10 || !(e10.length >= t8 + 512))
|
256937
256937
|
throw new Error("need 512 bytes for header");
|
256938
|
-
if (this.path = d6(e10, t8, 100), this.mode = r6(e10, t8 + 100, 8), this.uid = r6(e10, t8 + 108, 8), this.gid = r6(e10, t8 + 116, 8), this.size = r6(e10, t8 + 124, 12), this.mtime = o8(e10, t8 + 136, 12), this.cksum = r6(e10, t8 + 148, 12), this[
|
256938
|
+
if (this.path = d6(e10, t8, 100), this.mode = r6(e10, t8 + 100, 8), this.uid = r6(e10, t8 + 108, 8), this.gid = r6(e10, t8 + 116, 8), this.size = r6(e10, t8 + 124, 12), this.mtime = o8(e10, t8 + 136, 12), this.cksum = r6(e10, t8 + 148, 12), this[P6](i6), this[P6](h9, true), this[a7] = d6(e10, t8 + 156, 1), this[a7] === "" && (this[a7] = "0"), this[a7] === "0" && this.path.slice(-1) === "/" && (this[a7] = "5"), this[a7] === "5" && (this.size = 0), this.linkpath = d6(e10, t8 + 157, 100), e10.slice(t8 + 257, t8 + 265).toString() === "ustar\x0000")
|
256939
256939
|
if (this.uname = d6(e10, t8 + 265, 32), this.gname = d6(e10, t8 + 297, 32), this.devmaj = r6(e10, t8 + 329, 8), this.devmin = r6(e10, t8 + 337, 8), e10[t8 + 475] !== 0) {
|
256940
256940
|
const n6 = d6(e10, t8 + 345, 155);
|
256941
256941
|
this.path = n6 + "/" + this.path;
|
@@ -256950,7 +256950,7 @@ function E6() {
|
|
256950
256950
|
l4 += e10[n6];
|
256951
256951
|
this.cksumValid = l4 === this.cksum, this.cksum === null && l4 === 8 * 32 && (this.nullBlock = true);
|
256952
256952
|
}
|
256953
|
-
[
|
256953
|
+
[P6](e10, t8) {
|
256954
256954
|
for (const i6 in e10)
|
256955
256955
|
e10[i6] !== null && e10[i6] !== undefined && !(t8 && i6 === "path") && (this[i6] = e10[i6]);
|
256956
256956
|
}
|
@@ -256958,12 +256958,12 @@ function E6() {
|
|
256958
256958
|
if (e10 || (e10 = this.block = Buffer.alloc(512), t8 = 0), t8 || (t8 = 0), !(e10.length >= t8 + 512))
|
256959
256959
|
throw new Error("need 512 bytes for header");
|
256960
256960
|
const i6 = this.ctime || this.atime ? 130 : 155, h9 = L6(this.path || "", i6), l4 = h9[0], n6 = h9[1];
|
256961
|
-
this.needPax = h9[2], this.needPax =
|
256961
|
+
this.needPax = h9[2], this.needPax = m7(e10, t8, 100, l4) || this.needPax, this.needPax = c3(e10, t8 + 100, 8, this.mode) || this.needPax, this.needPax = c3(e10, t8 + 108, 8, this.uid) || this.needPax, this.needPax = c3(e10, t8 + 116, 8, this.gid) || this.needPax, this.needPax = c3(e10, t8 + 124, 12, this.size) || this.needPax, this.needPax = g5(e10, t8 + 136, 12, this.mtime) || this.needPax, e10[t8 + 156] = this[a7].charCodeAt(0), this.needPax = m7(e10, t8 + 157, 100, this.linkpath) || this.needPax, e10.write("ustar\x0000", t8 + 257, 8), this.needPax = m7(e10, t8 + 265, 32, this.uname) || this.needPax, this.needPax = m7(e10, t8 + 297, 32, this.gname) || this.needPax, this.needPax = c3(e10, t8 + 329, 8, this.devmaj) || this.needPax, this.needPax = c3(e10, t8 + 337, 8, this.devmin) || this.needPax, this.needPax = m7(e10, t8 + 345, i6, n6) || this.needPax, e10[t8 + 475] !== 0 ? this.needPax = m7(e10, t8 + 345, 155, n6) || this.needPax : (this.needPax = m7(e10, t8 + 345, 130, n6) || this.needPax, this.needPax = g5(e10, t8 + 476, 12, this.atime) || this.needPax, this.needPax = g5(e10, t8 + 488, 12, this.ctime) || this.needPax);
|
256962
256962
|
let S4 = 8 * 32;
|
256963
|
-
for (let
|
256964
|
-
S4 += e10[
|
256965
|
-
for (let
|
256966
|
-
S4 += e10[
|
256963
|
+
for (let p5 = t8;p5 < t8 + 148; p5++)
|
256964
|
+
S4 += e10[p5];
|
256965
|
+
for (let p5 = t8 + 156;p5 < t8 + 512; p5++)
|
256966
|
+
S4 += e10[p5];
|
256967
256967
|
return this.cksum = S4, c3(e10, t8 + 148, 8, this.cksum), this.cksumValid = true, this.needPax;
|
256968
256968
|
}
|
256969
256969
|
set(e10) {
|
@@ -256993,7 +256993,7 @@ function E6() {
|
|
256993
256993
|
l4 || (l4 = [s7.slice(0, 99), "", true]);
|
256994
256994
|
}
|
256995
256995
|
return l4;
|
256996
|
-
}, d6 = (s7, e10, t8) => s7.slice(e10, e10 + t8).toString("utf8").replace(/\0.*/, ""), o8 = (s7, e10, t8) =>
|
256996
|
+
}, d6 = (s7, e10, t8) => s7.slice(e10, e10 + t8).toString("utf8").replace(/\0.*/, ""), o8 = (s7, e10, t8) => N7(r6(s7, e10, t8)), N7 = (s7) => s7 === null ? null : new Date(s7 * 1000), r6 = (s7, e10, t8) => s7[e10] & 128 ? y4.parse(s7.slice(e10, e10 + t8)) : j3(s7, e10, t8), q7 = (s7) => isNaN(s7) ? null : s7, j3 = (s7, e10, t8) => q7(parseInt(s7.slice(e10, e10 + t8).toString("utf8").replace(/\0.*$/, "").trim(), 8)), v6 = { 12: 8589934591, 8: 2097151 }, c3 = (s7, e10, t8, i6) => i6 === null ? false : i6 > v6[t8] || i6 < 0 ? (y4.encode(i6, s7.slice(e10, e10 + t8)), true) : ($6(s7, e10, t8, i6), false), $6 = (s7, e10, t8, i6) => s7.write(_5(i6, t8), e10, t8, "ascii"), _5 = (s7, e10) => z4(Math.floor(s7).toString(8), e10), z4 = (s7, e10) => (s7.length === e10 - 1 ? s7 : new Array(e10 - s7.length - 1).join("0") + s7 + " ") + "\x00", g5 = (s7, e10, t8, i6) => i6 === null ? false : c3(s7, e10, t8, i6.getTime() / 1000), A5 = new Array(156).join("\x00"), m7 = (s7, e10, t8, i6) => i6 === null ? false : (s7.write(i6 + A5, e10, t8, "utf8"), i6.length !== Buffer.byteLength(i6) || i6.length > t8);
|
256997
256997
|
return k5 = B4, k5;
|
256998
256998
|
}
|
256999
256999
|
var e$3;
|
@@ -257181,7 +257181,7 @@ function ft2() {
|
|
257181
257181
|
if (X$1)
|
257182
257182
|
return s$5;
|
257183
257183
|
X$1 = 1;
|
257184
|
-
const H4 = typeof process == "object" && process ? process : { stdout: null, stderr: null }, Z4 = nt2, q7 = ot2, G4 = ht4.StringDecoder,
|
257184
|
+
const H4 = typeof process == "object" && process ? process : { stdout: null, stderr: null }, Z4 = nt2, q7 = ot2, G4 = ht4.StringDecoder, m7 = Symbol("EOF"), d6 = Symbol("maybeEmitEnd"), y4 = Symbol("emittedEnd"), R8 = Symbol("emittingEnd"), g5 = Symbol("emittedError"), B4 = Symbol("closed"), Y4 = Symbol("read"), T4 = Symbol("flush"), $6 = Symbol("flushChunk"), f5 = Symbol("encoding"), c3 = Symbol("decoder"), M5 = Symbol("flowing"), S4 = Symbol("paused"), b4 = Symbol("resume"), i6 = Symbol("buffer"), a7 = Symbol("pipes"), n6 = Symbol("bufferLength"), j3 = Symbol("bufferPush"), I7 = Symbol("bufferShift"), o8 = Symbol("objectMode"), r6 = Symbol("destroyed"), P6 = Symbol("error"), x7 = Symbol("emitData"), V6 = Symbol("emitEnd"), N7 = Symbol("emitEnd2"), p5 = Symbol("async"), _5 = Symbol("abort"), O6 = Symbol("aborted"), E7 = Symbol("signal"), w6 = (h9) => Promise.resolve().then(h9), J3 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", K4 = J3 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), W6 = J3 && Symbol.iterator || Symbol("iterator not implemented"), k6 = (h9) => h9 === "end" || h9 === "finish" || h9 === "prefinish", tt2 = (h9) => h9 instanceof ArrayBuffer || typeof h9 == "object" && h9.constructor && h9.constructor.name === "ArrayBuffer" && h9.byteLength >= 0, et4 = (h9) => !Buffer.isBuffer(h9) && ArrayBuffer.isView(h9);
|
257185
257185
|
|
257186
257186
|
class z4 {
|
257187
257187
|
constructor(t8, e10, s7) {
|
@@ -257207,7 +257207,7 @@ function ft2() {
|
|
257207
257207
|
|
257208
257208
|
class F3 extends q7 {
|
257209
257209
|
constructor(t8) {
|
257210
|
-
super(), this[M5] = false, this[S4] = false, this[a7] = [], this[i6] = [], this[o8] = t8 && t8.objectMode || false, this[o8] ? this[f5] = null : this[f5] = t8 && t8.encoding || null, this[f5] === "buffer" && (this[f5] = null), this[
|
257210
|
+
super(), this[M5] = false, this[S4] = false, this[a7] = [], this[i6] = [], this[o8] = t8 && t8.objectMode || false, this[o8] ? this[f5] = null : this[f5] = t8 && t8.encoding || null, this[f5] === "buffer" && (this[f5] = null), this[p5] = t8 && !!t8.async || false, this[c3] = this[f5] ? new G4(this[f5]) : null, this[m7] = false, this[y4] = false, this[R8] = false, this[B4] = false, this[g5] = null, this.writable = true, this.readable = true, this[n6] = 0, this[r6] = false, t8 && t8.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[i6] }), t8 && t8.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[a7] }), this[E7] = t8 && t8.signal, this[O6] = false, this[E7] && (this[E7].addEventListener("abort", () => this[_5]()), this[E7].aborted && this[_5]());
|
257211
257211
|
}
|
257212
257212
|
get bufferLength() {
|
257213
257213
|
return this[n6];
|
@@ -257232,10 +257232,10 @@ function ft2() {
|
|
257232
257232
|
this[o8] = this[o8] || !!t8;
|
257233
257233
|
}
|
257234
257234
|
get async() {
|
257235
|
-
return this[
|
257235
|
+
return this[p5];
|
257236
257236
|
}
|
257237
257237
|
set async(t8) {
|
257238
|
-
this[
|
257238
|
+
this[p5] = this[p5] || !!t8;
|
257239
257239
|
}
|
257240
257240
|
[_5]() {
|
257241
257241
|
this[O6] = true, this.emit("abort", this[E7].reason), this.destroy(this[E7].reason);
|
@@ -257247,12 +257247,12 @@ function ft2() {
|
|
257247
257247
|
write(t8, e10, s7) {
|
257248
257248
|
if (this[O6])
|
257249
257249
|
return false;
|
257250
|
-
if (this[
|
257250
|
+
if (this[m7])
|
257251
257251
|
throw new Error("write after end");
|
257252
257252
|
if (this[r6])
|
257253
257253
|
return this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
|
257254
257254
|
typeof e10 == "function" && (s7 = e10, e10 = "utf8"), e10 || (e10 = "utf8");
|
257255
|
-
const l4 = this[
|
257255
|
+
const l4 = this[p5] ? w6 : (u6) => u6();
|
257256
257256
|
return !this[o8] && !Buffer.isBuffer(t8) && (et4(t8) ? t8 = Buffer.from(t8.buffer, t8.byteOffset, t8.byteLength) : tt2(t8) ? t8 = Buffer.from(t8) : typeof t8 != "string" && (this.objectMode = true)), this[o8] ? (this.flowing && this[n6] !== 0 && this[T4](true), this.flowing ? this.emit("data", t8) : this[j3](t8), this[n6] !== 0 && this.emit("readable"), s7 && l4(s7), this.flowing) : t8.length ? (typeof t8 == "string" && !(e10 === this[f5] && !this[c3].lastNeed) && (t8 = Buffer.from(t8, e10)), Buffer.isBuffer(t8) && this[f5] && (t8 = this[c3].write(t8)), this.flowing && this[n6] !== 0 && this[T4](true), this.flowing ? this.emit("data", t8) : this[j3](t8), this[n6] !== 0 && this.emit("readable"), s7 && l4(s7), this.flowing) : (this[n6] !== 0 && this.emit("readable"), s7 && l4(s7), this.flowing);
|
257257
257257
|
}
|
257258
257258
|
read(t8) {
|
@@ -257265,13 +257265,13 @@ function ft2() {
|
|
257265
257265
|
return this[d6](), e10;
|
257266
257266
|
}
|
257267
257267
|
[Y4](t8, e10) {
|
257268
|
-
return t8 === e10.length || t8 === null ? this[I7]() : (this[i6][0] = e10.slice(t8), e10 = e10.slice(0, t8), this[n6] -= t8), this.emit("data", e10), !this[i6].length && !this[
|
257268
|
+
return t8 === e10.length || t8 === null ? this[I7]() : (this[i6][0] = e10.slice(t8), e10 = e10.slice(0, t8), this[n6] -= t8), this.emit("data", e10), !this[i6].length && !this[m7] && this.emit("drain"), e10;
|
257269
257269
|
}
|
257270
257270
|
end(t8, e10, s7) {
|
257271
|
-
return typeof t8 == "function" && (s7 = t8, t8 = null), typeof e10 == "function" && (s7 = e10, e10 = "utf8"), t8 && this.write(t8, e10), s7 && this.once("end", s7), this[
|
257271
|
+
return typeof t8 == "function" && (s7 = t8, t8 = null), typeof e10 == "function" && (s7 = e10, e10 = "utf8"), t8 && this.write(t8, e10), s7 && this.once("end", s7), this[m7] = true, this.writable = false, (this.flowing || !this[S4]) && this[d6](), this;
|
257272
257272
|
}
|
257273
257273
|
[b4]() {
|
257274
|
-
this[r6] || (this[S4] = false, this[M5] = true, this.emit("resume"), this[i6].length ? this[T4]() : this[
|
257274
|
+
this[r6] || (this[S4] = false, this[M5] = true, this.emit("resume"), this[i6].length ? this[T4]() : this[m7] ? this[d6]() : this.emit("drain"));
|
257275
257275
|
}
|
257276
257276
|
resume() {
|
257277
257277
|
return this[b4]();
|
@@ -257298,7 +257298,7 @@ function ft2() {
|
|
257298
257298
|
do
|
257299
257299
|
;
|
257300
257300
|
while (this[$6](this[I7]()) && this[i6].length);
|
257301
|
-
!t8 && !this[i6].length && !this[
|
257301
|
+
!t8 && !this[i6].length && !this[m7] && this.emit("drain");
|
257302
257302
|
}
|
257303
257303
|
[$6](t8) {
|
257304
257304
|
return this.emit("data", t8), this.flowing;
|
@@ -257307,7 +257307,7 @@ function ft2() {
|
|
257307
257307
|
if (this[r6])
|
257308
257308
|
return;
|
257309
257309
|
const s7 = this[y4];
|
257310
|
-
return e10 = e10 || {}, t8 === H4.stdout || t8 === H4.stderr ? e10.end = false : e10.end = e10.end !== false, e10.proxyErrors = !!e10.proxyErrors, s7 ? e10.end && t8.end() : (this[a7].push(e10.proxyErrors ? new st2(this, t8, e10) : new z4(this, t8, e10)), this[
|
257310
|
+
return e10 = e10 || {}, t8 === H4.stdout || t8 === H4.stderr ? e10.end = false : e10.end = e10.end !== false, e10.proxyErrors = !!e10.proxyErrors, s7 ? e10.end && t8.end() : (this[a7].push(e10.proxyErrors ? new st2(this, t8, e10) : new z4(this, t8, e10)), this[p5] ? w6(() => this[b4]()) : this[b4]()), t8;
|
257311
257311
|
}
|
257312
257312
|
unpipe(t8) {
|
257313
257313
|
const e10 = this[a7].find((s7) => s7.dest === t8);
|
@@ -257318,19 +257318,19 @@ function ft2() {
|
|
257318
257318
|
}
|
257319
257319
|
on(t8, e10) {
|
257320
257320
|
const s7 = super.on(t8, e10);
|
257321
|
-
return t8 === "data" && !this[a7].length && !this.flowing ? this[b4]() : t8 === "readable" && this[n6] !== 0 ? super.emit("readable") : k6(t8) && this[y4] ? (super.emit(t8), this.removeAllListeners(t8)) : t8 === "error" && this[g5] && (this[
|
257321
|
+
return t8 === "data" && !this[a7].length && !this.flowing ? this[b4]() : t8 === "readable" && this[n6] !== 0 ? super.emit("readable") : k6(t8) && this[y4] ? (super.emit(t8), this.removeAllListeners(t8)) : t8 === "error" && this[g5] && (this[p5] ? w6(() => e10.call(this, this[g5])) : e10.call(this, this[g5])), s7;
|
257322
257322
|
}
|
257323
257323
|
get emittedEnd() {
|
257324
257324
|
return this[y4];
|
257325
257325
|
}
|
257326
257326
|
[d6]() {
|
257327
|
-
!this[
|
257327
|
+
!this[R8] && !this[y4] && !this[r6] && this[i6].length === 0 && this[m7] && (this[R8] = true, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[B4] && this.emit("close"), this[R8] = false);
|
257328
257328
|
}
|
257329
257329
|
emit(t8, e10, ...s7) {
|
257330
257330
|
if (t8 !== "error" && t8 !== "close" && t8 !== r6 && this[r6])
|
257331
257331
|
return;
|
257332
257332
|
if (t8 === "data")
|
257333
|
-
return !this[o8] && !e10 ? false : this[
|
257333
|
+
return !this[o8] && !e10 ? false : this[p5] ? w6(() => this[x7](e10)) : this[x7](e10);
|
257334
257334
|
if (t8 === "end")
|
257335
257335
|
return this[V6]();
|
257336
257336
|
if (t8 === "close") {
|
@@ -257339,7 +257339,7 @@ function ft2() {
|
|
257339
257339
|
const u6 = super.emit("close");
|
257340
257340
|
return this.removeAllListeners("close"), u6;
|
257341
257341
|
} else if (t8 === "error") {
|
257342
|
-
this[g5] = e10, super.emit(
|
257342
|
+
this[g5] = e10, super.emit(P6, e10);
|
257343
257343
|
const u6 = !this[E7] || this.listeners("error").length ? super.emit("error", e10) : false;
|
257344
257344
|
return this[d6](), u6;
|
257345
257345
|
} else if (t8 === "resume") {
|
@@ -257359,9 +257359,9 @@ function ft2() {
|
|
257359
257359
|
return this[d6](), e10;
|
257360
257360
|
}
|
257361
257361
|
[V6]() {
|
257362
|
-
this[y4] || (this[y4] = true, this.readable = false, this[
|
257362
|
+
this[y4] || (this[y4] = true, this.readable = false, this[p5] ? w6(() => this[N7]()) : this[N7]());
|
257363
257363
|
}
|
257364
|
-
[
|
257364
|
+
[N7]() {
|
257365
257365
|
if (this[c3]) {
|
257366
257366
|
const e10 = this[c3].end();
|
257367
257367
|
if (e10) {
|
@@ -257400,18 +257400,18 @@ function ft2() {
|
|
257400
257400
|
const l4 = this.read();
|
257401
257401
|
if (l4 !== null)
|
257402
257402
|
return Promise.resolve({ done: false, value: l4 });
|
257403
|
-
if (this[
|
257403
|
+
if (this[m7])
|
257404
257404
|
return e10();
|
257405
257405
|
let u6 = null, Q4 = null;
|
257406
257406
|
const A5 = (L6) => {
|
257407
|
-
this.removeListener("data",
|
257408
|
-
},
|
257409
|
-
this.removeListener("error", A5), this.removeListener("end", C4), this.removeListener(r6, D3), this.pause(), u6({ value: L6, done: !!this[
|
257407
|
+
this.removeListener("data", U7), this.removeListener("end", C4), this.removeListener(r6, D3), e10(), Q4(L6);
|
257408
|
+
}, U7 = (L6) => {
|
257409
|
+
this.removeListener("error", A5), this.removeListener("end", C4), this.removeListener(r6, D3), this.pause(), u6({ value: L6, done: !!this[m7] });
|
257410
257410
|
}, C4 = () => {
|
257411
|
-
this.removeListener("error", A5), this.removeListener("data",
|
257411
|
+
this.removeListener("error", A5), this.removeListener("data", U7), this.removeListener(r6, D3), e10(), u6({ done: true });
|
257412
257412
|
}, D3 = () => A5(new Error("stream destroyed"));
|
257413
257413
|
return new Promise((L6, it2) => {
|
257414
|
-
Q4 = it2, u6 = L6, this.once(r6, D3), this.once("error", A5), this.once("end", C4), this.once("data",
|
257414
|
+
Q4 = it2, u6 = L6, this.once(r6, D3), this.once("error", A5), this.once("end", C4), this.once("data", U7);
|
257415
257415
|
});
|
257416
257416
|
}, throw: e10, return: e10, [K4]() {
|
257417
257417
|
return this;
|
@@ -257419,13 +257419,13 @@ function ft2() {
|
|
257419
257419
|
}
|
257420
257420
|
[W6]() {
|
257421
257421
|
let t8 = false;
|
257422
|
-
const e10 = () => (this.pause(), this.removeListener(
|
257422
|
+
const e10 = () => (this.pause(), this.removeListener(P6, e10), this.removeListener(r6, e10), this.removeListener("end", e10), t8 = true, { done: true }), s7 = () => {
|
257423
257423
|
if (t8)
|
257424
257424
|
return e10();
|
257425
257425
|
const l4 = this.read();
|
257426
257426
|
return l4 === null ? e10() : { value: l4 };
|
257427
257427
|
};
|
257428
|
-
return this.once("end", e10), this.once(
|
257428
|
+
return this.once("end", e10), this.once(P6, e10), this.once(r6, e10), { next: s7, throw: e10, return: e10, [W6]() {
|
257429
257429
|
return this;
|
257430
257430
|
} };
|
257431
257431
|
}
|
@@ -257528,7 +257528,7 @@ function f$2() {
|
|
257528
257528
|
}
|
257529
257529
|
h9.parse = (s7, e10, n6) => new h9(o8(u6(s7), e10), n6);
|
257530
257530
|
const o8 = (s7, e10) => e10 ? Object.keys(s7).reduce((n6, l4) => (n6[l4] = s7[l4], n6), e10) : s7, u6 = (s7) => s7.replace(/\n$/, "").split(`
|
257531
|
-
`).reduce(
|
257531
|
+
`).reduce(m7, Object.create(null)), m7 = (s7, e10) => {
|
257532
257532
|
const n6 = parseInt(e10, 10);
|
257533
257533
|
if (n6 !== Buffer.byteLength(e10) + 1)
|
257534
257534
|
return s7;
|
@@ -257557,11 +257557,11 @@ function tt2() {
|
|
257557
257557
|
if (H$1)
|
257558
257558
|
return j3;
|
257559
257559
|
H$1 = 1;
|
257560
|
-
const I7 = typeof process == "object" && process ? process : { stdout: null, stderr: null }, Y4 = nt2, x7 = ot2,
|
257560
|
+
const I7 = typeof process == "object" && process ? process : { stdout: null, stderr: null }, Y4 = nt2, x7 = ot2, N7 = ht4.StringDecoder, u6 = Symbol("EOF"), a7 = Symbol("maybeEmitEnd"), c3 = Symbol("emittedEnd"), S4 = Symbol("emittingEnd"), E7 = Symbol("emittedError"), w6 = Symbol("closed"), P6 = Symbol("read"), L6 = Symbol("flush"), _6 = Symbol("flushChunk"), h9 = Symbol("encoding"), m7 = Symbol("decoder"), M5 = Symbol("flowing"), y4 = Symbol("paused"), p5 = Symbol("resume"), s7 = Symbol("bufferLength"), T5 = Symbol("bufferPush"), B4 = Symbol("bufferShift"), r6 = Symbol("objectMode"), n6 = Symbol("destroyed"), D3 = Symbol("emitData"), F3 = Symbol("emitEnd"), R8 = Symbol("emitEnd2"), d6 = Symbol("async"), b4 = (o8) => Promise.resolve().then(o8), C4 = commonjsGlobal._MP_NO_ITERATOR_SYMBOLS_ !== "1", $6 = C4 && Symbol.asyncIterator || Symbol("asyncIterator not implemented"), G4 = C4 && Symbol.iterator || Symbol("iterator not implemented"), V6 = (o8) => o8 === "end" || o8 === "finish" || o8 === "prefinish", v6 = (o8) => o8 instanceof ArrayBuffer || typeof o8 == "object" && o8.constructor && o8.constructor.name === "ArrayBuffer" && o8.byteLength >= 0, J3 = (o8) => !Buffer.isBuffer(o8) && ArrayBuffer.isView(o8);
|
257561
257561
|
|
257562
|
-
class
|
257562
|
+
class U7 {
|
257563
257563
|
constructor(t8, e10, i6) {
|
257564
|
-
this.src = t8, this.dest = e10, this.opts = i6, this.ondrain = () => t8[
|
257564
|
+
this.src = t8, this.dest = e10, this.opts = i6, this.ondrain = () => t8[p5](), e10.on("drain", this.ondrain);
|
257565
257565
|
}
|
257566
257566
|
unpipe() {
|
257567
257567
|
this.dest.removeListener("drain", this.ondrain);
|
@@ -257572,7 +257572,7 @@ function tt2() {
|
|
257572
257572
|
}
|
257573
257573
|
}
|
257574
257574
|
|
257575
|
-
class K4 extends
|
257575
|
+
class K4 extends U7 {
|
257576
257576
|
unpipe() {
|
257577
257577
|
this.src.removeListener("error", this.proxyErrors), super.unpipe();
|
257578
257578
|
}
|
@@ -257582,7 +257582,7 @@ function tt2() {
|
|
257582
257582
|
}
|
257583
257583
|
return j3 = class q7 extends x7 {
|
257584
257584
|
constructor(t8) {
|
257585
|
-
super(), this[M5] = false, this[y4] = false, this.pipes = [], this.buffer = [], this[r6] = t8 && t8.objectMode || false, this[r6] ? this[h9] = null : this[h9] = t8 && t8.encoding || null, this[h9] === "buffer" && (this[h9] = null), this[d6] = t8 && !!t8.async || false, this[
|
257585
|
+
super(), this[M5] = false, this[y4] = false, this.pipes = [], this.buffer = [], this[r6] = t8 && t8.objectMode || false, this[r6] ? this[h9] = null : this[h9] = t8 && t8.encoding || null, this[h9] === "buffer" && (this[h9] = null), this[d6] = t8 && !!t8.async || false, this[m7] = this[h9] ? new N7(this[h9]) : null, this[u6] = false, this[c3] = false, this[S4] = false, this[w6] = false, this[E7] = null, this.writable = true, this.readable = true, this[s7] = 0, this[n6] = false;
|
257586
257586
|
}
|
257587
257587
|
get bufferLength() {
|
257588
257588
|
return this[s7];
|
@@ -257593,9 +257593,9 @@ function tt2() {
|
|
257593
257593
|
set encoding(t8) {
|
257594
257594
|
if (this[r6])
|
257595
257595
|
throw new Error("cannot set encoding in objectMode");
|
257596
|
-
if (this[h9] && t8 !== this[h9] && (this[
|
257596
|
+
if (this[h9] && t8 !== this[h9] && (this[m7] && this[m7].lastNeed || this[s7]))
|
257597
257597
|
throw new Error("cannot change encoding");
|
257598
|
-
this[h9] !== t8 && (this[
|
257598
|
+
this[h9] !== t8 && (this[m7] = t8 ? new N7(t8) : null, this.buffer.length && (this.buffer = this.buffer.map((e10) => this[m7].write(e10)))), this[h9] = t8;
|
257599
257599
|
}
|
257600
257600
|
setEncoding(t8) {
|
257601
257601
|
this.encoding = t8;
|
@@ -257619,7 +257619,7 @@ function tt2() {
|
|
257619
257619
|
return this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
|
257620
257620
|
typeof e10 == "function" && (i6 = e10, e10 = "utf8"), e10 || (e10 = "utf8");
|
257621
257621
|
const l4 = this[d6] ? b4 : (f5) => f5();
|
257622
|
-
return !this[r6] && !Buffer.isBuffer(t8) && (
|
257622
|
+
return !this[r6] && !Buffer.isBuffer(t8) && (J3(t8) ? t8 = Buffer.from(t8.buffer, t8.byteOffset, t8.byteLength) : v6(t8) ? t8 = Buffer.from(t8) : typeof t8 != "string" && (this.objectMode = true)), this[r6] ? (this.flowing && this[s7] !== 0 && this[L6](true), this.flowing ? this.emit("data", t8) : this[T5](t8), this[s7] !== 0 && this.emit("readable"), i6 && l4(i6), this.flowing) : t8.length ? (typeof t8 == "string" && !(e10 === this[h9] && !this[m7].lastNeed) && (t8 = Buffer.from(t8, e10)), Buffer.isBuffer(t8) && this[h9] && (t8 = this[m7].write(t8)), this.flowing && this[s7] !== 0 && this[L6](true), this.flowing ? this.emit("data", t8) : this[T5](t8), this[s7] !== 0 && this.emit("readable"), i6 && l4(i6), this.flowing) : (this[s7] !== 0 && this.emit("readable"), i6 && l4(i6), this.flowing);
|
257623
257623
|
}
|
257624
257624
|
read(t8) {
|
257625
257625
|
if (this[n6])
|
@@ -257627,20 +257627,20 @@ function tt2() {
|
|
257627
257627
|
if (this[s7] === 0 || t8 === 0 || t8 > this[s7])
|
257628
257628
|
return this[a7](), null;
|
257629
257629
|
this[r6] && (t8 = null), this.buffer.length > 1 && !this[r6] && (this.encoding ? this.buffer = [this.buffer.join("")] : this.buffer = [Buffer.concat(this.buffer, this[s7])]);
|
257630
|
-
const e10 = this[
|
257630
|
+
const e10 = this[P6](t8 || null, this.buffer[0]);
|
257631
257631
|
return this[a7](), e10;
|
257632
257632
|
}
|
257633
|
-
[
|
257633
|
+
[P6](t8, e10) {
|
257634
257634
|
return t8 === e10.length || t8 === null ? this[B4]() : (this.buffer[0] = e10.slice(t8), e10 = e10.slice(0, t8), this[s7] -= t8), this.emit("data", e10), !this.buffer.length && !this[u6] && this.emit("drain"), e10;
|
257635
257635
|
}
|
257636
257636
|
end(t8, e10, i6) {
|
257637
257637
|
return typeof t8 == "function" && (i6 = t8, t8 = null), typeof e10 == "function" && (i6 = e10, e10 = "utf8"), t8 && this.write(t8, e10), i6 && this.once("end", i6), this[u6] = true, this.writable = false, (this.flowing || !this[y4]) && this[a7](), this;
|
257638
257638
|
}
|
257639
|
-
[
|
257639
|
+
[p5]() {
|
257640
257640
|
this[n6] || (this[y4] = false, this[M5] = true, this.emit("resume"), this.buffer.length ? this[L6]() : this[u6] ? this[a7]() : this.emit("drain"));
|
257641
257641
|
}
|
257642
257642
|
resume() {
|
257643
|
-
return this[
|
257643
|
+
return this[p5]();
|
257644
257644
|
}
|
257645
257645
|
pause() {
|
257646
257646
|
this[M5] = false, this[y4] = true;
|
@@ -257673,7 +257673,7 @@ function tt2() {
|
|
257673
257673
|
if (this[n6])
|
257674
257674
|
return;
|
257675
257675
|
const i6 = this[c3];
|
257676
|
-
return e10 = e10 || {}, t8 === I7.stdout || t8 === I7.stderr ? e10.end = false : e10.end = e10.end !== false, e10.proxyErrors = !!e10.proxyErrors, i6 ? e10.end && t8.end() : (this.pipes.push(e10.proxyErrors ? new K4(this, t8, e10) : new
|
257676
|
+
return e10 = e10 || {}, t8 === I7.stdout || t8 === I7.stderr ? e10.end = false : e10.end = e10.end !== false, e10.proxyErrors = !!e10.proxyErrors, i6 ? e10.end && t8.end() : (this.pipes.push(e10.proxyErrors ? new K4(this, t8, e10) : new U7(this, t8, e10)), this[d6] ? b4(() => this[p5]()) : this[p5]()), t8;
|
257677
257677
|
}
|
257678
257678
|
unpipe(t8) {
|
257679
257679
|
const e10 = this.pipes.find((i6) => i6.dest === t8);
|
@@ -257684,7 +257684,7 @@ function tt2() {
|
|
257684
257684
|
}
|
257685
257685
|
on(t8, e10) {
|
257686
257686
|
const i6 = super.on(t8, e10);
|
257687
|
-
return t8 === "data" && !this.pipes.length && !this.flowing ? this[
|
257687
|
+
return t8 === "data" && !this.pipes.length && !this.flowing ? this[p5]() : t8 === "readable" && this[s7] !== 0 ? super.emit("readable") : V6(t8) && this[c3] ? (super.emit(t8), this.removeAllListeners(t8)) : t8 === "error" && this[E7] && (this[d6] ? b4(() => e10.call(this, this[E7])) : e10.call(this, this[E7])), i6;
|
257688
257688
|
}
|
257689
257689
|
get emittedEnd() {
|
257690
257690
|
return this[c3];
|
@@ -257725,11 +257725,11 @@ function tt2() {
|
|
257725
257725
|
return this[a7](), e10;
|
257726
257726
|
}
|
257727
257727
|
[F3]() {
|
257728
|
-
this[c3] || (this[c3] = true, this.readable = false, this[d6] ? b4(() => this[
|
257728
|
+
this[c3] || (this[c3] = true, this.readable = false, this[d6] ? b4(() => this[R8]()) : this[R8]());
|
257729
257729
|
}
|
257730
|
-
[
|
257731
|
-
if (this[
|
257732
|
-
const e10 = this[
|
257730
|
+
[R8]() {
|
257731
|
+
if (this[m7]) {
|
257732
|
+
const e10 = this[m7].end();
|
257733
257733
|
if (e10) {
|
257734
257734
|
for (const i6 of this.pipes)
|
257735
257735
|
i6.dest.write(e10);
|
@@ -257792,11 +257792,11 @@ function tt2() {
|
|
257792
257792
|
}, j3;
|
257793
257793
|
}
|
257794
257794
|
var C4;
|
257795
|
-
function
|
257795
|
+
function J3() {
|
257796
257796
|
if (C4)
|
257797
257797
|
return i$3;
|
257798
257798
|
C4 = 1;
|
257799
|
-
const w6 = j$1, n6 =
|
257799
|
+
const w6 = j$1, n6 = P5.Buffer, z4 = O$2, u6 = i$3.constants = T4(), L6 = tt2(), E7 = n6.concat, c3 = Symbol("_superWrite");
|
257800
257800
|
|
257801
257801
|
class d6 extends Error {
|
257802
257802
|
constructor(s7) {
|
@@ -257806,13 +257806,13 @@ function J4() {
|
|
257806
257806
|
return "ZlibError";
|
257807
257807
|
}
|
257808
257808
|
}
|
257809
|
-
const Z4 = Symbol("opts"),
|
257809
|
+
const Z4 = Symbol("opts"), p5 = Symbol("flushFlag"), I7 = Symbol("finishFlushFlag"), y4 = Symbol("fullFlushFlag"), t8 = Symbol("handle"), _6 = Symbol("onError"), f5 = Symbol("sawError"), F3 = Symbol("level"), S4 = Symbol("strategy"), g5 = Symbol("ended");
|
257810
257810
|
|
257811
257811
|
class x7 extends L6 {
|
257812
257812
|
constructor(s7, e10) {
|
257813
257813
|
if (!s7 || typeof s7 != "object")
|
257814
257814
|
throw new TypeError("invalid options for ZlibBase constructor");
|
257815
|
-
super(s7), this[f5] = false, this[g5] = false, this[Z4] = s7, this[
|
257815
|
+
super(s7), this[f5] = false, this[g5] = false, this[Z4] = s7, this[p5] = s7.flush, this[I7] = s7.finishFlush;
|
257816
257816
|
try {
|
257817
257817
|
this[t8] = new z4[e10](s7);
|
257818
257818
|
} catch (i6) {
|
@@ -257830,7 +257830,7 @@ function J4() {
|
|
257830
257830
|
return w6(this[t8], "zlib binding closed"), this[t8].reset();
|
257831
257831
|
}
|
257832
257832
|
flush(s7) {
|
257833
|
-
this.ended || (typeof s7 != "number" && (s7 = this[y4]), this.write(Object.assign(n6.alloc(0), { [
|
257833
|
+
this.ended || (typeof s7 != "number" && (s7 = this[y4]), this.write(Object.assign(n6.alloc(0), { [p5]: s7 })));
|
257834
257834
|
}
|
257835
257835
|
end(s7, e10, i6) {
|
257836
257836
|
return s7 && this.write(s7, e10), this.flush(this[I7]), this[g5] = true, super.end(null, null, i6);
|
@@ -257842,18 +257842,18 @@ function J4() {
|
|
257842
257842
|
if (typeof e10 == "function" && (i6 = e10, e10 = "utf8"), typeof s7 == "string" && (s7 = n6.from(s7, e10)), this[f5])
|
257843
257843
|
return;
|
257844
257844
|
w6(this[t8], "zlib binding closed");
|
257845
|
-
const
|
257846
|
-
|
257845
|
+
const m7 = this[t8]._handle, R8 = m7.close;
|
257846
|
+
m7.close = () => {};
|
257847
257847
|
const G4 = this[t8].close;
|
257848
257848
|
this[t8].close = () => {}, n6.concat = (l4) => l4;
|
257849
257849
|
let h9;
|
257850
257850
|
try {
|
257851
|
-
const l4 = typeof s7[
|
257851
|
+
const l4 = typeof s7[p5] == "number" ? s7[p5] : this[p5];
|
257852
257852
|
h9 = this[t8]._processChunk(s7, l4), n6.concat = E7;
|
257853
257853
|
} catch (l4) {
|
257854
257854
|
n6.concat = E7, this[_6](new d6(l4));
|
257855
257855
|
} finally {
|
257856
|
-
this[t8] && (this[t8]._handle =
|
257856
|
+
this[t8] && (this[t8]._handle = m7, m7.close = R8, this[t8].close = G4, this[t8].removeAllListeners("error"));
|
257857
257857
|
}
|
257858
257858
|
this[t8] && this[t8].on("error", (l4) => this[_6](new d6(l4)));
|
257859
257859
|
let b4;
|
@@ -257884,8 +257884,8 @@ function J4() {
|
|
257884
257884
|
if (this[F3] !== s7 || this[S4] !== e10) {
|
257885
257885
|
this.flush(u6.Z_SYNC_FLUSH), w6(this[t8], "zlib binding closed");
|
257886
257886
|
const i6 = this[t8].flush;
|
257887
|
-
this[t8].flush = (
|
257888
|
-
this.flush(
|
257887
|
+
this[t8].flush = (m7, R8) => {
|
257888
|
+
this.flush(m7), R8();
|
257889
257889
|
};
|
257890
257890
|
try {
|
257891
257891
|
this[t8].params(s7, e10);
|
@@ -257920,7 +257920,7 @@ function J4() {
|
|
257920
257920
|
}
|
257921
257921
|
}
|
257922
257922
|
|
257923
|
-
class
|
257923
|
+
class N7 extends a7 {
|
257924
257924
|
constructor(s7) {
|
257925
257925
|
super(s7, "Gunzip");
|
257926
257926
|
}
|
@@ -257937,7 +257937,7 @@ function J4() {
|
|
257937
257937
|
}
|
257938
257938
|
};
|
257939
257939
|
|
257940
|
-
class
|
257940
|
+
class U7 extends a7 {
|
257941
257941
|
constructor(s7) {
|
257942
257942
|
super(s7, "Unzip");
|
257943
257943
|
}
|
@@ -257960,7 +257960,7 @@ function J4() {
|
|
257960
257960
|
super(s7, "BrotliDecompress");
|
257961
257961
|
}
|
257962
257962
|
}
|
257963
|
-
return i$3.Deflate = q7, i$3.Inflate = D3, i$3.Gzip = $6, i$3.Gunzip =
|
257963
|
+
return i$3.Deflate = q7, i$3.Inflate = D3, i$3.Gzip = $6, i$3.Gunzip = N7, i$3.DeflateRaw = H4, i$3.InflateRaw = T$1, i$3.Unzip = U7, typeof z4.BrotliCompress == "function" ? (i$3.BrotliCompress = v6, i$3.BrotliDecompress = A5) : i$3.BrotliCompress = i$3.BrotliDecompress = class {
|
257964
257964
|
constructor() {
|
257965
257965
|
throw new Error("Brotli is not supported in this version of Node.js");
|
257966
257966
|
}
|
@@ -257972,8 +257972,8 @@ function rt4() {
|
|
257972
257972
|
if (F$2)
|
257973
257973
|
return O$1;
|
257974
257974
|
F$2 = 1;
|
257975
|
-
const
|
257976
|
-
return O$1 =
|
257975
|
+
const P6 = c$4(), $6 = E6(), v6 = nt2, W6 = c$3(), G4 = 1024 * 1024, k6 = u$3(), C5 = f$2(), x7 = J3(), { nextTick: j4 } = nt$1, B4 = Buffer.from([31, 139]), h9 = Symbol("state"), d6 = Symbol("writeEntry"), a7 = Symbol("readEntry"), I7 = Symbol("nextEntry"), U7 = Symbol("processEntry"), l4 = Symbol("extendedHeader"), y4 = Symbol("globalExtendedHeader"), c3 = Symbol("meta"), H4 = Symbol("emitMeta"), n6 = Symbol("buffer"), f5 = Symbol("queue"), u6 = Symbol("ended"), L6 = Symbol("emittedEnd"), b4 = Symbol("emit"), r6 = Symbol("unzip"), _6 = Symbol("consumeChunk"), g5 = Symbol("consumeChunkSub"), q7 = Symbol("consumeBody"), z4 = Symbol("consumeMeta"), Y4 = Symbol("consumeHeader"), N7 = Symbol("consuming"), D3 = Symbol("bufferConcat"), M5 = Symbol("maybeEnd"), S4 = Symbol("writing"), m7 = Symbol("aborted"), T5 = Symbol("onDone"), E$1 = Symbol("sawValidEntry"), R8 = Symbol("sawNullBlock"), A5 = Symbol("sawEOF"), V6 = Symbol("closeStream"), K4 = (X6) => true;
|
257976
|
+
return O$1 = P6(class extends v6 {
|
257977
257977
|
constructor(t8) {
|
257978
257978
|
t8 = t8 || {}, super(t8), this.file = t8.file || "", this[E$1] = null, this.on(T5, (s7) => {
|
257979
257979
|
(this[h9] === "begin" || this[E$1] === false) && this.warn("TAR_BAD_ARCHIVE", "Unrecognized archive format");
|
@@ -257981,7 +257981,7 @@ function rt4() {
|
|
257981
257981
|
this.emit("prefinish"), this.emit("finish"), this.emit("end");
|
257982
257982
|
}), this.strict = !!t8.strict, this.maxMetaEntrySize = t8.maxMetaEntrySize || G4, this.filter = typeof t8.filter == "function" ? t8.filter : K4;
|
257983
257983
|
const i6 = t8.file && (t8.file.endsWith(".tar.br") || t8.file.endsWith(".tbr"));
|
257984
|
-
this.brotli = !t8.gzip && t8.brotli !== undefined ? t8.brotli : i6 ? undefined : false, this.writable = true, this.readable = false, this[f5] = new W6, this[n6] = null, this[a7] = null, this[d6] = null, this[h9] = "begin", this[c3] = "", this[l4] = null, this[y4] = null, this[u6] = false, this[r6] = null, this[
|
257984
|
+
this.brotli = !t8.gzip && t8.brotli !== undefined ? t8.brotli : i6 ? undefined : false, this.writable = true, this.readable = false, this[f5] = new W6, this[n6] = null, this[a7] = null, this[d6] = null, this[h9] = "begin", this[c3] = "", this[l4] = null, this[y4] = null, this[u6] = false, this[r6] = null, this[m7] = false, this[R8] = false, this[A5] = false, this.on("end", () => this[V6]()), typeof t8.onwarn == "function" && this.on("warn", t8.onwarn), typeof t8.onentry == "function" && this.on("entry", t8.onentry);
|
257985
257985
|
}
|
257986
257986
|
[Y4](t8, i6) {
|
257987
257987
|
this[E$1] === null && (this[E$1] = false);
|
@@ -257992,8 +257992,8 @@ function rt4() {
|
|
257992
257992
|
return this.warn("TAR_ENTRY_INVALID", o8);
|
257993
257993
|
}
|
257994
257994
|
if (s7.nullBlock)
|
257995
|
-
this[
|
257996
|
-
else if (this[
|
257995
|
+
this[R8] ? (this[A5] = true, this[h9] === "begin" && (this[h9] = "header"), this[b4]("eof")) : (this[R8] = true, this[b4]("nullBlock"));
|
257996
|
+
else if (this[R8] = false, !s7.cksumValid)
|
257997
257997
|
this.warn("TAR_ENTRY_INVALID", "checksum failure", { header: s7 });
|
257998
257998
|
else if (!s7.path)
|
257999
257999
|
this.warn("TAR_ENTRY_INVALID", "path is required", { header: s7 });
|
@@ -258020,14 +258020,14 @@ function rt4() {
|
|
258020
258020
|
[V6]() {
|
258021
258021
|
j4(() => this.emit("close"));
|
258022
258022
|
}
|
258023
|
-
[
|
258023
|
+
[U7](t8) {
|
258024
258024
|
let i6 = true;
|
258025
258025
|
return t8 ? Array.isArray(t8) ? this.emit.apply(this, t8) : (this[a7] = t8, this.emit("entry", t8), t8.emittedEnd || (t8.on("end", (s7) => this[I7]()), i6 = false)) : (this[a7] = null, i6 = false), i6;
|
258026
258026
|
}
|
258027
258027
|
[I7]() {
|
258028
258028
|
do
|
258029
258029
|
;
|
258030
|
-
while (this[
|
258030
|
+
while (this[U7](this[f5].shift()));
|
258031
258031
|
if (!this[f5].length) {
|
258032
258032
|
const t8 = this[a7];
|
258033
258033
|
!t8 || t8.flowing || t8.size === t8.remain ? this[S4] || this.emit("drain") : t8.once("drain", (s7) => this.emit("drain"));
|
@@ -258065,10 +258065,10 @@ function rt4() {
|
|
258065
258065
|
}
|
258066
258066
|
}
|
258067
258067
|
abort(t8) {
|
258068
|
-
this[
|
258068
|
+
this[m7] = true, this.emit("abort", t8), this.warn("TAR_ABORT", t8, { recoverable: false });
|
258069
258069
|
}
|
258070
258070
|
write(t8) {
|
258071
|
-
if (this[
|
258071
|
+
if (this[m7])
|
258072
258072
|
return;
|
258073
258073
|
if ((this[r6] === null || this.brotli === undefined && this[r6] === false) && t8) {
|
258074
258074
|
if (this[n6] && (t8 = Buffer.concat([this[n6], t8]), this[n6] = null), t8.length < B4.length)
|
@@ -258090,7 +258090,7 @@ function rt4() {
|
|
258090
258090
|
}
|
258091
258091
|
if (this[r6] === null || this[r6] === false && this.brotli) {
|
258092
258092
|
const e10 = this[u6];
|
258093
|
-
this[u6] = false, this[r6] = this[r6] === null ? new x7.Unzip : new x7.BrotliDecompress, this[r6].on("data", (
|
258093
|
+
this[u6] = false, this[r6] = this[r6] === null ? new x7.Unzip : new x7.BrotliDecompress, this[r6].on("data", (p5) => this[_6](p5)), this[r6].on("error", (p5) => this.abort(p5)), this[r6].on("end", (p5) => {
|
258094
258094
|
this[u6] = true, this[_6]();
|
258095
258095
|
}), this[S4] = true;
|
258096
258096
|
const w6 = this[r6][e10 ? "end" : "write"](t8);
|
@@ -258102,10 +258102,10 @@ function rt4() {
|
|
258102
258102
|
return !s7 && !this[f5].length && this[a7].once("drain", (o8) => this.emit("drain")), s7;
|
258103
258103
|
}
|
258104
258104
|
[D3](t8) {
|
258105
|
-
t8 && !this[
|
258105
|
+
t8 && !this[m7] && (this[n6] = this[n6] ? Buffer.concat([this[n6], t8]) : t8);
|
258106
258106
|
}
|
258107
258107
|
[M5]() {
|
258108
|
-
if (this[u6] && !this[L6] && !this[
|
258108
|
+
if (this[u6] && !this[L6] && !this[m7] && !this[N7]) {
|
258109
258109
|
this[L6] = true;
|
258110
258110
|
const t8 = this[d6];
|
258111
258111
|
if (t8 && t8.blockRemain) {
|
@@ -258116,29 +258116,29 @@ function rt4() {
|
|
258116
258116
|
}
|
258117
258117
|
}
|
258118
258118
|
[_6](t8) {
|
258119
|
-
if (this[
|
258119
|
+
if (this[N7])
|
258120
258120
|
this[D3](t8);
|
258121
258121
|
else if (!t8 && !this[n6])
|
258122
258122
|
this[M5]();
|
258123
258123
|
else {
|
258124
|
-
if (this[
|
258124
|
+
if (this[N7] = true, this[n6]) {
|
258125
258125
|
this[D3](t8);
|
258126
258126
|
const i6 = this[n6];
|
258127
258127
|
this[n6] = null, this[g5](i6);
|
258128
258128
|
} else
|
258129
258129
|
this[g5](t8);
|
258130
|
-
for (;this[n6] && this[n6].length >= 512 && !this[
|
258130
|
+
for (;this[n6] && this[n6].length >= 512 && !this[m7] && !this[A5]; ) {
|
258131
258131
|
const i6 = this[n6];
|
258132
258132
|
this[n6] = null, this[g5](i6);
|
258133
258133
|
}
|
258134
|
-
this[
|
258134
|
+
this[N7] = false;
|
258135
258135
|
}
|
258136
258136
|
(!this[n6] || this[u6]) && this[M5]();
|
258137
258137
|
}
|
258138
258138
|
[g5](t8) {
|
258139
258139
|
let i6 = 0;
|
258140
258140
|
const s7 = t8.length;
|
258141
|
-
for (;i6 + 512 <= s7 && !this[
|
258141
|
+
for (;i6 + 512 <= s7 && !this[m7] && !this[A5]; )
|
258142
258142
|
switch (this[h9]) {
|
258143
258143
|
case "begin":
|
258144
258144
|
case "header":
|
@@ -258157,7 +258157,7 @@ function rt4() {
|
|
258157
258157
|
i6 < s7 && (this[n6] ? this[n6] = Buffer.concat([t8.slice(i6), this[n6]]) : this[n6] = t8.slice(i6));
|
258158
258158
|
}
|
258159
258159
|
end(t8) {
|
258160
|
-
this[
|
258160
|
+
this[m7] || (this[r6] ? this[r6].end(t8) : (this[u6] = true, this.brotli === undefined && (t8 = t8 || Buffer.alloc(0)), this.write(t8)));
|
258161
258161
|
}
|
258162
258162
|
}), O$1;
|
258163
258163
|
}
|
@@ -258168,21 +258168,21 @@ function X6() {
|
|
258168
258168
|
return s$4;
|
258169
258169
|
v$1 = 1;
|
258170
258170
|
const H4 = tt2(), I7 = nt2.EventEmitter, r6 = V5;
|
258171
|
-
let
|
258172
|
-
if (!
|
258171
|
+
let R8 = r6.writev;
|
258172
|
+
if (!R8) {
|
258173
258173
|
const c3 = process.binding("fs"), t8 = c3.FSReqWrap || c3.FSReqCallback;
|
258174
|
-
|
258175
|
-
const G4 = (
|
258174
|
+
R8 = (e10, i6, $6, A5) => {
|
258175
|
+
const G4 = (J4, K4) => A5(J4, K4, i6), j4 = new t8;
|
258176
258176
|
j4.oncomplete = G4, c3.writeBuffers(e10, i6, $6, j4);
|
258177
258177
|
};
|
258178
258178
|
}
|
258179
|
-
const
|
258179
|
+
const m7 = Symbol("_autoClose"), h9 = Symbol("_close"), g5 = Symbol("_ended"), s7 = Symbol("_fd"), B4 = Symbol("_finished"), o8 = Symbol("_flags"), x7 = Symbol("_flush"), z4 = Symbol("_handleChunk"), T5 = Symbol("_makeBuf"), q7 = Symbol("_mode"), E7 = Symbol("_needDrain"), d6 = Symbol("_onerror"), y4 = Symbol("_onopen"), W6 = Symbol("_onread"), _6 = Symbol("_onwrite"), a7 = Symbol("_open"), l4 = Symbol("_path"), u6 = Symbol("_pos"), n6 = Symbol("_queue"), S4 = Symbol("_read"), M5 = Symbol("_readSize"), f5 = Symbol("_reading"), k6 = Symbol("_remain"), N7 = Symbol("_size"), C5 = Symbol("_write"), b4 = Symbol("_writing"), F3 = Symbol("_defaultFlag"), p5 = Symbol("_errored");
|
258180
258180
|
|
258181
258181
|
class D3 extends H4 {
|
258182
258182
|
constructor(t8, e10) {
|
258183
258183
|
if (e10 = e10 || {}, super(e10), this.readable = true, this.writable = false, typeof t8 != "string")
|
258184
258184
|
throw new TypeError("path must be a string");
|
258185
|
-
this[
|
258185
|
+
this[p5] = false, this[s7] = typeof e10.fd == "number" ? e10.fd : null, this[l4] = t8, this[M5] = e10.readSize || 16 * 1024 * 1024, this[f5] = false, this[N7] = typeof e10.size == "number" ? e10.size : 1 / 0, this[k6] = this[N7], this[m7] = typeof e10.autoClose == "boolean" ? e10.autoClose : true, typeof this[s7] == "number" ? this[S4]() : this[a7]();
|
258186
258186
|
}
|
258187
258187
|
get fd() {
|
258188
258188
|
return this[s7];
|
@@ -258218,7 +258218,7 @@ function X6() {
|
|
258218
258218
|
this[f5] = false, t8 ? this[d6](t8) : this[z4](e10, i6) && this[S4]();
|
258219
258219
|
}
|
258220
258220
|
[h9]() {
|
258221
|
-
if (this[
|
258221
|
+
if (this[m7] && typeof this[s7] == "number") {
|
258222
258222
|
const t8 = this[s7];
|
258223
258223
|
this[s7] = null, r6.close(t8, (e10) => e10 ? this.emit("error", e10) : this.emit("close"));
|
258224
258224
|
}
|
@@ -258239,14 +258239,14 @@ function X6() {
|
|
258239
258239
|
typeof this[s7] == "number" && this[S4]();
|
258240
258240
|
break;
|
258241
258241
|
case "error":
|
258242
|
-
return this[
|
258242
|
+
return this[p5] ? undefined : (this[p5] = true, super.emit(t8, e10));
|
258243
258243
|
default:
|
258244
258244
|
return super.emit(t8, e10);
|
258245
258245
|
}
|
258246
258246
|
}
|
258247
258247
|
}
|
258248
258248
|
|
258249
|
-
class
|
258249
|
+
class P6 extends D3 {
|
258250
258250
|
[a7]() {
|
258251
258251
|
let t8 = true;
|
258252
258252
|
try {
|
@@ -258273,7 +258273,7 @@ function X6() {
|
|
258273
258273
|
}
|
258274
258274
|
}
|
258275
258275
|
[h9]() {
|
258276
|
-
if (this[
|
258276
|
+
if (this[m7] && typeof this[s7] == "number") {
|
258277
258277
|
const t8 = this[s7];
|
258278
258278
|
this[s7] = null, r6.closeSync(t8), this.emit("close");
|
258279
258279
|
}
|
@@ -258282,15 +258282,15 @@ function X6() {
|
|
258282
258282
|
|
258283
258283
|
class O6 extends I7 {
|
258284
258284
|
constructor(t8, e10) {
|
258285
|
-
e10 = e10 || {}, super(e10), this.readable = false, this.writable = true, this[
|
258285
|
+
e10 = e10 || {}, super(e10), this.readable = false, this.writable = true, this[p5] = false, this[b4] = false, this[g5] = false, this[E7] = false, this[n6] = [], this[l4] = t8, this[s7] = typeof e10.fd == "number" ? e10.fd : null, this[q7] = e10.mode === undefined ? 438 : e10.mode, this[u6] = typeof e10.start == "number" ? e10.start : null, this[m7] = typeof e10.autoClose == "boolean" ? e10.autoClose : true;
|
258286
258286
|
const i6 = this[u6] !== null ? "r+" : "w";
|
258287
258287
|
this[F3] = e10.flags === undefined, this[o8] = this[F3] ? i6 : e10.flags, this[s7] === null && this[a7]();
|
258288
258288
|
}
|
258289
258289
|
emit(t8, e10) {
|
258290
258290
|
if (t8 === "error") {
|
258291
|
-
if (this[
|
258291
|
+
if (this[p5])
|
258292
258292
|
return;
|
258293
|
-
this[
|
258293
|
+
this[p5] = true;
|
258294
258294
|
}
|
258295
258295
|
return super.emit(t8, e10);
|
258296
258296
|
}
|
@@ -258328,18 +258328,18 @@ function X6() {
|
|
258328
258328
|
this[C5](this[n6].pop());
|
258329
258329
|
else {
|
258330
258330
|
const t8 = this[n6];
|
258331
|
-
this[n6] = [],
|
258331
|
+
this[n6] = [], R8(this[s7], t8, this[u6], (e10, i6) => this[_6](e10, i6));
|
258332
258332
|
}
|
258333
258333
|
}
|
258334
258334
|
[h9]() {
|
258335
|
-
if (this[
|
258335
|
+
if (this[m7] && typeof this[s7] == "number") {
|
258336
258336
|
const t8 = this[s7];
|
258337
258337
|
this[s7] = null, r6.close(t8, (e10) => e10 ? this.emit("error", e10) : this.emit("close"));
|
258338
258338
|
}
|
258339
258339
|
}
|
258340
258340
|
}
|
258341
258341
|
|
258342
|
-
class
|
258342
|
+
class U7 extends O6 {
|
258343
258343
|
[a7]() {
|
258344
258344
|
let t8;
|
258345
258345
|
if (this[F3] && this[o8] === "r+")
|
@@ -258355,7 +258355,7 @@ function X6() {
|
|
258355
258355
|
this[y4](null, t8);
|
258356
258356
|
}
|
258357
258357
|
[h9]() {
|
258358
|
-
if (this[
|
258358
|
+
if (this[m7] && typeof this[s7] == "number") {
|
258359
258359
|
const t8 = this[s7];
|
258360
258360
|
this[s7] = null, r6.closeSync(t8), this.emit("close");
|
258361
258361
|
}
|
@@ -258372,7 +258372,7 @@ function X6() {
|
|
258372
258372
|
}
|
258373
258373
|
}
|
258374
258374
|
}
|
258375
|
-
return s$4.ReadStream = D3, s$4.ReadStreamSync =
|
258375
|
+
return s$4.ReadStream = D3, s$4.ReadStreamSync = P6, s$4.WriteStream = O6, s$4.WriteStreamSync = U7, s$4;
|
258376
258376
|
}
|
258377
258377
|
var r$1 = { exports: {} };
|
258378
258378
|
var i$2;
|
@@ -258515,14 +258515,14 @@ function a$3() {
|
|
258515
258515
|
const i6 = V5, e10 = (process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version).replace(/^v/, "").split("."), t9 = +e10[0] > 10 || +e10[0] == 10 && +e10[1] >= 12;
|
258516
258516
|
return s$2 = { useNative: t9 ? (r6) => r6.mkdir === i6.mkdir : () => false, useNativeSync: t9 ? (r6) => r6.mkdirSync === i6.mkdirSync : () => false }, s$2;
|
258517
258517
|
}
|
258518
|
-
var
|
258518
|
+
var m7;
|
258519
258519
|
var s$1;
|
258520
258520
|
function S4() {
|
258521
258521
|
if (s$1)
|
258522
|
-
return
|
258522
|
+
return m7;
|
258523
258523
|
s$1 = 1;
|
258524
258524
|
const i6 = t$2(), u6 = u$2(), { mkdirpNative: a7, mkdirpNativeSync: c3 } = s$3(), { mkdirpManual: o8, mkdirpManualSync: q7 } = y$2(), { useNative: t9, useNativeSync: _6 } = a$3(), n6 = (e10, r6) => (e10 = u6(e10), r6 = i6(r6), t9(r6) ? a7(e10, r6) : o8(e10, r6)), d6 = (e10, r6) => (e10 = u6(e10), r6 = i6(r6), _6(r6) ? c3(e10, r6) : q7(e10, r6));
|
258525
|
-
return n6.sync = d6, n6.native = (e10, r6) => a7(u6(e10), i6(r6)), n6.manual = (e10, r6) => o8(u6(e10), i6(r6)), n6.nativeSync = (e10, r6) => c3(u6(e10), i6(r6)), n6.manualSync = (e10, r6) => q7(u6(e10), i6(r6)),
|
258525
|
+
return n6.sync = d6, n6.native = (e10, r6) => a7(u6(e10), i6(r6)), n6.manual = (e10, r6) => o8(u6(e10), i6(r6)), n6.nativeSync = (e10, r6) => c3(u6(e10), i6(r6)), n6.manualSync = (e10, r6) => q7(u6(e10), i6(r6)), m7 = n6, m7;
|
258526
258526
|
}
|
258527
258527
|
var y$12;
|
258528
258528
|
var O6;
|
@@ -258554,9 +258554,9 @@ function F$1() {
|
|
258554
258554
|
throw t9;
|
258555
258555
|
D3(r6, e10, n6);
|
258556
258556
|
}
|
258557
|
-
} : (r6, e10, n6) => u6(r6, e10, n6),
|
258558
|
-
let
|
258559
|
-
/^v4\./.test(
|
258557
|
+
} : (r6, e10, n6) => u6(r6, e10, n6), R8 = process.version;
|
258558
|
+
let N7 = (r6, e10, n6) => c3.readdir(r6, e10, n6), q7 = (r6, e10) => c3.readdirSync(r6, e10);
|
258559
|
+
/^v4\./.test(R8) && (N7 = (r6, e10, n6) => c3.readdir(r6, n6));
|
258560
258560
|
const h9 = (r6, e10, n6, t9) => {
|
258561
258561
|
c3[T5](r6, e10, n6, _6(r6, e10, n6, (o8) => {
|
258562
258562
|
t9(o8 && o8.code !== "ENOENT" ? o8 : null);
|
@@ -258580,7 +258580,7 @@ function F$1() {
|
|
258580
258580
|
h9(s7, n6, t9, o8);
|
258581
258581
|
}
|
258582
258582
|
}, E7 = (r6, e10, n6, t9) => {
|
258583
|
-
|
258583
|
+
N7(r6, { withFileTypes: true }, (o8, s7) => {
|
258584
258584
|
if (o8) {
|
258585
258585
|
if (o8.code === "ENOENT")
|
258586
258586
|
return t9();
|
@@ -258610,8 +258610,8 @@ function F$1() {
|
|
258610
258610
|
return;
|
258611
258611
|
throw o8;
|
258612
258612
|
}
|
258613
|
-
e10.isDirectory() &&
|
258614
|
-
},
|
258613
|
+
e10.isDirectory() && m8(a7.resolve(r6, e10.name), n6, t9), w6(a7.resolve(r6, e10.name), n6, t9);
|
258614
|
+
}, m8 = (r6, e10, n6) => {
|
258615
258615
|
let t9;
|
258616
258616
|
try {
|
258617
258617
|
t9 = q7(r6, { withFileTypes: true });
|
@@ -258624,14 +258624,14 @@ function F$1() {
|
|
258624
258624
|
}
|
258625
258625
|
return t9 && t9.length && t9.forEach((o8) => C5(r6, o8, e10, n6)), w6(r6, e10, n6);
|
258626
258626
|
};
|
258627
|
-
return y$12 = E7, E7.sync =
|
258627
|
+
return y$12 = E7, E7.sync = m8, y$12;
|
258628
258628
|
}
|
258629
|
-
var
|
258629
|
+
var R8;
|
258630
258630
|
function H4() {
|
258631
|
-
if (
|
258631
|
+
if (R8)
|
258632
258632
|
return r$1.exports;
|
258633
|
-
|
258634
|
-
const g5 = S4(), l4 = V5,
|
258633
|
+
R8 = 1;
|
258634
|
+
const g5 = S4(), l4 = V5, p5 = H$2, x7 = F$1(), y4 = a$7();
|
258635
258635
|
|
258636
258636
|
class D3 extends Error {
|
258637
258637
|
constructor(e10, s7) {
|
@@ -258657,7 +258657,7 @@ function H4() {
|
|
258657
258657
|
};
|
258658
258658
|
r$1.exports = (n6, e10, s7) => {
|
258659
258659
|
n6 = y4(n6);
|
258660
|
-
const r6 = e10.umask, c3 = e10.mode | 448, f5 = (c3 & r6) !== 0, t9 = e10.uid, i6 = e10.gid, a7 = typeof t9 == "number" && typeof i6 == "number" && (t9 !== e10.processUid || i6 !== e10.processGid), u6 = e10.preserve,
|
258660
|
+
const r6 = e10.umask, c3 = e10.mode | 448, f5 = (c3 & r6) !== 0, t9 = e10.uid, i6 = e10.gid, a7 = typeof t9 == "number" && typeof i6 == "number" && (t9 !== e10.processUid || i6 !== e10.processGid), u6 = e10.preserve, m8 = e10.unlink, h9 = e10.cache, d6 = y4(e10.cwd), w6 = (k6, o8) => {
|
258661
258661
|
k6 ? s7(k6) : (q7(h9, n6, true), o8 && a7 ? x7(o8, t9, i6, (G4) => w6(G4)) : f5 ? l4.chmod(n6, c3, s7) : s7());
|
258662
258662
|
};
|
258663
258663
|
if (h9 && v6(h9, n6) === true)
|
@@ -258666,21 +258666,21 @@ function H4() {
|
|
258666
258666
|
return I7(n6, w6);
|
258667
258667
|
if (u6)
|
258668
258668
|
return g5(n6, { mode: c3 }).then((k6) => w6(null, k6), w6);
|
258669
|
-
const S5 = y4(
|
258670
|
-
C5(d6, S5, c3, h9,
|
258669
|
+
const S5 = y4(p5.relative(d6, n6)).split("/");
|
258670
|
+
C5(d6, S5, c3, h9, m8, d6, null, w6);
|
258671
258671
|
};
|
258672
258672
|
const C5 = (n6, e10, s7, r6, c3, f5, t9, i6) => {
|
258673
258673
|
if (!e10.length)
|
258674
258674
|
return i6(null, t9);
|
258675
|
-
const a7 = e10.shift(), u6 = y4(
|
258675
|
+
const a7 = e10.shift(), u6 = y4(p5.resolve(n6 + "/" + a7));
|
258676
258676
|
if (v6(r6, u6))
|
258677
258677
|
return C5(u6, e10, s7, r6, c3, f5, t9, i6);
|
258678
258678
|
l4.mkdir(u6, s7, j4(u6, e10, s7, r6, c3, f5, t9, i6));
|
258679
258679
|
}, j4 = (n6, e10, s7, r6, c3, f5, t9, i6) => (a7) => {
|
258680
|
-
a7 ? l4.lstat(n6, (u6,
|
258680
|
+
a7 ? l4.lstat(n6, (u6, m8) => {
|
258681
258681
|
if (u6)
|
258682
258682
|
u6.path = u6.path && y4(u6.path), i6(u6);
|
258683
|
-
else if (
|
258683
|
+
else if (m8.isDirectory())
|
258684
258684
|
C5(n6, e10, s7, r6, c3, f5, t9, i6);
|
258685
258685
|
else if (c3)
|
258686
258686
|
l4.unlink(n6, (h9) => {
|
@@ -258689,7 +258689,7 @@ function H4() {
|
|
258689
258689
|
l4.mkdir(n6, s7, j4(n6, e10, s7, r6, c3, f5, t9, i6));
|
258690
258690
|
});
|
258691
258691
|
else {
|
258692
|
-
if (
|
258692
|
+
if (m8.isSymbolicLink())
|
258693
258693
|
return i6(new D3(n6, n6 + "/" + e10.join("/")));
|
258694
258694
|
i6(a7);
|
258695
258695
|
}
|
@@ -258707,28 +258707,28 @@ function H4() {
|
|
258707
258707
|
};
|
258708
258708
|
return r$1.exports.sync = (n6, e10) => {
|
258709
258709
|
n6 = y4(n6);
|
258710
|
-
const s7 = e10.umask, r6 = e10.mode | 448, c3 = (r6 & s7) !== 0, f5 = e10.uid, t9 = e10.gid, i6 = typeof f5 == "number" && typeof t9 == "number" && (f5 !== e10.processUid || t9 !== e10.processGid), a7 = e10.preserve, u6 = e10.unlink,
|
258711
|
-
q7(
|
258710
|
+
const s7 = e10.umask, r6 = e10.mode | 448, c3 = (r6 & s7) !== 0, f5 = e10.uid, t9 = e10.gid, i6 = typeof f5 == "number" && typeof t9 == "number" && (f5 !== e10.processUid || t9 !== e10.processGid), a7 = e10.preserve, u6 = e10.unlink, m8 = e10.cache, h9 = y4(e10.cwd), d6 = (k6) => {
|
258711
|
+
q7(m8, n6, true), k6 && i6 && x7.sync(k6, f5, t9), c3 && l4.chmodSync(n6, r6);
|
258712
258712
|
};
|
258713
|
-
if (
|
258713
|
+
if (m8 && v6(m8, n6) === true)
|
258714
258714
|
return d6();
|
258715
258715
|
if (n6 === h9)
|
258716
258716
|
return L6(h9), d6();
|
258717
258717
|
if (a7)
|
258718
258718
|
return d6(g5.sync(n6, r6));
|
258719
|
-
const $6 = y4(
|
258719
|
+
const $6 = y4(p5.relative(h9, n6)).split("/");
|
258720
258720
|
let S5 = null;
|
258721
258721
|
for (let k6 = $6.shift(), o8 = h9;k6 && (o8 += "/" + k6); k6 = $6.shift())
|
258722
|
-
if (o8 = y4(
|
258722
|
+
if (o8 = y4(p5.resolve(o8)), !v6(m8, o8))
|
258723
258723
|
try {
|
258724
|
-
l4.mkdirSync(o8, r6), S5 = S5 || o8, q7(
|
258724
|
+
l4.mkdirSync(o8, r6), S5 = S5 || o8, q7(m8, o8, true);
|
258725
258725
|
} catch {
|
258726
258726
|
const M5 = l4.lstatSync(o8);
|
258727
258727
|
if (M5.isDirectory()) {
|
258728
|
-
q7(
|
258728
|
+
q7(m8, o8, true);
|
258729
258729
|
continue;
|
258730
258730
|
} else if (u6) {
|
258731
|
-
l4.unlinkSync(o8), l4.mkdirSync(o8, r6), S5 = S5 || o8, q7(
|
258731
|
+
l4.unlinkSync(o8), l4.mkdirSync(o8, r6), S5 = S5 || o8, q7(m8, o8, true);
|
258732
258732
|
continue;
|
258733
258733
|
} else if (M5.isSymbolicLink())
|
258734
258734
|
return new D3(o8, o8 + "/" + $6.join("/"));
|
@@ -258738,7 +258738,7 @@ function H4() {
|
|
258738
258738
|
}
|
258739
258739
|
var a$2;
|
258740
258740
|
var i6;
|
258741
|
-
function
|
258741
|
+
function p5() {
|
258742
258742
|
if (i6)
|
258743
258743
|
return a$2;
|
258744
258744
|
i6 = 1;
|
@@ -258770,7 +258770,7 @@ function z4() {
|
|
258770
258770
|
if (f$1)
|
258771
258771
|
return u$1;
|
258772
258772
|
f$1 = 1;
|
258773
|
-
const l5 = j$1,
|
258773
|
+
const l5 = j$1, m8 = a$12(), g5 = s7(), { join: d6 } = H$2, q7 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
|
258774
258774
|
return u$1 = () => {
|
258775
258775
|
const i7 = new Map, c3 = new Map, v6 = (e10) => e10.split("/").slice(0, -1).reduce((o8, r6) => (o8.length && (r6 = d6(o8[o8.length - 1], r6)), o8.push(r6 || "/"), o8), []), a8 = new Set, w6 = (e10) => {
|
258776
258776
|
const s8 = c3.get(e10);
|
@@ -258780,7 +258780,7 @@ function z4() {
|
|
258780
258780
|
}, h9 = (e10) => {
|
258781
258781
|
const { paths: s8, dirs: o8 } = w6(e10);
|
258782
258782
|
return s8.every((r6) => r6[0] === e10) && o8.every((r6) => r6[0] instanceof Set && r6[0].has(e10));
|
258783
|
-
},
|
258783
|
+
}, p6 = (e10) => a8.has(e10) || !h9(e10) ? false : (a8.add(e10), e10(() => S5(e10)), true), S5 = (e10) => {
|
258784
258784
|
if (!a8.has(e10))
|
258785
258785
|
return false;
|
258786
258786
|
const { paths: s8, dirs: o8 } = c3.get(e10), r6 = new Set;
|
@@ -258790,10 +258790,10 @@ function z4() {
|
|
258790
258790
|
}), o8.forEach((t9) => {
|
258791
258791
|
const n7 = i7.get(t9);
|
258792
258792
|
l5(n7[0] instanceof Set), n7[0].size === 1 && n7.length === 1 ? i7.delete(t9) : n7[0].size === 1 ? (n7.shift(), r6.add(n7[0])) : n7[0].delete(e10);
|
258793
|
-
}), a8.delete(e10), r6.forEach((t9) =>
|
258793
|
+
}), a8.delete(e10), r6.forEach((t9) => p6(t9)), true;
|
258794
258794
|
};
|
258795
258795
|
return { check: h9, reserve: (e10, s8) => {
|
258796
|
-
e10 = q7 ? ["win32 parallelization disabled"] : e10.map((r6) => g5(d6(
|
258796
|
+
e10 = q7 ? ["win32 parallelization disabled"] : e10.map((r6) => g5(d6(m8(r6))).toLowerCase());
|
258797
258797
|
const o8 = new Set(e10.map((r6) => v6(r6)).reduce((r6, t9) => r6.concat(t9)));
|
258798
258798
|
return c3.set(s8, { dirs: o8, paths: e10 }), e10.forEach((r6) => {
|
258799
258799
|
const t9 = i7.get(r6);
|
@@ -258801,7 +258801,7 @@ function z4() {
|
|
258801
258801
|
}), o8.forEach((r6) => {
|
258802
258802
|
const t9 = i7.get(r6);
|
258803
258803
|
t9 ? t9[t9.length - 1] instanceof Set ? t9[t9.length - 1].add(s8) : t9.push(new Set([s8])) : i7.set(r6, [new Set([s8])]);
|
258804
|
-
}),
|
258804
|
+
}), p6(s8);
|
258805
258805
|
} };
|
258806
258806
|
}, u$1;
|
258807
258807
|
}
|
@@ -258827,8 +258827,8 @@ function F3() {
|
|
258827
258827
|
if (o8)
|
258828
258828
|
return e10;
|
258829
258829
|
o8 = 1;
|
258830
|
-
const t9 = process.env.__FAKE_PLATFORM__ || process.platform, s8 = typeof Bun < "u" ? false : t9 === "win32", n7 = commonjsGlobal.__FAKE_TESTING_FS__ || V5, { O_CREAT: _6, O_TRUNC: a8, O_WRONLY: i7, UV_FS_O_FILEMAP: r6 = 0 } = n7.constants, c4 = s8 && !!r6, f5 = 512 * 1024,
|
258831
|
-
return e10 = c4 ? (l5) => l5 < f5 ?
|
258830
|
+
const t9 = process.env.__FAKE_PLATFORM__ || process.platform, s8 = typeof Bun < "u" ? false : t9 === "win32", n7 = commonjsGlobal.__FAKE_TESTING_FS__ || V5, { O_CREAT: _6, O_TRUNC: a8, O_WRONLY: i7, UV_FS_O_FILEMAP: r6 = 0 } = n7.constants, c4 = s8 && !!r6, f5 = 512 * 1024, p6 = r6 | a8 | _6 | i7;
|
258831
|
+
return e10 = c4 ? (l5) => l5 < f5 ? p6 : "w" : () => "w", e10;
|
258832
258832
|
}
|
258833
258833
|
var G4;
|
258834
258834
|
var y4;
|
@@ -258836,7 +258836,7 @@ function Os() {
|
|
258836
258836
|
if (y4)
|
258837
258837
|
return G4;
|
258838
258838
|
y4 = 1;
|
258839
|
-
const ss = j$1, is = rt4(), r6 = V5, es = X6(), w6 = H$2, M5 = H4(), K4 =
|
258839
|
+
const ss = j$1, is = rt4(), r6 = V5, es = X6(), w6 = H$2, M5 = H4(), K4 = p5(), ts = z4(), os = c3(), l5 = a$7(), rs = s7(), hs = a$12(), H$12 = Symbol("onEntry"), q7 = Symbol("checkFs"), Y4 = Symbol("checkFs2"), v6 = Symbol("pruneCache"), N7 = Symbol("isReusable"), d6 = Symbol("makeFs"), U7 = Symbol("file"), F$12 = Symbol("directory"), O7 = Symbol("link"), B4 = Symbol("symlink"), z$1 = Symbol("hardlink"), W6 = Symbol("unsupported"), j4 = Symbol("checkPath"), b4 = Symbol("mkdir"), m8 = Symbol("onError"), $6 = Symbol("pending"), V$1 = Symbol("pend"), S5 = Symbol("unpend"), P6 = Symbol("ended"), A5 = Symbol("maybeClose"), x7 = Symbol("skip"), E7 = Symbol("doChown"), R9 = Symbol("uid"), _6 = Symbol("gid"), g5 = Symbol("checkedCwd"), X$12 = Ds, J4 = F3(), C5 = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32", cs = 1024, as = (a8, s8) => {
|
258840
258840
|
if (!C5)
|
258841
258841
|
return r6.unlink(a8, s8);
|
258842
258842
|
const i7 = a8 + ".DELETE." + X$12.randomBytes(16).toString("hex");
|
@@ -258864,8 +258864,8 @@ function Os() {
|
|
258864
258864
|
class L6 extends is {
|
258865
258865
|
constructor(s8) {
|
258866
258866
|
if (s8 || (s8 = {}), s8.ondone = (i7) => {
|
258867
|
-
this[
|
258868
|
-
}, super(s8), this[g5] = false, this.reservations = ts(), this.transform = typeof s8.transform == "function" ? s8.transform : null, this.writable = true, this.readable = false, this[$6] = 0, this[
|
258867
|
+
this[P6] = true, this[A5]();
|
258868
|
+
}, super(s8), this[g5] = false, this.reservations = ts(), this.transform = typeof s8.transform == "function" ? s8.transform : null, this.writable = true, this.readable = false, this[$6] = 0, this[P6] = false, this.dirCache = s8.dirCache || new Map, typeof s8.uid == "number" || typeof s8.gid == "number") {
|
258869
258869
|
if (typeof s8.uid != "number" || typeof s8.gid != "number")
|
258870
258870
|
throw new TypeError("cannot set owner without number uid and gid");
|
258871
258871
|
if (s8.preserveOwner)
|
@@ -258879,7 +258879,7 @@ function Os() {
|
|
258879
258879
|
return (s8 === "TAR_BAD_ARCHIVE" || s8 === "TAR_ABORT") && (e11.recoverable = false), super.warn(s8, i7, e11);
|
258880
258880
|
}
|
258881
258881
|
[A5]() {
|
258882
|
-
this[
|
258882
|
+
this[P6] && this[$6] === 0 && (this.emit("prefinish"), this.emit("finish"), this.emit("end"));
|
258883
258883
|
}
|
258884
258884
|
[j4](s8) {
|
258885
258885
|
const i7 = l5(s8.path), e11 = i7.split("/");
|
@@ -258935,7 +258935,7 @@ function Os() {
|
|
258935
258935
|
return this[W6](s8);
|
258936
258936
|
}
|
258937
258937
|
}
|
258938
|
-
[
|
258938
|
+
[m8](s8, i7) {
|
258939
258939
|
s8.name === "CwdError" ? this.emit("error", s8) : (this.warn("TAR_ENTRY_ERROR", s8, { entry: i7 }), this[S5](), i7.resume());
|
258940
258940
|
}
|
258941
258941
|
[b4](s8, i7, e11) {
|
@@ -258944,58 +258944,58 @@ function Os() {
|
|
258944
258944
|
[E7](s8) {
|
258945
258945
|
return this.forceChown || this.preserveOwner && (typeof s8.uid == "number" && s8.uid !== this.processUid || typeof s8.gid == "number" && s8.gid !== this.processGid) || typeof this.uid == "number" && this.uid !== this.processUid || typeof this.gid == "number" && this.gid !== this.processGid;
|
258946
258946
|
}
|
258947
|
-
[
|
258947
|
+
[R9](s8) {
|
258948
258948
|
return Q4(this.uid, s8.uid, this.processUid);
|
258949
258949
|
}
|
258950
258950
|
[_6](s8) {
|
258951
258951
|
return Q4(this.gid, s8.gid, this.processGid);
|
258952
258952
|
}
|
258953
|
-
[
|
258954
|
-
const e11 = s8.mode & 4095 || this.fmode, t9 = new es.WriteStream(s8.absolute, { flags:
|
258953
|
+
[U7](s8, i7) {
|
258954
|
+
const e11 = s8.mode & 4095 || this.fmode, t9 = new es.WriteStream(s8.absolute, { flags: J4(s8.size), mode: e11, autoClose: false });
|
258955
258955
|
t9.on("error", (c4) => {
|
258956
|
-
t9.fd && r6.close(t9.fd, () => {}), t9.write = () => true, this[
|
258956
|
+
t9.fd && r6.close(t9.fd, () => {}), t9.write = () => true, this[m8](c4, s8), i7();
|
258957
258957
|
});
|
258958
258958
|
let o9 = 1;
|
258959
258959
|
const u7 = (c4) => {
|
258960
258960
|
if (c4) {
|
258961
|
-
t9.fd && r6.close(t9.fd, () => {}), this[
|
258961
|
+
t9.fd && r6.close(t9.fd, () => {}), this[m8](c4, s8), i7();
|
258962
258962
|
return;
|
258963
258963
|
}
|
258964
258964
|
--o9 === 0 && r6.close(t9.fd, (n7) => {
|
258965
|
-
n7 ? this[
|
258965
|
+
n7 ? this[m8](n7, s8) : this[S5](), i7();
|
258966
258966
|
});
|
258967
258967
|
};
|
258968
258968
|
t9.on("finish", (c4) => {
|
258969
|
-
const n7 = s8.absolute,
|
258969
|
+
const n7 = s8.absolute, p6 = t9.fd;
|
258970
258970
|
if (s8.mtime && !this.noMtime) {
|
258971
258971
|
o9++;
|
258972
258972
|
const f5 = s8.atime || new Date, k6 = s8.mtime;
|
258973
|
-
r6.futimes(
|
258973
|
+
r6.futimes(p6, f5, k6, (D3) => D3 ? r6.utimes(n7, f5, k6, (I7) => u7(I7 && D3)) : u7());
|
258974
258974
|
}
|
258975
258975
|
if (this[E7](s8)) {
|
258976
258976
|
o9++;
|
258977
|
-
const f5 = this[
|
258978
|
-
r6.fchown(
|
258977
|
+
const f5 = this[R9](s8), k6 = this[_6](s8);
|
258978
|
+
r6.fchown(p6, f5, k6, (D3) => D3 ? r6.chown(n7, f5, k6, (I7) => u7(I7 && D3)) : u7());
|
258979
258979
|
}
|
258980
258980
|
u7();
|
258981
258981
|
});
|
258982
258982
|
const h9 = this.transform && this.transform(s8) || s8;
|
258983
258983
|
h9 !== s8 && (h9.on("error", (c4) => {
|
258984
|
-
this[
|
258984
|
+
this[m8](c4, s8), i7();
|
258985
258985
|
}), s8.pipe(h9)), h9.pipe(t9);
|
258986
258986
|
}
|
258987
258987
|
[F$12](s8, i7) {
|
258988
258988
|
const e11 = s8.mode & 4095 || this.dmode;
|
258989
258989
|
this[b4](s8.absolute, e11, (t9) => {
|
258990
258990
|
if (t9) {
|
258991
|
-
this[
|
258991
|
+
this[m8](t9, s8), i7();
|
258992
258992
|
return;
|
258993
258993
|
}
|
258994
258994
|
let o9 = 1;
|
258995
258995
|
const u7 = (h9) => {
|
258996
258996
|
--o9 === 0 && (i7(), this[S5](), s8.resume());
|
258997
258997
|
};
|
258998
|
-
s8.mtime && !this.noMtime && (o9++, r6.utimes(s8.absolute, s8.atime || new Date, s8.mtime, u7)), this[E7](s8) && (o9++, r6.chown(s8.absolute, this[
|
258998
|
+
s8.mtime && !this.noMtime && (o9++, r6.utimes(s8.absolute, s8.atime || new Date, s8.mtime, u7)), this[E7](s8) && (o9++, r6.chown(s8.absolute, this[R9](s8), this[_6](s8), u7)), u7();
|
258999
258999
|
});
|
259000
259000
|
}
|
259001
259001
|
[W6](s8) {
|
@@ -259017,7 +259017,7 @@ function Os() {
|
|
259017
259017
|
[x7](s8) {
|
259018
259018
|
this[S5](), s8.resume();
|
259019
259019
|
}
|
259020
|
-
[
|
259020
|
+
[N7](s8, i7) {
|
259021
259021
|
return s8.type === "File" && !this.unlink && i7.isFile() && i7.nlink <= 1 && !C5;
|
259022
259022
|
}
|
259023
259023
|
[q7](s8) {
|
@@ -259035,7 +259035,7 @@ function Os() {
|
|
259035
259035
|
}, t9 = () => {
|
259036
259036
|
this[b4](this.cwd, this.dmode, (h9) => {
|
259037
259037
|
if (h9) {
|
259038
|
-
this[
|
259038
|
+
this[m8](h9, s8), e11();
|
259039
259039
|
return;
|
259040
259040
|
}
|
259041
259041
|
this[g5] = true, o9();
|
@@ -259046,7 +259046,7 @@ function Os() {
|
|
259046
259046
|
if (h9 !== this.cwd)
|
259047
259047
|
return this[b4](h9, this.dmode, (c4) => {
|
259048
259048
|
if (c4) {
|
259049
|
-
this[
|
259049
|
+
this[m8](c4, s8), e11();
|
259050
259050
|
return;
|
259051
259051
|
}
|
259052
259052
|
u7();
|
@@ -259059,12 +259059,12 @@ function Os() {
|
|
259059
259059
|
this[x7](s8), e11();
|
259060
259060
|
return;
|
259061
259061
|
}
|
259062
|
-
if (h9 || this[
|
259062
|
+
if (h9 || this[N7](s8, c4))
|
259063
259063
|
return this[d6](null, s8, e11);
|
259064
259064
|
if (c4.isDirectory()) {
|
259065
259065
|
if (s8.type === "Directory") {
|
259066
|
-
const n7 = !this.noChmod && s8.mode && (c4.mode & 4095) !== s8.mode,
|
259067
|
-
return n7 ? r6.chmod(s8.absolute, s8.mode,
|
259066
|
+
const n7 = !this.noChmod && s8.mode && (c4.mode & 4095) !== s8.mode, p6 = (f5) => this[d6](f5, s8, e11);
|
259067
|
+
return n7 ? r6.chmod(s8.absolute, s8.mode, p6) : p6();
|
259068
259068
|
}
|
259069
259069
|
if (s8.absolute !== this.cwd)
|
259070
259070
|
return r6.rmdir(s8.absolute, (n7) => this[d6](n7, s8, e11));
|
@@ -259078,14 +259078,14 @@ function Os() {
|
|
259078
259078
|
}
|
259079
259079
|
[d6](s8, i7, e11) {
|
259080
259080
|
if (s8) {
|
259081
|
-
this[
|
259081
|
+
this[m8](s8, i7), e11();
|
259082
259082
|
return;
|
259083
259083
|
}
|
259084
259084
|
switch (i7.type) {
|
259085
259085
|
case "File":
|
259086
259086
|
case "OldFile":
|
259087
259087
|
case "ContiguousFile":
|
259088
|
-
return this[
|
259088
|
+
return this[U7](i7, e11);
|
259089
259089
|
case "Link":
|
259090
259090
|
return this[z$1](i7, e11);
|
259091
259091
|
case "SymbolicLink":
|
@@ -259097,7 +259097,7 @@ function Os() {
|
|
259097
259097
|
}
|
259098
259098
|
[O7](s8, i7, e11, t9) {
|
259099
259099
|
r6[e11](i7, s8.absolute, (o9) => {
|
259100
|
-
o9 ? this[
|
259100
|
+
o9 ? this[m8](o9, s8) : (this[S5](), s8.resume()), t9();
|
259101
259101
|
});
|
259102
259102
|
}
|
259103
259103
|
}
|
@@ -259117,7 +259117,7 @@ function Os() {
|
|
259117
259117
|
if (this[v6](s8), !this[g5]) {
|
259118
259118
|
const o9 = this[b4](this.cwd, this.dmode);
|
259119
259119
|
if (o9)
|
259120
|
-
return this[
|
259120
|
+
return this[m8](o9, s8);
|
259121
259121
|
this[g5] = true;
|
259122
259122
|
}
|
259123
259123
|
if (s8.absolute !== this.cwd) {
|
@@ -259125,13 +259125,13 @@ function Os() {
|
|
259125
259125
|
if (o9 !== this.cwd) {
|
259126
259126
|
const u7 = this[b4](o9, this.dmode);
|
259127
259127
|
if (u7)
|
259128
|
-
return this[
|
259128
|
+
return this[m8](u7, s8);
|
259129
259129
|
}
|
259130
259130
|
}
|
259131
259131
|
const [i7, e11] = T5(() => r6.lstatSync(s8.absolute));
|
259132
259132
|
if (e11 && (this.keep || this.newer && e11.mtime > s8.mtime))
|
259133
259133
|
return this[x7](s8);
|
259134
|
-
if (i7 || this[
|
259134
|
+
if (i7 || this[N7](s8, e11))
|
259135
259135
|
return this[d6](null, s8);
|
259136
259136
|
if (e11.isDirectory()) {
|
259137
259137
|
if (s8.type === "Directory") {
|
@@ -259146,7 +259146,7 @@ function Os() {
|
|
259146
259146
|
const [t9] = s8.absolute === this.cwd ? [] : T5(() => us(s8.absolute));
|
259147
259147
|
this[d6](t9, s8);
|
259148
259148
|
}
|
259149
|
-
[
|
259149
|
+
[U7](s8, i7) {
|
259150
259150
|
const e11 = s8.mode & 4095 || this.fmode, t9 = (h9) => {
|
259151
259151
|
let c4;
|
259152
259152
|
try {
|
@@ -259154,16 +259154,16 @@ function Os() {
|
|
259154
259154
|
} catch (n7) {
|
259155
259155
|
c4 = n7;
|
259156
259156
|
}
|
259157
|
-
(h9 || c4) && this[
|
259157
|
+
(h9 || c4) && this[m8](h9 || c4, s8), i7();
|
259158
259158
|
};
|
259159
259159
|
let o9;
|
259160
259160
|
try {
|
259161
|
-
o9 = r6.openSync(s8.absolute,
|
259161
|
+
o9 = r6.openSync(s8.absolute, J4(s8.size), e11);
|
259162
259162
|
} catch (h9) {
|
259163
259163
|
return t9(h9);
|
259164
259164
|
}
|
259165
259165
|
const u7 = this.transform && this.transform(s8) || s8;
|
259166
|
-
u7 !== s8 && (u7.on("error", (h9) => this[
|
259166
|
+
u7 !== s8 && (u7.on("error", (h9) => this[m8](h9, s8)), s8.pipe(u7)), u7.on("data", (h9) => {
|
259167
259167
|
try {
|
259168
259168
|
r6.writeSync(o9, h9, 0, h9.length);
|
259169
259169
|
} catch (c4) {
|
@@ -259172,24 +259172,24 @@ function Os() {
|
|
259172
259172
|
}), u7.on("end", (h9) => {
|
259173
259173
|
let c4 = null;
|
259174
259174
|
if (s8.mtime && !this.noMtime) {
|
259175
|
-
const n7 = s8.atime || new Date,
|
259175
|
+
const n7 = s8.atime || new Date, p6 = s8.mtime;
|
259176
259176
|
try {
|
259177
|
-
r6.futimesSync(o9, n7,
|
259177
|
+
r6.futimesSync(o9, n7, p6);
|
259178
259178
|
} catch (f5) {
|
259179
259179
|
try {
|
259180
|
-
r6.utimesSync(s8.absolute, n7,
|
259180
|
+
r6.utimesSync(s8.absolute, n7, p6);
|
259181
259181
|
} catch {
|
259182
259182
|
c4 = f5;
|
259183
259183
|
}
|
259184
259184
|
}
|
259185
259185
|
}
|
259186
259186
|
if (this[E7](s8)) {
|
259187
|
-
const n7 = this[
|
259187
|
+
const n7 = this[R9](s8), p6 = this[_6](s8);
|
259188
259188
|
try {
|
259189
|
-
r6.fchownSync(o9, n7,
|
259189
|
+
r6.fchownSync(o9, n7, p6);
|
259190
259190
|
} catch (f5) {
|
259191
259191
|
try {
|
259192
|
-
r6.chownSync(s8.absolute, n7,
|
259192
|
+
r6.chownSync(s8.absolute, n7, p6);
|
259193
259193
|
} catch {
|
259194
259194
|
c4 = c4 || f5;
|
259195
259195
|
}
|
@@ -259201,7 +259201,7 @@ function Os() {
|
|
259201
259201
|
[F$12](s8, i7) {
|
259202
259202
|
const e11 = s8.mode & 4095 || this.dmode, t9 = this[b4](s8.absolute, e11);
|
259203
259203
|
if (t9) {
|
259204
|
-
this[
|
259204
|
+
this[m8](t9, s8), i7();
|
259205
259205
|
return;
|
259206
259206
|
}
|
259207
259207
|
if (s8.mtime && !this.noMtime)
|
@@ -259210,7 +259210,7 @@ function Os() {
|
|
259210
259210
|
} catch {}
|
259211
259211
|
if (this[E7](s8))
|
259212
259212
|
try {
|
259213
|
-
r6.chownSync(s8.absolute, this[
|
259213
|
+
r6.chownSync(s8.absolute, this[R9](s8), this[_6](s8));
|
259214
259214
|
} catch {}
|
259215
259215
|
i7(), s8.resume();
|
259216
259216
|
}
|
@@ -259225,7 +259225,7 @@ function Os() {
|
|
259225
259225
|
try {
|
259226
259226
|
r6[e11 + "Sync"](i7, s8.absolute), t9(), s8.resume();
|
259227
259227
|
} catch (o9) {
|
259228
|
-
return this[
|
259228
|
+
return this[m8](o9, s8);
|
259229
259229
|
}
|
259230
259230
|
}
|
259231
259231
|
}
|
@@ -259237,7 +259237,7 @@ function v6() {
|
|
259237
259237
|
if (q7)
|
259238
259238
|
return f5;
|
259239
259239
|
q7 = 1;
|
259240
|
-
const w6 = s$6(), u7 = Os(),
|
259240
|
+
const w6 = s$6(), u7 = Os(), p6 = V5, y5 = X6(), l5 = H$2, m8 = s7();
|
259241
259241
|
f5 = (r6, e11, o9) => {
|
259242
259242
|
typeof r6 == "function" ? (o9 = r6, e11 = null, r6 = {}) : Array.isArray(r6) && (e11 = r6, r6 = {}), typeof e11 == "function" && (o9 = e11, e11 = null), e11 ? e11 = Array.from(e11) : e11 = [];
|
259243
259243
|
const t9 = w6(r6);
|
@@ -259248,21 +259248,21 @@ function v6() {
|
|
259248
259248
|
return e11.length && d6(t9, e11), t9.file && t9.sync ? $6(t9) : t9.file ? h9(t9, o9) : t9.sync ? x7(t9) : z5(t9);
|
259249
259249
|
};
|
259250
259250
|
const d6 = (r6, e11) => {
|
259251
|
-
const o9 = new Map(e11.map((n7) => [
|
259251
|
+
const o9 = new Map(e11.map((n7) => [m8(n7), true])), t9 = r6.filter, s8 = (n7, i7) => {
|
259252
259252
|
const a8 = i7 || l5.parse(n7).root || ".", c4 = n7 === a8 ? false : o9.has(n7) ? o9.get(n7) : s8(l5.dirname(n7), a8);
|
259253
259253
|
return o9.set(n7, c4), c4;
|
259254
259254
|
};
|
259255
|
-
r6.filter = t9 ? (n7, i7) => t9(n7, i7) && s8(
|
259255
|
+
r6.filter = t9 ? (n7, i7) => t9(n7, i7) && s8(m8(n7)) : (n7) => s8(m8(n7));
|
259256
259256
|
}, $6 = (r6) => {
|
259257
|
-
const e11 = new u7.Sync(r6), o9 = r6.file, t9 =
|
259257
|
+
const e11 = new u7.Sync(r6), o9 = r6.file, t9 = p6.statSync(o9), s8 = r6.maxReadSize || 16 * 1024 * 1024;
|
259258
259258
|
new y5.ReadStreamSync(o9, { readSize: s8, size: t9.size }).pipe(e11);
|
259259
259259
|
}, h9 = (r6, e11) => {
|
259260
259260
|
const o9 = new u7(r6), t9 = r6.maxReadSize || 16 * 1024 * 1024, s8 = r6.file, n7 = new Promise((i7, a8) => {
|
259261
|
-
o9.on("error", a8), o9.on("close", i7),
|
259261
|
+
o9.on("error", a8), o9.on("close", i7), p6.stat(s8, (c4, R9) => {
|
259262
259262
|
if (c4)
|
259263
259263
|
a8(c4);
|
259264
259264
|
else {
|
259265
|
-
const S5 = new y5.ReadStream(s8, { readSize: t9, size:
|
259265
|
+
const S5 = new y5.ReadStream(s8, { readSize: t9, size: R9.size });
|
259266
259266
|
S5.on("error", a8), S5.pipe(o9);
|
259267
259267
|
}
|
259268
259268
|
});
|
@@ -259299,11 +259299,11 @@ async function download(url, filePath, options = {}) {
|
|
259299
259299
|
}
|
259300
259300
|
var inputRegex = /^(?<repo>[\w.-]+\/[\w.-]+)(?<subdir>[^#]+)?(?<ref>#[\w./@-]+)?/;
|
259301
259301
|
function parseGitURI(input) {
|
259302
|
-
const
|
259302
|
+
const m8 = input.match(inputRegex)?.groups || {};
|
259303
259303
|
return {
|
259304
|
-
repo:
|
259305
|
-
subdir:
|
259306
|
-
ref:
|
259304
|
+
repo: m8.repo,
|
259305
|
+
subdir: m8.subdir || "/",
|
259306
|
+
ref: m8.ref ? m8.ref.slice(1) : "main"
|
259307
259307
|
};
|
259308
259308
|
}
|
259309
259309
|
function debug2(...args) {
|
@@ -263661,4 +263661,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
263661
263661
|
// src/cli.ts
|
263662
263662
|
sdkCliCommand();
|
263663
263663
|
|
263664
|
-
//# debugId=
|
263664
|
+
//# debugId=6EB33BE09952DFE364756E2164756E21
|