@modern-js/upgrade-generator 3.7.23 → 3.7.24
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 +222 -253
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1802,9 +1802,9 @@ var require_ms = __commonJS({
|
|
|
1802
1802
|
}
|
|
1803
1803
|
});
|
|
1804
1804
|
|
|
1805
|
-
// ../../../../node_modules/.pnpm/debug@4.3.
|
|
1805
|
+
// ../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/common.js
|
|
1806
1806
|
var require_common = __commonJS({
|
|
1807
|
-
"../../../../node_modules/.pnpm/debug@4.3.
|
|
1807
|
+
"../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
1808
1808
|
"use strict";
|
|
1809
1809
|
function setup(env) {
|
|
1810
1810
|
createDebug.debug = createDebug;
|
|
@@ -1966,9 +1966,9 @@ var require_common = __commonJS({
|
|
|
1966
1966
|
}
|
|
1967
1967
|
});
|
|
1968
1968
|
|
|
1969
|
-
// ../../../../node_modules/.pnpm/debug@4.3.
|
|
1969
|
+
// ../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/browser.js
|
|
1970
1970
|
var require_browser = __commonJS({
|
|
1971
|
-
"../../../../node_modules/.pnpm/debug@4.3.
|
|
1971
|
+
"../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
1972
1972
|
"use strict";
|
|
1973
1973
|
exports.formatArgs = formatArgs;
|
|
1974
1974
|
exports.save = save;
|
|
@@ -2137,9 +2137,118 @@ var require_browser = __commonJS({
|
|
|
2137
2137
|
}
|
|
2138
2138
|
});
|
|
2139
2139
|
|
|
2140
|
-
// ../../../../node_modules/.pnpm/
|
|
2140
|
+
// ../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
|
|
2141
|
+
var require_has_flag2 = __commonJS({
|
|
2142
|
+
"../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
|
2143
|
+
"use strict";
|
|
2144
|
+
module2.exports = (flag, argv) => {
|
|
2145
|
+
argv = argv || process.argv;
|
|
2146
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
2147
|
+
const pos = argv.indexOf(prefix + flag);
|
|
2148
|
+
const terminatorPos = argv.indexOf("--");
|
|
2149
|
+
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
|
|
2150
|
+
};
|
|
2151
|
+
}
|
|
2152
|
+
});
|
|
2153
|
+
|
|
2154
|
+
// ../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
|
|
2155
|
+
var require_supports_color2 = __commonJS({
|
|
2156
|
+
"../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
|
|
2157
|
+
"use strict";
|
|
2158
|
+
var os2 = require("os");
|
|
2159
|
+
var hasFlag = require_has_flag2();
|
|
2160
|
+
var env = process.env;
|
|
2161
|
+
var forceColor;
|
|
2162
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
2163
|
+
forceColor = false;
|
|
2164
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
2165
|
+
forceColor = true;
|
|
2166
|
+
}
|
|
2167
|
+
if ("FORCE_COLOR" in env) {
|
|
2168
|
+
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
|
2169
|
+
}
|
|
2170
|
+
function translateLevel(level) {
|
|
2171
|
+
if (level === 0) {
|
|
2172
|
+
return false;
|
|
2173
|
+
}
|
|
2174
|
+
return {
|
|
2175
|
+
level,
|
|
2176
|
+
hasBasic: true,
|
|
2177
|
+
has256: level >= 2,
|
|
2178
|
+
has16m: level >= 3
|
|
2179
|
+
};
|
|
2180
|
+
}
|
|
2181
|
+
function supportsColor(stream4) {
|
|
2182
|
+
if (forceColor === false) {
|
|
2183
|
+
return 0;
|
|
2184
|
+
}
|
|
2185
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
2186
|
+
return 3;
|
|
2187
|
+
}
|
|
2188
|
+
if (hasFlag("color=256")) {
|
|
2189
|
+
return 2;
|
|
2190
|
+
}
|
|
2191
|
+
if (stream4 && !stream4.isTTY && forceColor !== true) {
|
|
2192
|
+
return 0;
|
|
2193
|
+
}
|
|
2194
|
+
const min = forceColor ? 1 : 0;
|
|
2195
|
+
if (process.platform === "win32") {
|
|
2196
|
+
const osRelease = os2.release().split(".");
|
|
2197
|
+
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
2198
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
2199
|
+
}
|
|
2200
|
+
return 1;
|
|
2201
|
+
}
|
|
2202
|
+
if ("CI" in env) {
|
|
2203
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
2204
|
+
return 1;
|
|
2205
|
+
}
|
|
2206
|
+
return min;
|
|
2207
|
+
}
|
|
2208
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
2209
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
2210
|
+
}
|
|
2211
|
+
if (env.COLORTERM === "truecolor") {
|
|
2212
|
+
return 3;
|
|
2213
|
+
}
|
|
2214
|
+
if ("TERM_PROGRAM" in env) {
|
|
2215
|
+
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
2216
|
+
switch (env.TERM_PROGRAM) {
|
|
2217
|
+
case "iTerm.app":
|
|
2218
|
+
return version >= 3 ? 3 : 2;
|
|
2219
|
+
case "Apple_Terminal":
|
|
2220
|
+
return 2;
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
2224
|
+
return 2;
|
|
2225
|
+
}
|
|
2226
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
2227
|
+
return 1;
|
|
2228
|
+
}
|
|
2229
|
+
if ("COLORTERM" in env) {
|
|
2230
|
+
return 1;
|
|
2231
|
+
}
|
|
2232
|
+
if (env.TERM === "dumb") {
|
|
2233
|
+
return min;
|
|
2234
|
+
}
|
|
2235
|
+
return min;
|
|
2236
|
+
}
|
|
2237
|
+
function getSupportLevel(stream4) {
|
|
2238
|
+
const level = supportsColor(stream4);
|
|
2239
|
+
return translateLevel(level);
|
|
2240
|
+
}
|
|
2241
|
+
module2.exports = {
|
|
2242
|
+
supportsColor: getSupportLevel,
|
|
2243
|
+
stdout: getSupportLevel(process.stdout),
|
|
2244
|
+
stderr: getSupportLevel(process.stderr)
|
|
2245
|
+
};
|
|
2246
|
+
}
|
|
2247
|
+
});
|
|
2248
|
+
|
|
2249
|
+
// ../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/node.js
|
|
2141
2250
|
var require_node = __commonJS({
|
|
2142
|
-
"../../../../node_modules/.pnpm/debug@4.3.
|
|
2251
|
+
"../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
2143
2252
|
"use strict";
|
|
2144
2253
|
var tty = require("tty");
|
|
2145
2254
|
var util3 = require("util");
|
|
@@ -2156,7 +2265,7 @@ var require_node = __commonJS({
|
|
|
2156
2265
|
);
|
|
2157
2266
|
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
2158
2267
|
try {
|
|
2159
|
-
const supportsColor =
|
|
2268
|
+
const supportsColor = require_supports_color2();
|
|
2160
2269
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
2161
2270
|
exports.colors = [
|
|
2162
2271
|
20,
|
|
@@ -2312,9 +2421,9 @@ var require_node = __commonJS({
|
|
|
2312
2421
|
}
|
|
2313
2422
|
});
|
|
2314
2423
|
|
|
2315
|
-
// ../../../../node_modules/.pnpm/debug@4.3.
|
|
2424
|
+
// ../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/index.js
|
|
2316
2425
|
var require_src = __commonJS({
|
|
2317
|
-
"../../../../node_modules/.pnpm/debug@4.3.
|
|
2426
|
+
"../../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
2318
2427
|
"use strict";
|
|
2319
2428
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
2320
2429
|
module2.exports = require_browser();
|
|
@@ -4570,37 +4679,6 @@ var require_ensure = __commonJS({
|
|
|
4570
4679
|
}
|
|
4571
4680
|
});
|
|
4572
4681
|
|
|
4573
|
-
// ../../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js
|
|
4574
|
-
var require_universalify2 = __commonJS({
|
|
4575
|
-
"../../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
|
|
4576
|
-
"use strict";
|
|
4577
|
-
exports.fromCallback = function(fn) {
|
|
4578
|
-
return Object.defineProperty(function(...args) {
|
|
4579
|
-
if (typeof args[args.length - 1] === "function")
|
|
4580
|
-
fn.apply(this, args);
|
|
4581
|
-
else {
|
|
4582
|
-
return new Promise((resolve, reject) => {
|
|
4583
|
-
fn.call(
|
|
4584
|
-
this,
|
|
4585
|
-
...args,
|
|
4586
|
-
(err, res) => err != null ? reject(err) : resolve(res)
|
|
4587
|
-
);
|
|
4588
|
-
});
|
|
4589
|
-
}
|
|
4590
|
-
}, "name", { value: fn.name });
|
|
4591
|
-
};
|
|
4592
|
-
exports.fromPromise = function(fn) {
|
|
4593
|
-
return Object.defineProperty(function(...args) {
|
|
4594
|
-
const cb = args[args.length - 1];
|
|
4595
|
-
if (typeof cb !== "function")
|
|
4596
|
-
return fn.apply(this, args);
|
|
4597
|
-
else
|
|
4598
|
-
fn.apply(this, args.slice(0, -1)).then((r) => cb(null, r), cb);
|
|
4599
|
-
}, "name", { value: fn.name });
|
|
4600
|
-
};
|
|
4601
|
-
}
|
|
4602
|
-
});
|
|
4603
|
-
|
|
4604
4682
|
// ../../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js
|
|
4605
4683
|
var require_utils2 = __commonJS({
|
|
4606
4684
|
"../../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports, module2) {
|
|
@@ -4629,7 +4707,7 @@ var require_jsonfile = __commonJS({
|
|
|
4629
4707
|
} catch (_) {
|
|
4630
4708
|
_fs = require("fs");
|
|
4631
4709
|
}
|
|
4632
|
-
var universalify =
|
|
4710
|
+
var universalify = require_universalify();
|
|
4633
4711
|
var { stringify: stringify2, stripBom } = require_utils2();
|
|
4634
4712
|
function _readFile(_0) {
|
|
4635
4713
|
return __async(this, arguments, function* (file, options = {}) {
|
|
@@ -5204,9 +5282,9 @@ var require_path_key = __commonJS({
|
|
|
5204
5282
|
}
|
|
5205
5283
|
});
|
|
5206
5284
|
|
|
5207
|
-
// ../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5285
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
5208
5286
|
var require_resolveCommand = __commonJS({
|
|
5209
|
-
"../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5287
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
|
|
5210
5288
|
"use strict";
|
|
5211
5289
|
var path5 = require("path");
|
|
5212
5290
|
var which = require_which();
|
|
@@ -5246,9 +5324,9 @@ var require_resolveCommand = __commonJS({
|
|
|
5246
5324
|
}
|
|
5247
5325
|
});
|
|
5248
5326
|
|
|
5249
|
-
// ../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5327
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
5250
5328
|
var require_escape = __commonJS({
|
|
5251
|
-
"../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5329
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
|
|
5252
5330
|
"use strict";
|
|
5253
5331
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
5254
5332
|
function escapeCommand(arg) {
|
|
@@ -5257,8 +5335,8 @@ var require_escape = __commonJS({
|
|
|
5257
5335
|
}
|
|
5258
5336
|
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
5259
5337
|
arg = `${arg}`;
|
|
5260
|
-
arg = arg.replace(/(
|
|
5261
|
-
arg = arg.replace(/(
|
|
5338
|
+
arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
|
|
5339
|
+
arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1");
|
|
5262
5340
|
arg = `"${arg}"`;
|
|
5263
5341
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
5264
5342
|
if (doubleEscapeMetaChars) {
|
|
@@ -5299,9 +5377,9 @@ var require_shebang_command = __commonJS({
|
|
|
5299
5377
|
}
|
|
5300
5378
|
});
|
|
5301
5379
|
|
|
5302
|
-
// ../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5380
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
5303
5381
|
var require_readShebang = __commonJS({
|
|
5304
|
-
"../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5382
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
|
|
5305
5383
|
"use strict";
|
|
5306
5384
|
var fs2 = require("fs");
|
|
5307
5385
|
var shebangCommand = require_shebang_command();
|
|
@@ -5321,9 +5399,9 @@ var require_readShebang = __commonJS({
|
|
|
5321
5399
|
}
|
|
5322
5400
|
});
|
|
5323
5401
|
|
|
5324
|
-
// ../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5402
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
5325
5403
|
var require_parse = __commonJS({
|
|
5326
|
-
"../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5404
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
|
|
5327
5405
|
"use strict";
|
|
5328
5406
|
var path5 = require("path");
|
|
5329
5407
|
var resolveCommand = require_resolveCommand();
|
|
@@ -5383,9 +5461,9 @@ var require_parse = __commonJS({
|
|
|
5383
5461
|
}
|
|
5384
5462
|
});
|
|
5385
5463
|
|
|
5386
|
-
// ../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5464
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
5387
5465
|
var require_enoent = __commonJS({
|
|
5388
|
-
"../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5466
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
|
|
5389
5467
|
"use strict";
|
|
5390
5468
|
var isWin = process.platform === "win32";
|
|
5391
5469
|
function notFoundError(original, syscall) {
|
|
@@ -5404,7 +5482,7 @@ var require_enoent = __commonJS({
|
|
|
5404
5482
|
const originalEmit = cp.emit;
|
|
5405
5483
|
cp.emit = function(name, arg1) {
|
|
5406
5484
|
if (name === "exit") {
|
|
5407
|
-
const err = verifyENOENT(arg1, parsed
|
|
5485
|
+
const err = verifyENOENT(arg1, parsed);
|
|
5408
5486
|
if (err) {
|
|
5409
5487
|
return originalEmit.call(cp, "error", err);
|
|
5410
5488
|
}
|
|
@@ -5433,9 +5511,9 @@ var require_enoent = __commonJS({
|
|
|
5433
5511
|
}
|
|
5434
5512
|
});
|
|
5435
5513
|
|
|
5436
|
-
// ../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5514
|
+
// ../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
5437
5515
|
var require_cross_spawn = __commonJS({
|
|
5438
|
-
"../../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
5516
|
+
"../../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module2) {
|
|
5439
5517
|
"use strict";
|
|
5440
5518
|
var cp = require("child_process");
|
|
5441
5519
|
var parse3 = require_parse();
|
|
@@ -75079,9 +75157,9 @@ var require_lodash7 = __commonJS({
|
|
|
75079
75157
|
}
|
|
75080
75158
|
});
|
|
75081
75159
|
|
|
75082
|
-
// ../../../../node_modules/.pnpm/debug@4.4.
|
|
75160
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js
|
|
75083
75161
|
var require_common3 = __commonJS({
|
|
75084
|
-
"../../../../node_modules/.pnpm/debug@4.4.
|
|
75162
|
+
"../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
75085
75163
|
"use strict";
|
|
75086
75164
|
function setup(env) {
|
|
75087
75165
|
createDebug.debug = createDebug;
|
|
@@ -75257,9 +75335,9 @@ var require_common3 = __commonJS({
|
|
|
75257
75335
|
}
|
|
75258
75336
|
});
|
|
75259
75337
|
|
|
75260
|
-
// ../../../../node_modules/.pnpm/debug@4.4.
|
|
75338
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js
|
|
75261
75339
|
var require_browser2 = __commonJS({
|
|
75262
|
-
"../../../../node_modules/.pnpm/debug@4.4.
|
|
75340
|
+
"../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
75263
75341
|
"use strict";
|
|
75264
75342
|
exports.formatArgs = formatArgs;
|
|
75265
75343
|
exports.save = save;
|
|
@@ -75428,118 +75506,9 @@ var require_browser2 = __commonJS({
|
|
|
75428
75506
|
}
|
|
75429
75507
|
});
|
|
75430
75508
|
|
|
75431
|
-
// ../../../../node_modules/.pnpm/
|
|
75432
|
-
var require_has_flag2 = __commonJS({
|
|
75433
|
-
"../../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
|
75434
|
-
"use strict";
|
|
75435
|
-
module2.exports = (flag, argv) => {
|
|
75436
|
-
argv = argv || process.argv;
|
|
75437
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
75438
|
-
const pos = argv.indexOf(prefix + flag);
|
|
75439
|
-
const terminatorPos = argv.indexOf("--");
|
|
75440
|
-
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
|
|
75441
|
-
};
|
|
75442
|
-
}
|
|
75443
|
-
});
|
|
75444
|
-
|
|
75445
|
-
// ../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
|
|
75446
|
-
var require_supports_color2 = __commonJS({
|
|
75447
|
-
"../../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
|
|
75448
|
-
"use strict";
|
|
75449
|
-
var os2 = require("os");
|
|
75450
|
-
var hasFlag = require_has_flag2();
|
|
75451
|
-
var env = process.env;
|
|
75452
|
-
var forceColor;
|
|
75453
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
75454
|
-
forceColor = false;
|
|
75455
|
-
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
75456
|
-
forceColor = true;
|
|
75457
|
-
}
|
|
75458
|
-
if ("FORCE_COLOR" in env) {
|
|
75459
|
-
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
|
75460
|
-
}
|
|
75461
|
-
function translateLevel(level) {
|
|
75462
|
-
if (level === 0) {
|
|
75463
|
-
return false;
|
|
75464
|
-
}
|
|
75465
|
-
return {
|
|
75466
|
-
level,
|
|
75467
|
-
hasBasic: true,
|
|
75468
|
-
has256: level >= 2,
|
|
75469
|
-
has16m: level >= 3
|
|
75470
|
-
};
|
|
75471
|
-
}
|
|
75472
|
-
function supportsColor(stream4) {
|
|
75473
|
-
if (forceColor === false) {
|
|
75474
|
-
return 0;
|
|
75475
|
-
}
|
|
75476
|
-
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
75477
|
-
return 3;
|
|
75478
|
-
}
|
|
75479
|
-
if (hasFlag("color=256")) {
|
|
75480
|
-
return 2;
|
|
75481
|
-
}
|
|
75482
|
-
if (stream4 && !stream4.isTTY && forceColor !== true) {
|
|
75483
|
-
return 0;
|
|
75484
|
-
}
|
|
75485
|
-
const min = forceColor ? 1 : 0;
|
|
75486
|
-
if (process.platform === "win32") {
|
|
75487
|
-
const osRelease = os2.release().split(".");
|
|
75488
|
-
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
75489
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
75490
|
-
}
|
|
75491
|
-
return 1;
|
|
75492
|
-
}
|
|
75493
|
-
if ("CI" in env) {
|
|
75494
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
75495
|
-
return 1;
|
|
75496
|
-
}
|
|
75497
|
-
return min;
|
|
75498
|
-
}
|
|
75499
|
-
if ("TEAMCITY_VERSION" in env) {
|
|
75500
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
75501
|
-
}
|
|
75502
|
-
if (env.COLORTERM === "truecolor") {
|
|
75503
|
-
return 3;
|
|
75504
|
-
}
|
|
75505
|
-
if ("TERM_PROGRAM" in env) {
|
|
75506
|
-
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
75507
|
-
switch (env.TERM_PROGRAM) {
|
|
75508
|
-
case "iTerm.app":
|
|
75509
|
-
return version >= 3 ? 3 : 2;
|
|
75510
|
-
case "Apple_Terminal":
|
|
75511
|
-
return 2;
|
|
75512
|
-
}
|
|
75513
|
-
}
|
|
75514
|
-
if (/-256(color)?$/i.test(env.TERM)) {
|
|
75515
|
-
return 2;
|
|
75516
|
-
}
|
|
75517
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
75518
|
-
return 1;
|
|
75519
|
-
}
|
|
75520
|
-
if ("COLORTERM" in env) {
|
|
75521
|
-
return 1;
|
|
75522
|
-
}
|
|
75523
|
-
if (env.TERM === "dumb") {
|
|
75524
|
-
return min;
|
|
75525
|
-
}
|
|
75526
|
-
return min;
|
|
75527
|
-
}
|
|
75528
|
-
function getSupportLevel(stream4) {
|
|
75529
|
-
const level = supportsColor(stream4);
|
|
75530
|
-
return translateLevel(level);
|
|
75531
|
-
}
|
|
75532
|
-
module2.exports = {
|
|
75533
|
-
supportsColor: getSupportLevel,
|
|
75534
|
-
stdout: getSupportLevel(process.stdout),
|
|
75535
|
-
stderr: getSupportLevel(process.stderr)
|
|
75536
|
-
};
|
|
75537
|
-
}
|
|
75538
|
-
});
|
|
75539
|
-
|
|
75540
|
-
// ../../../../node_modules/.pnpm/debug@4.4.0_supports-color@5.5.0/node_modules/debug/src/node.js
|
|
75509
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js
|
|
75541
75510
|
var require_node3 = __commonJS({
|
|
75542
|
-
"../../../../node_modules/.pnpm/debug@4.4.
|
|
75511
|
+
"../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
75543
75512
|
"use strict";
|
|
75544
75513
|
var tty = require("tty");
|
|
75545
75514
|
var util3 = require("util");
|
|
@@ -75556,7 +75525,7 @@ var require_node3 = __commonJS({
|
|
|
75556
75525
|
);
|
|
75557
75526
|
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
75558
75527
|
try {
|
|
75559
|
-
const supportsColor =
|
|
75528
|
+
const supportsColor = require_supports_color();
|
|
75560
75529
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
75561
75530
|
exports.colors = [
|
|
75562
75531
|
20,
|
|
@@ -75712,9 +75681,9 @@ var require_node3 = __commonJS({
|
|
|
75712
75681
|
}
|
|
75713
75682
|
});
|
|
75714
75683
|
|
|
75715
|
-
// ../../../../node_modules/.pnpm/debug@4.4.
|
|
75684
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js
|
|
75716
75685
|
var require_src4 = __commonJS({
|
|
75717
|
-
"../../../../node_modules/.pnpm/debug@4.4.
|
|
75686
|
+
"../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
75718
75687
|
"use strict";
|
|
75719
75688
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
75720
75689
|
module2.exports = require_browser2();
|
|
@@ -76648,14 +76617,14 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
|
76648
76617
|
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
76649
76618
|
var import_semver = __toESM(require_semver2());
|
|
76650
76619
|
|
|
76651
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76620
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
|
|
76652
76621
|
function bind(fn, thisArg) {
|
|
76653
76622
|
return function wrap() {
|
|
76654
76623
|
return fn.apply(thisArg, arguments);
|
|
76655
76624
|
};
|
|
76656
76625
|
}
|
|
76657
76626
|
|
|
76658
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76627
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
76659
76628
|
var { toString } = Object.prototype;
|
|
76660
76629
|
var { getPrototypeOf } = Object;
|
|
76661
76630
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -77023,7 +76992,7 @@ var utils_default = {
|
|
|
77023
76992
|
asap
|
|
77024
76993
|
};
|
|
77025
76994
|
|
|
77026
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76995
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
|
|
77027
76996
|
function AxiosError(message, code, config, request, response) {
|
|
77028
76997
|
Error.call(this);
|
|
77029
76998
|
if (Error.captureStackTrace) {
|
|
@@ -77098,11 +77067,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
77098
77067
|
};
|
|
77099
77068
|
var AxiosError_default = AxiosError;
|
|
77100
77069
|
|
|
77101
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77070
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
77102
77071
|
var import_form_data = __toESM(require_form_data());
|
|
77103
77072
|
var FormData_default = import_form_data.default;
|
|
77104
77073
|
|
|
77105
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77074
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
|
|
77106
77075
|
function isVisitable(thing) {
|
|
77107
77076
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
77108
77077
|
}
|
|
@@ -77217,7 +77186,7 @@ function toFormData(obj, formData, options) {
|
|
|
77217
77186
|
}
|
|
77218
77187
|
var toFormData_default = toFormData;
|
|
77219
77188
|
|
|
77220
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77189
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
77221
77190
|
function encode(str) {
|
|
77222
77191
|
const charMap = {
|
|
77223
77192
|
"!": "%21",
|
|
@@ -77250,7 +77219,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
77250
77219
|
};
|
|
77251
77220
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
77252
77221
|
|
|
77253
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77222
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
|
|
77254
77223
|
function encode2(val) {
|
|
77255
77224
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
77256
77225
|
}
|
|
@@ -77281,7 +77250,7 @@ function buildURL(url2, params, options) {
|
|
|
77281
77250
|
return url2;
|
|
77282
77251
|
}
|
|
77283
77252
|
|
|
77284
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77253
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
77285
77254
|
var InterceptorManager = class {
|
|
77286
77255
|
constructor() {
|
|
77287
77256
|
this.handlers = [];
|
|
@@ -77345,21 +77314,21 @@ var InterceptorManager = class {
|
|
|
77345
77314
|
};
|
|
77346
77315
|
var InterceptorManager_default = InterceptorManager;
|
|
77347
77316
|
|
|
77348
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77317
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
|
|
77349
77318
|
var transitional_default = {
|
|
77350
77319
|
silentJSONParsing: true,
|
|
77351
77320
|
forcedJSONParsing: true,
|
|
77352
77321
|
clarifyTimeoutError: false
|
|
77353
77322
|
};
|
|
77354
77323
|
|
|
77355
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77324
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
77356
77325
|
var import_crypto = __toESM(require("crypto"));
|
|
77357
77326
|
|
|
77358
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77327
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
77359
77328
|
var import_url = __toESM(require("url"));
|
|
77360
77329
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
77361
77330
|
|
|
77362
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77331
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
77363
77332
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
77364
77333
|
var DIGIT = "0123456789";
|
|
77365
77334
|
var ALPHABET = {
|
|
@@ -77389,7 +77358,7 @@ var node_default = {
|
|
|
77389
77358
|
protocols: ["http", "https", "file", "data"]
|
|
77390
77359
|
};
|
|
77391
77360
|
|
|
77392
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77361
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
|
|
77393
77362
|
var utils_exports = {};
|
|
77394
77363
|
__export(utils_exports, {
|
|
77395
77364
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -77407,10 +77376,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
77407
77376
|
})();
|
|
77408
77377
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
77409
77378
|
|
|
77410
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77379
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/index.js
|
|
77411
77380
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
77412
77381
|
|
|
77413
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77382
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
77414
77383
|
function toURLEncodedForm(data, options) {
|
|
77415
77384
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
77416
77385
|
visitor: function(value, key, path5, helpers) {
|
|
@@ -77423,7 +77392,7 @@ function toURLEncodedForm(data, options) {
|
|
|
77423
77392
|
}, options));
|
|
77424
77393
|
}
|
|
77425
77394
|
|
|
77426
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77395
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
77427
77396
|
function parsePropPath(name) {
|
|
77428
77397
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
77429
77398
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -77477,7 +77446,7 @@ function formDataToJSON(formData) {
|
|
|
77477
77446
|
}
|
|
77478
77447
|
var formDataToJSON_default = formDataToJSON;
|
|
77479
77448
|
|
|
77480
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77449
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/index.js
|
|
77481
77450
|
function stringifySafely(rawValue, parser, encoder) {
|
|
77482
77451
|
if (utils_default.isString(rawValue)) {
|
|
77483
77452
|
try {
|
|
@@ -77586,7 +77555,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
77586
77555
|
});
|
|
77587
77556
|
var defaults_default = defaults;
|
|
77588
77557
|
|
|
77589
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77558
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
77590
77559
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
77591
77560
|
"age",
|
|
77592
77561
|
"authorization",
|
|
@@ -77631,7 +77600,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
77631
77600
|
return parsed;
|
|
77632
77601
|
};
|
|
77633
77602
|
|
|
77634
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77603
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
77635
77604
|
var $internals = Symbol("internals");
|
|
77636
77605
|
function normalizeHeader(header) {
|
|
77637
77606
|
return header && String(header).trim().toLowerCase();
|
|
@@ -77853,7 +77822,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
77853
77822
|
utils_default.freezeMethods(AxiosHeaders);
|
|
77854
77823
|
var AxiosHeaders_default = AxiosHeaders;
|
|
77855
77824
|
|
|
77856
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77825
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/transformData.js
|
|
77857
77826
|
function transformData(fns, response) {
|
|
77858
77827
|
const config = this || defaults_default;
|
|
77859
77828
|
const context = response || config;
|
|
@@ -77866,12 +77835,12 @@ function transformData(fns, response) {
|
|
|
77866
77835
|
return data;
|
|
77867
77836
|
}
|
|
77868
77837
|
|
|
77869
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77838
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
|
|
77870
77839
|
function isCancel(value) {
|
|
77871
77840
|
return !!(value && value.__CANCEL__);
|
|
77872
77841
|
}
|
|
77873
77842
|
|
|
77874
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77843
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
77875
77844
|
function CanceledError(message, config, request) {
|
|
77876
77845
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
77877
77846
|
this.name = "CanceledError";
|
|
@@ -77881,7 +77850,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
77881
77850
|
});
|
|
77882
77851
|
var CanceledError_default = CanceledError;
|
|
77883
77852
|
|
|
77884
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77853
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/settle.js
|
|
77885
77854
|
function settle(resolve, reject, response) {
|
|
77886
77855
|
const validateStatus2 = response.config.validateStatus;
|
|
77887
77856
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -77897,26 +77866,26 @@ function settle(resolve, reject, response) {
|
|
|
77897
77866
|
}
|
|
77898
77867
|
}
|
|
77899
77868
|
|
|
77900
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77869
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
77901
77870
|
function isAbsoluteURL(url2) {
|
|
77902
77871
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
77903
77872
|
}
|
|
77904
77873
|
|
|
77905
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77874
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
77906
77875
|
function combineURLs(baseURL, relativeURL) {
|
|
77907
77876
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
77908
77877
|
}
|
|
77909
77878
|
|
|
77910
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77879
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
|
|
77911
77880
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
77912
77881
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
77913
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
77882
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
77914
77883
|
return combineURLs(baseURL, requestedURL);
|
|
77915
77884
|
}
|
|
77916
77885
|
return requestedURL;
|
|
77917
77886
|
}
|
|
77918
77887
|
|
|
77919
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77888
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
77920
77889
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
77921
77890
|
var import_http = __toESM(require("http"));
|
|
77922
77891
|
var import_https = __toESM(require("https"));
|
|
@@ -77924,16 +77893,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
77924
77893
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
77925
77894
|
var import_zlib = __toESM(require("zlib"));
|
|
77926
77895
|
|
|
77927
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77928
|
-
var VERSION = "1.8.
|
|
77896
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/env/data.js
|
|
77897
|
+
var VERSION = "1.8.4";
|
|
77929
77898
|
|
|
77930
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77899
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
77931
77900
|
function parseProtocol(url2) {
|
|
77932
77901
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
77933
77902
|
return match && match[1] || "";
|
|
77934
77903
|
}
|
|
77935
77904
|
|
|
77936
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77905
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
77937
77906
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
77938
77907
|
function fromDataURI(uri, asBlob, options) {
|
|
77939
77908
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -77962,10 +77931,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
77962
77931
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
77963
77932
|
}
|
|
77964
77933
|
|
|
77965
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77934
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
77966
77935
|
var import_stream4 = __toESM(require("stream"));
|
|
77967
77936
|
|
|
77968
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77937
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
77969
77938
|
var import_stream = __toESM(require("stream"));
|
|
77970
77939
|
var kInternals = Symbol("internals");
|
|
77971
77940
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -78080,14 +78049,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
78080
78049
|
};
|
|
78081
78050
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
78082
78051
|
|
|
78083
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78052
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
78084
78053
|
var import_events = require("events");
|
|
78085
78054
|
|
|
78086
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78055
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
78087
78056
|
var import_util = __toESM(require("util"));
|
|
78088
78057
|
var import_stream2 = require("stream");
|
|
78089
78058
|
|
|
78090
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78059
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
|
|
78091
78060
|
var { asyncIterator } = Symbol;
|
|
78092
78061
|
var readBlob = function(blob) {
|
|
78093
78062
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -78104,7 +78073,7 @@ var readBlob = function(blob) {
|
|
|
78104
78073
|
};
|
|
78105
78074
|
var readBlob_default = readBlob;
|
|
78106
78075
|
|
|
78107
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78076
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
78108
78077
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
78109
78078
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
78110
78079
|
var CRLF = "\r\n";
|
|
@@ -78187,7 +78156,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
78187
78156
|
};
|
|
78188
78157
|
var formDataToStream_default = formDataToStream;
|
|
78189
78158
|
|
|
78190
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78159
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
78191
78160
|
var import_stream3 = __toESM(require("stream"));
|
|
78192
78161
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
78193
78162
|
__transform(chunk, encoding, callback) {
|
|
@@ -78209,7 +78178,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
78209
78178
|
};
|
|
78210
78179
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
78211
78180
|
|
|
78212
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78181
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
|
|
78213
78182
|
var callbackify = (fn, reducer) => {
|
|
78214
78183
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
78215
78184
|
const cb = args.pop();
|
|
@@ -78224,7 +78193,7 @@ var callbackify = (fn, reducer) => {
|
|
|
78224
78193
|
};
|
|
78225
78194
|
var callbackify_default = callbackify;
|
|
78226
78195
|
|
|
78227
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78196
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
|
|
78228
78197
|
function speedometer(samplesCount, min) {
|
|
78229
78198
|
samplesCount = samplesCount || 10;
|
|
78230
78199
|
const bytes = new Array(samplesCount);
|
|
@@ -78260,7 +78229,7 @@ function speedometer(samplesCount, min) {
|
|
|
78260
78229
|
}
|
|
78261
78230
|
var speedometer_default = speedometer;
|
|
78262
78231
|
|
|
78263
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78232
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
|
|
78264
78233
|
function throttle(fn, freq) {
|
|
78265
78234
|
let timestamp = 0;
|
|
78266
78235
|
let threshold = 1e3 / freq;
|
|
@@ -78295,7 +78264,7 @@ function throttle(fn, freq) {
|
|
|
78295
78264
|
}
|
|
78296
78265
|
var throttle_default = throttle;
|
|
78297
78266
|
|
|
78298
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78267
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
78299
78268
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
78300
78269
|
let bytesNotified = 0;
|
|
78301
78270
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -78330,7 +78299,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
78330
78299
|
};
|
|
78331
78300
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
78332
78301
|
|
|
78333
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78302
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
78334
78303
|
var zlibOptions = {
|
|
78335
78304
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
78336
78305
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -78836,7 +78805,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
78836
78805
|
});
|
|
78837
78806
|
};
|
|
78838
78807
|
|
|
78839
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78808
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
78840
78809
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
78841
78810
|
url2 = new URL(url2, platform_default.origin);
|
|
78842
78811
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -78845,7 +78814,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
|
|
|
78845
78814
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
78846
78815
|
) : () => true;
|
|
78847
78816
|
|
|
78848
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78817
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
|
|
78849
78818
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
78850
78819
|
// Standard browser envs support document.cookie
|
|
78851
78820
|
{
|
|
@@ -78878,7 +78847,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
78878
78847
|
}
|
|
78879
78848
|
);
|
|
78880
78849
|
|
|
78881
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78850
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
|
|
78882
78851
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
78883
78852
|
function mergeConfig(config1, config2) {
|
|
78884
78853
|
config2 = config2 || {};
|
|
@@ -78958,7 +78927,7 @@ function mergeConfig(config1, config2) {
|
|
|
78958
78927
|
return config;
|
|
78959
78928
|
}
|
|
78960
78929
|
|
|
78961
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78930
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
|
|
78962
78931
|
var resolveConfig_default = (config) => {
|
|
78963
78932
|
const newConfig = mergeConfig({}, config);
|
|
78964
78933
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -78991,7 +78960,7 @@ var resolveConfig_default = (config) => {
|
|
|
78991
78960
|
return newConfig;
|
|
78992
78961
|
};
|
|
78993
78962
|
|
|
78994
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78963
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
|
|
78995
78964
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
78996
78965
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
78997
78966
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -79118,7 +79087,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
79118
79087
|
});
|
|
79119
79088
|
};
|
|
79120
79089
|
|
|
79121
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79090
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
|
|
79122
79091
|
var composeSignals = (signals, timeout) => {
|
|
79123
79092
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
79124
79093
|
if (timeout || length) {
|
|
@@ -79154,7 +79123,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
79154
79123
|
};
|
|
79155
79124
|
var composeSignals_default = composeSignals;
|
|
79156
79125
|
|
|
79157
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79126
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
|
|
79158
79127
|
var streamChunk = function* (chunk, chunkSize) {
|
|
79159
79128
|
let len = chunk.byteLength;
|
|
79160
79129
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -79249,7 +79218,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
79249
79218
|
});
|
|
79250
79219
|
};
|
|
79251
79220
|
|
|
79252
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79221
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
|
|
79253
79222
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
79254
79223
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
79255
79224
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -79414,7 +79383,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
79414
79383
|
}
|
|
79415
79384
|
}));
|
|
79416
79385
|
|
|
79417
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79386
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
|
|
79418
79387
|
var knownAdapters = {
|
|
79419
79388
|
http: http_default,
|
|
79420
79389
|
xhr: xhr_default,
|
|
@@ -79468,7 +79437,7 @@ var adapters_default = {
|
|
|
79468
79437
|
adapters: knownAdapters
|
|
79469
79438
|
};
|
|
79470
79439
|
|
|
79471
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79440
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
79472
79441
|
function throwIfCancellationRequested(config) {
|
|
79473
79442
|
if (config.cancelToken) {
|
|
79474
79443
|
config.cancelToken.throwIfRequested();
|
|
@@ -79513,7 +79482,7 @@ function dispatchRequest(config) {
|
|
|
79513
79482
|
});
|
|
79514
79483
|
}
|
|
79515
79484
|
|
|
79516
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79485
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
|
|
79517
79486
|
var validators = {};
|
|
79518
79487
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
79519
79488
|
validators[type] = function validator(thing) {
|
|
@@ -79577,7 +79546,7 @@ var validator_default = {
|
|
|
79577
79546
|
validators
|
|
79578
79547
|
};
|
|
79579
79548
|
|
|
79580
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79549
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/Axios.js
|
|
79581
79550
|
var validators2 = validator_default.validators;
|
|
79582
79551
|
var Axios = class {
|
|
79583
79552
|
constructor(instanceConfig) {
|
|
@@ -79752,7 +79721,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
79752
79721
|
});
|
|
79753
79722
|
var Axios_default = Axios;
|
|
79754
79723
|
|
|
79755
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79724
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
79756
79725
|
var CancelToken = class _CancelToken {
|
|
79757
79726
|
constructor(executor) {
|
|
79758
79727
|
if (typeof executor !== "function") {
|
|
@@ -79851,19 +79820,19 @@ var CancelToken = class _CancelToken {
|
|
|
79851
79820
|
};
|
|
79852
79821
|
var CancelToken_default = CancelToken;
|
|
79853
79822
|
|
|
79854
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79823
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
|
|
79855
79824
|
function spread(callback) {
|
|
79856
79825
|
return function wrap(arr) {
|
|
79857
79826
|
return callback.apply(null, arr);
|
|
79858
79827
|
};
|
|
79859
79828
|
}
|
|
79860
79829
|
|
|
79861
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79830
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
79862
79831
|
function isAxiosError(payload) {
|
|
79863
79832
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
79864
79833
|
}
|
|
79865
79834
|
|
|
79866
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79835
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
79867
79836
|
var HttpStatusCode = {
|
|
79868
79837
|
Continue: 100,
|
|
79869
79838
|
SwitchingProtocols: 101,
|
|
@@ -79934,7 +79903,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
79934
79903
|
});
|
|
79935
79904
|
var HttpStatusCode_default = HttpStatusCode;
|
|
79936
79905
|
|
|
79937
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79906
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
79938
79907
|
function createInstance(defaultConfig) {
|
|
79939
79908
|
const context = new Axios_default(defaultConfig);
|
|
79940
79909
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -79967,7 +79936,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
79967
79936
|
axios.default = axios;
|
|
79968
79937
|
var axios_default = axios;
|
|
79969
79938
|
|
|
79970
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79939
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js
|
|
79971
79940
|
var {
|
|
79972
79941
|
Axios: Axios2,
|
|
79973
79942
|
AxiosError: AxiosError2,
|
|
@@ -84364,7 +84333,7 @@ autorun.effect = function(callback, dependencies) {
|
|
|
84364
84333
|
}
|
|
84365
84334
|
};
|
|
84366
84335
|
|
|
84367
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
84336
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/shared.js
|
|
84368
84337
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
84369
84338
|
var SchemaNestedMap = {
|
|
84370
84339
|
parent: true,
|
|
@@ -84551,7 +84520,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
84551
84520
|
});
|
|
84552
84521
|
};
|
|
84553
84522
|
|
|
84554
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
84523
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/compiler.js
|
|
84555
84524
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
84556
84525
|
var Registry = {
|
|
84557
84526
|
silent: false,
|
|
@@ -85913,7 +85882,7 @@ function onFieldInit(pattern, callback) {
|
|
|
85913
85882
|
}
|
|
85914
85883
|
}
|
|
85915
85884
|
|
|
85916
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
85885
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/transformer.js
|
|
85917
85886
|
var __read5 = function(o, n) {
|
|
85918
85887
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
85919
85888
|
if (!m)
|
|
@@ -86138,7 +86107,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
86138
86107
|
};
|
|
86139
86108
|
};
|
|
86140
86109
|
|
|
86141
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86110
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/patches.js
|
|
86142
86111
|
var __assign5 = function() {
|
|
86143
86112
|
__assign5 = Object.assign || function(t) {
|
|
86144
86113
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -86187,7 +86156,7 @@ var enablePolyfills = function(versions) {
|
|
|
86187
86156
|
}
|
|
86188
86157
|
};
|
|
86189
86158
|
|
|
86190
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86159
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
86191
86160
|
var __assign6 = function() {
|
|
86192
86161
|
__assign6 = Object.assign || function(t) {
|
|
86193
86162
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -86344,7 +86313,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
86344
86313
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
86345
86314
|
};
|
|
86346
86315
|
|
|
86347
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86316
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/schema.js
|
|
86348
86317
|
var Schema = (
|
|
86349
86318
|
/** @class */
|
|
86350
86319
|
function() {
|
|
@@ -86580,10 +86549,10 @@ var Schema = (
|
|
|
86580
86549
|
}()
|
|
86581
86550
|
);
|
|
86582
86551
|
|
|
86583
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86552
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
|
86584
86553
|
var import_inquirer = __toESM(require_inquirer());
|
|
86585
86554
|
|
|
86586
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86555
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/transform.js
|
|
86587
86556
|
function validateSchema(schema) {
|
|
86588
86557
|
const { type, properties } = schema;
|
|
86589
86558
|
if (type !== "object") {
|
|
@@ -86670,7 +86639,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
86670
86639
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
86671
86640
|
}
|
|
86672
86641
|
|
|
86673
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86642
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/prompt.js
|
|
86674
86643
|
var compileRule = (rule, scope) => {
|
|
86675
86644
|
const state = Schema.compile(rule, __spreadValues({
|
|
86676
86645
|
$self: {},
|
|
@@ -86770,7 +86739,7 @@ function prompt(_0) {
|
|
|
86770
86739
|
});
|
|
86771
86740
|
}
|
|
86772
86741
|
|
|
86773
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86742
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-formily/dist/esm-node/inquirer.js
|
|
86774
86743
|
var CLIReader = class {
|
|
86775
86744
|
getAnswers() {
|
|
86776
86745
|
return this.answers;
|
|
@@ -86798,7 +86767,7 @@ var CLIReader = class {
|
|
|
86798
86767
|
}
|
|
86799
86768
|
};
|
|
86800
86769
|
|
|
86801
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86770
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
86802
86771
|
var import_comment_json = __toESM(require_src3());
|
|
86803
86772
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
86804
86773
|
|
|
@@ -86865,7 +86834,7 @@ var I18n = class {
|
|
|
86865
86834
|
}
|
|
86866
86835
|
};
|
|
86867
86836
|
|
|
86868
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86837
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/en.js
|
|
86869
86838
|
var EN_LOCALE = {
|
|
86870
86839
|
environment: {
|
|
86871
86840
|
node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
|
|
@@ -86892,7 +86861,7 @@ var EN_LOCALE = {
|
|
|
86892
86861
|
}
|
|
86893
86862
|
};
|
|
86894
86863
|
|
|
86895
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86864
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/zh.js
|
|
86896
86865
|
var ZH_LOCALE = {
|
|
86897
86866
|
environment: {
|
|
86898
86867
|
node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
|
|
@@ -86919,14 +86888,14 @@ var ZH_LOCALE = {
|
|
|
86919
86888
|
}
|
|
86920
86889
|
};
|
|
86921
86890
|
|
|
86922
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86891
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/locale/index.js
|
|
86923
86892
|
var i18n = new I18n();
|
|
86924
86893
|
var localeKeys = i18n.init("zh", {
|
|
86925
86894
|
zh: ZH_LOCALE,
|
|
86926
86895
|
en: EN_LOCALE
|
|
86927
86896
|
});
|
|
86928
86897
|
|
|
86929
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86898
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/checkUseNvm.js
|
|
86930
86899
|
var import_path3 = __toESM(require("path"));
|
|
86931
86900
|
var NODE_MAJOR_VERSION_MAP = {
|
|
86932
86901
|
"lts/*": 18,
|
|
@@ -86977,7 +86946,7 @@ function checkUseNvm(cwd, logger) {
|
|
|
86977
86946
|
});
|
|
86978
86947
|
}
|
|
86979
86948
|
|
|
86980
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86949
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/utils/transform.js
|
|
86981
86950
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
|
86982
86951
|
for (const question of questions) {
|
|
86983
86952
|
question.default = initValue[question.name] || question.default;
|
|
@@ -87004,7 +86973,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
|
87004
86973
|
return questions;
|
|
87005
86974
|
}
|
|
87006
86975
|
|
|
87007
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86976
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.6.3/node_modules/@modern-js/codesmith-api-app/dist/esm-node/index.js
|
|
87008
86977
|
var AppAPI = class {
|
|
87009
86978
|
checkEnvironment(nodeVersion) {
|
|
87010
86979
|
return __async(this, null, function* () {
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.7.
|
|
18
|
+
"version": "3.7.24",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@types/node": "^14",
|
|
32
32
|
"jest": "^29",
|
|
33
33
|
"typescript": "^5",
|
|
34
|
-
"@modern-js/
|
|
35
|
-
"@modern-js/generator-utils": "3.7.
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@scripts/jest-config": "2.
|
|
34
|
+
"@modern-js/generator-common": "3.7.24",
|
|
35
|
+
"@modern-js/generator-utils": "3.7.24",
|
|
36
|
+
"@modern-js/plugin-i18n": "2.66.0",
|
|
37
|
+
"@scripts/build": "2.66.0",
|
|
38
|
+
"@scripts/jest-config": "2.66.0"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"publishConfig": {
|