@modern-js/server-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 pos2 = argv.indexOf(prefix + flag);
|
|
2148
|
+
const terminatorPos = argv.indexOf("--");
|
|
2149
|
+
return pos2 !== -1 && (terminatorPos === -1 ? true : pos2 < 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 os = 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 = os.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((sign2) => sign2 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 util4 = 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: stringify4, 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 path7 = 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 path7 = 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 parse5 = 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 pos2 = argv.indexOf(prefix + flag);
|
|
75439
|
-
const terminatorPos = argv.indexOf("--");
|
|
75440
|
-
return pos2 !== -1 && (terminatorPos === -1 ? true : pos2 < 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 os = 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 = os.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((sign2) => sign2 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 util4 = 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();
|
|
@@ -76647,14 +76616,14 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
|
76647
76616
|
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
76648
76617
|
var import_semver = __toESM(require_semver2());
|
|
76649
76618
|
|
|
76650
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76619
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
|
|
76651
76620
|
function bind(fn, thisArg) {
|
|
76652
76621
|
return function wrap() {
|
|
76653
76622
|
return fn.apply(thisArg, arguments);
|
|
76654
76623
|
};
|
|
76655
76624
|
}
|
|
76656
76625
|
|
|
76657
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76626
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
76658
76627
|
var { toString } = Object.prototype;
|
|
76659
76628
|
var { getPrototypeOf } = Object;
|
|
76660
76629
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -77022,7 +76991,7 @@ var utils_default = {
|
|
|
77022
76991
|
asap
|
|
77023
76992
|
};
|
|
77024
76993
|
|
|
77025
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76994
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
|
|
77026
76995
|
function AxiosError(message, code, config, request, response) {
|
|
77027
76996
|
Error.call(this);
|
|
77028
76997
|
if (Error.captureStackTrace) {
|
|
@@ -77097,11 +77066,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
77097
77066
|
};
|
|
77098
77067
|
var AxiosError_default = AxiosError;
|
|
77099
77068
|
|
|
77100
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77069
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
77101
77070
|
var import_form_data = __toESM(require_form_data());
|
|
77102
77071
|
var FormData_default = import_form_data.default;
|
|
77103
77072
|
|
|
77104
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77073
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
|
|
77105
77074
|
function isVisitable(thing) {
|
|
77106
77075
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
77107
77076
|
}
|
|
@@ -77216,7 +77185,7 @@ function toFormData(obj, formData, options) {
|
|
|
77216
77185
|
}
|
|
77217
77186
|
var toFormData_default = toFormData;
|
|
77218
77187
|
|
|
77219
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77188
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
77220
77189
|
function encode(str) {
|
|
77221
77190
|
const charMap = {
|
|
77222
77191
|
"!": "%21",
|
|
@@ -77249,7 +77218,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
77249
77218
|
};
|
|
77250
77219
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
77251
77220
|
|
|
77252
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77221
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
|
|
77253
77222
|
function encode2(val) {
|
|
77254
77223
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
77255
77224
|
}
|
|
@@ -77280,7 +77249,7 @@ function buildURL(url2, params, options) {
|
|
|
77280
77249
|
return url2;
|
|
77281
77250
|
}
|
|
77282
77251
|
|
|
77283
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77252
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
77284
77253
|
var InterceptorManager = class {
|
|
77285
77254
|
constructor() {
|
|
77286
77255
|
this.handlers = [];
|
|
@@ -77344,21 +77313,21 @@ var InterceptorManager = class {
|
|
|
77344
77313
|
};
|
|
77345
77314
|
var InterceptorManager_default = InterceptorManager;
|
|
77346
77315
|
|
|
77347
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77316
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
|
|
77348
77317
|
var transitional_default = {
|
|
77349
77318
|
silentJSONParsing: true,
|
|
77350
77319
|
forcedJSONParsing: true,
|
|
77351
77320
|
clarifyTimeoutError: false
|
|
77352
77321
|
};
|
|
77353
77322
|
|
|
77354
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77323
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
77355
77324
|
var import_crypto = __toESM(require("crypto"));
|
|
77356
77325
|
|
|
77357
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77326
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
77358
77327
|
var import_url = __toESM(require("url"));
|
|
77359
77328
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
77360
77329
|
|
|
77361
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77330
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
77362
77331
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
77363
77332
|
var DIGIT = "0123456789";
|
|
77364
77333
|
var ALPHABET = {
|
|
@@ -77388,7 +77357,7 @@ var node_default = {
|
|
|
77388
77357
|
protocols: ["http", "https", "file", "data"]
|
|
77389
77358
|
};
|
|
77390
77359
|
|
|
77391
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77360
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
|
|
77392
77361
|
var utils_exports = {};
|
|
77393
77362
|
__export(utils_exports, {
|
|
77394
77363
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -77406,10 +77375,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
77406
77375
|
})();
|
|
77407
77376
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
77408
77377
|
|
|
77409
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77378
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/index.js
|
|
77410
77379
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
77411
77380
|
|
|
77412
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77381
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
77413
77382
|
function toURLEncodedForm(data, options) {
|
|
77414
77383
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
77415
77384
|
visitor: function(value, key2, path7, helpers) {
|
|
@@ -77422,7 +77391,7 @@ function toURLEncodedForm(data, options) {
|
|
|
77422
77391
|
}, options));
|
|
77423
77392
|
}
|
|
77424
77393
|
|
|
77425
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77394
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
77426
77395
|
function parsePropPath(name) {
|
|
77427
77396
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
77428
77397
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -77476,7 +77445,7 @@ function formDataToJSON(formData) {
|
|
|
77476
77445
|
}
|
|
77477
77446
|
var formDataToJSON_default = formDataToJSON;
|
|
77478
77447
|
|
|
77479
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77448
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/index.js
|
|
77480
77449
|
function stringifySafely(rawValue, parser, encoder) {
|
|
77481
77450
|
if (utils_default.isString(rawValue)) {
|
|
77482
77451
|
try {
|
|
@@ -77585,7 +77554,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
77585
77554
|
});
|
|
77586
77555
|
var defaults_default = defaults;
|
|
77587
77556
|
|
|
77588
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77557
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
77589
77558
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
77590
77559
|
"age",
|
|
77591
77560
|
"authorization",
|
|
@@ -77630,7 +77599,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
77630
77599
|
return parsed;
|
|
77631
77600
|
};
|
|
77632
77601
|
|
|
77633
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77602
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
77634
77603
|
var $internals = Symbol("internals");
|
|
77635
77604
|
function normalizeHeader(header) {
|
|
77636
77605
|
return header && String(header).trim().toLowerCase();
|
|
@@ -77852,7 +77821,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
|
|
|
77852
77821
|
utils_default.freezeMethods(AxiosHeaders);
|
|
77853
77822
|
var AxiosHeaders_default = AxiosHeaders;
|
|
77854
77823
|
|
|
77855
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77824
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/transformData.js
|
|
77856
77825
|
function transformData(fns, response) {
|
|
77857
77826
|
const config = this || defaults_default;
|
|
77858
77827
|
const context = response || config;
|
|
@@ -77865,12 +77834,12 @@ function transformData(fns, response) {
|
|
|
77865
77834
|
return data;
|
|
77866
77835
|
}
|
|
77867
77836
|
|
|
77868
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77837
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
|
|
77869
77838
|
function isCancel(value) {
|
|
77870
77839
|
return !!(value && value.__CANCEL__);
|
|
77871
77840
|
}
|
|
77872
77841
|
|
|
77873
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77842
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
77874
77843
|
function CanceledError(message, config, request) {
|
|
77875
77844
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
77876
77845
|
this.name = "CanceledError";
|
|
@@ -77880,7 +77849,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
77880
77849
|
});
|
|
77881
77850
|
var CanceledError_default = CanceledError;
|
|
77882
77851
|
|
|
77883
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77852
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/settle.js
|
|
77884
77853
|
function settle(resolve, reject, response) {
|
|
77885
77854
|
const validateStatus2 = response.config.validateStatus;
|
|
77886
77855
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -77896,26 +77865,26 @@ function settle(resolve, reject, response) {
|
|
|
77896
77865
|
}
|
|
77897
77866
|
}
|
|
77898
77867
|
|
|
77899
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77868
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
77900
77869
|
function isAbsoluteURL(url2) {
|
|
77901
77870
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
77902
77871
|
}
|
|
77903
77872
|
|
|
77904
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77873
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
77905
77874
|
function combineURLs(baseURL, relativeURL) {
|
|
77906
77875
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
77907
77876
|
}
|
|
77908
77877
|
|
|
77909
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77878
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
|
|
77910
77879
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
77911
77880
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
77912
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
77881
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
77913
77882
|
return combineURLs(baseURL, requestedURL);
|
|
77914
77883
|
}
|
|
77915
77884
|
return requestedURL;
|
|
77916
77885
|
}
|
|
77917
77886
|
|
|
77918
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77887
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
77919
77888
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
77920
77889
|
var import_http = __toESM(require("http"));
|
|
77921
77890
|
var import_https = __toESM(require("https"));
|
|
@@ -77923,16 +77892,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
77923
77892
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
77924
77893
|
var import_zlib = __toESM(require("zlib"));
|
|
77925
77894
|
|
|
77926
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77927
|
-
var VERSION = "1.8.
|
|
77895
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/env/data.js
|
|
77896
|
+
var VERSION = "1.8.4";
|
|
77928
77897
|
|
|
77929
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77898
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
77930
77899
|
function parseProtocol(url2) {
|
|
77931
77900
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
77932
77901
|
return match && match[1] || "";
|
|
77933
77902
|
}
|
|
77934
77903
|
|
|
77935
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77904
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
77936
77905
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
77937
77906
|
function fromDataURI(uri, asBlob, options) {
|
|
77938
77907
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -77961,10 +77930,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
77961
77930
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
77962
77931
|
}
|
|
77963
77932
|
|
|
77964
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77933
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
77965
77934
|
var import_stream4 = __toESM(require("stream"));
|
|
77966
77935
|
|
|
77967
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77936
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
77968
77937
|
var import_stream = __toESM(require("stream"));
|
|
77969
77938
|
var kInternals = Symbol("internals");
|
|
77970
77939
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -78079,14 +78048,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
78079
78048
|
};
|
|
78080
78049
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
78081
78050
|
|
|
78082
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78051
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
78083
78052
|
var import_events = require("events");
|
|
78084
78053
|
|
|
78085
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78054
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
78086
78055
|
var import_util = __toESM(require("util"));
|
|
78087
78056
|
var import_stream2 = require("stream");
|
|
78088
78057
|
|
|
78089
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78058
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
|
|
78090
78059
|
var { asyncIterator } = Symbol;
|
|
78091
78060
|
var readBlob = function(blob) {
|
|
78092
78061
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -78103,7 +78072,7 @@ var readBlob = function(blob) {
|
|
|
78103
78072
|
};
|
|
78104
78073
|
var readBlob_default = readBlob;
|
|
78105
78074
|
|
|
78106
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78075
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
78107
78076
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
78108
78077
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
78109
78078
|
var CRLF = "\r\n";
|
|
@@ -78186,7 +78155,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
78186
78155
|
};
|
|
78187
78156
|
var formDataToStream_default = formDataToStream;
|
|
78188
78157
|
|
|
78189
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78158
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
78190
78159
|
var import_stream3 = __toESM(require("stream"));
|
|
78191
78160
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
78192
78161
|
__transform(chunk, encoding, callback) {
|
|
@@ -78208,7 +78177,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
78208
78177
|
};
|
|
78209
78178
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
78210
78179
|
|
|
78211
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78180
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
|
|
78212
78181
|
var callbackify = (fn, reducer) => {
|
|
78213
78182
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
78214
78183
|
const cb = args.pop();
|
|
@@ -78223,7 +78192,7 @@ var callbackify = (fn, reducer) => {
|
|
|
78223
78192
|
};
|
|
78224
78193
|
var callbackify_default = callbackify;
|
|
78225
78194
|
|
|
78226
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78195
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
|
|
78227
78196
|
function speedometer(samplesCount, min) {
|
|
78228
78197
|
samplesCount = samplesCount || 10;
|
|
78229
78198
|
const bytes = new Array(samplesCount);
|
|
@@ -78259,7 +78228,7 @@ function speedometer(samplesCount, min) {
|
|
|
78259
78228
|
}
|
|
78260
78229
|
var speedometer_default = speedometer;
|
|
78261
78230
|
|
|
78262
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78231
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
|
|
78263
78232
|
function throttle(fn, freq) {
|
|
78264
78233
|
let timestamp = 0;
|
|
78265
78234
|
let threshold = 1e3 / freq;
|
|
@@ -78294,7 +78263,7 @@ function throttle(fn, freq) {
|
|
|
78294
78263
|
}
|
|
78295
78264
|
var throttle_default = throttle;
|
|
78296
78265
|
|
|
78297
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78266
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
78298
78267
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
78299
78268
|
let bytesNotified = 0;
|
|
78300
78269
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -78329,7 +78298,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
78329
78298
|
};
|
|
78330
78299
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
78331
78300
|
|
|
78332
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78301
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
78333
78302
|
var zlibOptions = {
|
|
78334
78303
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
78335
78304
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -78835,7 +78804,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
78835
78804
|
});
|
|
78836
78805
|
};
|
|
78837
78806
|
|
|
78838
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78807
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
78839
78808
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
78840
78809
|
url2 = new URL(url2, platform_default.origin);
|
|
78841
78810
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -78844,7 +78813,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
|
|
|
78844
78813
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
78845
78814
|
) : () => true;
|
|
78846
78815
|
|
|
78847
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78816
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
|
|
78848
78817
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
78849
78818
|
// Standard browser envs support document.cookie
|
|
78850
78819
|
{
|
|
@@ -78877,7 +78846,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
78877
78846
|
}
|
|
78878
78847
|
);
|
|
78879
78848
|
|
|
78880
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78849
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
|
|
78881
78850
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
78882
78851
|
function mergeConfig(config1, config2) {
|
|
78883
78852
|
config2 = config2 || {};
|
|
@@ -78957,7 +78926,7 @@ function mergeConfig(config1, config2) {
|
|
|
78957
78926
|
return config;
|
|
78958
78927
|
}
|
|
78959
78928
|
|
|
78960
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78929
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
|
|
78961
78930
|
var resolveConfig_default = (config) => {
|
|
78962
78931
|
const newConfig = mergeConfig({}, config);
|
|
78963
78932
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -78990,7 +78959,7 @@ var resolveConfig_default = (config) => {
|
|
|
78990
78959
|
return newConfig;
|
|
78991
78960
|
};
|
|
78992
78961
|
|
|
78993
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78962
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
|
|
78994
78963
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
78995
78964
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
78996
78965
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -79117,7 +79086,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
79117
79086
|
});
|
|
79118
79087
|
};
|
|
79119
79088
|
|
|
79120
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79089
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
|
|
79121
79090
|
var composeSignals = (signals, timeout) => {
|
|
79122
79091
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
79123
79092
|
if (timeout || length) {
|
|
@@ -79153,7 +79122,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
79153
79122
|
};
|
|
79154
79123
|
var composeSignals_default = composeSignals;
|
|
79155
79124
|
|
|
79156
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79125
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
|
|
79157
79126
|
var streamChunk = function* (chunk, chunkSize) {
|
|
79158
79127
|
let len = chunk.byteLength;
|
|
79159
79128
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -79248,7 +79217,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
79248
79217
|
});
|
|
79249
79218
|
};
|
|
79250
79219
|
|
|
79251
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79220
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
|
|
79252
79221
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
79253
79222
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
79254
79223
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -79413,7 +79382,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
79413
79382
|
}
|
|
79414
79383
|
}));
|
|
79415
79384
|
|
|
79416
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79385
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
|
|
79417
79386
|
var knownAdapters = {
|
|
79418
79387
|
http: http_default,
|
|
79419
79388
|
xhr: xhr_default,
|
|
@@ -79467,7 +79436,7 @@ var adapters_default = {
|
|
|
79467
79436
|
adapters: knownAdapters
|
|
79468
79437
|
};
|
|
79469
79438
|
|
|
79470
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79439
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
79471
79440
|
function throwIfCancellationRequested(config) {
|
|
79472
79441
|
if (config.cancelToken) {
|
|
79473
79442
|
config.cancelToken.throwIfRequested();
|
|
@@ -79512,7 +79481,7 @@ function dispatchRequest(config) {
|
|
|
79512
79481
|
});
|
|
79513
79482
|
}
|
|
79514
79483
|
|
|
79515
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79484
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
|
|
79516
79485
|
var validators = {};
|
|
79517
79486
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
79518
79487
|
validators[type] = function validator(thing) {
|
|
@@ -79576,7 +79545,7 @@ var validator_default = {
|
|
|
79576
79545
|
validators
|
|
79577
79546
|
};
|
|
79578
79547
|
|
|
79579
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79548
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/Axios.js
|
|
79580
79549
|
var validators2 = validator_default.validators;
|
|
79581
79550
|
var Axios = class {
|
|
79582
79551
|
constructor(instanceConfig) {
|
|
@@ -79751,7 +79720,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
79751
79720
|
});
|
|
79752
79721
|
var Axios_default = Axios;
|
|
79753
79722
|
|
|
79754
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79723
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
79755
79724
|
var CancelToken = class _CancelToken {
|
|
79756
79725
|
constructor(executor) {
|
|
79757
79726
|
if (typeof executor !== "function") {
|
|
@@ -79850,19 +79819,19 @@ var CancelToken = class _CancelToken {
|
|
|
79850
79819
|
};
|
|
79851
79820
|
var CancelToken_default = CancelToken;
|
|
79852
79821
|
|
|
79853
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79822
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
|
|
79854
79823
|
function spread(callback) {
|
|
79855
79824
|
return function wrap(arr) {
|
|
79856
79825
|
return callback.apply(null, arr);
|
|
79857
79826
|
};
|
|
79858
79827
|
}
|
|
79859
79828
|
|
|
79860
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79829
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
79861
79830
|
function isAxiosError(payload) {
|
|
79862
79831
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
79863
79832
|
}
|
|
79864
79833
|
|
|
79865
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79834
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
79866
79835
|
var HttpStatusCode = {
|
|
79867
79836
|
Continue: 100,
|
|
79868
79837
|
SwitchingProtocols: 101,
|
|
@@ -79933,7 +79902,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
|
|
|
79933
79902
|
});
|
|
79934
79903
|
var HttpStatusCode_default = HttpStatusCode;
|
|
79935
79904
|
|
|
79936
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79905
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
79937
79906
|
function createInstance(defaultConfig) {
|
|
79938
79907
|
const context = new Axios_default(defaultConfig);
|
|
79939
79908
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -79966,7 +79935,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
79966
79935
|
axios.default = axios;
|
|
79967
79936
|
var axios_default = axios;
|
|
79968
79937
|
|
|
79969
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79938
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js
|
|
79970
79939
|
var {
|
|
79971
79940
|
Axios: Axios2,
|
|
79972
79941
|
AxiosError: AxiosError2,
|
|
@@ -84363,7 +84332,7 @@ autorun.effect = function(callback, dependencies) {
|
|
|
84363
84332
|
}
|
|
84364
84333
|
};
|
|
84365
84334
|
|
|
84366
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
84335
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/shared.js
|
|
84367
84336
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
84368
84337
|
var SchemaNestedMap = {
|
|
84369
84338
|
parent: true,
|
|
@@ -84550,7 +84519,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
84550
84519
|
});
|
|
84551
84520
|
};
|
|
84552
84521
|
|
|
84553
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
84522
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/compiler.js
|
|
84554
84523
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
84555
84524
|
var Registry = {
|
|
84556
84525
|
silent: false,
|
|
@@ -85912,7 +85881,7 @@ function onFieldInit(pattern, callback) {
|
|
|
85912
85881
|
}
|
|
85913
85882
|
}
|
|
85914
85883
|
|
|
85915
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
85884
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/transformer.js
|
|
85916
85885
|
var __read5 = function(o, n) {
|
|
85917
85886
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
85918
85887
|
if (!m)
|
|
@@ -86137,7 +86106,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
86137
86106
|
};
|
|
86138
86107
|
};
|
|
86139
86108
|
|
|
86140
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86109
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/patches.js
|
|
86141
86110
|
var __assign5 = function() {
|
|
86142
86111
|
__assign5 = Object.assign || function(t) {
|
|
86143
86112
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -86186,7 +86155,7 @@ var enablePolyfills = function(versions) {
|
|
|
86186
86155
|
}
|
|
86187
86156
|
};
|
|
86188
86157
|
|
|
86189
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86158
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
86190
86159
|
var __assign6 = function() {
|
|
86191
86160
|
__assign6 = Object.assign || function(t) {
|
|
86192
86161
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -86343,7 +86312,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
86343
86312
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
86344
86313
|
};
|
|
86345
86314
|
|
|
86346
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86315
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/schema.js
|
|
86347
86316
|
var Schema = (
|
|
86348
86317
|
/** @class */
|
|
86349
86318
|
function() {
|
|
@@ -86579,10 +86548,10 @@ var Schema = (
|
|
|
86579
86548
|
}()
|
|
86580
86549
|
);
|
|
86581
86550
|
|
|
86582
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86551
|
+
// ../../../../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
|
|
86583
86552
|
var import_inquirer = __toESM(require_inquirer());
|
|
86584
86553
|
|
|
86585
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86554
|
+
// ../../../../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
|
|
86586
86555
|
function validateSchema(schema) {
|
|
86587
86556
|
const { type, properties } = schema;
|
|
86588
86557
|
if (type !== "object") {
|
|
@@ -86669,7 +86638,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
86669
86638
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
86670
86639
|
}
|
|
86671
86640
|
|
|
86672
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86641
|
+
// ../../../../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
|
|
86673
86642
|
var compileRule = (rule, scope) => {
|
|
86674
86643
|
const state = Schema.compile(rule, __spreadValues({
|
|
86675
86644
|
$self: {},
|
|
@@ -86769,7 +86738,7 @@ function prompt(_0) {
|
|
|
86769
86738
|
});
|
|
86770
86739
|
}
|
|
86771
86740
|
|
|
86772
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86741
|
+
// ../../../../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
|
|
86773
86742
|
var CLIReader = class {
|
|
86774
86743
|
getAnswers() {
|
|
86775
86744
|
return this.answers;
|
|
@@ -86797,7 +86766,7 @@ var CLIReader = class {
|
|
|
86797
86766
|
}
|
|
86798
86767
|
};
|
|
86799
86768
|
|
|
86800
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86769
|
+
// ../../../../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
|
|
86801
86770
|
var import_comment_json = __toESM(require_src3());
|
|
86802
86771
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
86803
86772
|
|
|
@@ -86864,7 +86833,7 @@ var I18n = class {
|
|
|
86864
86833
|
}
|
|
86865
86834
|
};
|
|
86866
86835
|
|
|
86867
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86836
|
+
// ../../../../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
|
|
86868
86837
|
var EN_LOCALE = {
|
|
86869
86838
|
environment: {
|
|
86870
86839
|
node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
|
|
@@ -86891,7 +86860,7 @@ var EN_LOCALE = {
|
|
|
86891
86860
|
}
|
|
86892
86861
|
};
|
|
86893
86862
|
|
|
86894
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86863
|
+
// ../../../../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
|
|
86895
86864
|
var ZH_LOCALE = {
|
|
86896
86865
|
environment: {
|
|
86897
86866
|
node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
|
|
@@ -86918,14 +86887,14 @@ var ZH_LOCALE = {
|
|
|
86918
86887
|
}
|
|
86919
86888
|
};
|
|
86920
86889
|
|
|
86921
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86890
|
+
// ../../../../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
|
|
86922
86891
|
var i18n = new I18n();
|
|
86923
86892
|
var localeKeys = i18n.init("zh", {
|
|
86924
86893
|
zh: ZH_LOCALE,
|
|
86925
86894
|
en: EN_LOCALE
|
|
86926
86895
|
});
|
|
86927
86896
|
|
|
86928
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86897
|
+
// ../../../../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
|
|
86929
86898
|
var import_path3 = __toESM(require("path"));
|
|
86930
86899
|
var NODE_MAJOR_VERSION_MAP = {
|
|
86931
86900
|
"lts/*": 18,
|
|
@@ -86976,7 +86945,7 @@ function checkUseNvm(cwd, logger) {
|
|
|
86976
86945
|
});
|
|
86977
86946
|
}
|
|
86978
86947
|
|
|
86979
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86948
|
+
// ../../../../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
|
|
86980
86949
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
|
86981
86950
|
for (const question of questions) {
|
|
86982
86951
|
question.default = initValue[question.name] || question.default;
|
|
@@ -87003,7 +86972,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
|
87003
86972
|
return questions;
|
|
87004
86973
|
}
|
|
87005
86974
|
|
|
87006
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86975
|
+
// ../../../../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
|
|
87007
86976
|
var AppAPI = class {
|
|
87008
86977
|
checkEnvironment(nodeVersion) {
|
|
87009
86978
|
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
|
"types": "./src/index.ts",
|
|
21
21
|
"main": "./dist/index.js",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"@types/node": "^14",
|
|
33
33
|
"jest": "^29",
|
|
34
34
|
"typescript": "^5",
|
|
35
|
-
"@modern-js/dependence-generator": "3.7.
|
|
36
|
-
"@
|
|
37
|
-
"@modern-js/generator-
|
|
38
|
-
"@
|
|
39
|
-
"@scripts/jest-config": "2.
|
|
35
|
+
"@modern-js/dependence-generator": "3.7.24",
|
|
36
|
+
"@modern-js/generator-common": "3.7.24",
|
|
37
|
+
"@modern-js/generator-utils": "3.7.24",
|
|
38
|
+
"@scripts/build": "2.66.0",
|
|
39
|
+
"@scripts/jest-config": "2.66.0"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"publishConfig": {
|