@modern-js/bff-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 path6 = 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 path6 = 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();
|
|
@@ -76651,14 +76620,14 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
|
76651
76620
|
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
76652
76621
|
var import_semver = __toESM(require_semver2());
|
|
76653
76622
|
|
|
76654
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76623
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
|
|
76655
76624
|
function bind(fn, thisArg) {
|
|
76656
76625
|
return function wrap() {
|
|
76657
76626
|
return fn.apply(thisArg, arguments);
|
|
76658
76627
|
};
|
|
76659
76628
|
}
|
|
76660
76629
|
|
|
76661
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76630
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
76662
76631
|
var { toString } = Object.prototype;
|
|
76663
76632
|
var { getPrototypeOf } = Object;
|
|
76664
76633
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -77026,7 +76995,7 @@ var utils_default = {
|
|
|
77026
76995
|
asap
|
|
77027
76996
|
};
|
|
77028
76997
|
|
|
77029
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76998
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
|
|
77030
76999
|
function AxiosError(message, code, config, request, response) {
|
|
77031
77000
|
Error.call(this);
|
|
77032
77001
|
if (Error.captureStackTrace) {
|
|
@@ -77101,11 +77070,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
77101
77070
|
};
|
|
77102
77071
|
var AxiosError_default = AxiosError;
|
|
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/platform/node/classes/FormData.js
|
|
77105
77074
|
var import_form_data = __toESM(require_form_data());
|
|
77106
77075
|
var FormData_default = import_form_data.default;
|
|
77107
77076
|
|
|
77108
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77077
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
|
|
77109
77078
|
function isVisitable(thing) {
|
|
77110
77079
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
77111
77080
|
}
|
|
@@ -77220,7 +77189,7 @@ function toFormData(obj, formData, options) {
|
|
|
77220
77189
|
}
|
|
77221
77190
|
var toFormData_default = toFormData;
|
|
77222
77191
|
|
|
77223
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77192
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
77224
77193
|
function encode(str) {
|
|
77225
77194
|
const charMap = {
|
|
77226
77195
|
"!": "%21",
|
|
@@ -77253,7 +77222,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
77253
77222
|
};
|
|
77254
77223
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
77255
77224
|
|
|
77256
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77225
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
|
|
77257
77226
|
function encode2(val) {
|
|
77258
77227
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
77259
77228
|
}
|
|
@@ -77284,7 +77253,7 @@ function buildURL(url2, params, options) {
|
|
|
77284
77253
|
return url2;
|
|
77285
77254
|
}
|
|
77286
77255
|
|
|
77287
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77256
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
77288
77257
|
var InterceptorManager = class {
|
|
77289
77258
|
constructor() {
|
|
77290
77259
|
this.handlers = [];
|
|
@@ -77348,21 +77317,21 @@ var InterceptorManager = class {
|
|
|
77348
77317
|
};
|
|
77349
77318
|
var InterceptorManager_default = InterceptorManager;
|
|
77350
77319
|
|
|
77351
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77320
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
|
|
77352
77321
|
var transitional_default = {
|
|
77353
77322
|
silentJSONParsing: true,
|
|
77354
77323
|
forcedJSONParsing: true,
|
|
77355
77324
|
clarifyTimeoutError: false
|
|
77356
77325
|
};
|
|
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/index.js
|
|
77359
77328
|
var import_crypto = __toESM(require("crypto"));
|
|
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/classes/URLSearchParams.js
|
|
77362
77331
|
var import_url = __toESM(require("url"));
|
|
77363
77332
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
77364
77333
|
|
|
77365
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77334
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
77366
77335
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
77367
77336
|
var DIGIT = "0123456789";
|
|
77368
77337
|
var ALPHABET = {
|
|
@@ -77392,7 +77361,7 @@ var node_default = {
|
|
|
77392
77361
|
protocols: ["http", "https", "file", "data"]
|
|
77393
77362
|
};
|
|
77394
77363
|
|
|
77395
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77364
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
|
|
77396
77365
|
var utils_exports = {};
|
|
77397
77366
|
__export(utils_exports, {
|
|
77398
77367
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -77410,10 +77379,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
77410
77379
|
})();
|
|
77411
77380
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
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/platform/index.js
|
|
77414
77383
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
77415
77384
|
|
|
77416
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77385
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
77417
77386
|
function toURLEncodedForm(data, options) {
|
|
77418
77387
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
77419
77388
|
visitor: function(value, key2, path6, helpers) {
|
|
@@ -77426,7 +77395,7 @@ function toURLEncodedForm(data, options) {
|
|
|
77426
77395
|
}, options));
|
|
77427
77396
|
}
|
|
77428
77397
|
|
|
77429
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77398
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
77430
77399
|
function parsePropPath(name) {
|
|
77431
77400
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
77432
77401
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -77480,7 +77449,7 @@ function formDataToJSON(formData) {
|
|
|
77480
77449
|
}
|
|
77481
77450
|
var formDataToJSON_default = formDataToJSON;
|
|
77482
77451
|
|
|
77483
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77452
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/index.js
|
|
77484
77453
|
function stringifySafely(rawValue, parser, encoder) {
|
|
77485
77454
|
if (utils_default.isString(rawValue)) {
|
|
77486
77455
|
try {
|
|
@@ -77589,7 +77558,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
77589
77558
|
});
|
|
77590
77559
|
var defaults_default = defaults;
|
|
77591
77560
|
|
|
77592
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77561
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
77593
77562
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
77594
77563
|
"age",
|
|
77595
77564
|
"authorization",
|
|
@@ -77634,7 +77603,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
77634
77603
|
return parsed;
|
|
77635
77604
|
};
|
|
77636
77605
|
|
|
77637
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77606
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
77638
77607
|
var $internals = Symbol("internals");
|
|
77639
77608
|
function normalizeHeader(header) {
|
|
77640
77609
|
return header && String(header).trim().toLowerCase();
|
|
@@ -77856,7 +77825,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
|
|
|
77856
77825
|
utils_default.freezeMethods(AxiosHeaders);
|
|
77857
77826
|
var AxiosHeaders_default = AxiosHeaders;
|
|
77858
77827
|
|
|
77859
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77828
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/transformData.js
|
|
77860
77829
|
function transformData(fns, response) {
|
|
77861
77830
|
const config = this || defaults_default;
|
|
77862
77831
|
const context = response || config;
|
|
@@ -77869,12 +77838,12 @@ function transformData(fns, response) {
|
|
|
77869
77838
|
return data;
|
|
77870
77839
|
}
|
|
77871
77840
|
|
|
77872
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77841
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
|
|
77873
77842
|
function isCancel(value) {
|
|
77874
77843
|
return !!(value && value.__CANCEL__);
|
|
77875
77844
|
}
|
|
77876
77845
|
|
|
77877
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77846
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
77878
77847
|
function CanceledError(message, config, request) {
|
|
77879
77848
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
77880
77849
|
this.name = "CanceledError";
|
|
@@ -77884,7 +77853,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
77884
77853
|
});
|
|
77885
77854
|
var CanceledError_default = CanceledError;
|
|
77886
77855
|
|
|
77887
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77856
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/settle.js
|
|
77888
77857
|
function settle(resolve, reject, response) {
|
|
77889
77858
|
const validateStatus2 = response.config.validateStatus;
|
|
77890
77859
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -77900,26 +77869,26 @@ function settle(resolve, reject, response) {
|
|
|
77900
77869
|
}
|
|
77901
77870
|
}
|
|
77902
77871
|
|
|
77903
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77872
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
77904
77873
|
function isAbsoluteURL(url2) {
|
|
77905
77874
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
77906
77875
|
}
|
|
77907
77876
|
|
|
77908
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77877
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
77909
77878
|
function combineURLs(baseURL, relativeURL) {
|
|
77910
77879
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
77911
77880
|
}
|
|
77912
77881
|
|
|
77913
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77882
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
|
|
77914
77883
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
77915
77884
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
77916
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
77885
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
77917
77886
|
return combineURLs(baseURL, requestedURL);
|
|
77918
77887
|
}
|
|
77919
77888
|
return requestedURL;
|
|
77920
77889
|
}
|
|
77921
77890
|
|
|
77922
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77891
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
77923
77892
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
77924
77893
|
var import_http = __toESM(require("http"));
|
|
77925
77894
|
var import_https = __toESM(require("https"));
|
|
@@ -77927,16 +77896,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
77927
77896
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
77928
77897
|
var import_zlib = __toESM(require("zlib"));
|
|
77929
77898
|
|
|
77930
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77931
|
-
var VERSION = "1.8.
|
|
77899
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/env/data.js
|
|
77900
|
+
var VERSION = "1.8.4";
|
|
77932
77901
|
|
|
77933
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77902
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
77934
77903
|
function parseProtocol(url2) {
|
|
77935
77904
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
77936
77905
|
return match && match[1] || "";
|
|
77937
77906
|
}
|
|
77938
77907
|
|
|
77939
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77908
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
77940
77909
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
77941
77910
|
function fromDataURI(uri, asBlob, options) {
|
|
77942
77911
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -77965,10 +77934,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
77965
77934
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
77966
77935
|
}
|
|
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/adapters/http.js
|
|
77969
77938
|
var import_stream4 = __toESM(require("stream"));
|
|
77970
77939
|
|
|
77971
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77940
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
77972
77941
|
var import_stream = __toESM(require("stream"));
|
|
77973
77942
|
var kInternals = Symbol("internals");
|
|
77974
77943
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -78083,14 +78052,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
78083
78052
|
};
|
|
78084
78053
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
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/adapters/http.js
|
|
78087
78056
|
var import_events = require("events");
|
|
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/formDataToStream.js
|
|
78090
78059
|
var import_util = __toESM(require("util"));
|
|
78091
78060
|
var import_stream2 = require("stream");
|
|
78092
78061
|
|
|
78093
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78062
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
|
|
78094
78063
|
var { asyncIterator } = Symbol;
|
|
78095
78064
|
var readBlob = function(blob) {
|
|
78096
78065
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -78107,7 +78076,7 @@ var readBlob = function(blob) {
|
|
|
78107
78076
|
};
|
|
78108
78077
|
var readBlob_default = readBlob;
|
|
78109
78078
|
|
|
78110
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78079
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
78111
78080
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
78112
78081
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
78113
78082
|
var CRLF = "\r\n";
|
|
@@ -78190,7 +78159,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
78190
78159
|
};
|
|
78191
78160
|
var formDataToStream_default = formDataToStream;
|
|
78192
78161
|
|
|
78193
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78162
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
78194
78163
|
var import_stream3 = __toESM(require("stream"));
|
|
78195
78164
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
78196
78165
|
__transform(chunk, encoding, callback) {
|
|
@@ -78212,7 +78181,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
78212
78181
|
};
|
|
78213
78182
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
78214
78183
|
|
|
78215
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78184
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
|
|
78216
78185
|
var callbackify = (fn, reducer) => {
|
|
78217
78186
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
78218
78187
|
const cb = args.pop();
|
|
@@ -78227,7 +78196,7 @@ var callbackify = (fn, reducer) => {
|
|
|
78227
78196
|
};
|
|
78228
78197
|
var callbackify_default = callbackify;
|
|
78229
78198
|
|
|
78230
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78199
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
|
|
78231
78200
|
function speedometer(samplesCount, min) {
|
|
78232
78201
|
samplesCount = samplesCount || 10;
|
|
78233
78202
|
const bytes = new Array(samplesCount);
|
|
@@ -78263,7 +78232,7 @@ function speedometer(samplesCount, min) {
|
|
|
78263
78232
|
}
|
|
78264
78233
|
var speedometer_default = speedometer;
|
|
78265
78234
|
|
|
78266
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78235
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
|
|
78267
78236
|
function throttle(fn, freq) {
|
|
78268
78237
|
let timestamp = 0;
|
|
78269
78238
|
let threshold = 1e3 / freq;
|
|
@@ -78298,7 +78267,7 @@ function throttle(fn, freq) {
|
|
|
78298
78267
|
}
|
|
78299
78268
|
var throttle_default = throttle;
|
|
78300
78269
|
|
|
78301
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78270
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
78302
78271
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
78303
78272
|
let bytesNotified = 0;
|
|
78304
78273
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -78333,7 +78302,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
78333
78302
|
};
|
|
78334
78303
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
78335
78304
|
|
|
78336
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78305
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
78337
78306
|
var zlibOptions = {
|
|
78338
78307
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
78339
78308
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -78839,7 +78808,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
78839
78808
|
});
|
|
78840
78809
|
};
|
|
78841
78810
|
|
|
78842
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78811
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
78843
78812
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
78844
78813
|
url2 = new URL(url2, platform_default.origin);
|
|
78845
78814
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -78848,7 +78817,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
|
|
|
78848
78817
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
78849
78818
|
) : () => true;
|
|
78850
78819
|
|
|
78851
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78820
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
|
|
78852
78821
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
78853
78822
|
// Standard browser envs support document.cookie
|
|
78854
78823
|
{
|
|
@@ -78881,7 +78850,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
78881
78850
|
}
|
|
78882
78851
|
);
|
|
78883
78852
|
|
|
78884
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78853
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
|
|
78885
78854
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
78886
78855
|
function mergeConfig(config1, config2) {
|
|
78887
78856
|
config2 = config2 || {};
|
|
@@ -78961,7 +78930,7 @@ function mergeConfig(config1, config2) {
|
|
|
78961
78930
|
return config;
|
|
78962
78931
|
}
|
|
78963
78932
|
|
|
78964
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78933
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
|
|
78965
78934
|
var resolveConfig_default = (config) => {
|
|
78966
78935
|
const newConfig = mergeConfig({}, config);
|
|
78967
78936
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -78994,7 +78963,7 @@ var resolveConfig_default = (config) => {
|
|
|
78994
78963
|
return newConfig;
|
|
78995
78964
|
};
|
|
78996
78965
|
|
|
78997
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
78966
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
|
|
78998
78967
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
78999
78968
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
79000
78969
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -79121,7 +79090,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
79121
79090
|
});
|
|
79122
79091
|
};
|
|
79123
79092
|
|
|
79124
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79093
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
|
|
79125
79094
|
var composeSignals = (signals, timeout) => {
|
|
79126
79095
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
79127
79096
|
if (timeout || length) {
|
|
@@ -79157,7 +79126,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
79157
79126
|
};
|
|
79158
79127
|
var composeSignals_default = composeSignals;
|
|
79159
79128
|
|
|
79160
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79129
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
|
|
79161
79130
|
var streamChunk = function* (chunk, chunkSize) {
|
|
79162
79131
|
let len = chunk.byteLength;
|
|
79163
79132
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -79252,7 +79221,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
79252
79221
|
});
|
|
79253
79222
|
};
|
|
79254
79223
|
|
|
79255
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79224
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
|
|
79256
79225
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
79257
79226
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
79258
79227
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -79417,7 +79386,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
79417
79386
|
}
|
|
79418
79387
|
}));
|
|
79419
79388
|
|
|
79420
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79389
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
|
|
79421
79390
|
var knownAdapters = {
|
|
79422
79391
|
http: http_default,
|
|
79423
79392
|
xhr: xhr_default,
|
|
@@ -79471,7 +79440,7 @@ var adapters_default = {
|
|
|
79471
79440
|
adapters: knownAdapters
|
|
79472
79441
|
};
|
|
79473
79442
|
|
|
79474
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79443
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
79475
79444
|
function throwIfCancellationRequested(config) {
|
|
79476
79445
|
if (config.cancelToken) {
|
|
79477
79446
|
config.cancelToken.throwIfRequested();
|
|
@@ -79516,7 +79485,7 @@ function dispatchRequest(config) {
|
|
|
79516
79485
|
});
|
|
79517
79486
|
}
|
|
79518
79487
|
|
|
79519
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79488
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
|
|
79520
79489
|
var validators = {};
|
|
79521
79490
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
79522
79491
|
validators[type] = function validator(thing) {
|
|
@@ -79580,7 +79549,7 @@ var validator_default = {
|
|
|
79580
79549
|
validators
|
|
79581
79550
|
};
|
|
79582
79551
|
|
|
79583
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79552
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/Axios.js
|
|
79584
79553
|
var validators2 = validator_default.validators;
|
|
79585
79554
|
var Axios = class {
|
|
79586
79555
|
constructor(instanceConfig) {
|
|
@@ -79755,7 +79724,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
79755
79724
|
});
|
|
79756
79725
|
var Axios_default = Axios;
|
|
79757
79726
|
|
|
79758
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79727
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
79759
79728
|
var CancelToken = class _CancelToken {
|
|
79760
79729
|
constructor(executor) {
|
|
79761
79730
|
if (typeof executor !== "function") {
|
|
@@ -79854,19 +79823,19 @@ var CancelToken = class _CancelToken {
|
|
|
79854
79823
|
};
|
|
79855
79824
|
var CancelToken_default = CancelToken;
|
|
79856
79825
|
|
|
79857
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79826
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
|
|
79858
79827
|
function spread(callback) {
|
|
79859
79828
|
return function wrap(arr) {
|
|
79860
79829
|
return callback.apply(null, arr);
|
|
79861
79830
|
};
|
|
79862
79831
|
}
|
|
79863
79832
|
|
|
79864
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79833
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
79865
79834
|
function isAxiosError(payload) {
|
|
79866
79835
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
79867
79836
|
}
|
|
79868
79837
|
|
|
79869
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79838
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
79870
79839
|
var HttpStatusCode = {
|
|
79871
79840
|
Continue: 100,
|
|
79872
79841
|
SwitchingProtocols: 101,
|
|
@@ -79937,7 +79906,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
|
|
|
79937
79906
|
});
|
|
79938
79907
|
var HttpStatusCode_default = HttpStatusCode;
|
|
79939
79908
|
|
|
79940
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79909
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
79941
79910
|
function createInstance(defaultConfig) {
|
|
79942
79911
|
const context = new Axios_default(defaultConfig);
|
|
79943
79912
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -79970,7 +79939,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
79970
79939
|
axios.default = axios;
|
|
79971
79940
|
var axios_default = axios;
|
|
79972
79941
|
|
|
79973
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79942
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js
|
|
79974
79943
|
var {
|
|
79975
79944
|
Axios: Axios2,
|
|
79976
79945
|
AxiosError: AxiosError2,
|
|
@@ -84367,7 +84336,7 @@ autorun.effect = function(callback, dependencies) {
|
|
|
84367
84336
|
}
|
|
84368
84337
|
};
|
|
84369
84338
|
|
|
84370
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
84339
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/shared.js
|
|
84371
84340
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
84372
84341
|
var SchemaNestedMap = {
|
|
84373
84342
|
parent: true,
|
|
@@ -84554,7 +84523,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
84554
84523
|
});
|
|
84555
84524
|
};
|
|
84556
84525
|
|
|
84557
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
84526
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/compiler.js
|
|
84558
84527
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
84559
84528
|
var Registry = {
|
|
84560
84529
|
silent: false,
|
|
@@ -85916,7 +85885,7 @@ function onFieldInit(pattern, callback) {
|
|
|
85916
85885
|
}
|
|
85917
85886
|
}
|
|
85918
85887
|
|
|
85919
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
85888
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/transformer.js
|
|
85920
85889
|
var __read5 = function(o, n) {
|
|
85921
85890
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
85922
85891
|
if (!m)
|
|
@@ -86141,7 +86110,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
86141
86110
|
};
|
|
86142
86111
|
};
|
|
86143
86112
|
|
|
86144
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86113
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/patches.js
|
|
86145
86114
|
var __assign5 = function() {
|
|
86146
86115
|
__assign5 = Object.assign || function(t) {
|
|
86147
86116
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -86190,7 +86159,7 @@ var enablePolyfills = function(versions) {
|
|
|
86190
86159
|
}
|
|
86191
86160
|
};
|
|
86192
86161
|
|
|
86193
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86162
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/polyfills/SPECIFICATION_1_0.js
|
|
86194
86163
|
var __assign6 = function() {
|
|
86195
86164
|
__assign6 = Object.assign || function(t) {
|
|
86196
86165
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -86347,7 +86316,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
86347
86316
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
86348
86317
|
};
|
|
86349
86318
|
|
|
86350
|
-
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.
|
|
86319
|
+
// ../../../../node_modules/.pnpm/@formily+json-schema@2.2.24_typescript@5.6.3/node_modules/@formily/json-schema/esm/schema.js
|
|
86351
86320
|
var Schema = (
|
|
86352
86321
|
/** @class */
|
|
86353
86322
|
function() {
|
|
@@ -86583,10 +86552,10 @@ var Schema = (
|
|
|
86583
86552
|
}()
|
|
86584
86553
|
);
|
|
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/prompt.js
|
|
86587
86556
|
var import_inquirer = __toESM(require_inquirer());
|
|
86588
86557
|
|
|
86589
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86558
|
+
// ../../../../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
|
|
86590
86559
|
function validateSchema(schema) {
|
|
86591
86560
|
const { type, properties } = schema;
|
|
86592
86561
|
if (type !== "object") {
|
|
@@ -86673,7 +86642,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
86673
86642
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
86674
86643
|
}
|
|
86675
86644
|
|
|
86676
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86645
|
+
// ../../../../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
|
|
86677
86646
|
var compileRule = (rule, scope) => {
|
|
86678
86647
|
const state = Schema.compile(rule, __spreadValues({
|
|
86679
86648
|
$self: {},
|
|
@@ -86773,7 +86742,7 @@ function prompt(_0) {
|
|
|
86773
86742
|
});
|
|
86774
86743
|
}
|
|
86775
86744
|
|
|
86776
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86745
|
+
// ../../../../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
|
|
86777
86746
|
var CLIReader = class {
|
|
86778
86747
|
getAnswers() {
|
|
86779
86748
|
return this.answers;
|
|
@@ -86801,7 +86770,7 @@ var CLIReader = class {
|
|
|
86801
86770
|
}
|
|
86802
86771
|
};
|
|
86803
86772
|
|
|
86804
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86773
|
+
// ../../../../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
|
|
86805
86774
|
var import_comment_json = __toESM(require_src3());
|
|
86806
86775
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
86807
86776
|
|
|
@@ -86868,7 +86837,7 @@ var I18n = class {
|
|
|
86868
86837
|
}
|
|
86869
86838
|
};
|
|
86870
86839
|
|
|
86871
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86840
|
+
// ../../../../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
|
|
86872
86841
|
var EN_LOCALE = {
|
|
86873
86842
|
environment: {
|
|
86874
86843
|
node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
|
|
@@ -86895,7 +86864,7 @@ var EN_LOCALE = {
|
|
|
86895
86864
|
}
|
|
86896
86865
|
};
|
|
86897
86866
|
|
|
86898
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86867
|
+
// ../../../../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
|
|
86899
86868
|
var ZH_LOCALE = {
|
|
86900
86869
|
environment: {
|
|
86901
86870
|
node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
|
|
@@ -86922,14 +86891,14 @@ var ZH_LOCALE = {
|
|
|
86922
86891
|
}
|
|
86923
86892
|
};
|
|
86924
86893
|
|
|
86925
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86894
|
+
// ../../../../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
|
|
86926
86895
|
var i18n = new I18n();
|
|
86927
86896
|
var localeKeys = i18n.init("zh", {
|
|
86928
86897
|
zh: ZH_LOCALE,
|
|
86929
86898
|
en: EN_LOCALE
|
|
86930
86899
|
});
|
|
86931
86900
|
|
|
86932
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86901
|
+
// ../../../../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
|
|
86933
86902
|
var import_path3 = __toESM(require("path"));
|
|
86934
86903
|
var NODE_MAJOR_VERSION_MAP = {
|
|
86935
86904
|
"lts/*": 18,
|
|
@@ -86980,7 +86949,7 @@ function checkUseNvm(cwd, logger) {
|
|
|
86980
86949
|
});
|
|
86981
86950
|
}
|
|
86982
86951
|
|
|
86983
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86952
|
+
// ../../../../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
|
|
86984
86953
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
|
86985
86954
|
for (const question of questions) {
|
|
86986
86955
|
question.default = initValue[question.name] || question.default;
|
|
@@ -87007,7 +86976,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
|
87007
86976
|
return questions;
|
|
87008
86977
|
}
|
|
87009
86978
|
|
|
87010
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.7_@modern-js+codesmith@2.6.7_typescript@5.
|
|
86979
|
+
// ../../../../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
|
|
87011
86980
|
var AppAPI = class {
|
|
87012
86981
|
checkEnvironment(nodeVersion) {
|
|
87013
86982
|
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/generator-common": "3.7.
|
|
36
|
-
"@
|
|
37
|
-
"@modern-js/
|
|
38
|
-
"@scripts/
|
|
39
|
-
"@
|
|
35
|
+
"@modern-js/generator-common": "3.7.24",
|
|
36
|
+
"@modern-js/generator-utils": "3.7.24",
|
|
37
|
+
"@modern-js/plugin-i18n": "2.66.0",
|
|
38
|
+
"@scripts/build": "2.66.0",
|
|
39
|
+
"@scripts/jest-config": "2.66.0"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"publishConfig": {
|