@modern-js/create 2.63.0 → 2.63.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +325 -371
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -28,9 +28,6 @@ var __spreadValues = (a, b) => {
|
|
|
28
28
|
return a;
|
|
29
29
|
};
|
|
30
30
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
31
|
-
var __esm = (fn, res) => function __init() {
|
|
32
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
33
|
-
};
|
|
34
31
|
var __commonJS = (cb, mod) => function __require() {
|
|
35
32
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
36
33
|
};
|
|
@@ -1040,7 +1037,7 @@ var require_command = __commonJS({
|
|
|
1040
1037
|
var childProcess = require("child_process");
|
|
1041
1038
|
var path11 = require("path");
|
|
1042
1039
|
var fs2 = require("fs");
|
|
1043
|
-
var
|
|
1040
|
+
var process2 = require("process");
|
|
1044
1041
|
var { Argument: Argument2, humanReadableArgName } = require_argument();
|
|
1045
1042
|
var { CommanderError: CommanderError2 } = require_error();
|
|
1046
1043
|
var { Help: Help2 } = require_help();
|
|
@@ -1085,10 +1082,10 @@ var require_command = __commonJS({
|
|
|
1085
1082
|
this._showHelpAfterError = false;
|
|
1086
1083
|
this._showSuggestionAfterError = true;
|
|
1087
1084
|
this._outputConfiguration = {
|
|
1088
|
-
writeOut: (str) =>
|
|
1089
|
-
writeErr: (str) =>
|
|
1090
|
-
getOutHelpWidth: () =>
|
|
1091
|
-
getErrHelpWidth: () =>
|
|
1085
|
+
writeOut: (str) => process2.stdout.write(str),
|
|
1086
|
+
writeErr: (str) => process2.stderr.write(str),
|
|
1087
|
+
getOutHelpWidth: () => process2.stdout.isTTY ? process2.stdout.columns : void 0,
|
|
1088
|
+
getErrHelpWidth: () => process2.stderr.isTTY ? process2.stderr.columns : void 0,
|
|
1092
1089
|
outputError: (str, write) => write(str)
|
|
1093
1090
|
};
|
|
1094
1091
|
this._hidden = false;
|
|
@@ -1442,7 +1439,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1442
1439
|
if (this._exitCallback) {
|
|
1443
1440
|
this._exitCallback(new CommanderError2(exitCode, code, message));
|
|
1444
1441
|
}
|
|
1445
|
-
|
|
1442
|
+
process2.exit(exitCode);
|
|
1446
1443
|
}
|
|
1447
1444
|
/**
|
|
1448
1445
|
* Register callback `fn` for the command.
|
|
@@ -1789,8 +1786,8 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1789
1786
|
}
|
|
1790
1787
|
parseOptions = parseOptions || {};
|
|
1791
1788
|
if (argv === void 0) {
|
|
1792
|
-
argv =
|
|
1793
|
-
if (
|
|
1789
|
+
argv = process2.argv;
|
|
1790
|
+
if (process2.versions && process2.versions.electron) {
|
|
1794
1791
|
parseOptions.from = "electron";
|
|
1795
1792
|
}
|
|
1796
1793
|
}
|
|
@@ -1803,7 +1800,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1803
1800
|
userArgs = argv.slice(2);
|
|
1804
1801
|
break;
|
|
1805
1802
|
case "electron":
|
|
1806
|
-
if (
|
|
1803
|
+
if (process2.defaultApp) {
|
|
1807
1804
|
this._scriptPath = argv[1];
|
|
1808
1805
|
userArgs = argv.slice(2);
|
|
1809
1806
|
} else {
|
|
@@ -1912,23 +1909,23 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1912
1909
|
}
|
|
1913
1910
|
launchWithNode = sourceExt.includes(path11.extname(executableFile));
|
|
1914
1911
|
let proc;
|
|
1915
|
-
if (
|
|
1912
|
+
if (process2.platform !== "win32") {
|
|
1916
1913
|
if (launchWithNode) {
|
|
1917
1914
|
args.unshift(executableFile);
|
|
1918
|
-
args = incrementNodeInspectorPort(
|
|
1919
|
-
proc = childProcess.spawn(
|
|
1915
|
+
args = incrementNodeInspectorPort(process2.execArgv).concat(args);
|
|
1916
|
+
proc = childProcess.spawn(process2.argv[0], args, { stdio: "inherit" });
|
|
1920
1917
|
} else {
|
|
1921
1918
|
proc = childProcess.spawn(executableFile, args, { stdio: "inherit" });
|
|
1922
1919
|
}
|
|
1923
1920
|
} else {
|
|
1924
1921
|
args.unshift(executableFile);
|
|
1925
|
-
args = incrementNodeInspectorPort(
|
|
1926
|
-
proc = childProcess.spawn(
|
|
1922
|
+
args = incrementNodeInspectorPort(process2.execArgv).concat(args);
|
|
1923
|
+
proc = childProcess.spawn(process2.execPath, args, { stdio: "inherit" });
|
|
1927
1924
|
}
|
|
1928
1925
|
if (!proc.killed) {
|
|
1929
1926
|
const signals = ["SIGUSR1", "SIGUSR2", "SIGTERM", "SIGINT", "SIGHUP"];
|
|
1930
1927
|
signals.forEach((signal) => {
|
|
1931
|
-
|
|
1928
|
+
process2.on(signal, () => {
|
|
1932
1929
|
if (proc.killed === false && proc.exitCode === null) {
|
|
1933
1930
|
proc.kill(signal);
|
|
1934
1931
|
}
|
|
@@ -1937,10 +1934,10 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1937
1934
|
}
|
|
1938
1935
|
const exitCallback = this._exitCallback;
|
|
1939
1936
|
if (!exitCallback) {
|
|
1940
|
-
proc.on("close",
|
|
1937
|
+
proc.on("close", process2.exit.bind(process2));
|
|
1941
1938
|
} else {
|
|
1942
1939
|
proc.on("close", () => {
|
|
1943
|
-
exitCallback(new CommanderError2(
|
|
1940
|
+
exitCallback(new CommanderError2(process2.exitCode || 0, "commander.executeSubCommandAsync", "(close)"));
|
|
1944
1941
|
});
|
|
1945
1942
|
}
|
|
1946
1943
|
proc.on("error", (err) => {
|
|
@@ -1955,7 +1952,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
1955
1952
|
throw new Error(`'${executableFile}' not executable`);
|
|
1956
1953
|
}
|
|
1957
1954
|
if (!exitCallback) {
|
|
1958
|
-
|
|
1955
|
+
process2.exit(1);
|
|
1959
1956
|
} else {
|
|
1960
1957
|
const wrappedError = new CommanderError2(1, "commander.executeSubCommandAsync", "(error)");
|
|
1961
1958
|
wrappedError.nestedError = err;
|
|
@@ -2421,11 +2418,11 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2421
2418
|
*/
|
|
2422
2419
|
_parseOptionsEnv() {
|
|
2423
2420
|
this.options.forEach((option) => {
|
|
2424
|
-
if (option.envVar && option.envVar in
|
|
2421
|
+
if (option.envVar && option.envVar in process2.env) {
|
|
2425
2422
|
const optionKey = option.attributeName();
|
|
2426
2423
|
if (this.getOptionValue(optionKey) === void 0 || ["default", "config", "env"].includes(this.getOptionValueSource(optionKey))) {
|
|
2427
2424
|
if (option.required || option.optional) {
|
|
2428
|
-
this.emit(`optionEnv:${option.name()}`,
|
|
2425
|
+
this.emit(`optionEnv:${option.name()}`, process2.env[option.envVar]);
|
|
2429
2426
|
} else {
|
|
2430
2427
|
this.emit(`optionEnv:${option.name()}`);
|
|
2431
2428
|
}
|
|
@@ -2812,7 +2809,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
2812
2809
|
*/
|
|
2813
2810
|
help(contextOptions) {
|
|
2814
2811
|
this.outputHelp(contextOptions);
|
|
2815
|
-
let exitCode =
|
|
2812
|
+
let exitCode = process2.exitCode || 0;
|
|
2816
2813
|
if (exitCode === 0 && contextOptions && typeof contextOptions !== "function" && contextOptions.error) {
|
|
2817
2814
|
exitCode = 1;
|
|
2818
2815
|
}
|
|
@@ -3397,7 +3394,7 @@ var require_graceful_fs = __commonJS({
|
|
|
3397
3394
|
var polyfills = require_polyfills();
|
|
3398
3395
|
var legacy = require_legacy_streams();
|
|
3399
3396
|
var clone = require_clone();
|
|
3400
|
-
var
|
|
3397
|
+
var util3 = require("util");
|
|
3401
3398
|
var gracefulQueue;
|
|
3402
3399
|
var previousSymbol;
|
|
3403
3400
|
if (typeof Symbol === "function" && typeof Symbol.for === "function") {
|
|
@@ -3417,11 +3414,11 @@ var require_graceful_fs = __commonJS({
|
|
|
3417
3414
|
});
|
|
3418
3415
|
}
|
|
3419
3416
|
var debug2 = noop2;
|
|
3420
|
-
if (
|
|
3421
|
-
debug2 =
|
|
3417
|
+
if (util3.debuglog)
|
|
3418
|
+
debug2 = util3.debuglog("gfs4");
|
|
3422
3419
|
else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ""))
|
|
3423
3420
|
debug2 = function() {
|
|
3424
|
-
var m =
|
|
3421
|
+
var m = util3.format.apply(util3, arguments);
|
|
3425
3422
|
m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
|
|
3426
3423
|
console.error(m);
|
|
3427
3424
|
};
|
|
@@ -3975,7 +3972,7 @@ var require_stat = __commonJS({
|
|
|
3975
3972
|
"use strict";
|
|
3976
3973
|
var fs2 = require_fs();
|
|
3977
3974
|
var path11 = require("path");
|
|
3978
|
-
var
|
|
3975
|
+
var util3 = require("util");
|
|
3979
3976
|
function getStats(src, dest, opts) {
|
|
3980
3977
|
const statFunc = opts.dereference ? (file) => fs2.stat(file, { bigint: true }) : (file) => fs2.lstat(file, { bigint: true });
|
|
3981
3978
|
return Promise.all([
|
|
@@ -4001,7 +3998,7 @@ var require_stat = __commonJS({
|
|
|
4001
3998
|
return { srcStat, destStat };
|
|
4002
3999
|
}
|
|
4003
4000
|
function checkPaths(src, dest, funcName, opts, cb) {
|
|
4004
|
-
|
|
4001
|
+
util3.callbackify(getStats)(src, dest, opts, (err, stats) => {
|
|
4005
4002
|
if (err)
|
|
4006
4003
|
return cb(err);
|
|
4007
4004
|
const { srcStat, destStat } = stats;
|
|
@@ -6644,26 +6641,26 @@ var require_has_flag = __commonJS({
|
|
|
6644
6641
|
var require_supports_color = __commonJS({
|
|
6645
6642
|
"../../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module2) {
|
|
6646
6643
|
"use strict";
|
|
6647
|
-
var
|
|
6648
|
-
var
|
|
6649
|
-
var
|
|
6650
|
-
var { env
|
|
6644
|
+
var os3 = require("os");
|
|
6645
|
+
var tty = require("tty");
|
|
6646
|
+
var hasFlag = require_has_flag();
|
|
6647
|
+
var { env } = process;
|
|
6651
6648
|
var forceColor;
|
|
6652
|
-
if (
|
|
6649
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
6653
6650
|
forceColor = 0;
|
|
6654
|
-
} else if (
|
|
6651
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
6655
6652
|
forceColor = 1;
|
|
6656
6653
|
}
|
|
6657
|
-
if ("FORCE_COLOR" in
|
|
6658
|
-
if (
|
|
6654
|
+
if ("FORCE_COLOR" in env) {
|
|
6655
|
+
if (env.FORCE_COLOR === "true") {
|
|
6659
6656
|
forceColor = 1;
|
|
6660
|
-
} else if (
|
|
6657
|
+
} else if (env.FORCE_COLOR === "false") {
|
|
6661
6658
|
forceColor = 0;
|
|
6662
6659
|
} else {
|
|
6663
|
-
forceColor =
|
|
6660
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
6664
6661
|
}
|
|
6665
6662
|
}
|
|
6666
|
-
function
|
|
6663
|
+
function translateLevel(level) {
|
|
6667
6664
|
if (level === 0) {
|
|
6668
6665
|
return false;
|
|
6669
6666
|
}
|
|
@@ -6674,70 +6671,70 @@ var require_supports_color = __commonJS({
|
|
|
6674
6671
|
has16m: level >= 3
|
|
6675
6672
|
};
|
|
6676
6673
|
}
|
|
6677
|
-
function
|
|
6674
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
6678
6675
|
if (forceColor === 0) {
|
|
6679
6676
|
return 0;
|
|
6680
6677
|
}
|
|
6681
|
-
if (
|
|
6678
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
6682
6679
|
return 3;
|
|
6683
6680
|
}
|
|
6684
|
-
if (
|
|
6681
|
+
if (hasFlag("color=256")) {
|
|
6685
6682
|
return 2;
|
|
6686
6683
|
}
|
|
6687
6684
|
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
6688
6685
|
return 0;
|
|
6689
6686
|
}
|
|
6690
6687
|
const min = forceColor || 0;
|
|
6691
|
-
if (
|
|
6688
|
+
if (env.TERM === "dumb") {
|
|
6692
6689
|
return min;
|
|
6693
6690
|
}
|
|
6694
6691
|
if (process.platform === "win32") {
|
|
6695
|
-
const osRelease =
|
|
6692
|
+
const osRelease = os3.release().split(".");
|
|
6696
6693
|
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
6697
6694
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
6698
6695
|
}
|
|
6699
6696
|
return 1;
|
|
6700
6697
|
}
|
|
6701
|
-
if ("CI" in
|
|
6702
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in
|
|
6698
|
+
if ("CI" in env) {
|
|
6699
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
6703
6700
|
return 1;
|
|
6704
6701
|
}
|
|
6705
6702
|
return min;
|
|
6706
6703
|
}
|
|
6707
|
-
if ("TEAMCITY_VERSION" in
|
|
6708
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(
|
|
6704
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
6705
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
6709
6706
|
}
|
|
6710
|
-
if (
|
|
6707
|
+
if (env.COLORTERM === "truecolor") {
|
|
6711
6708
|
return 3;
|
|
6712
6709
|
}
|
|
6713
|
-
if ("TERM_PROGRAM" in
|
|
6714
|
-
const version2 = parseInt((
|
|
6715
|
-
switch (
|
|
6710
|
+
if ("TERM_PROGRAM" in env) {
|
|
6711
|
+
const version2 = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
6712
|
+
switch (env.TERM_PROGRAM) {
|
|
6716
6713
|
case "iTerm.app":
|
|
6717
6714
|
return version2 >= 3 ? 3 : 2;
|
|
6718
6715
|
case "Apple_Terminal":
|
|
6719
6716
|
return 2;
|
|
6720
6717
|
}
|
|
6721
6718
|
}
|
|
6722
|
-
if (/-256(color)?$/i.test(
|
|
6719
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
6723
6720
|
return 2;
|
|
6724
6721
|
}
|
|
6725
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(
|
|
6722
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
6726
6723
|
return 1;
|
|
6727
6724
|
}
|
|
6728
|
-
if ("COLORTERM" in
|
|
6725
|
+
if ("COLORTERM" in env) {
|
|
6729
6726
|
return 1;
|
|
6730
6727
|
}
|
|
6731
6728
|
return min;
|
|
6732
6729
|
}
|
|
6733
6730
|
function getSupportLevel(stream4) {
|
|
6734
|
-
const level =
|
|
6735
|
-
return
|
|
6731
|
+
const level = supportsColor(stream4, stream4 && stream4.isTTY);
|
|
6732
|
+
return translateLevel(level);
|
|
6736
6733
|
}
|
|
6737
6734
|
module2.exports = {
|
|
6738
6735
|
supportsColor: getSupportLevel,
|
|
6739
|
-
stdout:
|
|
6740
|
-
stderr:
|
|
6736
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
6737
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
6741
6738
|
};
|
|
6742
6739
|
}
|
|
6743
6740
|
});
|
|
@@ -7167,11 +7164,11 @@ var require_signals = __commonJS({
|
|
|
7167
7164
|
var require_signal_exit = __commonJS({
|
|
7168
7165
|
"../../../node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module2) {
|
|
7169
7166
|
"use strict";
|
|
7170
|
-
var
|
|
7171
|
-
var processOk = function(
|
|
7172
|
-
return
|
|
7167
|
+
var process2 = global.process;
|
|
7168
|
+
var processOk = function(process3) {
|
|
7169
|
+
return process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
|
|
7173
7170
|
};
|
|
7174
|
-
if (!processOk(
|
|
7171
|
+
if (!processOk(process2)) {
|
|
7175
7172
|
module2.exports = function() {
|
|
7176
7173
|
return function() {
|
|
7177
7174
|
};
|
|
@@ -7179,15 +7176,15 @@ var require_signal_exit = __commonJS({
|
|
|
7179
7176
|
} else {
|
|
7180
7177
|
assert = require("assert");
|
|
7181
7178
|
signals = require_signals();
|
|
7182
|
-
isWin = /^win/i.test(
|
|
7179
|
+
isWin = /^win/i.test(process2.platform);
|
|
7183
7180
|
EE = require("events");
|
|
7184
7181
|
if (typeof EE !== "function") {
|
|
7185
7182
|
EE = EE.EventEmitter;
|
|
7186
7183
|
}
|
|
7187
|
-
if (
|
|
7188
|
-
emitter =
|
|
7184
|
+
if (process2.__signal_exit_emitter__) {
|
|
7185
|
+
emitter = process2.__signal_exit_emitter__;
|
|
7189
7186
|
} else {
|
|
7190
|
-
emitter =
|
|
7187
|
+
emitter = process2.__signal_exit_emitter__ = new EE();
|
|
7191
7188
|
emitter.count = 0;
|
|
7192
7189
|
emitter.emitted = {};
|
|
7193
7190
|
}
|
|
@@ -7224,12 +7221,12 @@ var require_signal_exit = __commonJS({
|
|
|
7224
7221
|
loaded = false;
|
|
7225
7222
|
signals.forEach(function(sig) {
|
|
7226
7223
|
try {
|
|
7227
|
-
|
|
7224
|
+
process2.removeListener(sig, sigListeners[sig]);
|
|
7228
7225
|
} catch (er) {
|
|
7229
7226
|
}
|
|
7230
7227
|
});
|
|
7231
|
-
|
|
7232
|
-
|
|
7228
|
+
process2.emit = originalProcessEmit;
|
|
7229
|
+
process2.reallyExit = originalProcessReallyExit;
|
|
7233
7230
|
emitter.count -= 1;
|
|
7234
7231
|
};
|
|
7235
7232
|
module2.exports.unload = unload;
|
|
@@ -7246,7 +7243,7 @@ var require_signal_exit = __commonJS({
|
|
|
7246
7243
|
if (!processOk(global.process)) {
|
|
7247
7244
|
return;
|
|
7248
7245
|
}
|
|
7249
|
-
var listeners =
|
|
7246
|
+
var listeners = process2.listeners(sig);
|
|
7250
7247
|
if (listeners.length === emitter.count) {
|
|
7251
7248
|
unload();
|
|
7252
7249
|
emit("exit", null, sig);
|
|
@@ -7254,7 +7251,7 @@ var require_signal_exit = __commonJS({
|
|
|
7254
7251
|
if (isWin && sig === "SIGHUP") {
|
|
7255
7252
|
sig = "SIGINT";
|
|
7256
7253
|
}
|
|
7257
|
-
|
|
7254
|
+
process2.kill(process2.pid, sig);
|
|
7258
7255
|
}
|
|
7259
7256
|
};
|
|
7260
7257
|
});
|
|
@@ -7270,36 +7267,36 @@ var require_signal_exit = __commonJS({
|
|
|
7270
7267
|
emitter.count += 1;
|
|
7271
7268
|
signals = signals.filter(function(sig) {
|
|
7272
7269
|
try {
|
|
7273
|
-
|
|
7270
|
+
process2.on(sig, sigListeners[sig]);
|
|
7274
7271
|
return true;
|
|
7275
7272
|
} catch (er) {
|
|
7276
7273
|
return false;
|
|
7277
7274
|
}
|
|
7278
7275
|
});
|
|
7279
|
-
|
|
7280
|
-
|
|
7276
|
+
process2.emit = processEmit;
|
|
7277
|
+
process2.reallyExit = processReallyExit;
|
|
7281
7278
|
};
|
|
7282
7279
|
module2.exports.load = load;
|
|
7283
|
-
originalProcessReallyExit =
|
|
7280
|
+
originalProcessReallyExit = process2.reallyExit;
|
|
7284
7281
|
processReallyExit = function processReallyExit2(code) {
|
|
7285
7282
|
if (!processOk(global.process)) {
|
|
7286
7283
|
return;
|
|
7287
7284
|
}
|
|
7288
|
-
|
|
7285
|
+
process2.exitCode = code || /* istanbul ignore next */
|
|
7289
7286
|
0;
|
|
7290
|
-
emit("exit",
|
|
7291
|
-
emit("afterexit",
|
|
7292
|
-
originalProcessReallyExit.call(
|
|
7287
|
+
emit("exit", process2.exitCode, null);
|
|
7288
|
+
emit("afterexit", process2.exitCode, null);
|
|
7289
|
+
originalProcessReallyExit.call(process2, process2.exitCode);
|
|
7293
7290
|
};
|
|
7294
|
-
originalProcessEmit =
|
|
7291
|
+
originalProcessEmit = process2.emit;
|
|
7295
7292
|
processEmit = function processEmit2(ev, arg) {
|
|
7296
7293
|
if (ev === "exit" && processOk(global.process)) {
|
|
7297
7294
|
if (arg !== void 0) {
|
|
7298
|
-
|
|
7295
|
+
process2.exitCode = arg;
|
|
7299
7296
|
}
|
|
7300
7297
|
var ret = originalProcessEmit.apply(this, arguments);
|
|
7301
|
-
emit("exit",
|
|
7302
|
-
emit("afterexit",
|
|
7298
|
+
emit("exit", process2.exitCode, null);
|
|
7299
|
+
emit("afterexit", process2.exitCode, null);
|
|
7303
7300
|
return ret;
|
|
7304
7301
|
} else {
|
|
7305
7302
|
return originalProcessEmit.apply(this, arguments);
|
|
@@ -9767,14 +9764,14 @@ var require_inherits = __commonJS({
|
|
|
9767
9764
|
"../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports, module2) {
|
|
9768
9765
|
"use strict";
|
|
9769
9766
|
try {
|
|
9770
|
-
|
|
9771
|
-
if (typeof
|
|
9767
|
+
util3 = require("util");
|
|
9768
|
+
if (typeof util3.inherits !== "function")
|
|
9772
9769
|
throw "";
|
|
9773
|
-
module2.exports =
|
|
9770
|
+
module2.exports = util3.inherits;
|
|
9774
9771
|
} catch (e) {
|
|
9775
9772
|
module2.exports = require_inherits_browser();
|
|
9776
9773
|
}
|
|
9777
|
-
var
|
|
9774
|
+
var util3;
|
|
9778
9775
|
}
|
|
9779
9776
|
});
|
|
9780
9777
|
|
|
@@ -18465,11 +18462,11 @@ var require_ms = __commonJS({
|
|
|
18465
18462
|
}
|
|
18466
18463
|
});
|
|
18467
18464
|
|
|
18468
|
-
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@
|
|
18465
|
+
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/common.js
|
|
18469
18466
|
var require_common = __commonJS({
|
|
18470
|
-
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@
|
|
18467
|
+
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
18471
18468
|
"use strict";
|
|
18472
|
-
function setup(
|
|
18469
|
+
function setup(env) {
|
|
18473
18470
|
createDebug.debug = createDebug;
|
|
18474
18471
|
createDebug.default = createDebug;
|
|
18475
18472
|
createDebug.coerce = coerce;
|
|
@@ -18478,8 +18475,8 @@ var require_common = __commonJS({
|
|
|
18478
18475
|
createDebug.enabled = enabled;
|
|
18479
18476
|
createDebug.humanize = require_ms();
|
|
18480
18477
|
createDebug.destroy = destroy;
|
|
18481
|
-
Object.keys(
|
|
18482
|
-
createDebug[key] =
|
|
18478
|
+
Object.keys(env).forEach((key) => {
|
|
18479
|
+
createDebug[key] = env[key];
|
|
18483
18480
|
});
|
|
18484
18481
|
createDebug.names = [];
|
|
18485
18482
|
createDebug.skips = [];
|
|
@@ -18629,9 +18626,9 @@ var require_common = __commonJS({
|
|
|
18629
18626
|
}
|
|
18630
18627
|
});
|
|
18631
18628
|
|
|
18632
|
-
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@
|
|
18629
|
+
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/browser.js
|
|
18633
18630
|
var require_browser = __commonJS({
|
|
18634
|
-
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@
|
|
18631
|
+
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
18635
18632
|
"use strict";
|
|
18636
18633
|
exports.formatArgs = formatArgs;
|
|
18637
18634
|
exports.save = save;
|
|
@@ -18800,162 +18797,136 @@ var require_browser = __commonJS({
|
|
|
18800
18797
|
}
|
|
18801
18798
|
});
|
|
18802
18799
|
|
|
18803
|
-
// ../../../node_modules/.pnpm/
|
|
18804
|
-
var
|
|
18805
|
-
|
|
18806
|
-
|
|
18807
|
-
|
|
18808
|
-
|
|
18809
|
-
|
|
18810
|
-
|
|
18811
|
-
|
|
18812
|
-
|
|
18813
|
-
|
|
18814
|
-
}
|
|
18815
|
-
function envForceColor() {
|
|
18816
|
-
if ("FORCE_COLOR" in env) {
|
|
18817
|
-
if (env.FORCE_COLOR === "true") {
|
|
18818
|
-
return 1;
|
|
18819
|
-
}
|
|
18820
|
-
if (env.FORCE_COLOR === "false") {
|
|
18821
|
-
return 0;
|
|
18822
|
-
}
|
|
18823
|
-
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
18824
|
-
}
|
|
18825
|
-
}
|
|
18826
|
-
function translateLevel(level) {
|
|
18827
|
-
if (level === 0) {
|
|
18828
|
-
return false;
|
|
18829
|
-
}
|
|
18830
|
-
return {
|
|
18831
|
-
level,
|
|
18832
|
-
hasBasic: true,
|
|
18833
|
-
has256: level >= 2,
|
|
18834
|
-
has16m: level >= 3
|
|
18835
|
-
};
|
|
18836
|
-
}
|
|
18837
|
-
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
18838
|
-
const noFlagForceColor = envForceColor();
|
|
18839
|
-
if (noFlagForceColor !== void 0) {
|
|
18840
|
-
flagForceColor = noFlagForceColor;
|
|
18841
|
-
}
|
|
18842
|
-
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
18843
|
-
if (forceColor === 0) {
|
|
18844
|
-
return 0;
|
|
18845
|
-
}
|
|
18846
|
-
if (sniffFlags) {
|
|
18847
|
-
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
18848
|
-
return 3;
|
|
18849
|
-
}
|
|
18850
|
-
if (hasFlag("color=256")) {
|
|
18851
|
-
return 2;
|
|
18852
|
-
}
|
|
18853
|
-
}
|
|
18854
|
-
if ("TF_BUILD" in env && "AGENT_NAME" in env) {
|
|
18855
|
-
return 1;
|
|
18856
|
-
}
|
|
18857
|
-
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
18858
|
-
return 0;
|
|
18859
|
-
}
|
|
18860
|
-
const min = forceColor || 0;
|
|
18861
|
-
if (env.TERM === "dumb") {
|
|
18862
|
-
return min;
|
|
18800
|
+
// ../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
|
|
18801
|
+
var require_has_flag2 = __commonJS({
|
|
18802
|
+
"../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
|
18803
|
+
"use strict";
|
|
18804
|
+
module2.exports = (flag, argv) => {
|
|
18805
|
+
argv = argv || process.argv;
|
|
18806
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
18807
|
+
const pos = argv.indexOf(prefix + flag);
|
|
18808
|
+
const terminatorPos = argv.indexOf("--");
|
|
18809
|
+
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
|
|
18810
|
+
};
|
|
18863
18811
|
}
|
|
18864
|
-
|
|
18865
|
-
|
|
18866
|
-
|
|
18867
|
-
|
|
18812
|
+
});
|
|
18813
|
+
|
|
18814
|
+
// ../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
|
|
18815
|
+
var require_supports_color2 = __commonJS({
|
|
18816
|
+
"../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
|
|
18817
|
+
"use strict";
|
|
18818
|
+
var os3 = require("os");
|
|
18819
|
+
var hasFlag = require_has_flag2();
|
|
18820
|
+
var env = process.env;
|
|
18821
|
+
var forceColor;
|
|
18822
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
18823
|
+
forceColor = false;
|
|
18824
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
18825
|
+
forceColor = true;
|
|
18868
18826
|
}
|
|
18869
|
-
|
|
18870
|
-
|
|
18871
|
-
if ("CI" in env) {
|
|
18872
|
-
if ("GITHUB_ACTIONS" in env) {
|
|
18873
|
-
return 3;
|
|
18827
|
+
if ("FORCE_COLOR" in env) {
|
|
18828
|
+
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
|
18874
18829
|
}
|
|
18875
|
-
|
|
18876
|
-
|
|
18830
|
+
function translateLevel(level) {
|
|
18831
|
+
if (level === 0) {
|
|
18832
|
+
return false;
|
|
18833
|
+
}
|
|
18834
|
+
return {
|
|
18835
|
+
level,
|
|
18836
|
+
hasBasic: true,
|
|
18837
|
+
has256: level >= 2,
|
|
18838
|
+
has16m: level >= 3
|
|
18839
|
+
};
|
|
18877
18840
|
}
|
|
18878
|
-
|
|
18879
|
-
|
|
18880
|
-
|
|
18881
|
-
|
|
18882
|
-
|
|
18883
|
-
|
|
18884
|
-
|
|
18885
|
-
|
|
18886
|
-
|
|
18887
|
-
|
|
18888
|
-
|
|
18889
|
-
|
|
18890
|
-
|
|
18891
|
-
|
|
18892
|
-
|
|
18893
|
-
|
|
18841
|
+
function supportsColor(stream4) {
|
|
18842
|
+
if (forceColor === false) {
|
|
18843
|
+
return 0;
|
|
18844
|
+
}
|
|
18845
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
18846
|
+
return 3;
|
|
18847
|
+
}
|
|
18848
|
+
if (hasFlag("color=256")) {
|
|
18849
|
+
return 2;
|
|
18850
|
+
}
|
|
18851
|
+
if (stream4 && !stream4.isTTY && forceColor !== true) {
|
|
18852
|
+
return 0;
|
|
18853
|
+
}
|
|
18854
|
+
const min = forceColor ? 1 : 0;
|
|
18855
|
+
if (process.platform === "win32") {
|
|
18856
|
+
const osRelease = os3.release().split(".");
|
|
18857
|
+
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
18858
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
18859
|
+
}
|
|
18860
|
+
return 1;
|
|
18861
|
+
}
|
|
18862
|
+
if ("CI" in env) {
|
|
18863
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
18864
|
+
return 1;
|
|
18865
|
+
}
|
|
18866
|
+
return min;
|
|
18867
|
+
}
|
|
18868
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
18869
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
18870
|
+
}
|
|
18871
|
+
if (env.COLORTERM === "truecolor") {
|
|
18872
|
+
return 3;
|
|
18894
18873
|
}
|
|
18895
|
-
|
|
18874
|
+
if ("TERM_PROGRAM" in env) {
|
|
18875
|
+
const version2 = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
18876
|
+
switch (env.TERM_PROGRAM) {
|
|
18877
|
+
case "iTerm.app":
|
|
18878
|
+
return version2 >= 3 ? 3 : 2;
|
|
18879
|
+
case "Apple_Terminal":
|
|
18880
|
+
return 2;
|
|
18881
|
+
}
|
|
18882
|
+
}
|
|
18883
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
18896
18884
|
return 2;
|
|
18897
18885
|
}
|
|
18886
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
18887
|
+
return 1;
|
|
18888
|
+
}
|
|
18889
|
+
if ("COLORTERM" in env) {
|
|
18890
|
+
return 1;
|
|
18891
|
+
}
|
|
18892
|
+
if (env.TERM === "dumb") {
|
|
18893
|
+
return min;
|
|
18894
|
+
}
|
|
18895
|
+
return min;
|
|
18898
18896
|
}
|
|
18899
|
-
|
|
18900
|
-
|
|
18901
|
-
|
|
18902
|
-
}
|
|
18903
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
18904
|
-
return 1;
|
|
18905
|
-
}
|
|
18906
|
-
if ("COLORTERM" in env) {
|
|
18907
|
-
return 1;
|
|
18908
|
-
}
|
|
18909
|
-
return min;
|
|
18910
|
-
}
|
|
18911
|
-
function createSupportsColor(stream4, options = {}) {
|
|
18912
|
-
const level = _supportsColor(stream4, __spreadValues({
|
|
18913
|
-
streamIsTTY: stream4 && stream4.isTTY
|
|
18914
|
-
}, options));
|
|
18915
|
-
return translateLevel(level);
|
|
18916
|
-
}
|
|
18917
|
-
var import_node_process, import_node_os, import_node_tty, env, flagForceColor, supportsColor, supports_color_default;
|
|
18918
|
-
var init_supports_color = __esm({
|
|
18919
|
-
"../../../node_modules/.pnpm/supports-color@9.3.1/node_modules/supports-color/index.js"() {
|
|
18920
|
-
"use strict";
|
|
18921
|
-
import_node_process = __toESM(require("process"));
|
|
18922
|
-
import_node_os = __toESM(require("os"));
|
|
18923
|
-
import_node_tty = __toESM(require("tty"));
|
|
18924
|
-
({ env } = import_node_process.default);
|
|
18925
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
18926
|
-
flagForceColor = 0;
|
|
18927
|
-
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
18928
|
-
flagForceColor = 1;
|
|
18897
|
+
function getSupportLevel(stream4) {
|
|
18898
|
+
const level = supportsColor(stream4);
|
|
18899
|
+
return translateLevel(level);
|
|
18929
18900
|
}
|
|
18930
|
-
|
|
18931
|
-
|
|
18932
|
-
|
|
18901
|
+
module2.exports = {
|
|
18902
|
+
supportsColor: getSupportLevel,
|
|
18903
|
+
stdout: getSupportLevel(process.stdout),
|
|
18904
|
+
stderr: getSupportLevel(process.stderr)
|
|
18933
18905
|
};
|
|
18934
|
-
supports_color_default = supportsColor;
|
|
18935
18906
|
}
|
|
18936
18907
|
});
|
|
18937
18908
|
|
|
18938
|
-
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@
|
|
18909
|
+
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/node.js
|
|
18939
18910
|
var require_node2 = __commonJS({
|
|
18940
|
-
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@
|
|
18911
|
+
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
18941
18912
|
"use strict";
|
|
18942
|
-
var
|
|
18943
|
-
var
|
|
18913
|
+
var tty = require("tty");
|
|
18914
|
+
var util3 = require("util");
|
|
18944
18915
|
exports.init = init;
|
|
18945
18916
|
exports.log = log;
|
|
18946
18917
|
exports.formatArgs = formatArgs;
|
|
18947
18918
|
exports.save = save;
|
|
18948
18919
|
exports.load = load;
|
|
18949
18920
|
exports.useColors = useColors;
|
|
18950
|
-
exports.destroy =
|
|
18921
|
+
exports.destroy = util3.deprecate(
|
|
18951
18922
|
() => {
|
|
18952
18923
|
},
|
|
18953
18924
|
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
18954
18925
|
);
|
|
18955
18926
|
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
18956
18927
|
try {
|
|
18957
|
-
const
|
|
18958
|
-
if (
|
|
18928
|
+
const supportsColor = require_supports_color2();
|
|
18929
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
18959
18930
|
exports.colors = [
|
|
18960
18931
|
20,
|
|
18961
18932
|
21,
|
|
@@ -19057,7 +19028,7 @@ var require_node2 = __commonJS({
|
|
|
19057
19028
|
return obj;
|
|
19058
19029
|
}, {});
|
|
19059
19030
|
function useColors() {
|
|
19060
|
-
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) :
|
|
19031
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
19061
19032
|
}
|
|
19062
19033
|
function formatArgs(args) {
|
|
19063
19034
|
const { namespace: name, useColors: useColors2 } = this;
|
|
@@ -19078,7 +19049,7 @@ var require_node2 = __commonJS({
|
|
|
19078
19049
|
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
19079
19050
|
}
|
|
19080
19051
|
function log(...args) {
|
|
19081
|
-
return process.stderr.write(
|
|
19052
|
+
return process.stderr.write(util3.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
19082
19053
|
}
|
|
19083
19054
|
function save(namespaces) {
|
|
19084
19055
|
if (namespaces) {
|
|
@@ -19101,18 +19072,18 @@ var require_node2 = __commonJS({
|
|
|
19101
19072
|
var { formatters } = module2.exports;
|
|
19102
19073
|
formatters.o = function(v) {
|
|
19103
19074
|
this.inspectOpts.colors = this.useColors;
|
|
19104
|
-
return
|
|
19075
|
+
return util3.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
19105
19076
|
};
|
|
19106
19077
|
formatters.O = function(v) {
|
|
19107
19078
|
this.inspectOpts.colors = this.useColors;
|
|
19108
|
-
return
|
|
19079
|
+
return util3.inspect(v, this.inspectOpts);
|
|
19109
19080
|
};
|
|
19110
19081
|
}
|
|
19111
19082
|
});
|
|
19112
19083
|
|
|
19113
|
-
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@
|
|
19084
|
+
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/index.js
|
|
19114
19085
|
var require_src = __commonJS({
|
|
19115
|
-
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@
|
|
19086
|
+
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
19116
19087
|
"use strict";
|
|
19117
19088
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
19118
19089
|
module2.exports = require_browser();
|
|
@@ -20437,7 +20408,7 @@ var require_sync = __commonJS({
|
|
|
20437
20408
|
var minimatch = require_minimatch();
|
|
20438
20409
|
var Minimatch = minimatch.Minimatch;
|
|
20439
20410
|
var Glob = require_glob().Glob;
|
|
20440
|
-
var
|
|
20411
|
+
var util3 = require("util");
|
|
20441
20412
|
var path11 = require("path");
|
|
20442
20413
|
var assert = require("assert");
|
|
20443
20414
|
var isAbsolute = require_path_is_absolute();
|
|
@@ -20922,7 +20893,7 @@ var require_glob = __commonJS({
|
|
|
20922
20893
|
var setopts = common.setopts;
|
|
20923
20894
|
var ownProp = common.ownProp;
|
|
20924
20895
|
var inflight = require_inflight();
|
|
20925
|
-
var
|
|
20896
|
+
var util3 = require("util");
|
|
20926
20897
|
var childrenIgnored = common.childrenIgnored;
|
|
20927
20898
|
var isIgnored = common.isIgnored;
|
|
20928
20899
|
var once = require_once();
|
|
@@ -21711,7 +21682,7 @@ var require_resolveCommand = __commonJS({
|
|
|
21711
21682
|
var which = require_which();
|
|
21712
21683
|
var getPathKey = require_path_key();
|
|
21713
21684
|
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
21714
|
-
const
|
|
21685
|
+
const env = parsed.options.env || process.env;
|
|
21715
21686
|
const cwd = process.cwd();
|
|
21716
21687
|
const hasCustomCwd = parsed.options.cwd != null;
|
|
21717
21688
|
const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
|
|
@@ -21724,7 +21695,7 @@ var require_resolveCommand = __commonJS({
|
|
|
21724
21695
|
let resolved;
|
|
21725
21696
|
try {
|
|
21726
21697
|
resolved = which.sync(parsed.command, {
|
|
21727
|
-
path:
|
|
21698
|
+
path: env[getPathKey({ env })],
|
|
21728
21699
|
pathExt: withoutPathExt ? path11.delimiter : void 0
|
|
21729
21700
|
});
|
|
21730
21701
|
} catch (e) {
|
|
@@ -22007,11 +21978,11 @@ var require_npm_run_path = __commonJS({
|
|
|
22007
21978
|
options = __spreadValues({
|
|
22008
21979
|
env: process.env
|
|
22009
21980
|
}, options);
|
|
22010
|
-
const
|
|
22011
|
-
const path12 = pathKey({ env
|
|
22012
|
-
options.path =
|
|
22013
|
-
|
|
22014
|
-
return
|
|
21981
|
+
const env = __spreadValues({}, options.env);
|
|
21982
|
+
const path12 = pathKey({ env });
|
|
21983
|
+
options.path = env[path12];
|
|
21984
|
+
env[path12] = module2.exports(options);
|
|
21985
|
+
return env;
|
|
22015
21986
|
};
|
|
22016
21987
|
}
|
|
22017
21988
|
});
|
|
@@ -22536,7 +22507,7 @@ var require_stdio = __commonJS({
|
|
|
22536
22507
|
var require_kill = __commonJS({
|
|
22537
22508
|
"../../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js"(exports, module2) {
|
|
22538
22509
|
"use strict";
|
|
22539
|
-
var
|
|
22510
|
+
var os3 = require("os");
|
|
22540
22511
|
var onExit = require_signal_exit();
|
|
22541
22512
|
var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
|
|
22542
22513
|
var spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
|
|
@@ -22560,7 +22531,7 @@ var require_kill = __commonJS({
|
|
|
22560
22531
|
return isSigterm(signal) && forceKillAfterTimeout !== false && killResult;
|
|
22561
22532
|
};
|
|
22562
22533
|
var isSigterm = (signal) => {
|
|
22563
|
-
return signal ===
|
|
22534
|
+
return signal === os3.constants.signals.SIGTERM || typeof signal === "string" && signal.toUpperCase() === "SIGTERM";
|
|
22564
22535
|
};
|
|
22565
22536
|
var getForceKillAfterTimeout = ({ forceKillAfterTimeout = true }) => {
|
|
22566
22537
|
if (forceKillAfterTimeout === true) {
|
|
@@ -22957,11 +22928,11 @@ var require_execa = __commonJS({
|
|
|
22957
22928
|
var { joinCommand, parseCommand, getEscapedCommand } = require_command2();
|
|
22958
22929
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
22959
22930
|
var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
22960
|
-
const
|
|
22931
|
+
const env = extendEnv ? __spreadValues(__spreadValues({}, process.env), envOption) : envOption;
|
|
22961
22932
|
if (preferLocal) {
|
|
22962
|
-
return npmRunPath.env({ env
|
|
22933
|
+
return npmRunPath.env({ env, cwd: localDir, execPath });
|
|
22963
22934
|
}
|
|
22964
|
-
return
|
|
22935
|
+
return env;
|
|
22965
22936
|
};
|
|
22966
22937
|
var handleArguments = (file, args, options = {}) => {
|
|
22967
22938
|
const parsed = crossSpawn._parse(file, args, options);
|
|
@@ -25655,7 +25626,7 @@ var require_delayed_stream = __commonJS({
|
|
|
25655
25626
|
"../../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js"(exports, module2) {
|
|
25656
25627
|
"use strict";
|
|
25657
25628
|
var Stream = require("stream").Stream;
|
|
25658
|
-
var
|
|
25629
|
+
var util3 = require("util");
|
|
25659
25630
|
module2.exports = DelayedStream;
|
|
25660
25631
|
function DelayedStream() {
|
|
25661
25632
|
this.source = null;
|
|
@@ -25666,7 +25637,7 @@ var require_delayed_stream = __commonJS({
|
|
|
25666
25637
|
this._released = false;
|
|
25667
25638
|
this._bufferedEvents = [];
|
|
25668
25639
|
}
|
|
25669
|
-
|
|
25640
|
+
util3.inherits(DelayedStream, Stream);
|
|
25670
25641
|
DelayedStream.create = function(source, options) {
|
|
25671
25642
|
var delayedStream = new this();
|
|
25672
25643
|
options = options || {};
|
|
@@ -25746,7 +25717,7 @@ var require_delayed_stream = __commonJS({
|
|
|
25746
25717
|
var require_combined_stream = __commonJS({
|
|
25747
25718
|
"../../../node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.js"(exports, module2) {
|
|
25748
25719
|
"use strict";
|
|
25749
|
-
var
|
|
25720
|
+
var util3 = require("util");
|
|
25750
25721
|
var Stream = require("stream").Stream;
|
|
25751
25722
|
var DelayedStream = require_delayed_stream();
|
|
25752
25723
|
module2.exports = CombinedStream;
|
|
@@ -25762,7 +25733,7 @@ var require_combined_stream = __commonJS({
|
|
|
25762
25733
|
this._insideLoop = false;
|
|
25763
25734
|
this._pendingNext = false;
|
|
25764
25735
|
}
|
|
25765
|
-
|
|
25736
|
+
util3.inherits(CombinedStream, Stream);
|
|
25766
25737
|
CombinedStream.create = function(options) {
|
|
25767
25738
|
var combinedStream = new this();
|
|
25768
25739
|
options = options || {};
|
|
@@ -34757,9 +34728,9 @@ var require_asynckit = __commonJS({
|
|
|
34757
34728
|
}
|
|
34758
34729
|
});
|
|
34759
34730
|
|
|
34760
|
-
// ../../../node_modules/.pnpm/form-data@4.0.
|
|
34731
|
+
// ../../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/populate.js
|
|
34761
34732
|
var require_populate = __commonJS({
|
|
34762
|
-
"../../../node_modules/.pnpm/form-data@4.0.
|
|
34733
|
+
"../../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/populate.js"(exports, module2) {
|
|
34763
34734
|
"use strict";
|
|
34764
34735
|
module2.exports = function(dst, src) {
|
|
34765
34736
|
Object.keys(src).forEach(function(prop) {
|
|
@@ -34770,12 +34741,12 @@ var require_populate = __commonJS({
|
|
|
34770
34741
|
}
|
|
34771
34742
|
});
|
|
34772
34743
|
|
|
34773
|
-
// ../../../node_modules/.pnpm/form-data@4.0.
|
|
34744
|
+
// ../../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/form_data.js
|
|
34774
34745
|
var require_form_data = __commonJS({
|
|
34775
|
-
"../../../node_modules/.pnpm/form-data@4.0.
|
|
34746
|
+
"../../../node_modules/.pnpm/form-data@4.0.1/node_modules/form-data/lib/form_data.js"(exports, module2) {
|
|
34776
34747
|
"use strict";
|
|
34777
34748
|
var CombinedStream = require_combined_stream();
|
|
34778
|
-
var
|
|
34749
|
+
var util3 = require("util");
|
|
34779
34750
|
var path11 = require("path");
|
|
34780
34751
|
var http2 = require("http");
|
|
34781
34752
|
var https2 = require("https");
|
|
@@ -34786,7 +34757,7 @@ var require_form_data = __commonJS({
|
|
|
34786
34757
|
var asynckit = require_asynckit();
|
|
34787
34758
|
var populate = require_populate();
|
|
34788
34759
|
module2.exports = FormData3;
|
|
34789
|
-
|
|
34760
|
+
util3.inherits(FormData3, CombinedStream);
|
|
34790
34761
|
function FormData3(options) {
|
|
34791
34762
|
if (!(this instanceof FormData3)) {
|
|
34792
34763
|
return new FormData3(options);
|
|
@@ -34811,7 +34782,7 @@ var require_form_data = __commonJS({
|
|
|
34811
34782
|
if (typeof value == "number") {
|
|
34812
34783
|
value = "" + value;
|
|
34813
34784
|
}
|
|
34814
|
-
if (
|
|
34785
|
+
if (Array.isArray(value)) {
|
|
34815
34786
|
this._error(new Error("Arrays are not supported."));
|
|
34816
34787
|
return;
|
|
34817
34788
|
}
|
|
@@ -35102,7 +35073,7 @@ var require_proxy_from_env = __commonJS({
|
|
|
35102
35073
|
var stringEndsWith = String.prototype.endsWith || function(s) {
|
|
35103
35074
|
return s.length <= this.length && this.indexOf(s, this.length - s.length) !== -1;
|
|
35104
35075
|
};
|
|
35105
|
-
function
|
|
35076
|
+
function getProxyForUrl(url2) {
|
|
35106
35077
|
var parsedUrl = typeof url2 === "string" ? parseUrl(url2) : url2 || {};
|
|
35107
35078
|
var proto = parsedUrl.protocol;
|
|
35108
35079
|
var hostname = parsedUrl.host;
|
|
@@ -35152,7 +35123,7 @@ var require_proxy_from_env = __commonJS({
|
|
|
35152
35123
|
function getEnv(key) {
|
|
35153
35124
|
return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || "";
|
|
35154
35125
|
}
|
|
35155
|
-
exports.getProxyForUrl =
|
|
35126
|
+
exports.getProxyForUrl = getProxyForUrl;
|
|
35156
35127
|
}
|
|
35157
35128
|
});
|
|
35158
35129
|
|
|
@@ -41980,14 +41951,14 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
|
41980
41951
|
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
41981
41952
|
var import_semver = __toESM(require_semver2());
|
|
41982
41953
|
|
|
41983
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
41954
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
|
|
41984
41955
|
function bind(fn, thisArg) {
|
|
41985
41956
|
return function wrap() {
|
|
41986
41957
|
return fn.apply(thisArg, arguments);
|
|
41987
41958
|
};
|
|
41988
41959
|
}
|
|
41989
41960
|
|
|
41990
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
41961
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
41991
41962
|
var { toString } = Object.prototype;
|
|
41992
41963
|
var { getPrototypeOf } = Object;
|
|
41993
41964
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -42372,7 +42343,7 @@ var utils_default = {
|
|
|
42372
42343
|
asap
|
|
42373
42344
|
};
|
|
42374
42345
|
|
|
42375
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42346
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
|
|
42376
42347
|
function AxiosError(message, code, config, request, response) {
|
|
42377
42348
|
Error.call(this);
|
|
42378
42349
|
if (Error.captureStackTrace) {
|
|
@@ -42447,11 +42418,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
42447
42418
|
};
|
|
42448
42419
|
var AxiosError_default = AxiosError;
|
|
42449
42420
|
|
|
42450
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42421
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
42451
42422
|
var import_form_data = __toESM(require_form_data());
|
|
42452
42423
|
var FormData_default = import_form_data.default;
|
|
42453
42424
|
|
|
42454
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42425
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
|
|
42455
42426
|
function isVisitable(thing) {
|
|
42456
42427
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
42457
42428
|
}
|
|
@@ -42566,7 +42537,7 @@ function toFormData(obj, formData, options) {
|
|
|
42566
42537
|
}
|
|
42567
42538
|
var toFormData_default = toFormData;
|
|
42568
42539
|
|
|
42569
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42540
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
42570
42541
|
function encode(str) {
|
|
42571
42542
|
const charMap = {
|
|
42572
42543
|
"!": "%21",
|
|
@@ -42599,7 +42570,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
42599
42570
|
};
|
|
42600
42571
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
42601
42572
|
|
|
42602
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42573
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
|
|
42603
42574
|
function encode2(val) {
|
|
42604
42575
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
42605
42576
|
}
|
|
@@ -42608,6 +42579,11 @@ function buildURL(url2, params, options) {
|
|
|
42608
42579
|
return url2;
|
|
42609
42580
|
}
|
|
42610
42581
|
const _encode = options && options.encode || encode2;
|
|
42582
|
+
if (utils_default.isFunction(options)) {
|
|
42583
|
+
options = {
|
|
42584
|
+
serialize: options
|
|
42585
|
+
};
|
|
42586
|
+
}
|
|
42611
42587
|
const serializeFn = options && options.serialize;
|
|
42612
42588
|
let serializedParams;
|
|
42613
42589
|
if (serializeFn) {
|
|
@@ -42625,7 +42601,7 @@ function buildURL(url2, params, options) {
|
|
|
42625
42601
|
return url2;
|
|
42626
42602
|
}
|
|
42627
42603
|
|
|
42628
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42604
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
42629
42605
|
var InterceptorManager = class {
|
|
42630
42606
|
constructor() {
|
|
42631
42607
|
this.handlers = [];
|
|
@@ -42689,18 +42665,18 @@ var InterceptorManager = class {
|
|
|
42689
42665
|
};
|
|
42690
42666
|
var InterceptorManager_default = InterceptorManager;
|
|
42691
42667
|
|
|
42692
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42668
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
|
|
42693
42669
|
var transitional_default = {
|
|
42694
42670
|
silentJSONParsing: true,
|
|
42695
42671
|
forcedJSONParsing: true,
|
|
42696
42672
|
clarifyTimeoutError: false
|
|
42697
42673
|
};
|
|
42698
42674
|
|
|
42699
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42675
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
42700
42676
|
var import_url = __toESM(require("url"));
|
|
42701
42677
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
42702
42678
|
|
|
42703
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42679
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
42704
42680
|
var node_default = {
|
|
42705
42681
|
isNode: true,
|
|
42706
42682
|
classes: {
|
|
@@ -42711,7 +42687,7 @@ var node_default = {
|
|
|
42711
42687
|
protocols: ["http", "https", "file", "data"]
|
|
42712
42688
|
};
|
|
42713
42689
|
|
|
42714
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42690
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
|
|
42715
42691
|
var utils_exports = {};
|
|
42716
42692
|
__export(utils_exports, {
|
|
42717
42693
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -42729,10 +42705,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
42729
42705
|
})();
|
|
42730
42706
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
42731
42707
|
|
|
42732
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42708
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/platform/index.js
|
|
42733
42709
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
42734
42710
|
|
|
42735
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42711
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
42736
42712
|
function toURLEncodedForm(data, options) {
|
|
42737
42713
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
42738
42714
|
visitor: function(value, key, path11, helpers) {
|
|
@@ -42745,7 +42721,7 @@ function toURLEncodedForm(data, options) {
|
|
|
42745
42721
|
}, options));
|
|
42746
42722
|
}
|
|
42747
42723
|
|
|
42748
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42724
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
42749
42725
|
function parsePropPath(name) {
|
|
42750
42726
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
42751
42727
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -42799,7 +42775,7 @@ function formDataToJSON(formData) {
|
|
|
42799
42775
|
}
|
|
42800
42776
|
var formDataToJSON_default = formDataToJSON;
|
|
42801
42777
|
|
|
42802
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42778
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/defaults/index.js
|
|
42803
42779
|
function stringifySafely(rawValue, parser, encoder) {
|
|
42804
42780
|
if (utils_default.isString(rawValue)) {
|
|
42805
42781
|
try {
|
|
@@ -42908,7 +42884,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
42908
42884
|
});
|
|
42909
42885
|
var defaults_default = defaults;
|
|
42910
42886
|
|
|
42911
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42887
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
42912
42888
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
42913
42889
|
"age",
|
|
42914
42890
|
"authorization",
|
|
@@ -42953,7 +42929,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
42953
42929
|
return parsed;
|
|
42954
42930
|
};
|
|
42955
42931
|
|
|
42956
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
42932
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
42957
42933
|
var $internals = Symbol("internals");
|
|
42958
42934
|
function normalizeHeader(header) {
|
|
42959
42935
|
return header && String(header).trim().toLowerCase();
|
|
@@ -43175,7 +43151,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
43175
43151
|
utils_default.freezeMethods(AxiosHeaders);
|
|
43176
43152
|
var AxiosHeaders_default = AxiosHeaders;
|
|
43177
43153
|
|
|
43178
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43154
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/transformData.js
|
|
43179
43155
|
function transformData(fns, response) {
|
|
43180
43156
|
const config = this || defaults_default;
|
|
43181
43157
|
const context = response || config;
|
|
@@ -43188,12 +43164,12 @@ function transformData(fns, response) {
|
|
|
43188
43164
|
return data;
|
|
43189
43165
|
}
|
|
43190
43166
|
|
|
43191
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43167
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
|
|
43192
43168
|
function isCancel(value) {
|
|
43193
43169
|
return !!(value && value.__CANCEL__);
|
|
43194
43170
|
}
|
|
43195
43171
|
|
|
43196
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43172
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
43197
43173
|
function CanceledError(message, config, request) {
|
|
43198
43174
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
43199
43175
|
this.name = "CanceledError";
|
|
@@ -43203,7 +43179,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
43203
43179
|
});
|
|
43204
43180
|
var CanceledError_default = CanceledError;
|
|
43205
43181
|
|
|
43206
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43182
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/settle.js
|
|
43207
43183
|
function settle(resolve, reject, response) {
|
|
43208
43184
|
const validateStatus2 = response.config.validateStatus;
|
|
43209
43185
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -43219,17 +43195,17 @@ function settle(resolve, reject, response) {
|
|
|
43219
43195
|
}
|
|
43220
43196
|
}
|
|
43221
43197
|
|
|
43222
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43198
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
43223
43199
|
function isAbsoluteURL(url2) {
|
|
43224
43200
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
43225
43201
|
}
|
|
43226
43202
|
|
|
43227
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43203
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
43228
43204
|
function combineURLs(baseURL, relativeURL) {
|
|
43229
43205
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
43230
43206
|
}
|
|
43231
43207
|
|
|
43232
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43208
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
|
|
43233
43209
|
function buildFullPath(baseURL, requestedURL) {
|
|
43234
43210
|
if (baseURL && !isAbsoluteURL(requestedURL)) {
|
|
43235
43211
|
return combineURLs(baseURL, requestedURL);
|
|
@@ -43237,7 +43213,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|
|
43237
43213
|
return requestedURL;
|
|
43238
43214
|
}
|
|
43239
43215
|
|
|
43240
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43216
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
43241
43217
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
43242
43218
|
var import_http = __toESM(require("http"));
|
|
43243
43219
|
var import_https = __toESM(require("https"));
|
|
@@ -43245,16 +43221,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
43245
43221
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
43246
43222
|
var import_zlib = __toESM(require("zlib"));
|
|
43247
43223
|
|
|
43248
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43249
|
-
var VERSION = "1.7.
|
|
43224
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/env/data.js
|
|
43225
|
+
var VERSION = "1.7.8";
|
|
43250
43226
|
|
|
43251
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43227
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
43252
43228
|
function parseProtocol(url2) {
|
|
43253
43229
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
43254
43230
|
return match && match[1] || "";
|
|
43255
43231
|
}
|
|
43256
43232
|
|
|
43257
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43233
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
43258
43234
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
43259
43235
|
function fromDataURI(uri, asBlob, options) {
|
|
43260
43236
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -43283,10 +43259,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
43283
43259
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
43284
43260
|
}
|
|
43285
43261
|
|
|
43286
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43262
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
43287
43263
|
var import_stream4 = __toESM(require("stream"));
|
|
43288
43264
|
|
|
43289
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43265
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
43290
43266
|
var import_stream = __toESM(require("stream"));
|
|
43291
43267
|
var kInternals = Symbol("internals");
|
|
43292
43268
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -43401,14 +43377,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
43401
43377
|
};
|
|
43402
43378
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
43403
43379
|
|
|
43404
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43380
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
43405
43381
|
var import_events = require("events");
|
|
43406
43382
|
|
|
43407
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43408
|
-
var import_util = require("util");
|
|
43383
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
43384
|
+
var import_util = __toESM(require("util"));
|
|
43409
43385
|
var import_stream2 = require("stream");
|
|
43410
43386
|
|
|
43411
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43387
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
|
|
43412
43388
|
var { asyncIterator } = Symbol;
|
|
43413
43389
|
var readBlob = function(blob) {
|
|
43414
43390
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -43425,9 +43401,9 @@ var readBlob = function(blob) {
|
|
|
43425
43401
|
};
|
|
43426
43402
|
var readBlob_default = readBlob;
|
|
43427
43403
|
|
|
43428
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43404
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
43429
43405
|
var BOUNDARY_ALPHABET = utils_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
43430
|
-
var textEncoder = new import_util.TextEncoder();
|
|
43406
|
+
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
43431
43407
|
var CRLF = "\r\n";
|
|
43432
43408
|
var CRLF_BYTES = textEncoder.encode(CRLF);
|
|
43433
43409
|
var CRLF_BYTES_COUNT = 2;
|
|
@@ -43508,7 +43484,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
43508
43484
|
};
|
|
43509
43485
|
var formDataToStream_default = formDataToStream;
|
|
43510
43486
|
|
|
43511
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43487
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
43512
43488
|
var import_stream3 = __toESM(require("stream"));
|
|
43513
43489
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
43514
43490
|
__transform(chunk, encoding, callback) {
|
|
@@ -43530,7 +43506,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
43530
43506
|
};
|
|
43531
43507
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
43532
43508
|
|
|
43533
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43509
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
|
|
43534
43510
|
var callbackify = (fn, reducer) => {
|
|
43535
43511
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
43536
43512
|
const cb = args.pop();
|
|
@@ -43545,7 +43521,7 @@ var callbackify = (fn, reducer) => {
|
|
|
43545
43521
|
};
|
|
43546
43522
|
var callbackify_default = callbackify;
|
|
43547
43523
|
|
|
43548
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43524
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
|
|
43549
43525
|
function speedometer(samplesCount, min) {
|
|
43550
43526
|
samplesCount = samplesCount || 10;
|
|
43551
43527
|
const bytes = new Array(samplesCount);
|
|
@@ -43581,7 +43557,7 @@ function speedometer(samplesCount, min) {
|
|
|
43581
43557
|
}
|
|
43582
43558
|
var speedometer_default = speedometer;
|
|
43583
43559
|
|
|
43584
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43560
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
|
|
43585
43561
|
function throttle(fn, freq) {
|
|
43586
43562
|
let timestamp = 0;
|
|
43587
43563
|
let threshold = 1e3 / freq;
|
|
@@ -43616,7 +43592,7 @@ function throttle(fn, freq) {
|
|
|
43616
43592
|
}
|
|
43617
43593
|
var throttle_default = throttle;
|
|
43618
43594
|
|
|
43619
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43595
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
43620
43596
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
43621
43597
|
let bytesNotified = 0;
|
|
43622
43598
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -43651,7 +43627,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
43651
43627
|
};
|
|
43652
43628
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
43653
43629
|
|
|
43654
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
43630
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
43655
43631
|
var zlibOptions = {
|
|
43656
43632
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
43657
43633
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -43681,7 +43657,7 @@ function dispatchBeforeRedirect(options, responseDetails) {
|
|
|
43681
43657
|
function setProxy(options, configProxy, location) {
|
|
43682
43658
|
let proxy = configProxy;
|
|
43683
43659
|
if (!proxy && proxy !== false) {
|
|
43684
|
-
const proxyUrl =
|
|
43660
|
+
const proxyUrl = import_proxy_from_env.default.getProxyForUrl(location);
|
|
43685
43661
|
if (proxyUrl) {
|
|
43686
43662
|
proxy = new URL(proxyUrl);
|
|
43687
43663
|
}
|
|
@@ -43857,7 +43833,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
43857
43833
|
} catch (e) {
|
|
43858
43834
|
}
|
|
43859
43835
|
}
|
|
43860
|
-
} else if (utils_default.isBlob(data)) {
|
|
43836
|
+
} else if (utils_default.isBlob(data) || utils_default.isFile(data)) {
|
|
43861
43837
|
data.size && headers.setContentType(data.type || "application/octet-stream");
|
|
43862
43838
|
headers.setContentLength(data.size || 0);
|
|
43863
43839
|
data = import_stream4.default.Readable.from(readBlob_default(data));
|
|
@@ -44060,7 +44036,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
44060
44036
|
return;
|
|
44061
44037
|
}
|
|
44062
44038
|
const err = new AxiosError_default(
|
|
44063
|
-
"
|
|
44039
|
+
"stream has been aborted",
|
|
44064
44040
|
AxiosError_default.ERR_BAD_RESPONSE,
|
|
44065
44041
|
config,
|
|
44066
44042
|
lastRequest
|
|
@@ -44157,48 +44133,16 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
44157
44133
|
});
|
|
44158
44134
|
};
|
|
44159
44135
|
|
|
44160
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44161
|
-
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? (
|
|
44162
|
-
|
|
44163
|
-
|
|
44164
|
-
|
|
44165
|
-
|
|
44166
|
-
|
|
44167
|
-
|
|
44168
|
-
function resolveURL(url2) {
|
|
44169
|
-
let href = url2;
|
|
44170
|
-
if (msie) {
|
|
44171
|
-
urlParsingNode.setAttribute("href", href);
|
|
44172
|
-
href = urlParsingNode.href;
|
|
44173
|
-
}
|
|
44174
|
-
urlParsingNode.setAttribute("href", href);
|
|
44175
|
-
return {
|
|
44176
|
-
href: urlParsingNode.href,
|
|
44177
|
-
protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, "") : "",
|
|
44178
|
-
host: urlParsingNode.host,
|
|
44179
|
-
search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, "") : "",
|
|
44180
|
-
hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, "") : "",
|
|
44181
|
-
hostname: urlParsingNode.hostname,
|
|
44182
|
-
port: urlParsingNode.port,
|
|
44183
|
-
pathname: urlParsingNode.pathname.charAt(0) === "/" ? urlParsingNode.pathname : "/" + urlParsingNode.pathname
|
|
44184
|
-
};
|
|
44185
|
-
}
|
|
44186
|
-
originURL = resolveURL(window.location.href);
|
|
44187
|
-
return function isURLSameOrigin(requestURL) {
|
|
44188
|
-
const parsed = utils_default.isString(requestURL) ? resolveURL(requestURL) : requestURL;
|
|
44189
|
-
return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
|
|
44190
|
-
};
|
|
44191
|
-
}()
|
|
44192
|
-
) : (
|
|
44193
|
-
// Non standard browser envs (web workers, react-native) lack needed support.
|
|
44194
|
-
function nonStandardBrowserEnv() {
|
|
44195
|
-
return function isURLSameOrigin() {
|
|
44196
|
-
return true;
|
|
44197
|
-
};
|
|
44198
|
-
}()
|
|
44199
|
-
);
|
|
44136
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
44137
|
+
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
44138
|
+
url2 = new URL(url2, platform_default.origin);
|
|
44139
|
+
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
44140
|
+
})(
|
|
44141
|
+
new URL(platform_default.origin),
|
|
44142
|
+
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
44143
|
+
) : () => true;
|
|
44200
44144
|
|
|
44201
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44145
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
|
|
44202
44146
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
44203
44147
|
// Standard browser envs support document.cookie
|
|
44204
44148
|
{
|
|
@@ -44231,12 +44175,12 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
44231
44175
|
}
|
|
44232
44176
|
);
|
|
44233
44177
|
|
|
44234
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44178
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
|
|
44235
44179
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
44236
44180
|
function mergeConfig(config1, config2) {
|
|
44237
44181
|
config2 = config2 || {};
|
|
44238
44182
|
const config = {};
|
|
44239
|
-
function getMergedValue(target, source, caseless) {
|
|
44183
|
+
function getMergedValue(target, source, prop, caseless) {
|
|
44240
44184
|
if (utils_default.isPlainObject(target) && utils_default.isPlainObject(source)) {
|
|
44241
44185
|
return utils_default.merge.call({ caseless }, target, source);
|
|
44242
44186
|
} else if (utils_default.isPlainObject(source)) {
|
|
@@ -44246,11 +44190,11 @@ function mergeConfig(config1, config2) {
|
|
|
44246
44190
|
}
|
|
44247
44191
|
return source;
|
|
44248
44192
|
}
|
|
44249
|
-
function mergeDeepProperties(a, b, caseless) {
|
|
44193
|
+
function mergeDeepProperties(a, b, prop, caseless) {
|
|
44250
44194
|
if (!utils_default.isUndefined(b)) {
|
|
44251
|
-
return getMergedValue(a, b, caseless);
|
|
44195
|
+
return getMergedValue(a, b, prop, caseless);
|
|
44252
44196
|
} else if (!utils_default.isUndefined(a)) {
|
|
44253
|
-
return getMergedValue(void 0, a, caseless);
|
|
44197
|
+
return getMergedValue(void 0, a, prop, caseless);
|
|
44254
44198
|
}
|
|
44255
44199
|
}
|
|
44256
44200
|
function valueFromConfig2(a, b) {
|
|
@@ -44301,7 +44245,7 @@ function mergeConfig(config1, config2) {
|
|
|
44301
44245
|
socketPath: defaultToConfig2,
|
|
44302
44246
|
responseEncoding: defaultToConfig2,
|
|
44303
44247
|
validateStatus: mergeDirectKeys,
|
|
44304
|
-
headers: (a, b) => mergeDeepProperties(headersToObject(a), headersToObject(b), true)
|
|
44248
|
+
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
44305
44249
|
};
|
|
44306
44250
|
utils_default.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
|
|
44307
44251
|
const merge2 = mergeMap[prop] || mergeDeepProperties;
|
|
@@ -44311,7 +44255,7 @@ function mergeConfig(config1, config2) {
|
|
|
44311
44255
|
return config;
|
|
44312
44256
|
}
|
|
44313
44257
|
|
|
44314
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44258
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
|
|
44315
44259
|
var resolveConfig_default = (config) => {
|
|
44316
44260
|
const newConfig = mergeConfig({}, config);
|
|
44317
44261
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -44344,7 +44288,7 @@ var resolveConfig_default = (config) => {
|
|
|
44344
44288
|
return newConfig;
|
|
44345
44289
|
};
|
|
44346
44290
|
|
|
44347
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44291
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
|
|
44348
44292
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
44349
44293
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
44350
44294
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -44471,7 +44415,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
44471
44415
|
});
|
|
44472
44416
|
};
|
|
44473
44417
|
|
|
44474
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44418
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
|
|
44475
44419
|
var composeSignals = (signals, timeout) => {
|
|
44476
44420
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
44477
44421
|
if (timeout || length) {
|
|
@@ -44507,7 +44451,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
44507
44451
|
};
|
|
44508
44452
|
var composeSignals_default = composeSignals;
|
|
44509
44453
|
|
|
44510
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44454
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
|
|
44511
44455
|
var streamChunk = function* (chunk, chunkSize) {
|
|
44512
44456
|
let len = chunk.byteLength;
|
|
44513
44457
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -44602,7 +44546,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
44602
44546
|
});
|
|
44603
44547
|
};
|
|
44604
44548
|
|
|
44605
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44549
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
|
|
44606
44550
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
44607
44551
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
44608
44552
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -44767,7 +44711,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
44767
44711
|
}
|
|
44768
44712
|
}));
|
|
44769
44713
|
|
|
44770
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44714
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
|
|
44771
44715
|
var knownAdapters = {
|
|
44772
44716
|
http: http_default,
|
|
44773
44717
|
xhr: xhr_default,
|
|
@@ -44821,7 +44765,7 @@ var adapters_default = {
|
|
|
44821
44765
|
adapters: knownAdapters
|
|
44822
44766
|
};
|
|
44823
44767
|
|
|
44824
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44768
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
44825
44769
|
function throwIfCancellationRequested(config) {
|
|
44826
44770
|
if (config.cancelToken) {
|
|
44827
44771
|
config.cancelToken.throwIfRequested();
|
|
@@ -44866,7 +44810,7 @@ function dispatchRequest(config) {
|
|
|
44866
44810
|
});
|
|
44867
44811
|
}
|
|
44868
44812
|
|
|
44869
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44813
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
|
|
44870
44814
|
var validators = {};
|
|
44871
44815
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
44872
44816
|
validators[type] = function validator(thing) {
|
|
@@ -44897,6 +44841,12 @@ validators.transitional = function transitional(validator, version2, message) {
|
|
|
44897
44841
|
return validator ? validator(value, opt, opts) : true;
|
|
44898
44842
|
};
|
|
44899
44843
|
};
|
|
44844
|
+
validators.spelling = function spelling(correctSpelling) {
|
|
44845
|
+
return (value, opt) => {
|
|
44846
|
+
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
44847
|
+
return true;
|
|
44848
|
+
};
|
|
44849
|
+
};
|
|
44900
44850
|
function assertOptions(options, schema, allowUnknown) {
|
|
44901
44851
|
if (typeof options !== "object") {
|
|
44902
44852
|
throw new AxiosError_default("options must be an object", AxiosError_default.ERR_BAD_OPTION_VALUE);
|
|
@@ -44924,7 +44874,7 @@ var validator_default = {
|
|
|
44924
44874
|
validators
|
|
44925
44875
|
};
|
|
44926
44876
|
|
|
44927
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
44877
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/core/Axios.js
|
|
44928
44878
|
var validators2 = validator_default.validators;
|
|
44929
44879
|
var Axios = class {
|
|
44930
44880
|
constructor(instanceConfig) {
|
|
@@ -44948,8 +44898,8 @@ var Axios = class {
|
|
|
44948
44898
|
return yield this._request(configOrUrl, config);
|
|
44949
44899
|
} catch (err) {
|
|
44950
44900
|
if (err instanceof Error) {
|
|
44951
|
-
let dummy;
|
|
44952
|
-
Error.captureStackTrace ? Error.captureStackTrace(dummy
|
|
44901
|
+
let dummy = {};
|
|
44902
|
+
Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
|
|
44953
44903
|
const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, "") : "";
|
|
44954
44904
|
try {
|
|
44955
44905
|
if (!err.stack) {
|
|
@@ -44992,6 +44942,10 @@ var Axios = class {
|
|
|
44992
44942
|
}, true);
|
|
44993
44943
|
}
|
|
44994
44944
|
}
|
|
44945
|
+
validator_default.assertOptions(config, {
|
|
44946
|
+
baseUrl: validators2.spelling("baseURL"),
|
|
44947
|
+
withXsrfToken: validators2.spelling("withXSRFToken")
|
|
44948
|
+
}, true);
|
|
44995
44949
|
config.method = (config.method || this.defaults.method || "get").toLowerCase();
|
|
44996
44950
|
let contextHeaders = headers && utils_default.merge(
|
|
44997
44951
|
headers.common,
|
|
@@ -45089,7 +45043,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
45089
45043
|
});
|
|
45090
45044
|
var Axios_default = Axios;
|
|
45091
45045
|
|
|
45092
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
45046
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
45093
45047
|
var CancelToken = class _CancelToken {
|
|
45094
45048
|
constructor(executor) {
|
|
45095
45049
|
if (typeof executor !== "function") {
|
|
@@ -45188,19 +45142,19 @@ var CancelToken = class _CancelToken {
|
|
|
45188
45142
|
};
|
|
45189
45143
|
var CancelToken_default = CancelToken;
|
|
45190
45144
|
|
|
45191
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
45145
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
|
|
45192
45146
|
function spread(callback) {
|
|
45193
45147
|
return function wrap(arr) {
|
|
45194
45148
|
return callback.apply(null, arr);
|
|
45195
45149
|
};
|
|
45196
45150
|
}
|
|
45197
45151
|
|
|
45198
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
45152
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
45199
45153
|
function isAxiosError(payload) {
|
|
45200
45154
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
45201
45155
|
}
|
|
45202
45156
|
|
|
45203
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
45157
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
45204
45158
|
var HttpStatusCode = {
|
|
45205
45159
|
Continue: 100,
|
|
45206
45160
|
SwitchingProtocols: 101,
|
|
@@ -45271,7 +45225,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
45271
45225
|
});
|
|
45272
45226
|
var HttpStatusCode_default = HttpStatusCode;
|
|
45273
45227
|
|
|
45274
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
45228
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
45275
45229
|
function createInstance(defaultConfig) {
|
|
45276
45230
|
const context = new Axios_default(defaultConfig);
|
|
45277
45231
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -45304,7 +45258,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
45304
45258
|
axios.default = axios;
|
|
45305
45259
|
var axios_default = axios;
|
|
45306
45260
|
|
|
45307
|
-
// ../../../node_modules/.pnpm/axios@1.7.
|
|
45261
|
+
// ../../../node_modules/.pnpm/axios@1.7.8_debug@4.3.7/node_modules/axios/index.js
|
|
45308
45262
|
var {
|
|
45309
45263
|
Axios: Axios2,
|
|
45310
45264
|
AxiosError: AxiosError2,
|
|
@@ -45928,7 +45882,7 @@ var CodeSmith = class {
|
|
|
45928
45882
|
};
|
|
45929
45883
|
|
|
45930
45884
|
// package.json
|
|
45931
|
-
var version = "2.63.
|
|
45885
|
+
var version = "2.63.1";
|
|
45932
45886
|
|
|
45933
45887
|
// src/utils/index.ts
|
|
45934
45888
|
var import_path9 = __toESM(require("path"));
|