piral-cli 1.12.1-beta.05369e5 → 1.12.1-beta.13625b5
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/lib/external/index.js +452 -814
- package/package.json +1 -1
package/lib/external/index.js
CHANGED
|
@@ -3947,15 +3947,15 @@ var require_color_convert = __commonJS({
|
|
|
3947
3947
|
var require_ansi_styles = __commonJS({
|
|
3948
3948
|
"../../../node_modules/ansi-styles/index.js"(exports2, module2) {
|
|
3949
3949
|
"use strict";
|
|
3950
|
-
var
|
|
3950
|
+
var wrapAnsi163 = (fn, offset) => (...args) => {
|
|
3951
3951
|
const code = fn(...args);
|
|
3952
3952
|
return `\x1B[${code + offset}m`;
|
|
3953
3953
|
};
|
|
3954
|
-
var
|
|
3954
|
+
var wrapAnsi2563 = (fn, offset) => (...args) => {
|
|
3955
3955
|
const code = fn(...args);
|
|
3956
3956
|
return `\x1B[${38 + offset};5;${code}m`;
|
|
3957
3957
|
};
|
|
3958
|
-
var
|
|
3958
|
+
var wrapAnsi16m3 = (fn, offset) => (...args) => {
|
|
3959
3959
|
const rgb = fn(...args);
|
|
3960
3960
|
return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
|
|
3961
3961
|
};
|
|
@@ -3982,20 +3982,20 @@ var require_ansi_styles = __commonJS({
|
|
|
3982
3982
|
colorConvert = require_color_convert();
|
|
3983
3983
|
}
|
|
3984
3984
|
const offset = isBackground ? 10 : 0;
|
|
3985
|
-
const
|
|
3985
|
+
const styles5 = {};
|
|
3986
3986
|
for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
|
|
3987
3987
|
const name = sourceSpace === "ansi16" ? "ansi" : sourceSpace;
|
|
3988
3988
|
if (sourceSpace === targetSpace) {
|
|
3989
|
-
|
|
3989
|
+
styles5[name] = wrap2(identity, offset);
|
|
3990
3990
|
} else if (typeof suite === "object") {
|
|
3991
|
-
|
|
3991
|
+
styles5[name] = wrap2(suite[targetSpace], offset);
|
|
3992
3992
|
}
|
|
3993
3993
|
}
|
|
3994
|
-
return
|
|
3994
|
+
return styles5;
|
|
3995
3995
|
};
|
|
3996
|
-
function
|
|
3996
|
+
function assembleStyles3() {
|
|
3997
3997
|
const codes2 = /* @__PURE__ */ new Map();
|
|
3998
|
-
const
|
|
3998
|
+
const styles5 = {
|
|
3999
3999
|
modifier: {
|
|
4000
4000
|
reset: [0, 0],
|
|
4001
4001
|
// 21 isn't widely supported and 22 does the same thing
|
|
@@ -4046,52 +4046,52 @@ var require_ansi_styles = __commonJS({
|
|
|
4046
4046
|
bgWhiteBright: [107, 49]
|
|
4047
4047
|
}
|
|
4048
4048
|
};
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
for (const [groupName, group] of Object.entries(
|
|
4049
|
+
styles5.color.gray = styles5.color.blackBright;
|
|
4050
|
+
styles5.bgColor.bgGray = styles5.bgColor.bgBlackBright;
|
|
4051
|
+
styles5.color.grey = styles5.color.blackBright;
|
|
4052
|
+
styles5.bgColor.bgGrey = styles5.bgColor.bgBlackBright;
|
|
4053
|
+
for (const [groupName, group] of Object.entries(styles5)) {
|
|
4054
4054
|
for (const [styleName, style] of Object.entries(group)) {
|
|
4055
|
-
|
|
4055
|
+
styles5[styleName] = {
|
|
4056
4056
|
open: `\x1B[${style[0]}m`,
|
|
4057
4057
|
close: `\x1B[${style[1]}m`
|
|
4058
4058
|
};
|
|
4059
|
-
group[styleName] =
|
|
4059
|
+
group[styleName] = styles5[styleName];
|
|
4060
4060
|
codes2.set(style[0], style[1]);
|
|
4061
4061
|
}
|
|
4062
|
-
Object.defineProperty(
|
|
4062
|
+
Object.defineProperty(styles5, groupName, {
|
|
4063
4063
|
value: group,
|
|
4064
4064
|
enumerable: false
|
|
4065
4065
|
});
|
|
4066
4066
|
}
|
|
4067
|
-
Object.defineProperty(
|
|
4067
|
+
Object.defineProperty(styles5, "codes", {
|
|
4068
4068
|
value: codes2,
|
|
4069
4069
|
enumerable: false
|
|
4070
4070
|
});
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
setLazyProperty(
|
|
4074
|
-
setLazyProperty(
|
|
4075
|
-
setLazyProperty(
|
|
4076
|
-
setLazyProperty(
|
|
4077
|
-
setLazyProperty(
|
|
4078
|
-
setLazyProperty(
|
|
4079
|
-
return
|
|
4071
|
+
styles5.color.close = "\x1B[39m";
|
|
4072
|
+
styles5.bgColor.close = "\x1B[49m";
|
|
4073
|
+
setLazyProperty(styles5.color, "ansi", () => makeDynamicStyles(wrapAnsi163, "ansi16", ansi2ansi, false));
|
|
4074
|
+
setLazyProperty(styles5.color, "ansi256", () => makeDynamicStyles(wrapAnsi2563, "ansi256", ansi2ansi, false));
|
|
4075
|
+
setLazyProperty(styles5.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m3, "rgb", rgb2rgb, false));
|
|
4076
|
+
setLazyProperty(styles5.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi163, "ansi16", ansi2ansi, true));
|
|
4077
|
+
setLazyProperty(styles5.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi2563, "ansi256", ansi2ansi, true));
|
|
4078
|
+
setLazyProperty(styles5.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m3, "rgb", rgb2rgb, true));
|
|
4079
|
+
return styles5;
|
|
4080
4080
|
}
|
|
4081
4081
|
Object.defineProperty(module2, "exports", {
|
|
4082
4082
|
enumerable: true,
|
|
4083
|
-
get:
|
|
4083
|
+
get: assembleStyles3
|
|
4084
4084
|
});
|
|
4085
4085
|
}
|
|
4086
4086
|
});
|
|
4087
4087
|
|
|
4088
|
-
//
|
|
4088
|
+
// node_modules/wrap-ansi/index.js
|
|
4089
4089
|
var require_wrap_ansi = __commonJS({
|
|
4090
|
-
"
|
|
4090
|
+
"node_modules/wrap-ansi/index.js"(exports2, module2) {
|
|
4091
4091
|
"use strict";
|
|
4092
4092
|
var stringWidth2 = require_string_width();
|
|
4093
4093
|
var stripAnsi2 = require_strip_ansi();
|
|
4094
|
-
var
|
|
4094
|
+
var ansiStyles3 = require_ansi_styles();
|
|
4095
4095
|
var ESCAPES = /* @__PURE__ */ new Set([
|
|
4096
4096
|
"\x1B",
|
|
4097
4097
|
"\x9B"
|
|
@@ -4201,7 +4201,7 @@ var require_wrap_ansi = __commonJS({
|
|
|
4201
4201
|
const code2 = parseFloat(/\d[^m]*/.exec(pre.slice(index, index + 4)));
|
|
4202
4202
|
escapeCode = code2 === END_CODE ? null : code2;
|
|
4203
4203
|
}
|
|
4204
|
-
const code =
|
|
4204
|
+
const code = ansiStyles3.codes.get(Number(escapeCode));
|
|
4205
4205
|
if (escapeCode && code) {
|
|
4206
4206
|
if (pre[index + 1] === "\n") {
|
|
4207
4207
|
ret += wrapAnsi2(code);
|
|
@@ -19849,10 +19849,10 @@ var require_ms = __commonJS({
|
|
|
19849
19849
|
}
|
|
19850
19850
|
});
|
|
19851
19851
|
|
|
19852
|
-
// ../../../node_modules/
|
|
19852
|
+
// ../../../node_modules/https-proxy-agent/node_modules/debug/src/common.js
|
|
19853
19853
|
var require_common2 = __commonJS({
|
|
19854
|
-
"../../../node_modules/
|
|
19855
|
-
function setup(
|
|
19854
|
+
"../../../node_modules/https-proxy-agent/node_modules/debug/src/common.js"(exports2, module2) {
|
|
19855
|
+
function setup(env3) {
|
|
19856
19856
|
createDebug.debug = createDebug;
|
|
19857
19857
|
createDebug.default = createDebug;
|
|
19858
19858
|
createDebug.coerce = coerce;
|
|
@@ -19861,8 +19861,8 @@ var require_common2 = __commonJS({
|
|
|
19861
19861
|
createDebug.enabled = enabled;
|
|
19862
19862
|
createDebug.humanize = require_ms();
|
|
19863
19863
|
createDebug.destroy = destroy;
|
|
19864
|
-
Object.keys(
|
|
19865
|
-
createDebug[key] =
|
|
19864
|
+
Object.keys(env3).forEach((key) => {
|
|
19865
|
+
createDebug[key] = env3[key];
|
|
19866
19866
|
});
|
|
19867
19867
|
createDebug.names = [];
|
|
19868
19868
|
createDebug.skips = [];
|
|
@@ -20026,9 +20026,9 @@ var require_common2 = __commonJS({
|
|
|
20026
20026
|
}
|
|
20027
20027
|
});
|
|
20028
20028
|
|
|
20029
|
-
// ../../../node_modules/
|
|
20029
|
+
// ../../../node_modules/https-proxy-agent/node_modules/debug/src/browser.js
|
|
20030
20030
|
var require_browser = __commonJS({
|
|
20031
|
-
"../../../node_modules/
|
|
20031
|
+
"../../../node_modules/https-proxy-agent/node_modules/debug/src/browser.js"(exports2, module2) {
|
|
20032
20032
|
exports2.formatArgs = formatArgs;
|
|
20033
20033
|
exports2.save = save;
|
|
20034
20034
|
exports2.load = load3;
|
|
@@ -20213,26 +20213,26 @@ var require_has_flag = __commonJS({
|
|
|
20213
20213
|
var require_supports_color = __commonJS({
|
|
20214
20214
|
"../../../node_modules/supports-color/index.js"(exports2, module2) {
|
|
20215
20215
|
"use strict";
|
|
20216
|
-
var
|
|
20217
|
-
var
|
|
20218
|
-
var
|
|
20219
|
-
var { env:
|
|
20216
|
+
var os6 = require("os");
|
|
20217
|
+
var tty3 = require("tty");
|
|
20218
|
+
var hasFlag3 = require_has_flag();
|
|
20219
|
+
var { env: env3 } = process;
|
|
20220
20220
|
var forceColor;
|
|
20221
|
-
if (
|
|
20221
|
+
if (hasFlag3("no-color") || hasFlag3("no-colors") || hasFlag3("color=false") || hasFlag3("color=never")) {
|
|
20222
20222
|
forceColor = 0;
|
|
20223
|
-
} else if (
|
|
20223
|
+
} else if (hasFlag3("color") || hasFlag3("colors") || hasFlag3("color=true") || hasFlag3("color=always")) {
|
|
20224
20224
|
forceColor = 1;
|
|
20225
20225
|
}
|
|
20226
|
-
if ("FORCE_COLOR" in
|
|
20227
|
-
if (
|
|
20226
|
+
if ("FORCE_COLOR" in env3) {
|
|
20227
|
+
if (env3.FORCE_COLOR === "true") {
|
|
20228
20228
|
forceColor = 1;
|
|
20229
|
-
} else if (
|
|
20229
|
+
} else if (env3.FORCE_COLOR === "false") {
|
|
20230
20230
|
forceColor = 0;
|
|
20231
20231
|
} else {
|
|
20232
|
-
forceColor =
|
|
20232
|
+
forceColor = env3.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env3.FORCE_COLOR, 10), 3);
|
|
20233
20233
|
}
|
|
20234
20234
|
}
|
|
20235
|
-
function
|
|
20235
|
+
function translateLevel3(level) {
|
|
20236
20236
|
if (level === 0) {
|
|
20237
20237
|
return false;
|
|
20238
20238
|
}
|
|
@@ -20243,78 +20243,78 @@ var require_supports_color = __commonJS({
|
|
|
20243
20243
|
has16m: level >= 3
|
|
20244
20244
|
};
|
|
20245
20245
|
}
|
|
20246
|
-
function
|
|
20246
|
+
function supportsColor3(haveStream, streamIsTTY) {
|
|
20247
20247
|
if (forceColor === 0) {
|
|
20248
20248
|
return 0;
|
|
20249
20249
|
}
|
|
20250
|
-
if (
|
|
20250
|
+
if (hasFlag3("color=16m") || hasFlag3("color=full") || hasFlag3("color=truecolor")) {
|
|
20251
20251
|
return 3;
|
|
20252
20252
|
}
|
|
20253
|
-
if (
|
|
20253
|
+
if (hasFlag3("color=256")) {
|
|
20254
20254
|
return 2;
|
|
20255
20255
|
}
|
|
20256
20256
|
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
20257
20257
|
return 0;
|
|
20258
20258
|
}
|
|
20259
20259
|
const min = forceColor || 0;
|
|
20260
|
-
if (
|
|
20260
|
+
if (env3.TERM === "dumb") {
|
|
20261
20261
|
return min;
|
|
20262
20262
|
}
|
|
20263
20263
|
if (process.platform === "win32") {
|
|
20264
|
-
const osRelease =
|
|
20264
|
+
const osRelease = os6.release().split(".");
|
|
20265
20265
|
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
20266
20266
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
20267
20267
|
}
|
|
20268
20268
|
return 1;
|
|
20269
20269
|
}
|
|
20270
|
-
if ("CI" in
|
|
20271
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in
|
|
20270
|
+
if ("CI" in env3) {
|
|
20271
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env3) || env3.CI_NAME === "codeship") {
|
|
20272
20272
|
return 1;
|
|
20273
20273
|
}
|
|
20274
20274
|
return min;
|
|
20275
20275
|
}
|
|
20276
|
-
if ("TEAMCITY_VERSION" in
|
|
20277
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(
|
|
20276
|
+
if ("TEAMCITY_VERSION" in env3) {
|
|
20277
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env3.TEAMCITY_VERSION) ? 1 : 0;
|
|
20278
20278
|
}
|
|
20279
|
-
if (
|
|
20279
|
+
if (env3.COLORTERM === "truecolor") {
|
|
20280
20280
|
return 3;
|
|
20281
20281
|
}
|
|
20282
|
-
if ("TERM_PROGRAM" in
|
|
20283
|
-
const version = parseInt((
|
|
20284
|
-
switch (
|
|
20282
|
+
if ("TERM_PROGRAM" in env3) {
|
|
20283
|
+
const version = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
20284
|
+
switch (env3.TERM_PROGRAM) {
|
|
20285
20285
|
case "iTerm.app":
|
|
20286
20286
|
return version >= 3 ? 3 : 2;
|
|
20287
20287
|
case "Apple_Terminal":
|
|
20288
20288
|
return 2;
|
|
20289
20289
|
}
|
|
20290
20290
|
}
|
|
20291
|
-
if (/-256(color)?$/i.test(
|
|
20291
|
+
if (/-256(color)?$/i.test(env3.TERM)) {
|
|
20292
20292
|
return 2;
|
|
20293
20293
|
}
|
|
20294
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(
|
|
20294
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env3.TERM)) {
|
|
20295
20295
|
return 1;
|
|
20296
20296
|
}
|
|
20297
|
-
if ("COLORTERM" in
|
|
20297
|
+
if ("COLORTERM" in env3) {
|
|
20298
20298
|
return 1;
|
|
20299
20299
|
}
|
|
20300
20300
|
return min;
|
|
20301
20301
|
}
|
|
20302
20302
|
function getSupportLevel(stream5) {
|
|
20303
|
-
const level =
|
|
20304
|
-
return
|
|
20303
|
+
const level = supportsColor3(stream5, stream5 && stream5.isTTY);
|
|
20304
|
+
return translateLevel3(level);
|
|
20305
20305
|
}
|
|
20306
20306
|
module2.exports = {
|
|
20307
20307
|
supportsColor: getSupportLevel,
|
|
20308
|
-
stdout:
|
|
20309
|
-
stderr:
|
|
20308
|
+
stdout: translateLevel3(supportsColor3(true, tty3.isatty(1))),
|
|
20309
|
+
stderr: translateLevel3(supportsColor3(true, tty3.isatty(2)))
|
|
20310
20310
|
};
|
|
20311
20311
|
}
|
|
20312
20312
|
});
|
|
20313
20313
|
|
|
20314
|
-
// ../../../node_modules/
|
|
20314
|
+
// ../../../node_modules/https-proxy-agent/node_modules/debug/src/node.js
|
|
20315
20315
|
var require_node = __commonJS({
|
|
20316
|
-
"../../../node_modules/
|
|
20317
|
-
var
|
|
20316
|
+
"../../../node_modules/https-proxy-agent/node_modules/debug/src/node.js"(exports2, module2) {
|
|
20317
|
+
var tty3 = require("tty");
|
|
20318
20318
|
var util4 = require("util");
|
|
20319
20319
|
exports2.init = init;
|
|
20320
20320
|
exports2.log = log;
|
|
@@ -20329,8 +20329,8 @@ var require_node = __commonJS({
|
|
|
20329
20329
|
);
|
|
20330
20330
|
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
20331
20331
|
try {
|
|
20332
|
-
const
|
|
20333
|
-
if (
|
|
20332
|
+
const supportsColor3 = require_supports_color();
|
|
20333
|
+
if (supportsColor3 && (supportsColor3.stderr || supportsColor3).level >= 2) {
|
|
20334
20334
|
exports2.colors = [
|
|
20335
20335
|
20,
|
|
20336
20336
|
21,
|
|
@@ -20432,7 +20432,7 @@ var require_node = __commonJS({
|
|
|
20432
20432
|
return obj;
|
|
20433
20433
|
}, {});
|
|
20434
20434
|
function useColors() {
|
|
20435
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) :
|
|
20435
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty3.isatty(process.stderr.fd);
|
|
20436
20436
|
}
|
|
20437
20437
|
function formatArgs(args) {
|
|
20438
20438
|
const { namespace: name, useColors: useColors2 } = this;
|
|
@@ -20485,9 +20485,9 @@ var require_node = __commonJS({
|
|
|
20485
20485
|
}
|
|
20486
20486
|
});
|
|
20487
20487
|
|
|
20488
|
-
// ../../../node_modules/
|
|
20488
|
+
// ../../../node_modules/https-proxy-agent/node_modules/debug/src/index.js
|
|
20489
20489
|
var require_src = __commonJS({
|
|
20490
|
-
"../../../node_modules/
|
|
20490
|
+
"../../../node_modules/https-proxy-agent/node_modules/debug/src/index.js"(exports2, module2) {
|
|
20491
20491
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
20492
20492
|
module2.exports = require_browser();
|
|
20493
20493
|
} else {
|
|
@@ -20496,9 +20496,9 @@ var require_src = __commonJS({
|
|
|
20496
20496
|
}
|
|
20497
20497
|
});
|
|
20498
20498
|
|
|
20499
|
-
// ../../../node_modules/
|
|
20499
|
+
// ../../../node_modules/https-proxy-agent/node_modules/agent-base/dist/src/promisify.js
|
|
20500
20500
|
var require_promisify = __commonJS({
|
|
20501
|
-
"../../../node_modules/
|
|
20501
|
+
"../../../node_modules/https-proxy-agent/node_modules/agent-base/dist/src/promisify.js"(exports2) {
|
|
20502
20502
|
"use strict";
|
|
20503
20503
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
20504
20504
|
function promisify(fn) {
|
|
@@ -20518,9 +20518,9 @@ var require_promisify = __commonJS({
|
|
|
20518
20518
|
}
|
|
20519
20519
|
});
|
|
20520
20520
|
|
|
20521
|
-
// ../../../node_modules/
|
|
20521
|
+
// ../../../node_modules/https-proxy-agent/node_modules/agent-base/dist/src/index.js
|
|
20522
20522
|
var require_src2 = __commonJS({
|
|
20523
|
-
"../../../node_modules/
|
|
20523
|
+
"../../../node_modules/https-proxy-agent/node_modules/agent-base/dist/src/index.js"(exports2, module2) {
|
|
20524
20524
|
"use strict";
|
|
20525
20525
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
20526
20526
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -20701,9 +20701,9 @@ var require_src2 = __commonJS({
|
|
|
20701
20701
|
}
|
|
20702
20702
|
});
|
|
20703
20703
|
|
|
20704
|
-
// ../../../node_modules/
|
|
20704
|
+
// ../../../node_modules/https-proxy-agent/dist/parse-proxy-response.js
|
|
20705
20705
|
var require_parse_proxy_response = __commonJS({
|
|
20706
|
-
"../../../node_modules/
|
|
20706
|
+
"../../../node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports2) {
|
|
20707
20707
|
"use strict";
|
|
20708
20708
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
20709
20709
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -20767,9 +20767,9 @@ var require_parse_proxy_response = __commonJS({
|
|
|
20767
20767
|
}
|
|
20768
20768
|
});
|
|
20769
20769
|
|
|
20770
|
-
// ../../../node_modules/
|
|
20770
|
+
// ../../../node_modules/https-proxy-agent/dist/agent.js
|
|
20771
20771
|
var require_agent = __commonJS({
|
|
20772
|
-
"../../../node_modules/
|
|
20772
|
+
"../../../node_modules/https-proxy-agent/dist/agent.js"(exports2) {
|
|
20773
20773
|
"use strict";
|
|
20774
20774
|
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P2, generator) {
|
|
20775
20775
|
function adopt(value) {
|
|
@@ -20927,9 +20927,9 @@ var require_agent = __commonJS({
|
|
|
20927
20927
|
}
|
|
20928
20928
|
});
|
|
20929
20929
|
|
|
20930
|
-
// ../../../node_modules/
|
|
20930
|
+
// ../../../node_modules/https-proxy-agent/dist/index.js
|
|
20931
20931
|
var require_dist = __commonJS({
|
|
20932
|
-
"../../../node_modules/
|
|
20932
|
+
"../../../node_modules/https-proxy-agent/dist/index.js"(exports2, module2) {
|
|
20933
20933
|
"use strict";
|
|
20934
20934
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
20935
20935
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -21242,7 +21242,7 @@ var require_browser2 = __commonJS({
|
|
|
21242
21242
|
// ../../../node_modules/debug/src/node.js
|
|
21243
21243
|
var require_node2 = __commonJS({
|
|
21244
21244
|
"../../../node_modules/debug/src/node.js"(exports2, module2) {
|
|
21245
|
-
var
|
|
21245
|
+
var tty3 = require("tty");
|
|
21246
21246
|
var util4 = require("util");
|
|
21247
21247
|
exports2 = module2.exports = require_debug();
|
|
21248
21248
|
exports2.init = init;
|
|
@@ -21273,7 +21273,7 @@ var require_node2 = __commonJS({
|
|
|
21273
21273
|
}
|
|
21274
21274
|
var stream5 = 1 === fd ? process.stdout : 2 === fd ? process.stderr : createWritableStdioStream(fd);
|
|
21275
21275
|
function useColors() {
|
|
21276
|
-
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) :
|
|
21276
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty3.isatty(fd);
|
|
21277
21277
|
}
|
|
21278
21278
|
exports2.formatters.o = function(v2) {
|
|
21279
21279
|
this.inspectOpts.colors = this.useColors;
|
|
@@ -21315,7 +21315,7 @@ var require_node2 = __commonJS({
|
|
|
21315
21315
|
var tty_wrap = process.binding("tty_wrap");
|
|
21316
21316
|
switch (tty_wrap.guessHandleType(fd2)) {
|
|
21317
21317
|
case "TTY":
|
|
21318
|
-
stream6 = new
|
|
21318
|
+
stream6 = new tty3.WriteStream(fd2);
|
|
21319
21319
|
stream6._type = "tty";
|
|
21320
21320
|
if (stream6._handle && stream6._handle.unref) {
|
|
21321
21321
|
stream6._handle.unref();
|
|
@@ -21904,8 +21904,8 @@ var require_follow_redirects = __commonJS({
|
|
|
21904
21904
|
// ../../../node_modules/yoctocolors-cjs/index.js
|
|
21905
21905
|
var require_yoctocolors_cjs = __commonJS({
|
|
21906
21906
|
"../../../node_modules/yoctocolors-cjs/index.js"(exports2, module2) {
|
|
21907
|
-
var
|
|
21908
|
-
var hasColors =
|
|
21907
|
+
var tty3 = require("node:tty");
|
|
21908
|
+
var hasColors = tty3?.WriteStream?.prototype?.hasColors?.() ?? false;
|
|
21909
21909
|
var format = (open2, close) => {
|
|
21910
21910
|
if (!hasColors) {
|
|
21911
21911
|
return (input) => input;
|
|
@@ -22020,6 +22020,139 @@ var require_cli_width = __commonJS({
|
|
|
22020
22020
|
}
|
|
22021
22021
|
});
|
|
22022
22022
|
|
|
22023
|
+
// ../../../node_modules/@inquirer/core/node_modules/wrap-ansi/index.js
|
|
22024
|
+
var require_wrap_ansi2 = __commonJS({
|
|
22025
|
+
"../../../node_modules/@inquirer/core/node_modules/wrap-ansi/index.js"(exports2, module2) {
|
|
22026
|
+
"use strict";
|
|
22027
|
+
var stringWidth2 = require_string_width();
|
|
22028
|
+
var stripAnsi2 = require_strip_ansi();
|
|
22029
|
+
var ansiStyles3 = require_ansi_styles();
|
|
22030
|
+
var ESCAPES = /* @__PURE__ */ new Set([
|
|
22031
|
+
"\x1B",
|
|
22032
|
+
"\x9B"
|
|
22033
|
+
]);
|
|
22034
|
+
var END_CODE = 39;
|
|
22035
|
+
var wrapAnsi2 = (code) => `${ESCAPES.values().next().value}[${code}m`;
|
|
22036
|
+
var wordLengths = (string) => string.split(" ").map((character) => stringWidth2(character));
|
|
22037
|
+
var wrapWord = (rows, word, columns) => {
|
|
22038
|
+
const characters = [...word];
|
|
22039
|
+
let isInsideEscape = false;
|
|
22040
|
+
let visible = stringWidth2(stripAnsi2(rows[rows.length - 1]));
|
|
22041
|
+
for (const [index, character] of characters.entries()) {
|
|
22042
|
+
const characterLength = stringWidth2(character);
|
|
22043
|
+
if (visible + characterLength <= columns) {
|
|
22044
|
+
rows[rows.length - 1] += character;
|
|
22045
|
+
} else {
|
|
22046
|
+
rows.push(character);
|
|
22047
|
+
visible = 0;
|
|
22048
|
+
}
|
|
22049
|
+
if (ESCAPES.has(character)) {
|
|
22050
|
+
isInsideEscape = true;
|
|
22051
|
+
} else if (isInsideEscape && character === "m") {
|
|
22052
|
+
isInsideEscape = false;
|
|
22053
|
+
continue;
|
|
22054
|
+
}
|
|
22055
|
+
if (isInsideEscape) {
|
|
22056
|
+
continue;
|
|
22057
|
+
}
|
|
22058
|
+
visible += characterLength;
|
|
22059
|
+
if (visible === columns && index < characters.length - 1) {
|
|
22060
|
+
rows.push("");
|
|
22061
|
+
visible = 0;
|
|
22062
|
+
}
|
|
22063
|
+
}
|
|
22064
|
+
if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
|
|
22065
|
+
rows[rows.length - 2] += rows.pop();
|
|
22066
|
+
}
|
|
22067
|
+
};
|
|
22068
|
+
var stringVisibleTrimSpacesRight = (str) => {
|
|
22069
|
+
const words = str.split(" ");
|
|
22070
|
+
let last = words.length;
|
|
22071
|
+
while (last > 0) {
|
|
22072
|
+
if (stringWidth2(words[last - 1]) > 0) {
|
|
22073
|
+
break;
|
|
22074
|
+
}
|
|
22075
|
+
last--;
|
|
22076
|
+
}
|
|
22077
|
+
if (last === words.length) {
|
|
22078
|
+
return str;
|
|
22079
|
+
}
|
|
22080
|
+
return words.slice(0, last).join(" ") + words.slice(last).join("");
|
|
22081
|
+
};
|
|
22082
|
+
var exec = (string, columns, options = {}) => {
|
|
22083
|
+
if (options.trim !== false && string.trim() === "") {
|
|
22084
|
+
return "";
|
|
22085
|
+
}
|
|
22086
|
+
let pre = "";
|
|
22087
|
+
let ret = "";
|
|
22088
|
+
let escapeCode;
|
|
22089
|
+
const lengths = wordLengths(string);
|
|
22090
|
+
let rows = [""];
|
|
22091
|
+
for (const [index, word] of string.split(" ").entries()) {
|
|
22092
|
+
if (options.trim !== false) {
|
|
22093
|
+
rows[rows.length - 1] = rows[rows.length - 1].trimLeft();
|
|
22094
|
+
}
|
|
22095
|
+
let rowLength = stringWidth2(rows[rows.length - 1]);
|
|
22096
|
+
if (index !== 0) {
|
|
22097
|
+
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
22098
|
+
rows.push("");
|
|
22099
|
+
rowLength = 0;
|
|
22100
|
+
}
|
|
22101
|
+
if (rowLength > 0 || options.trim === false) {
|
|
22102
|
+
rows[rows.length - 1] += " ";
|
|
22103
|
+
rowLength++;
|
|
22104
|
+
}
|
|
22105
|
+
}
|
|
22106
|
+
if (options.hard && lengths[index] > columns) {
|
|
22107
|
+
const remainingColumns = columns - rowLength;
|
|
22108
|
+
const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
|
|
22109
|
+
const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
|
|
22110
|
+
if (breaksStartingNextLine < breaksStartingThisLine) {
|
|
22111
|
+
rows.push("");
|
|
22112
|
+
}
|
|
22113
|
+
wrapWord(rows, word, columns);
|
|
22114
|
+
continue;
|
|
22115
|
+
}
|
|
22116
|
+
if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
|
|
22117
|
+
if (options.wordWrap === false && rowLength < columns) {
|
|
22118
|
+
wrapWord(rows, word, columns);
|
|
22119
|
+
continue;
|
|
22120
|
+
}
|
|
22121
|
+
rows.push("");
|
|
22122
|
+
}
|
|
22123
|
+
if (rowLength + lengths[index] > columns && options.wordWrap === false) {
|
|
22124
|
+
wrapWord(rows, word, columns);
|
|
22125
|
+
continue;
|
|
22126
|
+
}
|
|
22127
|
+
rows[rows.length - 1] += word;
|
|
22128
|
+
}
|
|
22129
|
+
if (options.trim !== false) {
|
|
22130
|
+
rows = rows.map(stringVisibleTrimSpacesRight);
|
|
22131
|
+
}
|
|
22132
|
+
pre = rows.join("\n");
|
|
22133
|
+
for (const [index, character] of [...pre].entries()) {
|
|
22134
|
+
ret += character;
|
|
22135
|
+
if (ESCAPES.has(character)) {
|
|
22136
|
+
const code2 = parseFloat(/\d[^m]*/.exec(pre.slice(index, index + 4)));
|
|
22137
|
+
escapeCode = code2 === END_CODE ? null : code2;
|
|
22138
|
+
}
|
|
22139
|
+
const code = ansiStyles3.codes.get(Number(escapeCode));
|
|
22140
|
+
if (escapeCode && code) {
|
|
22141
|
+
if (pre[index + 1] === "\n") {
|
|
22142
|
+
ret += wrapAnsi2(code);
|
|
22143
|
+
} else if (character === "\n") {
|
|
22144
|
+
ret += wrapAnsi2(escapeCode);
|
|
22145
|
+
}
|
|
22146
|
+
}
|
|
22147
|
+
}
|
|
22148
|
+
return ret;
|
|
22149
|
+
};
|
|
22150
|
+
module2.exports = (string, columns, options) => {
|
|
22151
|
+
return String(string).normalize().replace(/\r\n/g, "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
|
|
22152
|
+
};
|
|
22153
|
+
}
|
|
22154
|
+
});
|
|
22155
|
+
|
|
22023
22156
|
// ../../../node_modules/mute-stream/lib/index.js
|
|
22024
22157
|
var require_lib = __commonJS({
|
|
22025
22158
|
"../../../node_modules/mute-stream/lib/index.js"(exports2, module2) {
|
|
@@ -34630,7 +34763,7 @@ var require_innerFrom = __commonJS({
|
|
|
34630
34763
|
exports2.fromIterable = fromIterable;
|
|
34631
34764
|
function fromAsyncIterable(asyncIterable) {
|
|
34632
34765
|
return new Observable_1.Observable(function(subscriber) {
|
|
34633
|
-
|
|
34766
|
+
process13(asyncIterable, subscriber).catch(function(err) {
|
|
34634
34767
|
return subscriber.error(err);
|
|
34635
34768
|
});
|
|
34636
34769
|
});
|
|
@@ -34640,7 +34773,7 @@ var require_innerFrom = __commonJS({
|
|
|
34640
34773
|
return fromAsyncIterable(isReadableStreamLike_1.readableStreamLikeToAsyncGenerator(readableStream));
|
|
34641
34774
|
}
|
|
34642
34775
|
exports2.fromReadableStreamLike = fromReadableStreamLike;
|
|
34643
|
-
function
|
|
34776
|
+
function process13(asyncIterable, subscriber) {
|
|
34644
34777
|
var asyncIterable_1, asyncIterable_1_1;
|
|
34645
34778
|
var e_2, _a;
|
|
34646
34779
|
return __awaiter(this, void 0, void 0, function() {
|
|
@@ -50077,11 +50210,11 @@ var require_utils3 = __commonJS({
|
|
|
50077
50210
|
var content = file.apply(null, arguments);
|
|
50078
50211
|
return content ? parse6(content) : null;
|
|
50079
50212
|
};
|
|
50080
|
-
var
|
|
50081
|
-
|
|
50213
|
+
var env3 = exports2.env = function(prefix, env4) {
|
|
50214
|
+
env4 = env4 || process.env;
|
|
50082
50215
|
var obj = {};
|
|
50083
50216
|
var l = prefix.length;
|
|
50084
|
-
for (var k2 in
|
|
50217
|
+
for (var k2 in env4) {
|
|
50085
50218
|
if (k2.toLowerCase().indexOf(prefix.toLowerCase()) === 0) {
|
|
50086
50219
|
var keypath = k2.substring(l).split("__");
|
|
50087
50220
|
var _emptyStringIndex;
|
|
@@ -50093,7 +50226,7 @@ var require_utils3 = __commonJS({
|
|
|
50093
50226
|
if (!_subkey || typeof cursor !== "object")
|
|
50094
50227
|
return;
|
|
50095
50228
|
if (i === keypath.length - 1)
|
|
50096
|
-
cursor[_subkey] =
|
|
50229
|
+
cursor[_subkey] = env4[k2];
|
|
50097
50230
|
if (cursor[_subkey] === void 0)
|
|
50098
50231
|
cursor[_subkey] = {};
|
|
50099
50232
|
cursor = cursor[_subkey];
|
|
@@ -50439,7 +50572,7 @@ var require_rc = __commonJS({
|
|
|
50439
50572
|
argv = require_minimist()(process.argv.slice(2));
|
|
50440
50573
|
defaults3 = ("string" === typeof defaults3 ? cc.json(defaults3) : defaults3) || {};
|
|
50441
50574
|
parse6 = parse6 || cc.parse;
|
|
50442
|
-
var
|
|
50575
|
+
var env3 = cc.env(name + "_");
|
|
50443
50576
|
var configs = [defaults3];
|
|
50444
50577
|
var configFiles = [];
|
|
50445
50578
|
function addConfigFile(file) {
|
|
@@ -50463,10 +50596,10 @@ var require_rc = __commonJS({
|
|
|
50463
50596
|
join(home, "." + name + "rc")
|
|
50464
50597
|
].forEach(addConfigFile);
|
|
50465
50598
|
addConfigFile(cc.find("." + name + "rc"));
|
|
50466
|
-
if (
|
|
50599
|
+
if (env3.config) addConfigFile(env3.config);
|
|
50467
50600
|
if (argv.config) addConfigFile(argv.config);
|
|
50468
50601
|
return deepExtend.apply(null, configs.concat([
|
|
50469
|
-
|
|
50602
|
+
env3,
|
|
50470
50603
|
argv,
|
|
50471
50604
|
configFiles.length ? { configs: configFiles, config: configFiles[configFiles.length - 1] } : void 0
|
|
50472
50605
|
]));
|
|
@@ -50479,7 +50612,7 @@ var index_exports = {};
|
|
|
50479
50612
|
__export(index_exports, {
|
|
50480
50613
|
FormData: () => import_form_data2.default,
|
|
50481
50614
|
axios: () => axios_default,
|
|
50482
|
-
chalk: () =>
|
|
50615
|
+
chalk: () => source_default2,
|
|
50483
50616
|
detailed: () => import_yargs_parser.detailed,
|
|
50484
50617
|
getModulePath: () => getModulePath,
|
|
50485
50618
|
getPort: () => getPorts,
|
|
@@ -54771,8 +54904,8 @@ var FormDataCtor = typeof G2.FormData !== "undefined" ? G2.FormData : void 0;
|
|
|
54771
54904
|
var isFormData = (thing) => {
|
|
54772
54905
|
if (!thing) return false;
|
|
54773
54906
|
if (FormDataCtor && thing instanceof FormDataCtor) return true;
|
|
54774
|
-
const
|
|
54775
|
-
if (!
|
|
54907
|
+
const proto3 = getPrototypeOf(thing);
|
|
54908
|
+
if (!proto3 || proto3 === Object.prototype) return false;
|
|
54776
54909
|
if (!isFunction(thing.append)) return false;
|
|
54777
54910
|
const kind = kindOf(thing);
|
|
54778
54911
|
return kind === "formdata" || // detect form-data instance
|
|
@@ -56096,8 +56229,8 @@ var defaults = {
|
|
|
56096
56229
|
return toURLEncodedForm(data, formSerializer).toString();
|
|
56097
56230
|
}
|
|
56098
56231
|
if ((isFileList2 = utils_default.isFileList(data)) || contentType.indexOf("multipart/form-data") > -1) {
|
|
56099
|
-
const
|
|
56100
|
-
const _FormData =
|
|
56232
|
+
const env3 = own(this, "env");
|
|
56233
|
+
const _FormData = env3 && env3.FormData;
|
|
56101
56234
|
return toFormData_default(
|
|
56102
56235
|
isFileList2 ? { "files[]": data } : data,
|
|
56103
56236
|
_FormData && new _FormData(),
|
|
@@ -56282,21 +56415,21 @@ function parseUrl(urlString) {
|
|
|
56282
56415
|
}
|
|
56283
56416
|
function getProxyForUrl(url2) {
|
|
56284
56417
|
var parsedUrl = (typeof url2 === "string" ? parseUrl(url2) : url2) || {};
|
|
56285
|
-
var
|
|
56418
|
+
var proto3 = parsedUrl.protocol;
|
|
56286
56419
|
var hostname = parsedUrl.host;
|
|
56287
56420
|
var port = parsedUrl.port;
|
|
56288
|
-
if (typeof hostname !== "string" || !hostname || typeof
|
|
56421
|
+
if (typeof hostname !== "string" || !hostname || typeof proto3 !== "string") {
|
|
56289
56422
|
return "";
|
|
56290
56423
|
}
|
|
56291
|
-
|
|
56424
|
+
proto3 = proto3.split(":", 1)[0];
|
|
56292
56425
|
hostname = hostname.replace(/:\d*$/, "");
|
|
56293
|
-
port = parseInt(port) || DEFAULT_PORTS[
|
|
56426
|
+
port = parseInt(port) || DEFAULT_PORTS[proto3] || 0;
|
|
56294
56427
|
if (!shouldProxy(hostname, port)) {
|
|
56295
56428
|
return "";
|
|
56296
56429
|
}
|
|
56297
|
-
var proxy = getEnv(
|
|
56430
|
+
var proxy = getEnv(proto3 + "_proxy") || getEnv("all_proxy");
|
|
56298
56431
|
if (proxy && proxy.indexOf("://") === -1) {
|
|
56299
|
-
proxy =
|
|
56432
|
+
proxy = proto3 + "://" + proxy;
|
|
56300
56433
|
}
|
|
56301
56434
|
return proxy;
|
|
56302
56435
|
}
|
|
@@ -58536,10 +58669,10 @@ var maybeWithAuthCredentials = (url2) => {
|
|
|
58536
58669
|
}
|
|
58537
58670
|
return urlToCheck.includes("@") || urlToCheck.includes(":");
|
|
58538
58671
|
};
|
|
58539
|
-
var factory = (
|
|
58672
|
+
var factory = (env3) => {
|
|
58540
58673
|
const globalObject = utils_default.global !== void 0 && utils_default.global !== null ? utils_default.global : globalThis;
|
|
58541
58674
|
const { ReadableStream: ReadableStream2, TextEncoder: TextEncoder2 } = globalObject;
|
|
58542
|
-
|
|
58675
|
+
env3 = utils_default.merge.call(
|
|
58543
58676
|
{
|
|
58544
58677
|
skipUndefined: true
|
|
58545
58678
|
},
|
|
@@ -58547,9 +58680,9 @@ var factory = (env4) => {
|
|
|
58547
58680
|
Request: globalObject.Request,
|
|
58548
58681
|
Response: globalObject.Response
|
|
58549
58682
|
},
|
|
58550
|
-
|
|
58683
|
+
env3
|
|
58551
58684
|
);
|
|
58552
|
-
const { fetch: envFetch, Request, Response } =
|
|
58685
|
+
const { fetch: envFetch, Request, Response } = env3;
|
|
58553
58686
|
const isFetchSupported = envFetch ? isFunction2(envFetch) : typeof fetch === "function";
|
|
58554
58687
|
const isRequestSupported = isFunction2(Request);
|
|
58555
58688
|
const isResponseSupported = isFunction2(Response);
|
|
@@ -58896,14 +59029,14 @@ var factory = (env4) => {
|
|
|
58896
59029
|
};
|
|
58897
59030
|
var seedCache = /* @__PURE__ */ new Map();
|
|
58898
59031
|
var getFetch = (config) => {
|
|
58899
|
-
let
|
|
58900
|
-
const { fetch: fetch2, Request, Response } =
|
|
59032
|
+
let env3 = config && config.env || {};
|
|
59033
|
+
const { fetch: fetch2, Request, Response } = env3;
|
|
58901
59034
|
const seeds = [Request, Response, fetch2];
|
|
58902
59035
|
let len = seeds.length, i = len, seed, target, map = seedCache;
|
|
58903
59036
|
while (i--) {
|
|
58904
59037
|
seed = seeds[i];
|
|
58905
59038
|
target = map.get(seed);
|
|
58906
|
-
target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(
|
|
59039
|
+
target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env3));
|
|
58907
59040
|
map = target;
|
|
58908
59041
|
}
|
|
58909
59042
|
return target;
|
|
@@ -60039,11 +60172,11 @@ var defaultTheme = {
|
|
|
60039
60172
|
function isPlainObject2(value) {
|
|
60040
60173
|
if (typeof value !== "object" || value === null)
|
|
60041
60174
|
return false;
|
|
60042
|
-
let
|
|
60043
|
-
while (Object.getPrototypeOf(
|
|
60044
|
-
|
|
60175
|
+
let proto3 = value;
|
|
60176
|
+
while (Object.getPrototypeOf(proto3) !== null) {
|
|
60177
|
+
proto3 = Object.getPrototypeOf(proto3);
|
|
60045
60178
|
}
|
|
60046
|
-
return Object.getPrototypeOf(value) ===
|
|
60179
|
+
return Object.getPrototypeOf(value) === proto3;
|
|
60047
60180
|
}
|
|
60048
60181
|
function deepMerge(...objects) {
|
|
60049
60182
|
const output = {};
|
|
@@ -60133,7 +60266,7 @@ function useKeypress(userHandler) {
|
|
|
60133
60266
|
|
|
60134
60267
|
// ../../../node_modules/@inquirer/core/dist/esm/lib/utils.js
|
|
60135
60268
|
var import_cli_width = __toESM(require_cli_width(), 1);
|
|
60136
|
-
var import_wrap_ansi = __toESM(
|
|
60269
|
+
var import_wrap_ansi = __toESM(require_wrap_ansi2(), 1);
|
|
60137
60270
|
function breakLines(content, width) {
|
|
60138
60271
|
return content.split("\n").flatMap((line) => (0, import_wrap_ansi.default)(line, width, { trim: false, hard: true }).split("\n").map((str) => str.trimEnd())).join("\n");
|
|
60139
60272
|
}
|
|
@@ -60260,7 +60393,7 @@ if (process.platform === "linux") {
|
|
|
60260
60393
|
}
|
|
60261
60394
|
|
|
60262
60395
|
// ../../../node_modules/@inquirer/core/node_modules/signal-exit/dist/mjs/index.js
|
|
60263
|
-
var processOk = (
|
|
60396
|
+
var processOk = (process13) => !!process13 && typeof process13 === "object" && typeof process13.removeListener === "function" && typeof process13.emit === "function" && typeof process13.reallyExit === "function" && typeof process13.listeners === "function" && typeof process13.kill === "function" && typeof process13.pid === "number" && typeof process13.on === "function";
|
|
60264
60397
|
var kExitEmitter = /* @__PURE__ */ Symbol.for("signal-exit emitter");
|
|
60265
60398
|
var global2 = globalThis;
|
|
60266
60399
|
var ObjectDefineProperty = Object.defineProperty.bind(Object);
|
|
@@ -60353,15 +60486,15 @@ var SignalExit = class extends SignalExitBase {
|
|
|
60353
60486
|
#originalProcessReallyExit;
|
|
60354
60487
|
#sigListeners = {};
|
|
60355
60488
|
#loaded = false;
|
|
60356
|
-
constructor(
|
|
60489
|
+
constructor(process13) {
|
|
60357
60490
|
super();
|
|
60358
|
-
this.#process =
|
|
60491
|
+
this.#process = process13;
|
|
60359
60492
|
this.#sigListeners = {};
|
|
60360
60493
|
for (const sig of signals) {
|
|
60361
60494
|
this.#sigListeners[sig] = () => {
|
|
60362
60495
|
const listeners = this.#process.listeners(sig);
|
|
60363
60496
|
let { count } = this.#emitter;
|
|
60364
|
-
const p2 =
|
|
60497
|
+
const p2 = process13;
|
|
60365
60498
|
if (typeof p2.__signal_exit_emitter__ === "object" && typeof p2.__signal_exit_emitter__.count === "number") {
|
|
60366
60499
|
count += p2.__signal_exit_emitter__.count;
|
|
60367
60500
|
}
|
|
@@ -60370,12 +60503,12 @@ var SignalExit = class extends SignalExitBase {
|
|
|
60370
60503
|
const ret = this.#emitter.emit("exit", null, sig);
|
|
60371
60504
|
const s3 = sig === "SIGHUP" ? this.#hupSig : sig;
|
|
60372
60505
|
if (!ret)
|
|
60373
|
-
|
|
60506
|
+
process13.kill(process13.pid, s3);
|
|
60374
60507
|
}
|
|
60375
60508
|
};
|
|
60376
60509
|
}
|
|
60377
|
-
this.#originalProcessReallyExit =
|
|
60378
|
-
this.#originalProcessEmit =
|
|
60510
|
+
this.#originalProcessReallyExit = process13.reallyExit;
|
|
60511
|
+
this.#originalProcessEmit = process13.emit;
|
|
60379
60512
|
}
|
|
60380
60513
|
onExit(cb, opts) {
|
|
60381
60514
|
if (!processOk(this.#process)) {
|
|
@@ -62328,7 +62461,7 @@ async function getPorts(options) {
|
|
|
62328
62461
|
}
|
|
62329
62462
|
|
|
62330
62463
|
// ../../../node_modules/ora/index.js
|
|
62331
|
-
var
|
|
62464
|
+
var import_node_process8 = __toESM(require("node:process"), 1);
|
|
62332
62465
|
|
|
62333
62466
|
// ../../../node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
62334
62467
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
@@ -62698,10 +62831,10 @@ var applyOptions = (object, options = {}) => {
|
|
|
62698
62831
|
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
62699
62832
|
};
|
|
62700
62833
|
var chalkFactory = (options) => {
|
|
62701
|
-
const
|
|
62702
|
-
applyOptions(
|
|
62703
|
-
Object.setPrototypeOf(
|
|
62704
|
-
return
|
|
62834
|
+
const chalk3 = (...strings) => strings.join(" ");
|
|
62835
|
+
applyOptions(chalk3, options);
|
|
62836
|
+
Object.setPrototypeOf(chalk3, createChalk.prototype);
|
|
62837
|
+
return chalk3;
|
|
62705
62838
|
};
|
|
62706
62839
|
function createChalk(options) {
|
|
62707
62840
|
return chalkFactory(options);
|
|
@@ -62933,7 +63066,7 @@ if (process.platform === "linux") {
|
|
|
62933
63066
|
}
|
|
62934
63067
|
|
|
62935
63068
|
// ../../../node_modules/ora/node_modules/signal-exit/dist/mjs/index.js
|
|
62936
|
-
var processOk2 = (
|
|
63069
|
+
var processOk2 = (process13) => !!process13 && typeof process13 === "object" && typeof process13.removeListener === "function" && typeof process13.emit === "function" && typeof process13.reallyExit === "function" && typeof process13.listeners === "function" && typeof process13.kill === "function" && typeof process13.pid === "number" && typeof process13.on === "function";
|
|
62937
63070
|
var kExitEmitter2 = /* @__PURE__ */ Symbol.for("signal-exit emitter");
|
|
62938
63071
|
var global3 = globalThis;
|
|
62939
63072
|
var ObjectDefineProperty2 = Object.defineProperty.bind(Object);
|
|
@@ -63026,15 +63159,15 @@ var SignalExit2 = class extends SignalExitBase2 {
|
|
|
63026
63159
|
#originalProcessReallyExit;
|
|
63027
63160
|
#sigListeners = {};
|
|
63028
63161
|
#loaded = false;
|
|
63029
|
-
constructor(
|
|
63162
|
+
constructor(process13) {
|
|
63030
63163
|
super();
|
|
63031
|
-
this.#process =
|
|
63164
|
+
this.#process = process13;
|
|
63032
63165
|
this.#sigListeners = {};
|
|
63033
63166
|
for (const sig of signals2) {
|
|
63034
63167
|
this.#sigListeners[sig] = () => {
|
|
63035
63168
|
const listeners = this.#process.listeners(sig);
|
|
63036
63169
|
let { count } = this.#emitter;
|
|
63037
|
-
const p2 =
|
|
63170
|
+
const p2 = process13;
|
|
63038
63171
|
if (typeof p2.__signal_exit_emitter__ === "object" && typeof p2.__signal_exit_emitter__.count === "number") {
|
|
63039
63172
|
count += p2.__signal_exit_emitter__.count;
|
|
63040
63173
|
}
|
|
@@ -63043,12 +63176,12 @@ var SignalExit2 = class extends SignalExitBase2 {
|
|
|
63043
63176
|
const ret = this.#emitter.emit("exit", null, sig);
|
|
63044
63177
|
const s3 = sig === "SIGHUP" ? this.#hupSig : sig;
|
|
63045
63178
|
if (!ret)
|
|
63046
|
-
|
|
63179
|
+
process13.kill(process13.pid, s3);
|
|
63047
63180
|
}
|
|
63048
63181
|
};
|
|
63049
63182
|
}
|
|
63050
|
-
this.#originalProcessReallyExit =
|
|
63051
|
-
this.#originalProcessEmit =
|
|
63183
|
+
this.#originalProcessReallyExit = process13.reallyExit;
|
|
63184
|
+
this.#originalProcessEmit = process13.emit;
|
|
63052
63185
|
}
|
|
63053
63186
|
onExit(cb, opts) {
|
|
63054
63187
|
if (!processOk2(this.#process)) {
|
|
@@ -63202,522 +63335,27 @@ var cli_cursor_default = cliCursor;
|
|
|
63202
63335
|
// ../../../node_modules/ora/index.js
|
|
63203
63336
|
var import_cli_spinners = __toESM(require_cli_spinners(), 1);
|
|
63204
63337
|
|
|
63205
|
-
// ../../../node_modules/log-symbols/node_modules/
|
|
63206
|
-
var ANSI_BACKGROUND_OFFSET2 = 10;
|
|
63207
|
-
var wrapAnsi162 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
63208
|
-
var wrapAnsi2562 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
63209
|
-
var wrapAnsi16m2 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
|
|
63210
|
-
var styles3 = {
|
|
63211
|
-
modifier: {
|
|
63212
|
-
reset: [0, 0],
|
|
63213
|
-
// 21 isn't widely supported and 22 does the same thing
|
|
63214
|
-
bold: [1, 22],
|
|
63215
|
-
dim: [2, 22],
|
|
63216
|
-
italic: [3, 23],
|
|
63217
|
-
underline: [4, 24],
|
|
63218
|
-
overline: [53, 55],
|
|
63219
|
-
inverse: [7, 27],
|
|
63220
|
-
hidden: [8, 28],
|
|
63221
|
-
strikethrough: [9, 29]
|
|
63222
|
-
},
|
|
63223
|
-
color: {
|
|
63224
|
-
black: [30, 39],
|
|
63225
|
-
red: [31, 39],
|
|
63226
|
-
green: [32, 39],
|
|
63227
|
-
yellow: [33, 39],
|
|
63228
|
-
blue: [34, 39],
|
|
63229
|
-
magenta: [35, 39],
|
|
63230
|
-
cyan: [36, 39],
|
|
63231
|
-
white: [37, 39],
|
|
63232
|
-
// Bright color
|
|
63233
|
-
blackBright: [90, 39],
|
|
63234
|
-
gray: [90, 39],
|
|
63235
|
-
// Alias of `blackBright`
|
|
63236
|
-
grey: [90, 39],
|
|
63237
|
-
// Alias of `blackBright`
|
|
63238
|
-
redBright: [91, 39],
|
|
63239
|
-
greenBright: [92, 39],
|
|
63240
|
-
yellowBright: [93, 39],
|
|
63241
|
-
blueBright: [94, 39],
|
|
63242
|
-
magentaBright: [95, 39],
|
|
63243
|
-
cyanBright: [96, 39],
|
|
63244
|
-
whiteBright: [97, 39]
|
|
63245
|
-
},
|
|
63246
|
-
bgColor: {
|
|
63247
|
-
bgBlack: [40, 49],
|
|
63248
|
-
bgRed: [41, 49],
|
|
63249
|
-
bgGreen: [42, 49],
|
|
63250
|
-
bgYellow: [43, 49],
|
|
63251
|
-
bgBlue: [44, 49],
|
|
63252
|
-
bgMagenta: [45, 49],
|
|
63253
|
-
bgCyan: [46, 49],
|
|
63254
|
-
bgWhite: [47, 49],
|
|
63255
|
-
// Bright color
|
|
63256
|
-
bgBlackBright: [100, 49],
|
|
63257
|
-
bgGray: [100, 49],
|
|
63258
|
-
// Alias of `bgBlackBright`
|
|
63259
|
-
bgGrey: [100, 49],
|
|
63260
|
-
// Alias of `bgBlackBright`
|
|
63261
|
-
bgRedBright: [101, 49],
|
|
63262
|
-
bgGreenBright: [102, 49],
|
|
63263
|
-
bgYellowBright: [103, 49],
|
|
63264
|
-
bgBlueBright: [104, 49],
|
|
63265
|
-
bgMagentaBright: [105, 49],
|
|
63266
|
-
bgCyanBright: [106, 49],
|
|
63267
|
-
bgWhiteBright: [107, 49]
|
|
63268
|
-
}
|
|
63269
|
-
};
|
|
63270
|
-
var modifierNames2 = Object.keys(styles3.modifier);
|
|
63271
|
-
var foregroundColorNames2 = Object.keys(styles3.color);
|
|
63272
|
-
var backgroundColorNames2 = Object.keys(styles3.bgColor);
|
|
63273
|
-
var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
|
|
63274
|
-
function assembleStyles2() {
|
|
63275
|
-
const codes2 = /* @__PURE__ */ new Map();
|
|
63276
|
-
for (const [groupName, group] of Object.entries(styles3)) {
|
|
63277
|
-
for (const [styleName, style] of Object.entries(group)) {
|
|
63278
|
-
styles3[styleName] = {
|
|
63279
|
-
open: `\x1B[${style[0]}m`,
|
|
63280
|
-
close: `\x1B[${style[1]}m`
|
|
63281
|
-
};
|
|
63282
|
-
group[styleName] = styles3[styleName];
|
|
63283
|
-
codes2.set(style[0], style[1]);
|
|
63284
|
-
}
|
|
63285
|
-
Object.defineProperty(styles3, groupName, {
|
|
63286
|
-
value: group,
|
|
63287
|
-
enumerable: false
|
|
63288
|
-
});
|
|
63289
|
-
}
|
|
63290
|
-
Object.defineProperty(styles3, "codes", {
|
|
63291
|
-
value: codes2,
|
|
63292
|
-
enumerable: false
|
|
63293
|
-
});
|
|
63294
|
-
styles3.color.close = "\x1B[39m";
|
|
63295
|
-
styles3.bgColor.close = "\x1B[49m";
|
|
63296
|
-
styles3.color.ansi = wrapAnsi162();
|
|
63297
|
-
styles3.color.ansi256 = wrapAnsi2562();
|
|
63298
|
-
styles3.color.ansi16m = wrapAnsi16m2();
|
|
63299
|
-
styles3.bgColor.ansi = wrapAnsi162(ANSI_BACKGROUND_OFFSET2);
|
|
63300
|
-
styles3.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET2);
|
|
63301
|
-
styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
|
|
63302
|
-
Object.defineProperties(styles3, {
|
|
63303
|
-
rgbToAnsi256: {
|
|
63304
|
-
value(red, green, blue) {
|
|
63305
|
-
if (red === green && green === blue) {
|
|
63306
|
-
if (red < 8) {
|
|
63307
|
-
return 16;
|
|
63308
|
-
}
|
|
63309
|
-
if (red > 248) {
|
|
63310
|
-
return 231;
|
|
63311
|
-
}
|
|
63312
|
-
return Math.round((red - 8) / 247 * 24) + 232;
|
|
63313
|
-
}
|
|
63314
|
-
return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
|
|
63315
|
-
},
|
|
63316
|
-
enumerable: false
|
|
63317
|
-
},
|
|
63318
|
-
hexToRgb: {
|
|
63319
|
-
value(hex) {
|
|
63320
|
-
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
63321
|
-
if (!matches) {
|
|
63322
|
-
return [0, 0, 0];
|
|
63323
|
-
}
|
|
63324
|
-
let [colorString] = matches;
|
|
63325
|
-
if (colorString.length === 3) {
|
|
63326
|
-
colorString = [...colorString].map((character) => character + character).join("");
|
|
63327
|
-
}
|
|
63328
|
-
const integer = Number.parseInt(colorString, 16);
|
|
63329
|
-
return [
|
|
63330
|
-
/* eslint-disable no-bitwise */
|
|
63331
|
-
integer >> 16 & 255,
|
|
63332
|
-
integer >> 8 & 255,
|
|
63333
|
-
integer & 255
|
|
63334
|
-
/* eslint-enable no-bitwise */
|
|
63335
|
-
];
|
|
63336
|
-
},
|
|
63337
|
-
enumerable: false
|
|
63338
|
-
},
|
|
63339
|
-
hexToAnsi256: {
|
|
63340
|
-
value: (hex) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex)),
|
|
63341
|
-
enumerable: false
|
|
63342
|
-
},
|
|
63343
|
-
ansi256ToAnsi: {
|
|
63344
|
-
value(code) {
|
|
63345
|
-
if (code < 8) {
|
|
63346
|
-
return 30 + code;
|
|
63347
|
-
}
|
|
63348
|
-
if (code < 16) {
|
|
63349
|
-
return 90 + (code - 8);
|
|
63350
|
-
}
|
|
63351
|
-
let red;
|
|
63352
|
-
let green;
|
|
63353
|
-
let blue;
|
|
63354
|
-
if (code >= 232) {
|
|
63355
|
-
red = ((code - 232) * 10 + 8) / 255;
|
|
63356
|
-
green = red;
|
|
63357
|
-
blue = red;
|
|
63358
|
-
} else {
|
|
63359
|
-
code -= 16;
|
|
63360
|
-
const remainder = code % 36;
|
|
63361
|
-
red = Math.floor(code / 36) / 5;
|
|
63362
|
-
green = Math.floor(remainder / 6) / 5;
|
|
63363
|
-
blue = remainder % 6 / 5;
|
|
63364
|
-
}
|
|
63365
|
-
const value = Math.max(red, green, blue) * 2;
|
|
63366
|
-
if (value === 0) {
|
|
63367
|
-
return 30;
|
|
63368
|
-
}
|
|
63369
|
-
let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
|
|
63370
|
-
if (value === 2) {
|
|
63371
|
-
result += 60;
|
|
63372
|
-
}
|
|
63373
|
-
return result;
|
|
63374
|
-
},
|
|
63375
|
-
enumerable: false
|
|
63376
|
-
},
|
|
63377
|
-
rgbToAnsi: {
|
|
63378
|
-
value: (red, green, blue) => styles3.ansi256ToAnsi(styles3.rgbToAnsi256(red, green, blue)),
|
|
63379
|
-
enumerable: false
|
|
63380
|
-
},
|
|
63381
|
-
hexToAnsi: {
|
|
63382
|
-
value: (hex) => styles3.ansi256ToAnsi(styles3.hexToAnsi256(hex)),
|
|
63383
|
-
enumerable: false
|
|
63384
|
-
}
|
|
63385
|
-
});
|
|
63386
|
-
return styles3;
|
|
63387
|
-
}
|
|
63388
|
-
var ansiStyles2 = assembleStyles2();
|
|
63389
|
-
var ansi_styles_default2 = ansiStyles2;
|
|
63390
|
-
|
|
63391
|
-
// ../../../node_modules/log-symbols/node_modules/chalk/source/vendor/supports-color/index.js
|
|
63338
|
+
// ../../../node_modules/ora/node_modules/log-symbols/node_modules/is-unicode-supported/index.js
|
|
63392
63339
|
var import_node_process5 = __toESM(require("node:process"), 1);
|
|
63393
|
-
var import_node_os4 = __toESM(require("node:os"), 1);
|
|
63394
|
-
var import_node_tty2 = __toESM(require("node:tty"), 1);
|
|
63395
|
-
function hasFlag2(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process5.default.argv) {
|
|
63396
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
63397
|
-
const position = argv.indexOf(prefix + flag);
|
|
63398
|
-
const terminatorPosition = argv.indexOf("--");
|
|
63399
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
63400
|
-
}
|
|
63401
|
-
var { env: env2 } = import_node_process5.default;
|
|
63402
|
-
var flagForceColor2;
|
|
63403
|
-
if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
|
|
63404
|
-
flagForceColor2 = 0;
|
|
63405
|
-
} else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
|
|
63406
|
-
flagForceColor2 = 1;
|
|
63407
|
-
}
|
|
63408
|
-
function envForceColor2() {
|
|
63409
|
-
if ("FORCE_COLOR" in env2) {
|
|
63410
|
-
if (env2.FORCE_COLOR === "true") {
|
|
63411
|
-
return 1;
|
|
63412
|
-
}
|
|
63413
|
-
if (env2.FORCE_COLOR === "false") {
|
|
63414
|
-
return 0;
|
|
63415
|
-
}
|
|
63416
|
-
return env2.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
|
|
63417
|
-
}
|
|
63418
|
-
}
|
|
63419
|
-
function translateLevel2(level) {
|
|
63420
|
-
if (level === 0) {
|
|
63421
|
-
return false;
|
|
63422
|
-
}
|
|
63423
|
-
return {
|
|
63424
|
-
level,
|
|
63425
|
-
hasBasic: true,
|
|
63426
|
-
has256: level >= 2,
|
|
63427
|
-
has16m: level >= 3
|
|
63428
|
-
};
|
|
63429
|
-
}
|
|
63430
|
-
function _supportsColor2(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
63431
|
-
const noFlagForceColor = envForceColor2();
|
|
63432
|
-
if (noFlagForceColor !== void 0) {
|
|
63433
|
-
flagForceColor2 = noFlagForceColor;
|
|
63434
|
-
}
|
|
63435
|
-
const forceColor = sniffFlags ? flagForceColor2 : noFlagForceColor;
|
|
63436
|
-
if (forceColor === 0) {
|
|
63437
|
-
return 0;
|
|
63438
|
-
}
|
|
63439
|
-
if (sniffFlags) {
|
|
63440
|
-
if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
|
|
63441
|
-
return 3;
|
|
63442
|
-
}
|
|
63443
|
-
if (hasFlag2("color=256")) {
|
|
63444
|
-
return 2;
|
|
63445
|
-
}
|
|
63446
|
-
}
|
|
63447
|
-
if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
|
|
63448
|
-
return 1;
|
|
63449
|
-
}
|
|
63450
|
-
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
63451
|
-
return 0;
|
|
63452
|
-
}
|
|
63453
|
-
const min = forceColor || 0;
|
|
63454
|
-
if (env2.TERM === "dumb") {
|
|
63455
|
-
return min;
|
|
63456
|
-
}
|
|
63457
|
-
if (import_node_process5.default.platform === "win32") {
|
|
63458
|
-
const osRelease = import_node_os4.default.release().split(".");
|
|
63459
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
63460
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
63461
|
-
}
|
|
63462
|
-
return 1;
|
|
63463
|
-
}
|
|
63464
|
-
if ("CI" in env2) {
|
|
63465
|
-
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env2)) {
|
|
63466
|
-
return 3;
|
|
63467
|
-
}
|
|
63468
|
-
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
|
|
63469
|
-
return 1;
|
|
63470
|
-
}
|
|
63471
|
-
return min;
|
|
63472
|
-
}
|
|
63473
|
-
if ("TEAMCITY_VERSION" in env2) {
|
|
63474
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
|
|
63475
|
-
}
|
|
63476
|
-
if (env2.COLORTERM === "truecolor") {
|
|
63477
|
-
return 3;
|
|
63478
|
-
}
|
|
63479
|
-
if (env2.TERM === "xterm-kitty") {
|
|
63480
|
-
return 3;
|
|
63481
|
-
}
|
|
63482
|
-
if (env2.TERM === "xterm-ghostty") {
|
|
63483
|
-
return 3;
|
|
63484
|
-
}
|
|
63485
|
-
if (env2.TERM === "wezterm") {
|
|
63486
|
-
return 3;
|
|
63487
|
-
}
|
|
63488
|
-
if ("TERM_PROGRAM" in env2) {
|
|
63489
|
-
const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
63490
|
-
switch (env2.TERM_PROGRAM) {
|
|
63491
|
-
case "iTerm.app": {
|
|
63492
|
-
return version >= 3 ? 3 : 2;
|
|
63493
|
-
}
|
|
63494
|
-
case "Apple_Terminal": {
|
|
63495
|
-
return 2;
|
|
63496
|
-
}
|
|
63497
|
-
}
|
|
63498
|
-
}
|
|
63499
|
-
if (/-256(color)?$/i.test(env2.TERM)) {
|
|
63500
|
-
return 2;
|
|
63501
|
-
}
|
|
63502
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
|
|
63503
|
-
return 1;
|
|
63504
|
-
}
|
|
63505
|
-
if ("COLORTERM" in env2) {
|
|
63506
|
-
return 1;
|
|
63507
|
-
}
|
|
63508
|
-
return min;
|
|
63509
|
-
}
|
|
63510
|
-
function createSupportsColor2(stream5, options = {}) {
|
|
63511
|
-
const level = _supportsColor2(stream5, {
|
|
63512
|
-
streamIsTTY: stream5 && stream5.isTTY,
|
|
63513
|
-
...options
|
|
63514
|
-
});
|
|
63515
|
-
return translateLevel2(level);
|
|
63516
|
-
}
|
|
63517
|
-
var supportsColor2 = {
|
|
63518
|
-
stdout: createSupportsColor2({ isTTY: import_node_tty2.default.isatty(1) }),
|
|
63519
|
-
stderr: createSupportsColor2({ isTTY: import_node_tty2.default.isatty(2) })
|
|
63520
|
-
};
|
|
63521
|
-
var supports_color_default2 = supportsColor2;
|
|
63522
|
-
|
|
63523
|
-
// ../../../node_modules/log-symbols/node_modules/chalk/source/utilities.js
|
|
63524
|
-
function stringReplaceAll2(string, substring, replacer) {
|
|
63525
|
-
let index = string.indexOf(substring);
|
|
63526
|
-
if (index === -1) {
|
|
63527
|
-
return string;
|
|
63528
|
-
}
|
|
63529
|
-
const substringLength = substring.length;
|
|
63530
|
-
let endIndex = 0;
|
|
63531
|
-
let returnValue = "";
|
|
63532
|
-
do {
|
|
63533
|
-
returnValue += string.slice(endIndex, index) + substring + replacer;
|
|
63534
|
-
endIndex = index + substringLength;
|
|
63535
|
-
index = string.indexOf(substring, endIndex);
|
|
63536
|
-
} while (index !== -1);
|
|
63537
|
-
returnValue += string.slice(endIndex);
|
|
63538
|
-
return returnValue;
|
|
63539
|
-
}
|
|
63540
|
-
function stringEncaseCRLFWithFirstIndex2(string, prefix, postfix, index) {
|
|
63541
|
-
let endIndex = 0;
|
|
63542
|
-
let returnValue = "";
|
|
63543
|
-
do {
|
|
63544
|
-
const gotCR = string[index - 1] === "\r";
|
|
63545
|
-
returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
|
|
63546
|
-
endIndex = index + 1;
|
|
63547
|
-
index = string.indexOf("\n", endIndex);
|
|
63548
|
-
} while (index !== -1);
|
|
63549
|
-
returnValue += string.slice(endIndex);
|
|
63550
|
-
return returnValue;
|
|
63551
|
-
}
|
|
63552
|
-
|
|
63553
|
-
// ../../../node_modules/log-symbols/node_modules/chalk/source/index.js
|
|
63554
|
-
var { stdout: stdoutColor2, stderr: stderrColor2 } = supports_color_default2;
|
|
63555
|
-
var GENERATOR2 = /* @__PURE__ */ Symbol("GENERATOR");
|
|
63556
|
-
var STYLER2 = /* @__PURE__ */ Symbol("STYLER");
|
|
63557
|
-
var IS_EMPTY2 = /* @__PURE__ */ Symbol("IS_EMPTY");
|
|
63558
|
-
var levelMapping2 = [
|
|
63559
|
-
"ansi",
|
|
63560
|
-
"ansi",
|
|
63561
|
-
"ansi256",
|
|
63562
|
-
"ansi16m"
|
|
63563
|
-
];
|
|
63564
|
-
var styles4 = /* @__PURE__ */ Object.create(null);
|
|
63565
|
-
var applyOptions2 = (object, options = {}) => {
|
|
63566
|
-
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
|
|
63567
|
-
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
63568
|
-
}
|
|
63569
|
-
const colorLevel = stdoutColor2 ? stdoutColor2.level : 0;
|
|
63570
|
-
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
63571
|
-
};
|
|
63572
|
-
var chalkFactory2 = (options) => {
|
|
63573
|
-
const chalk4 = (...strings) => strings.join(" ");
|
|
63574
|
-
applyOptions2(chalk4, options);
|
|
63575
|
-
Object.setPrototypeOf(chalk4, createChalk2.prototype);
|
|
63576
|
-
return chalk4;
|
|
63577
|
-
};
|
|
63578
|
-
function createChalk2(options) {
|
|
63579
|
-
return chalkFactory2(options);
|
|
63580
|
-
}
|
|
63581
|
-
Object.setPrototypeOf(createChalk2.prototype, Function.prototype);
|
|
63582
|
-
for (const [styleName, style] of Object.entries(ansi_styles_default2)) {
|
|
63583
|
-
styles4[styleName] = {
|
|
63584
|
-
get() {
|
|
63585
|
-
const builder = createBuilder2(this, createStyler2(style.open, style.close, this[STYLER2]), this[IS_EMPTY2]);
|
|
63586
|
-
Object.defineProperty(this, styleName, { value: builder });
|
|
63587
|
-
return builder;
|
|
63588
|
-
}
|
|
63589
|
-
};
|
|
63590
|
-
}
|
|
63591
|
-
styles4.visible = {
|
|
63592
|
-
get() {
|
|
63593
|
-
const builder = createBuilder2(this, this[STYLER2], true);
|
|
63594
|
-
Object.defineProperty(this, "visible", { value: builder });
|
|
63595
|
-
return builder;
|
|
63596
|
-
}
|
|
63597
|
-
};
|
|
63598
|
-
var getModelAnsi2 = (model, level, type, ...arguments_) => {
|
|
63599
|
-
if (model === "rgb") {
|
|
63600
|
-
if (level === "ansi16m") {
|
|
63601
|
-
return ansi_styles_default2[type].ansi16m(...arguments_);
|
|
63602
|
-
}
|
|
63603
|
-
if (level === "ansi256") {
|
|
63604
|
-
return ansi_styles_default2[type].ansi256(ansi_styles_default2.rgbToAnsi256(...arguments_));
|
|
63605
|
-
}
|
|
63606
|
-
return ansi_styles_default2[type].ansi(ansi_styles_default2.rgbToAnsi(...arguments_));
|
|
63607
|
-
}
|
|
63608
|
-
if (model === "hex") {
|
|
63609
|
-
return getModelAnsi2("rgb", level, type, ...ansi_styles_default2.hexToRgb(...arguments_));
|
|
63610
|
-
}
|
|
63611
|
-
return ansi_styles_default2[type][model](...arguments_);
|
|
63612
|
-
};
|
|
63613
|
-
var usedModels2 = ["rgb", "hex", "ansi256"];
|
|
63614
|
-
for (const model of usedModels2) {
|
|
63615
|
-
styles4[model] = {
|
|
63616
|
-
get() {
|
|
63617
|
-
const { level } = this;
|
|
63618
|
-
return function(...arguments_) {
|
|
63619
|
-
const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "color", ...arguments_), ansi_styles_default2.color.close, this[STYLER2]);
|
|
63620
|
-
return createBuilder2(this, styler, this[IS_EMPTY2]);
|
|
63621
|
-
};
|
|
63622
|
-
}
|
|
63623
|
-
};
|
|
63624
|
-
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
63625
|
-
styles4[bgModel] = {
|
|
63626
|
-
get() {
|
|
63627
|
-
const { level } = this;
|
|
63628
|
-
return function(...arguments_) {
|
|
63629
|
-
const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "bgColor", ...arguments_), ansi_styles_default2.bgColor.close, this[STYLER2]);
|
|
63630
|
-
return createBuilder2(this, styler, this[IS_EMPTY2]);
|
|
63631
|
-
};
|
|
63632
|
-
}
|
|
63633
|
-
};
|
|
63634
|
-
}
|
|
63635
|
-
var proto2 = Object.defineProperties(() => {
|
|
63636
|
-
}, {
|
|
63637
|
-
...styles4,
|
|
63638
|
-
level: {
|
|
63639
|
-
enumerable: true,
|
|
63640
|
-
get() {
|
|
63641
|
-
return this[GENERATOR2].level;
|
|
63642
|
-
},
|
|
63643
|
-
set(level) {
|
|
63644
|
-
this[GENERATOR2].level = level;
|
|
63645
|
-
}
|
|
63646
|
-
}
|
|
63647
|
-
});
|
|
63648
|
-
var createStyler2 = (open2, close, parent) => {
|
|
63649
|
-
let openAll;
|
|
63650
|
-
let closeAll;
|
|
63651
|
-
if (parent === void 0) {
|
|
63652
|
-
openAll = open2;
|
|
63653
|
-
closeAll = close;
|
|
63654
|
-
} else {
|
|
63655
|
-
openAll = parent.openAll + open2;
|
|
63656
|
-
closeAll = close + parent.closeAll;
|
|
63657
|
-
}
|
|
63658
|
-
return {
|
|
63659
|
-
open: open2,
|
|
63660
|
-
close,
|
|
63661
|
-
openAll,
|
|
63662
|
-
closeAll,
|
|
63663
|
-
parent
|
|
63664
|
-
};
|
|
63665
|
-
};
|
|
63666
|
-
var createBuilder2 = (self2, _styler, _isEmpty) => {
|
|
63667
|
-
const builder = (...arguments_) => applyStyle2(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
|
|
63668
|
-
Object.setPrototypeOf(builder, proto2);
|
|
63669
|
-
builder[GENERATOR2] = self2;
|
|
63670
|
-
builder[STYLER2] = _styler;
|
|
63671
|
-
builder[IS_EMPTY2] = _isEmpty;
|
|
63672
|
-
return builder;
|
|
63673
|
-
};
|
|
63674
|
-
var applyStyle2 = (self2, string) => {
|
|
63675
|
-
if (self2.level <= 0 || !string) {
|
|
63676
|
-
return self2[IS_EMPTY2] ? "" : string;
|
|
63677
|
-
}
|
|
63678
|
-
let styler = self2[STYLER2];
|
|
63679
|
-
if (styler === void 0) {
|
|
63680
|
-
return string;
|
|
63681
|
-
}
|
|
63682
|
-
const { openAll, closeAll } = styler;
|
|
63683
|
-
if (string.includes("\x1B")) {
|
|
63684
|
-
while (styler !== void 0) {
|
|
63685
|
-
string = stringReplaceAll2(string, styler.close, styler.open);
|
|
63686
|
-
styler = styler.parent;
|
|
63687
|
-
}
|
|
63688
|
-
}
|
|
63689
|
-
const lfIndex = string.indexOf("\n");
|
|
63690
|
-
if (lfIndex !== -1) {
|
|
63691
|
-
string = stringEncaseCRLFWithFirstIndex2(string, closeAll, openAll, lfIndex);
|
|
63692
|
-
}
|
|
63693
|
-
return openAll + string + closeAll;
|
|
63694
|
-
};
|
|
63695
|
-
Object.defineProperties(createChalk2.prototype, styles4);
|
|
63696
|
-
var chalk2 = createChalk2();
|
|
63697
|
-
var chalkStderr2 = createChalk2({ level: stderrColor2 ? stderrColor2.level : 0 });
|
|
63698
|
-
var source_default2 = chalk2;
|
|
63699
|
-
|
|
63700
|
-
// ../../../node_modules/log-symbols/node_modules/is-unicode-supported/index.js
|
|
63701
|
-
var import_node_process6 = __toESM(require("node:process"), 1);
|
|
63702
63340
|
function isUnicodeSupported2() {
|
|
63703
|
-
if (
|
|
63704
|
-
return
|
|
63341
|
+
if (import_node_process5.default.platform !== "win32") {
|
|
63342
|
+
return import_node_process5.default.env.TERM !== "linux";
|
|
63705
63343
|
}
|
|
63706
|
-
return Boolean(
|
|
63344
|
+
return Boolean(import_node_process5.default.env.CI) || Boolean(import_node_process5.default.env.WT_SESSION) || Boolean(import_node_process5.default.env.TERMINUS_SUBLIME) || import_node_process5.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process5.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process5.default.env.TERM_PROGRAM === "vscode" || import_node_process5.default.env.TERM === "xterm-256color" || import_node_process5.default.env.TERM === "alacritty" || import_node_process5.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
63707
63345
|
}
|
|
63708
63346
|
|
|
63709
|
-
// ../../../node_modules/log-symbols/index.js
|
|
63347
|
+
// ../../../node_modules/ora/node_modules/log-symbols/index.js
|
|
63710
63348
|
var main = {
|
|
63711
|
-
info:
|
|
63712
|
-
success:
|
|
63713
|
-
warning:
|
|
63714
|
-
error:
|
|
63349
|
+
info: source_default.blue("\u2139"),
|
|
63350
|
+
success: source_default.green("\u2714"),
|
|
63351
|
+
warning: source_default.yellow("\u26A0"),
|
|
63352
|
+
error: source_default.red("\u2716")
|
|
63715
63353
|
};
|
|
63716
63354
|
var fallback = {
|
|
63717
|
-
info:
|
|
63718
|
-
success:
|
|
63719
|
-
warning:
|
|
63720
|
-
error:
|
|
63355
|
+
info: source_default.blue("i"),
|
|
63356
|
+
success: source_default.green("\u221A"),
|
|
63357
|
+
warning: source_default.yellow("\u203C"),
|
|
63358
|
+
error: source_default.red("\xD7")
|
|
63721
63359
|
};
|
|
63722
63360
|
var logSymbols = isUnicodeSupported2() ? main : fallback;
|
|
63723
63361
|
var log_symbols_default = logSymbols;
|
|
@@ -63814,19 +63452,19 @@ function stringWidth(string, options = {}) {
|
|
|
63814
63452
|
return width;
|
|
63815
63453
|
}
|
|
63816
63454
|
|
|
63817
|
-
// ../../../node_modules/is-unicode-supported/index.js
|
|
63818
|
-
var
|
|
63455
|
+
// ../../../node_modules/ora/node_modules/is-unicode-supported/index.js
|
|
63456
|
+
var import_node_process6 = __toESM(require("node:process"), 1);
|
|
63819
63457
|
function isUnicodeSupported3() {
|
|
63820
|
-
const { env:
|
|
63821
|
-
const { TERM, TERM_PROGRAM } =
|
|
63822
|
-
if (
|
|
63458
|
+
const { env: env3 } = import_node_process6.default;
|
|
63459
|
+
const { TERM, TERM_PROGRAM } = env3;
|
|
63460
|
+
if (import_node_process6.default.platform !== "win32") {
|
|
63823
63461
|
return TERM !== "linux";
|
|
63824
63462
|
}
|
|
63825
|
-
return Boolean(
|
|
63463
|
+
return Boolean(env3.WT_SESSION) || Boolean(env3.TERMINUS_SUBLIME) || env3.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env3.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
63826
63464
|
}
|
|
63827
63465
|
|
|
63828
63466
|
// ../../../node_modules/stdin-discarder/index.js
|
|
63829
|
-
var
|
|
63467
|
+
var import_node_process7 = __toESM(require("node:process"), 1);
|
|
63830
63468
|
var ASCII_ETX_CODE = 3;
|
|
63831
63469
|
var StdinDiscarder = class {
|
|
63832
63470
|
#activeCount = 0;
|
|
@@ -63846,24 +63484,24 @@ var StdinDiscarder = class {
|
|
|
63846
63484
|
}
|
|
63847
63485
|
}
|
|
63848
63486
|
#realStart() {
|
|
63849
|
-
if (
|
|
63487
|
+
if (import_node_process7.default.platform === "win32" || !import_node_process7.default.stdin.isTTY) {
|
|
63850
63488
|
return;
|
|
63851
63489
|
}
|
|
63852
|
-
|
|
63853
|
-
|
|
63854
|
-
|
|
63490
|
+
import_node_process7.default.stdin.setRawMode(true);
|
|
63491
|
+
import_node_process7.default.stdin.on("data", this.#handleInput);
|
|
63492
|
+
import_node_process7.default.stdin.resume();
|
|
63855
63493
|
}
|
|
63856
63494
|
#realStop() {
|
|
63857
|
-
if (!
|
|
63495
|
+
if (!import_node_process7.default.stdin.isTTY) {
|
|
63858
63496
|
return;
|
|
63859
63497
|
}
|
|
63860
|
-
|
|
63861
|
-
|
|
63862
|
-
|
|
63498
|
+
import_node_process7.default.stdin.off("data", this.#handleInput);
|
|
63499
|
+
import_node_process7.default.stdin.pause();
|
|
63500
|
+
import_node_process7.default.stdin.setRawMode(false);
|
|
63863
63501
|
}
|
|
63864
63502
|
#handleInput(chunk) {
|
|
63865
63503
|
if (chunk[0] === ASCII_ETX_CODE) {
|
|
63866
|
-
|
|
63504
|
+
import_node_process7.default.emit("SIGINT");
|
|
63867
63505
|
}
|
|
63868
63506
|
}
|
|
63869
63507
|
};
|
|
@@ -63898,7 +63536,7 @@ var Ora = class {
|
|
|
63898
63536
|
}
|
|
63899
63537
|
this.#options = {
|
|
63900
63538
|
color: "cyan",
|
|
63901
|
-
stream:
|
|
63539
|
+
stream: import_node_process8.default.stderr,
|
|
63902
63540
|
discardStdin: true,
|
|
63903
63541
|
hideCursor: true,
|
|
63904
63542
|
...options
|
|
@@ -63913,7 +63551,7 @@ var Ora = class {
|
|
|
63913
63551
|
this.prefixText = this.#options.prefixText;
|
|
63914
63552
|
this.suffixText = this.#options.suffixText;
|
|
63915
63553
|
this.indent = this.#options.indent;
|
|
63916
|
-
if (
|
|
63554
|
+
if (import_node_process8.default.env.NODE_ENV === "test") {
|
|
63917
63555
|
this._stream = this.#stream;
|
|
63918
63556
|
this._isEnabled = this.#isEnabled;
|
|
63919
63557
|
Object.defineProperty(this, "_linesToClear", {
|
|
@@ -64103,7 +63741,7 @@ var Ora = class {
|
|
|
64103
63741
|
if (this.#options.hideCursor) {
|
|
64104
63742
|
cli_cursor_default.hide(this.#stream);
|
|
64105
63743
|
}
|
|
64106
|
-
if (this.#options.discardStdin &&
|
|
63744
|
+
if (this.#options.discardStdin && import_node_process8.default.stdin.isTTY) {
|
|
64107
63745
|
this.#isDiscardingStdin = true;
|
|
64108
63746
|
stdin_discarder_default.start();
|
|
64109
63747
|
}
|
|
@@ -64122,7 +63760,7 @@ var Ora = class {
|
|
|
64122
63760
|
if (this.#options.hideCursor) {
|
|
64123
63761
|
cli_cursor_default.show(this.#stream);
|
|
64124
63762
|
}
|
|
64125
|
-
if (this.#options.discardStdin &&
|
|
63763
|
+
if (this.#options.discardStdin && import_node_process8.default.stdin.isTTY && this.#isDiscardingStdin) {
|
|
64126
63764
|
stdin_discarder_default.stop();
|
|
64127
63765
|
this.#isDiscardingStdin = false;
|
|
64128
63766
|
}
|
|
@@ -64163,11 +63801,11 @@ function ora(options) {
|
|
|
64163
63801
|
}
|
|
64164
63802
|
|
|
64165
63803
|
// node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
64166
|
-
var
|
|
64167
|
-
var
|
|
64168
|
-
var
|
|
64169
|
-
var
|
|
64170
|
-
var
|
|
63804
|
+
var ANSI_BACKGROUND_OFFSET2 = 10;
|
|
63805
|
+
var wrapAnsi162 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
63806
|
+
var wrapAnsi2562 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
63807
|
+
var wrapAnsi16m2 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
|
|
63808
|
+
var styles3 = {
|
|
64171
63809
|
modifier: {
|
|
64172
63810
|
reset: [0, 0],
|
|
64173
63811
|
// 21 isn't widely supported and 22 does the same thing
|
|
@@ -64227,39 +63865,39 @@ var styles5 = {
|
|
|
64227
63865
|
bgWhiteBright: [107, 49]
|
|
64228
63866
|
}
|
|
64229
63867
|
};
|
|
64230
|
-
var
|
|
64231
|
-
var
|
|
64232
|
-
var
|
|
64233
|
-
var
|
|
64234
|
-
function
|
|
63868
|
+
var modifierNames2 = Object.keys(styles3.modifier);
|
|
63869
|
+
var foregroundColorNames2 = Object.keys(styles3.color);
|
|
63870
|
+
var backgroundColorNames2 = Object.keys(styles3.bgColor);
|
|
63871
|
+
var colorNames2 = [...foregroundColorNames2, ...backgroundColorNames2];
|
|
63872
|
+
function assembleStyles2() {
|
|
64235
63873
|
const codes2 = /* @__PURE__ */ new Map();
|
|
64236
|
-
for (const [groupName, group] of Object.entries(
|
|
63874
|
+
for (const [groupName, group] of Object.entries(styles3)) {
|
|
64237
63875
|
for (const [styleName, style] of Object.entries(group)) {
|
|
64238
|
-
|
|
63876
|
+
styles3[styleName] = {
|
|
64239
63877
|
open: `\x1B[${style[0]}m`,
|
|
64240
63878
|
close: `\x1B[${style[1]}m`
|
|
64241
63879
|
};
|
|
64242
|
-
group[styleName] =
|
|
63880
|
+
group[styleName] = styles3[styleName];
|
|
64243
63881
|
codes2.set(style[0], style[1]);
|
|
64244
63882
|
}
|
|
64245
|
-
Object.defineProperty(
|
|
63883
|
+
Object.defineProperty(styles3, groupName, {
|
|
64246
63884
|
value: group,
|
|
64247
63885
|
enumerable: false
|
|
64248
63886
|
});
|
|
64249
63887
|
}
|
|
64250
|
-
Object.defineProperty(
|
|
63888
|
+
Object.defineProperty(styles3, "codes", {
|
|
64251
63889
|
value: codes2,
|
|
64252
63890
|
enumerable: false
|
|
64253
63891
|
});
|
|
64254
|
-
|
|
64255
|
-
|
|
64256
|
-
|
|
64257
|
-
|
|
64258
|
-
|
|
64259
|
-
|
|
64260
|
-
|
|
64261
|
-
|
|
64262
|
-
Object.defineProperties(
|
|
63892
|
+
styles3.color.close = "\x1B[39m";
|
|
63893
|
+
styles3.bgColor.close = "\x1B[49m";
|
|
63894
|
+
styles3.color.ansi = wrapAnsi162();
|
|
63895
|
+
styles3.color.ansi256 = wrapAnsi2562();
|
|
63896
|
+
styles3.color.ansi16m = wrapAnsi16m2();
|
|
63897
|
+
styles3.bgColor.ansi = wrapAnsi162(ANSI_BACKGROUND_OFFSET2);
|
|
63898
|
+
styles3.bgColor.ansi256 = wrapAnsi2562(ANSI_BACKGROUND_OFFSET2);
|
|
63899
|
+
styles3.bgColor.ansi16m = wrapAnsi16m2(ANSI_BACKGROUND_OFFSET2);
|
|
63900
|
+
Object.defineProperties(styles3, {
|
|
64263
63901
|
rgbToAnsi256: {
|
|
64264
63902
|
value(red, green, blue) {
|
|
64265
63903
|
if (red === green && green === blue) {
|
|
@@ -64297,7 +63935,7 @@ function assembleStyles3() {
|
|
|
64297
63935
|
enumerable: false
|
|
64298
63936
|
},
|
|
64299
63937
|
hexToAnsi256: {
|
|
64300
|
-
value: (hex) =>
|
|
63938
|
+
value: (hex) => styles3.rgbToAnsi256(...styles3.hexToRgb(hex)),
|
|
64301
63939
|
enumerable: false
|
|
64302
63940
|
},
|
|
64303
63941
|
ansi256ToAnsi: {
|
|
@@ -64335,48 +63973,48 @@ function assembleStyles3() {
|
|
|
64335
63973
|
enumerable: false
|
|
64336
63974
|
},
|
|
64337
63975
|
rgbToAnsi: {
|
|
64338
|
-
value: (red, green, blue) =>
|
|
63976
|
+
value: (red, green, blue) => styles3.ansi256ToAnsi(styles3.rgbToAnsi256(red, green, blue)),
|
|
64339
63977
|
enumerable: false
|
|
64340
63978
|
},
|
|
64341
63979
|
hexToAnsi: {
|
|
64342
|
-
value: (hex) =>
|
|
63980
|
+
value: (hex) => styles3.ansi256ToAnsi(styles3.hexToAnsi256(hex)),
|
|
64343
63981
|
enumerable: false
|
|
64344
63982
|
}
|
|
64345
63983
|
});
|
|
64346
|
-
return
|
|
63984
|
+
return styles3;
|
|
64347
63985
|
}
|
|
64348
|
-
var
|
|
64349
|
-
var
|
|
63986
|
+
var ansiStyles2 = assembleStyles2();
|
|
63987
|
+
var ansi_styles_default2 = ansiStyles2;
|
|
64350
63988
|
|
|
64351
63989
|
// node_modules/chalk/source/vendor/supports-color/index.js
|
|
64352
|
-
var
|
|
64353
|
-
var
|
|
64354
|
-
var
|
|
64355
|
-
function
|
|
63990
|
+
var import_node_process9 = __toESM(require("node:process"), 1);
|
|
63991
|
+
var import_node_os4 = __toESM(require("node:os"), 1);
|
|
63992
|
+
var import_node_tty2 = __toESM(require("node:tty"), 1);
|
|
63993
|
+
function hasFlag2(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process9.default.argv) {
|
|
64356
63994
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
64357
63995
|
const position = argv.indexOf(prefix + flag);
|
|
64358
63996
|
const terminatorPosition = argv.indexOf("--");
|
|
64359
63997
|
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
64360
63998
|
}
|
|
64361
|
-
var { env:
|
|
64362
|
-
var
|
|
64363
|
-
if (
|
|
64364
|
-
|
|
64365
|
-
} else if (
|
|
64366
|
-
|
|
63999
|
+
var { env: env2 } = import_node_process9.default;
|
|
64000
|
+
var flagForceColor2;
|
|
64001
|
+
if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
|
|
64002
|
+
flagForceColor2 = 0;
|
|
64003
|
+
} else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
|
|
64004
|
+
flagForceColor2 = 1;
|
|
64367
64005
|
}
|
|
64368
|
-
function
|
|
64369
|
-
if ("FORCE_COLOR" in
|
|
64370
|
-
if (
|
|
64006
|
+
function envForceColor2() {
|
|
64007
|
+
if ("FORCE_COLOR" in env2) {
|
|
64008
|
+
if (env2.FORCE_COLOR === "true") {
|
|
64371
64009
|
return 1;
|
|
64372
64010
|
}
|
|
64373
|
-
if (
|
|
64011
|
+
if (env2.FORCE_COLOR === "false") {
|
|
64374
64012
|
return 0;
|
|
64375
64013
|
}
|
|
64376
|
-
return
|
|
64014
|
+
return env2.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env2.FORCE_COLOR, 10), 3);
|
|
64377
64015
|
}
|
|
64378
64016
|
}
|
|
64379
|
-
function
|
|
64017
|
+
function translateLevel2(level) {
|
|
64380
64018
|
if (level === 0) {
|
|
64381
64019
|
return false;
|
|
64382
64020
|
}
|
|
@@ -64387,67 +64025,67 @@ function translateLevel3(level) {
|
|
|
64387
64025
|
has16m: level >= 3
|
|
64388
64026
|
};
|
|
64389
64027
|
}
|
|
64390
|
-
function
|
|
64391
|
-
const noFlagForceColor =
|
|
64028
|
+
function _supportsColor2(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
64029
|
+
const noFlagForceColor = envForceColor2();
|
|
64392
64030
|
if (noFlagForceColor !== void 0) {
|
|
64393
|
-
|
|
64031
|
+
flagForceColor2 = noFlagForceColor;
|
|
64394
64032
|
}
|
|
64395
|
-
const forceColor = sniffFlags ?
|
|
64033
|
+
const forceColor = sniffFlags ? flagForceColor2 : noFlagForceColor;
|
|
64396
64034
|
if (forceColor === 0) {
|
|
64397
64035
|
return 0;
|
|
64398
64036
|
}
|
|
64399
64037
|
if (sniffFlags) {
|
|
64400
|
-
if (
|
|
64038
|
+
if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
|
|
64401
64039
|
return 3;
|
|
64402
64040
|
}
|
|
64403
|
-
if (
|
|
64041
|
+
if (hasFlag2("color=256")) {
|
|
64404
64042
|
return 2;
|
|
64405
64043
|
}
|
|
64406
64044
|
}
|
|
64407
|
-
if ("TF_BUILD" in
|
|
64045
|
+
if ("TF_BUILD" in env2 && "AGENT_NAME" in env2) {
|
|
64408
64046
|
return 1;
|
|
64409
64047
|
}
|
|
64410
64048
|
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
64411
64049
|
return 0;
|
|
64412
64050
|
}
|
|
64413
64051
|
const min = forceColor || 0;
|
|
64414
|
-
if (
|
|
64052
|
+
if (env2.TERM === "dumb") {
|
|
64415
64053
|
return min;
|
|
64416
64054
|
}
|
|
64417
|
-
if (
|
|
64418
|
-
const osRelease =
|
|
64055
|
+
if (import_node_process9.default.platform === "win32") {
|
|
64056
|
+
const osRelease = import_node_os4.default.release().split(".");
|
|
64419
64057
|
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
64420
64058
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
64421
64059
|
}
|
|
64422
64060
|
return 1;
|
|
64423
64061
|
}
|
|
64424
|
-
if ("CI" in
|
|
64425
|
-
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in
|
|
64062
|
+
if ("CI" in env2) {
|
|
64063
|
+
if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env2)) {
|
|
64426
64064
|
return 3;
|
|
64427
64065
|
}
|
|
64428
|
-
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in
|
|
64066
|
+
if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
|
|
64429
64067
|
return 1;
|
|
64430
64068
|
}
|
|
64431
64069
|
return min;
|
|
64432
64070
|
}
|
|
64433
|
-
if ("TEAMCITY_VERSION" in
|
|
64434
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(
|
|
64071
|
+
if ("TEAMCITY_VERSION" in env2) {
|
|
64072
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
|
|
64435
64073
|
}
|
|
64436
|
-
if (
|
|
64074
|
+
if (env2.COLORTERM === "truecolor") {
|
|
64437
64075
|
return 3;
|
|
64438
64076
|
}
|
|
64439
|
-
if (
|
|
64077
|
+
if (env2.TERM === "xterm-kitty") {
|
|
64440
64078
|
return 3;
|
|
64441
64079
|
}
|
|
64442
|
-
if (
|
|
64080
|
+
if (env2.TERM === "xterm-ghostty") {
|
|
64443
64081
|
return 3;
|
|
64444
64082
|
}
|
|
64445
|
-
if (
|
|
64083
|
+
if (env2.TERM === "wezterm") {
|
|
64446
64084
|
return 3;
|
|
64447
64085
|
}
|
|
64448
|
-
if ("TERM_PROGRAM" in
|
|
64449
|
-
const version = Number.parseInt((
|
|
64450
|
-
switch (
|
|
64086
|
+
if ("TERM_PROGRAM" in env2) {
|
|
64087
|
+
const version = Number.parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
64088
|
+
switch (env2.TERM_PROGRAM) {
|
|
64451
64089
|
case "iTerm.app": {
|
|
64452
64090
|
return version >= 3 ? 3 : 2;
|
|
64453
64091
|
}
|
|
@@ -64456,32 +64094,32 @@ function _supportsColor3(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
64456
64094
|
}
|
|
64457
64095
|
}
|
|
64458
64096
|
}
|
|
64459
|
-
if (/-256(color)?$/i.test(
|
|
64097
|
+
if (/-256(color)?$/i.test(env2.TERM)) {
|
|
64460
64098
|
return 2;
|
|
64461
64099
|
}
|
|
64462
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(
|
|
64100
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
|
|
64463
64101
|
return 1;
|
|
64464
64102
|
}
|
|
64465
|
-
if ("COLORTERM" in
|
|
64103
|
+
if ("COLORTERM" in env2) {
|
|
64466
64104
|
return 1;
|
|
64467
64105
|
}
|
|
64468
64106
|
return min;
|
|
64469
64107
|
}
|
|
64470
|
-
function
|
|
64471
|
-
const level =
|
|
64108
|
+
function createSupportsColor2(stream5, options = {}) {
|
|
64109
|
+
const level = _supportsColor2(stream5, {
|
|
64472
64110
|
streamIsTTY: stream5 && stream5.isTTY,
|
|
64473
64111
|
...options
|
|
64474
64112
|
});
|
|
64475
|
-
return
|
|
64113
|
+
return translateLevel2(level);
|
|
64476
64114
|
}
|
|
64477
|
-
var
|
|
64478
|
-
stdout:
|
|
64479
|
-
stderr:
|
|
64115
|
+
var supportsColor2 = {
|
|
64116
|
+
stdout: createSupportsColor2({ isTTY: import_node_tty2.default.isatty(1) }),
|
|
64117
|
+
stderr: createSupportsColor2({ isTTY: import_node_tty2.default.isatty(2) })
|
|
64480
64118
|
};
|
|
64481
|
-
var
|
|
64119
|
+
var supports_color_default2 = supportsColor2;
|
|
64482
64120
|
|
|
64483
64121
|
// node_modules/chalk/source/utilities.js
|
|
64484
|
-
function
|
|
64122
|
+
function stringReplaceAll2(string, substring, replacer) {
|
|
64485
64123
|
let index = string.indexOf(substring);
|
|
64486
64124
|
if (index === -1) {
|
|
64487
64125
|
return string;
|
|
@@ -64497,7 +64135,7 @@ function stringReplaceAll3(string, substring, replacer) {
|
|
|
64497
64135
|
returnValue += string.slice(endIndex);
|
|
64498
64136
|
return returnValue;
|
|
64499
64137
|
}
|
|
64500
|
-
function
|
|
64138
|
+
function stringEncaseCRLFWithFirstIndex2(string, prefix, postfix, index) {
|
|
64501
64139
|
let endIndex = 0;
|
|
64502
64140
|
let returnValue = "";
|
|
64503
64141
|
do {
|
|
@@ -64511,101 +64149,101 @@ function stringEncaseCRLFWithFirstIndex3(string, prefix, postfix, index) {
|
|
|
64511
64149
|
}
|
|
64512
64150
|
|
|
64513
64151
|
// node_modules/chalk/source/index.js
|
|
64514
|
-
var { stdout:
|
|
64515
|
-
var
|
|
64516
|
-
var
|
|
64517
|
-
var
|
|
64518
|
-
var
|
|
64152
|
+
var { stdout: stdoutColor2, stderr: stderrColor2 } = supports_color_default2;
|
|
64153
|
+
var GENERATOR2 = /* @__PURE__ */ Symbol("GENERATOR");
|
|
64154
|
+
var STYLER2 = /* @__PURE__ */ Symbol("STYLER");
|
|
64155
|
+
var IS_EMPTY2 = /* @__PURE__ */ Symbol("IS_EMPTY");
|
|
64156
|
+
var levelMapping2 = [
|
|
64519
64157
|
"ansi",
|
|
64520
64158
|
"ansi",
|
|
64521
64159
|
"ansi256",
|
|
64522
64160
|
"ansi16m"
|
|
64523
64161
|
];
|
|
64524
|
-
var
|
|
64525
|
-
var
|
|
64162
|
+
var styles4 = /* @__PURE__ */ Object.create(null);
|
|
64163
|
+
var applyOptions2 = (object, options = {}) => {
|
|
64526
64164
|
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
|
|
64527
64165
|
throw new Error("The `level` option should be an integer from 0 to 3");
|
|
64528
64166
|
}
|
|
64529
|
-
const colorLevel =
|
|
64167
|
+
const colorLevel = stdoutColor2 ? stdoutColor2.level : 0;
|
|
64530
64168
|
object.level = options.level === void 0 ? colorLevel : options.level;
|
|
64531
64169
|
};
|
|
64532
|
-
var
|
|
64533
|
-
const
|
|
64534
|
-
|
|
64535
|
-
Object.setPrototypeOf(
|
|
64536
|
-
return
|
|
64170
|
+
var chalkFactory2 = (options) => {
|
|
64171
|
+
const chalk3 = (...strings) => strings.join(" ");
|
|
64172
|
+
applyOptions2(chalk3, options);
|
|
64173
|
+
Object.setPrototypeOf(chalk3, createChalk2.prototype);
|
|
64174
|
+
return chalk3;
|
|
64537
64175
|
};
|
|
64538
|
-
function
|
|
64539
|
-
return
|
|
64176
|
+
function createChalk2(options) {
|
|
64177
|
+
return chalkFactory2(options);
|
|
64540
64178
|
}
|
|
64541
|
-
Object.setPrototypeOf(
|
|
64542
|
-
for (const [styleName, style] of Object.entries(
|
|
64543
|
-
|
|
64179
|
+
Object.setPrototypeOf(createChalk2.prototype, Function.prototype);
|
|
64180
|
+
for (const [styleName, style] of Object.entries(ansi_styles_default2)) {
|
|
64181
|
+
styles4[styleName] = {
|
|
64544
64182
|
get() {
|
|
64545
|
-
const builder =
|
|
64183
|
+
const builder = createBuilder2(this, createStyler2(style.open, style.close, this[STYLER2]), this[IS_EMPTY2]);
|
|
64546
64184
|
Object.defineProperty(this, styleName, { value: builder });
|
|
64547
64185
|
return builder;
|
|
64548
64186
|
}
|
|
64549
64187
|
};
|
|
64550
64188
|
}
|
|
64551
|
-
|
|
64189
|
+
styles4.visible = {
|
|
64552
64190
|
get() {
|
|
64553
|
-
const builder =
|
|
64191
|
+
const builder = createBuilder2(this, this[STYLER2], true);
|
|
64554
64192
|
Object.defineProperty(this, "visible", { value: builder });
|
|
64555
64193
|
return builder;
|
|
64556
64194
|
}
|
|
64557
64195
|
};
|
|
64558
|
-
var
|
|
64196
|
+
var getModelAnsi2 = (model, level, type, ...arguments_) => {
|
|
64559
64197
|
if (model === "rgb") {
|
|
64560
64198
|
if (level === "ansi16m") {
|
|
64561
|
-
return
|
|
64199
|
+
return ansi_styles_default2[type].ansi16m(...arguments_);
|
|
64562
64200
|
}
|
|
64563
64201
|
if (level === "ansi256") {
|
|
64564
|
-
return
|
|
64202
|
+
return ansi_styles_default2[type].ansi256(ansi_styles_default2.rgbToAnsi256(...arguments_));
|
|
64565
64203
|
}
|
|
64566
|
-
return
|
|
64204
|
+
return ansi_styles_default2[type].ansi(ansi_styles_default2.rgbToAnsi(...arguments_));
|
|
64567
64205
|
}
|
|
64568
64206
|
if (model === "hex") {
|
|
64569
|
-
return
|
|
64207
|
+
return getModelAnsi2("rgb", level, type, ...ansi_styles_default2.hexToRgb(...arguments_));
|
|
64570
64208
|
}
|
|
64571
|
-
return
|
|
64209
|
+
return ansi_styles_default2[type][model](...arguments_);
|
|
64572
64210
|
};
|
|
64573
|
-
var
|
|
64574
|
-
for (const model of
|
|
64575
|
-
|
|
64211
|
+
var usedModels2 = ["rgb", "hex", "ansi256"];
|
|
64212
|
+
for (const model of usedModels2) {
|
|
64213
|
+
styles4[model] = {
|
|
64576
64214
|
get() {
|
|
64577
64215
|
const { level } = this;
|
|
64578
64216
|
return function(...arguments_) {
|
|
64579
|
-
const styler =
|
|
64580
|
-
return
|
|
64217
|
+
const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "color", ...arguments_), ansi_styles_default2.color.close, this[STYLER2]);
|
|
64218
|
+
return createBuilder2(this, styler, this[IS_EMPTY2]);
|
|
64581
64219
|
};
|
|
64582
64220
|
}
|
|
64583
64221
|
};
|
|
64584
64222
|
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
|
|
64585
|
-
|
|
64223
|
+
styles4[bgModel] = {
|
|
64586
64224
|
get() {
|
|
64587
64225
|
const { level } = this;
|
|
64588
64226
|
return function(...arguments_) {
|
|
64589
|
-
const styler =
|
|
64590
|
-
return
|
|
64227
|
+
const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "bgColor", ...arguments_), ansi_styles_default2.bgColor.close, this[STYLER2]);
|
|
64228
|
+
return createBuilder2(this, styler, this[IS_EMPTY2]);
|
|
64591
64229
|
};
|
|
64592
64230
|
}
|
|
64593
64231
|
};
|
|
64594
64232
|
}
|
|
64595
|
-
var
|
|
64233
|
+
var proto2 = Object.defineProperties(() => {
|
|
64596
64234
|
}, {
|
|
64597
|
-
...
|
|
64235
|
+
...styles4,
|
|
64598
64236
|
level: {
|
|
64599
64237
|
enumerable: true,
|
|
64600
64238
|
get() {
|
|
64601
|
-
return this[
|
|
64239
|
+
return this[GENERATOR2].level;
|
|
64602
64240
|
},
|
|
64603
64241
|
set(level) {
|
|
64604
|
-
this[
|
|
64242
|
+
this[GENERATOR2].level = level;
|
|
64605
64243
|
}
|
|
64606
64244
|
}
|
|
64607
64245
|
});
|
|
64608
|
-
var
|
|
64246
|
+
var createStyler2 = (open2, close, parent) => {
|
|
64609
64247
|
let openAll;
|
|
64610
64248
|
let closeAll;
|
|
64611
64249
|
if (parent === void 0) {
|
|
@@ -64623,39 +64261,39 @@ var createStyler3 = (open2, close, parent) => {
|
|
|
64623
64261
|
parent
|
|
64624
64262
|
};
|
|
64625
64263
|
};
|
|
64626
|
-
var
|
|
64627
|
-
const builder = (...arguments_) =>
|
|
64628
|
-
Object.setPrototypeOf(builder,
|
|
64629
|
-
builder[
|
|
64630
|
-
builder[
|
|
64631
|
-
builder[
|
|
64264
|
+
var createBuilder2 = (self2, _styler, _isEmpty) => {
|
|
64265
|
+
const builder = (...arguments_) => applyStyle2(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
|
|
64266
|
+
Object.setPrototypeOf(builder, proto2);
|
|
64267
|
+
builder[GENERATOR2] = self2;
|
|
64268
|
+
builder[STYLER2] = _styler;
|
|
64269
|
+
builder[IS_EMPTY2] = _isEmpty;
|
|
64632
64270
|
return builder;
|
|
64633
64271
|
};
|
|
64634
|
-
var
|
|
64272
|
+
var applyStyle2 = (self2, string) => {
|
|
64635
64273
|
if (self2.level <= 0 || !string) {
|
|
64636
|
-
return self2[
|
|
64274
|
+
return self2[IS_EMPTY2] ? "" : string;
|
|
64637
64275
|
}
|
|
64638
|
-
let styler = self2[
|
|
64276
|
+
let styler = self2[STYLER2];
|
|
64639
64277
|
if (styler === void 0) {
|
|
64640
64278
|
return string;
|
|
64641
64279
|
}
|
|
64642
64280
|
const { openAll, closeAll } = styler;
|
|
64643
64281
|
if (string.includes("\x1B")) {
|
|
64644
64282
|
while (styler !== void 0) {
|
|
64645
|
-
string =
|
|
64283
|
+
string = stringReplaceAll2(string, styler.close, styler.open);
|
|
64646
64284
|
styler = styler.parent;
|
|
64647
64285
|
}
|
|
64648
64286
|
}
|
|
64649
64287
|
const lfIndex = string.indexOf("\n");
|
|
64650
64288
|
if (lfIndex !== -1) {
|
|
64651
|
-
string =
|
|
64289
|
+
string = stringEncaseCRLFWithFirstIndex2(string, closeAll, openAll, lfIndex);
|
|
64652
64290
|
}
|
|
64653
64291
|
return openAll + string + closeAll;
|
|
64654
64292
|
};
|
|
64655
|
-
Object.defineProperties(
|
|
64656
|
-
var
|
|
64657
|
-
var
|
|
64658
|
-
var
|
|
64293
|
+
Object.defineProperties(createChalk2.prototype, styles4);
|
|
64294
|
+
var chalk2 = createChalk2();
|
|
64295
|
+
var chalkStderr2 = createChalk2({ level: stderrColor2 ? stderrColor2.level : 0 });
|
|
64296
|
+
var source_default2 = chalk2;
|
|
64659
64297
|
|
|
64660
64298
|
// ../../../node_modules/@isaacs/balanced-match/dist/esm/index.js
|
|
64661
64299
|
var balanced = (a, b2, str) => {
|
|
@@ -70041,7 +69679,7 @@ var PathScurryBase = class {
|
|
|
70041
69679
|
const dirs = /* @__PURE__ */ new Set();
|
|
70042
69680
|
const queue = [entry];
|
|
70043
69681
|
let processing = 0;
|
|
70044
|
-
const
|
|
69682
|
+
const process13 = () => {
|
|
70045
69683
|
let paused = false;
|
|
70046
69684
|
while (!paused) {
|
|
70047
69685
|
const dir = queue.shift();
|
|
@@ -70082,9 +69720,9 @@ var PathScurryBase = class {
|
|
|
70082
69720
|
}
|
|
70083
69721
|
}
|
|
70084
69722
|
if (paused && !results.flowing) {
|
|
70085
|
-
results.once("drain",
|
|
69723
|
+
results.once("drain", process13);
|
|
70086
69724
|
} else if (!sync2) {
|
|
70087
|
-
|
|
69725
|
+
process13();
|
|
70088
69726
|
}
|
|
70089
69727
|
};
|
|
70090
69728
|
let sync2 = true;
|
|
@@ -70092,7 +69730,7 @@ var PathScurryBase = class {
|
|
|
70092
69730
|
sync2 = false;
|
|
70093
69731
|
}
|
|
70094
69732
|
};
|
|
70095
|
-
|
|
69733
|
+
process13();
|
|
70096
69734
|
return results;
|
|
70097
69735
|
}
|
|
70098
69736
|
streamSync(entry = this.cwd, opts = {}) {
|
|
@@ -70110,7 +69748,7 @@ var PathScurryBase = class {
|
|
|
70110
69748
|
}
|
|
70111
69749
|
const queue = [entry];
|
|
70112
69750
|
let processing = 0;
|
|
70113
|
-
const
|
|
69751
|
+
const process13 = () => {
|
|
70114
69752
|
let paused = false;
|
|
70115
69753
|
while (!paused) {
|
|
70116
69754
|
const dir = queue.shift();
|
|
@@ -70144,9 +69782,9 @@ var PathScurryBase = class {
|
|
|
70144
69782
|
}
|
|
70145
69783
|
}
|
|
70146
69784
|
if (paused && !results.flowing)
|
|
70147
|
-
results.once("drain",
|
|
69785
|
+
results.once("drain", process13);
|
|
70148
69786
|
};
|
|
70149
|
-
|
|
69787
|
+
process13();
|
|
70150
69788
|
return results;
|
|
70151
69789
|
}
|
|
70152
69790
|
chdir(path3 = this.cwd) {
|