@modern-js/bff-generator 3.7.22 → 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 +780 -166
- package/package.json +11 -12
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,6 +75157,542 @@ var require_lodash7 = __commonJS({
|
|
|
75079
75157
|
}
|
|
75080
75158
|
});
|
|
75081
75159
|
|
|
75160
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js
|
|
75161
|
+
var require_common3 = __commonJS({
|
|
75162
|
+
"../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
75163
|
+
"use strict";
|
|
75164
|
+
function setup(env) {
|
|
75165
|
+
createDebug.debug = createDebug;
|
|
75166
|
+
createDebug.default = createDebug;
|
|
75167
|
+
createDebug.coerce = coerce;
|
|
75168
|
+
createDebug.disable = disable;
|
|
75169
|
+
createDebug.enable = enable;
|
|
75170
|
+
createDebug.enabled = enabled;
|
|
75171
|
+
createDebug.humanize = require_ms();
|
|
75172
|
+
createDebug.destroy = destroy;
|
|
75173
|
+
Object.keys(env).forEach((key2) => {
|
|
75174
|
+
createDebug[key2] = env[key2];
|
|
75175
|
+
});
|
|
75176
|
+
createDebug.names = [];
|
|
75177
|
+
createDebug.skips = [];
|
|
75178
|
+
createDebug.formatters = {};
|
|
75179
|
+
function selectColor(namespace) {
|
|
75180
|
+
let hash = 0;
|
|
75181
|
+
for (let i = 0; i < namespace.length; i++) {
|
|
75182
|
+
hash = (hash << 5) - hash + namespace.charCodeAt(i);
|
|
75183
|
+
hash |= 0;
|
|
75184
|
+
}
|
|
75185
|
+
return createDebug.colors[Math.abs(hash) % createDebug.colors.length];
|
|
75186
|
+
}
|
|
75187
|
+
createDebug.selectColor = selectColor;
|
|
75188
|
+
function createDebug(namespace) {
|
|
75189
|
+
let prevTime;
|
|
75190
|
+
let enableOverride = null;
|
|
75191
|
+
let namespacesCache;
|
|
75192
|
+
let enabledCache;
|
|
75193
|
+
function debug(...args) {
|
|
75194
|
+
if (!debug.enabled) {
|
|
75195
|
+
return;
|
|
75196
|
+
}
|
|
75197
|
+
const self3 = debug;
|
|
75198
|
+
const curr = Number(/* @__PURE__ */ new Date());
|
|
75199
|
+
const ms = curr - (prevTime || curr);
|
|
75200
|
+
self3.diff = ms;
|
|
75201
|
+
self3.prev = prevTime;
|
|
75202
|
+
self3.curr = curr;
|
|
75203
|
+
prevTime = curr;
|
|
75204
|
+
args[0] = createDebug.coerce(args[0]);
|
|
75205
|
+
if (typeof args[0] !== "string") {
|
|
75206
|
+
args.unshift("%O");
|
|
75207
|
+
}
|
|
75208
|
+
let index = 0;
|
|
75209
|
+
args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {
|
|
75210
|
+
if (match === "%%") {
|
|
75211
|
+
return "%";
|
|
75212
|
+
}
|
|
75213
|
+
index++;
|
|
75214
|
+
const formatter = createDebug.formatters[format];
|
|
75215
|
+
if (typeof formatter === "function") {
|
|
75216
|
+
const val = args[index];
|
|
75217
|
+
match = formatter.call(self3, val);
|
|
75218
|
+
args.splice(index, 1);
|
|
75219
|
+
index--;
|
|
75220
|
+
}
|
|
75221
|
+
return match;
|
|
75222
|
+
});
|
|
75223
|
+
createDebug.formatArgs.call(self3, args);
|
|
75224
|
+
const logFn = self3.log || createDebug.log;
|
|
75225
|
+
logFn.apply(self3, args);
|
|
75226
|
+
}
|
|
75227
|
+
debug.namespace = namespace;
|
|
75228
|
+
debug.useColors = createDebug.useColors();
|
|
75229
|
+
debug.color = createDebug.selectColor(namespace);
|
|
75230
|
+
debug.extend = extend2;
|
|
75231
|
+
debug.destroy = createDebug.destroy;
|
|
75232
|
+
Object.defineProperty(debug, "enabled", {
|
|
75233
|
+
enumerable: true,
|
|
75234
|
+
configurable: false,
|
|
75235
|
+
get: () => {
|
|
75236
|
+
if (enableOverride !== null) {
|
|
75237
|
+
return enableOverride;
|
|
75238
|
+
}
|
|
75239
|
+
if (namespacesCache !== createDebug.namespaces) {
|
|
75240
|
+
namespacesCache = createDebug.namespaces;
|
|
75241
|
+
enabledCache = createDebug.enabled(namespace);
|
|
75242
|
+
}
|
|
75243
|
+
return enabledCache;
|
|
75244
|
+
},
|
|
75245
|
+
set: (v) => {
|
|
75246
|
+
enableOverride = v;
|
|
75247
|
+
}
|
|
75248
|
+
});
|
|
75249
|
+
if (typeof createDebug.init === "function") {
|
|
75250
|
+
createDebug.init(debug);
|
|
75251
|
+
}
|
|
75252
|
+
return debug;
|
|
75253
|
+
}
|
|
75254
|
+
function extend2(namespace, delimiter) {
|
|
75255
|
+
const newDebug = createDebug(this.namespace + (typeof delimiter === "undefined" ? ":" : delimiter) + namespace);
|
|
75256
|
+
newDebug.log = this.log;
|
|
75257
|
+
return newDebug;
|
|
75258
|
+
}
|
|
75259
|
+
function enable(namespaces) {
|
|
75260
|
+
createDebug.save(namespaces);
|
|
75261
|
+
createDebug.namespaces = namespaces;
|
|
75262
|
+
createDebug.names = [];
|
|
75263
|
+
createDebug.skips = [];
|
|
75264
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
|
|
75265
|
+
for (const ns of split) {
|
|
75266
|
+
if (ns[0] === "-") {
|
|
75267
|
+
createDebug.skips.push(ns.slice(1));
|
|
75268
|
+
} else {
|
|
75269
|
+
createDebug.names.push(ns);
|
|
75270
|
+
}
|
|
75271
|
+
}
|
|
75272
|
+
}
|
|
75273
|
+
function matchesTemplate(search, template) {
|
|
75274
|
+
let searchIndex = 0;
|
|
75275
|
+
let templateIndex = 0;
|
|
75276
|
+
let starIndex = -1;
|
|
75277
|
+
let matchIndex = 0;
|
|
75278
|
+
while (searchIndex < search.length) {
|
|
75279
|
+
if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
|
|
75280
|
+
if (template[templateIndex] === "*") {
|
|
75281
|
+
starIndex = templateIndex;
|
|
75282
|
+
matchIndex = searchIndex;
|
|
75283
|
+
templateIndex++;
|
|
75284
|
+
} else {
|
|
75285
|
+
searchIndex++;
|
|
75286
|
+
templateIndex++;
|
|
75287
|
+
}
|
|
75288
|
+
} else if (starIndex !== -1) {
|
|
75289
|
+
templateIndex = starIndex + 1;
|
|
75290
|
+
matchIndex++;
|
|
75291
|
+
searchIndex = matchIndex;
|
|
75292
|
+
} else {
|
|
75293
|
+
return false;
|
|
75294
|
+
}
|
|
75295
|
+
}
|
|
75296
|
+
while (templateIndex < template.length && template[templateIndex] === "*") {
|
|
75297
|
+
templateIndex++;
|
|
75298
|
+
}
|
|
75299
|
+
return templateIndex === template.length;
|
|
75300
|
+
}
|
|
75301
|
+
function disable() {
|
|
75302
|
+
const namespaces = [
|
|
75303
|
+
...createDebug.names,
|
|
75304
|
+
...createDebug.skips.map((namespace) => "-" + namespace)
|
|
75305
|
+
].join(",");
|
|
75306
|
+
createDebug.enable("");
|
|
75307
|
+
return namespaces;
|
|
75308
|
+
}
|
|
75309
|
+
function enabled(name) {
|
|
75310
|
+
for (const skip of createDebug.skips) {
|
|
75311
|
+
if (matchesTemplate(name, skip)) {
|
|
75312
|
+
return false;
|
|
75313
|
+
}
|
|
75314
|
+
}
|
|
75315
|
+
for (const ns of createDebug.names) {
|
|
75316
|
+
if (matchesTemplate(name, ns)) {
|
|
75317
|
+
return true;
|
|
75318
|
+
}
|
|
75319
|
+
}
|
|
75320
|
+
return false;
|
|
75321
|
+
}
|
|
75322
|
+
function coerce(val) {
|
|
75323
|
+
if (val instanceof Error) {
|
|
75324
|
+
return val.stack || val.message;
|
|
75325
|
+
}
|
|
75326
|
+
return val;
|
|
75327
|
+
}
|
|
75328
|
+
function destroy() {
|
|
75329
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
75330
|
+
}
|
|
75331
|
+
createDebug.enable(createDebug.load());
|
|
75332
|
+
return createDebug;
|
|
75333
|
+
}
|
|
75334
|
+
module2.exports = setup;
|
|
75335
|
+
}
|
|
75336
|
+
});
|
|
75337
|
+
|
|
75338
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js
|
|
75339
|
+
var require_browser2 = __commonJS({
|
|
75340
|
+
"../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
75341
|
+
"use strict";
|
|
75342
|
+
exports.formatArgs = formatArgs;
|
|
75343
|
+
exports.save = save;
|
|
75344
|
+
exports.load = load;
|
|
75345
|
+
exports.useColors = useColors;
|
|
75346
|
+
exports.storage = localstorage();
|
|
75347
|
+
exports.destroy = (() => {
|
|
75348
|
+
let warned = false;
|
|
75349
|
+
return () => {
|
|
75350
|
+
if (!warned) {
|
|
75351
|
+
warned = true;
|
|
75352
|
+
console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
|
|
75353
|
+
}
|
|
75354
|
+
};
|
|
75355
|
+
})();
|
|
75356
|
+
exports.colors = [
|
|
75357
|
+
"#0000CC",
|
|
75358
|
+
"#0000FF",
|
|
75359
|
+
"#0033CC",
|
|
75360
|
+
"#0033FF",
|
|
75361
|
+
"#0066CC",
|
|
75362
|
+
"#0066FF",
|
|
75363
|
+
"#0099CC",
|
|
75364
|
+
"#0099FF",
|
|
75365
|
+
"#00CC00",
|
|
75366
|
+
"#00CC33",
|
|
75367
|
+
"#00CC66",
|
|
75368
|
+
"#00CC99",
|
|
75369
|
+
"#00CCCC",
|
|
75370
|
+
"#00CCFF",
|
|
75371
|
+
"#3300CC",
|
|
75372
|
+
"#3300FF",
|
|
75373
|
+
"#3333CC",
|
|
75374
|
+
"#3333FF",
|
|
75375
|
+
"#3366CC",
|
|
75376
|
+
"#3366FF",
|
|
75377
|
+
"#3399CC",
|
|
75378
|
+
"#3399FF",
|
|
75379
|
+
"#33CC00",
|
|
75380
|
+
"#33CC33",
|
|
75381
|
+
"#33CC66",
|
|
75382
|
+
"#33CC99",
|
|
75383
|
+
"#33CCCC",
|
|
75384
|
+
"#33CCFF",
|
|
75385
|
+
"#6600CC",
|
|
75386
|
+
"#6600FF",
|
|
75387
|
+
"#6633CC",
|
|
75388
|
+
"#6633FF",
|
|
75389
|
+
"#66CC00",
|
|
75390
|
+
"#66CC33",
|
|
75391
|
+
"#9900CC",
|
|
75392
|
+
"#9900FF",
|
|
75393
|
+
"#9933CC",
|
|
75394
|
+
"#9933FF",
|
|
75395
|
+
"#99CC00",
|
|
75396
|
+
"#99CC33",
|
|
75397
|
+
"#CC0000",
|
|
75398
|
+
"#CC0033",
|
|
75399
|
+
"#CC0066",
|
|
75400
|
+
"#CC0099",
|
|
75401
|
+
"#CC00CC",
|
|
75402
|
+
"#CC00FF",
|
|
75403
|
+
"#CC3300",
|
|
75404
|
+
"#CC3333",
|
|
75405
|
+
"#CC3366",
|
|
75406
|
+
"#CC3399",
|
|
75407
|
+
"#CC33CC",
|
|
75408
|
+
"#CC33FF",
|
|
75409
|
+
"#CC6600",
|
|
75410
|
+
"#CC6633",
|
|
75411
|
+
"#CC9900",
|
|
75412
|
+
"#CC9933",
|
|
75413
|
+
"#CCCC00",
|
|
75414
|
+
"#CCCC33",
|
|
75415
|
+
"#FF0000",
|
|
75416
|
+
"#FF0033",
|
|
75417
|
+
"#FF0066",
|
|
75418
|
+
"#FF0099",
|
|
75419
|
+
"#FF00CC",
|
|
75420
|
+
"#FF00FF",
|
|
75421
|
+
"#FF3300",
|
|
75422
|
+
"#FF3333",
|
|
75423
|
+
"#FF3366",
|
|
75424
|
+
"#FF3399",
|
|
75425
|
+
"#FF33CC",
|
|
75426
|
+
"#FF33FF",
|
|
75427
|
+
"#FF6600",
|
|
75428
|
+
"#FF6633",
|
|
75429
|
+
"#FF9900",
|
|
75430
|
+
"#FF9933",
|
|
75431
|
+
"#FFCC00",
|
|
75432
|
+
"#FFCC33"
|
|
75433
|
+
];
|
|
75434
|
+
function useColors() {
|
|
75435
|
+
if (typeof window !== "undefined" && window.process && (window.process.type === "renderer" || window.process.__nwjs)) {
|
|
75436
|
+
return true;
|
|
75437
|
+
}
|
|
75438
|
+
if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) {
|
|
75439
|
+
return false;
|
|
75440
|
+
}
|
|
75441
|
+
let m;
|
|
75442
|
+
return typeof document !== "undefined" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
|
|
75443
|
+
typeof window !== "undefined" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
|
|
75444
|
+
// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
|
|
75445
|
+
typeof navigator !== "undefined" && navigator.userAgent && (m = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(m[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
|
|
75446
|
+
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
75447
|
+
}
|
|
75448
|
+
function formatArgs(args) {
|
|
75449
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
75450
|
+
if (!this.useColors) {
|
|
75451
|
+
return;
|
|
75452
|
+
}
|
|
75453
|
+
const c2 = "color: " + this.color;
|
|
75454
|
+
args.splice(1, 0, c2, "color: inherit");
|
|
75455
|
+
let index = 0;
|
|
75456
|
+
let lastC = 0;
|
|
75457
|
+
args[0].replace(/%[a-zA-Z%]/g, (match) => {
|
|
75458
|
+
if (match === "%%") {
|
|
75459
|
+
return;
|
|
75460
|
+
}
|
|
75461
|
+
index++;
|
|
75462
|
+
if (match === "%c") {
|
|
75463
|
+
lastC = index;
|
|
75464
|
+
}
|
|
75465
|
+
});
|
|
75466
|
+
args.splice(lastC, 0, c2);
|
|
75467
|
+
}
|
|
75468
|
+
exports.log = console.debug || console.log || (() => {
|
|
75469
|
+
});
|
|
75470
|
+
function save(namespaces) {
|
|
75471
|
+
try {
|
|
75472
|
+
if (namespaces) {
|
|
75473
|
+
exports.storage.setItem("debug", namespaces);
|
|
75474
|
+
} else {
|
|
75475
|
+
exports.storage.removeItem("debug");
|
|
75476
|
+
}
|
|
75477
|
+
} catch (error) {
|
|
75478
|
+
}
|
|
75479
|
+
}
|
|
75480
|
+
function load() {
|
|
75481
|
+
let r;
|
|
75482
|
+
try {
|
|
75483
|
+
r = exports.storage.getItem("debug");
|
|
75484
|
+
} catch (error) {
|
|
75485
|
+
}
|
|
75486
|
+
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
75487
|
+
r = process.env.DEBUG;
|
|
75488
|
+
}
|
|
75489
|
+
return r;
|
|
75490
|
+
}
|
|
75491
|
+
function localstorage() {
|
|
75492
|
+
try {
|
|
75493
|
+
return localStorage;
|
|
75494
|
+
} catch (error) {
|
|
75495
|
+
}
|
|
75496
|
+
}
|
|
75497
|
+
module2.exports = require_common3()(exports);
|
|
75498
|
+
var { formatters } = module2.exports;
|
|
75499
|
+
formatters.j = function(v) {
|
|
75500
|
+
try {
|
|
75501
|
+
return JSON.stringify(v);
|
|
75502
|
+
} catch (error) {
|
|
75503
|
+
return "[UnexpectedJSONParseError]: " + error.message;
|
|
75504
|
+
}
|
|
75505
|
+
};
|
|
75506
|
+
}
|
|
75507
|
+
});
|
|
75508
|
+
|
|
75509
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js
|
|
75510
|
+
var require_node3 = __commonJS({
|
|
75511
|
+
"../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
75512
|
+
"use strict";
|
|
75513
|
+
var tty = require("tty");
|
|
75514
|
+
var util4 = require("util");
|
|
75515
|
+
exports.init = init;
|
|
75516
|
+
exports.log = log;
|
|
75517
|
+
exports.formatArgs = formatArgs;
|
|
75518
|
+
exports.save = save;
|
|
75519
|
+
exports.load = load;
|
|
75520
|
+
exports.useColors = useColors;
|
|
75521
|
+
exports.destroy = util4.deprecate(
|
|
75522
|
+
() => {
|
|
75523
|
+
},
|
|
75524
|
+
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
75525
|
+
);
|
|
75526
|
+
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
75527
|
+
try {
|
|
75528
|
+
const supportsColor = require_supports_color();
|
|
75529
|
+
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
75530
|
+
exports.colors = [
|
|
75531
|
+
20,
|
|
75532
|
+
21,
|
|
75533
|
+
26,
|
|
75534
|
+
27,
|
|
75535
|
+
32,
|
|
75536
|
+
33,
|
|
75537
|
+
38,
|
|
75538
|
+
39,
|
|
75539
|
+
40,
|
|
75540
|
+
41,
|
|
75541
|
+
42,
|
|
75542
|
+
43,
|
|
75543
|
+
44,
|
|
75544
|
+
45,
|
|
75545
|
+
56,
|
|
75546
|
+
57,
|
|
75547
|
+
62,
|
|
75548
|
+
63,
|
|
75549
|
+
68,
|
|
75550
|
+
69,
|
|
75551
|
+
74,
|
|
75552
|
+
75,
|
|
75553
|
+
76,
|
|
75554
|
+
77,
|
|
75555
|
+
78,
|
|
75556
|
+
79,
|
|
75557
|
+
80,
|
|
75558
|
+
81,
|
|
75559
|
+
92,
|
|
75560
|
+
93,
|
|
75561
|
+
98,
|
|
75562
|
+
99,
|
|
75563
|
+
112,
|
|
75564
|
+
113,
|
|
75565
|
+
128,
|
|
75566
|
+
129,
|
|
75567
|
+
134,
|
|
75568
|
+
135,
|
|
75569
|
+
148,
|
|
75570
|
+
149,
|
|
75571
|
+
160,
|
|
75572
|
+
161,
|
|
75573
|
+
162,
|
|
75574
|
+
163,
|
|
75575
|
+
164,
|
|
75576
|
+
165,
|
|
75577
|
+
166,
|
|
75578
|
+
167,
|
|
75579
|
+
168,
|
|
75580
|
+
169,
|
|
75581
|
+
170,
|
|
75582
|
+
171,
|
|
75583
|
+
172,
|
|
75584
|
+
173,
|
|
75585
|
+
178,
|
|
75586
|
+
179,
|
|
75587
|
+
184,
|
|
75588
|
+
185,
|
|
75589
|
+
196,
|
|
75590
|
+
197,
|
|
75591
|
+
198,
|
|
75592
|
+
199,
|
|
75593
|
+
200,
|
|
75594
|
+
201,
|
|
75595
|
+
202,
|
|
75596
|
+
203,
|
|
75597
|
+
204,
|
|
75598
|
+
205,
|
|
75599
|
+
206,
|
|
75600
|
+
207,
|
|
75601
|
+
208,
|
|
75602
|
+
209,
|
|
75603
|
+
214,
|
|
75604
|
+
215,
|
|
75605
|
+
220,
|
|
75606
|
+
221
|
|
75607
|
+
];
|
|
75608
|
+
}
|
|
75609
|
+
} catch (error) {
|
|
75610
|
+
}
|
|
75611
|
+
exports.inspectOpts = Object.keys(process.env).filter((key2) => {
|
|
75612
|
+
return /^debug_/i.test(key2);
|
|
75613
|
+
}).reduce((obj, key2) => {
|
|
75614
|
+
const prop = key2.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
75615
|
+
return k.toUpperCase();
|
|
75616
|
+
});
|
|
75617
|
+
let val = process.env[key2];
|
|
75618
|
+
if (/^(yes|on|true|enabled)$/i.test(val)) {
|
|
75619
|
+
val = true;
|
|
75620
|
+
} else if (/^(no|off|false|disabled)$/i.test(val)) {
|
|
75621
|
+
val = false;
|
|
75622
|
+
} else if (val === "null") {
|
|
75623
|
+
val = null;
|
|
75624
|
+
} else {
|
|
75625
|
+
val = Number(val);
|
|
75626
|
+
}
|
|
75627
|
+
obj[prop] = val;
|
|
75628
|
+
return obj;
|
|
75629
|
+
}, {});
|
|
75630
|
+
function useColors() {
|
|
75631
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
75632
|
+
}
|
|
75633
|
+
function formatArgs(args) {
|
|
75634
|
+
const { namespace: name, useColors: useColors2 } = this;
|
|
75635
|
+
if (useColors2) {
|
|
75636
|
+
const c2 = this.color;
|
|
75637
|
+
const colorCode = "\x1B[3" + (c2 < 8 ? c2 : "8;5;" + c2);
|
|
75638
|
+
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
75639
|
+
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
75640
|
+
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
75641
|
+
} else {
|
|
75642
|
+
args[0] = getDate() + name + " " + args[0];
|
|
75643
|
+
}
|
|
75644
|
+
}
|
|
75645
|
+
function getDate() {
|
|
75646
|
+
if (exports.inspectOpts.hideDate) {
|
|
75647
|
+
return "";
|
|
75648
|
+
}
|
|
75649
|
+
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
75650
|
+
}
|
|
75651
|
+
function log(...args) {
|
|
75652
|
+
return process.stderr.write(util4.formatWithOptions(exports.inspectOpts, ...args) + "\n");
|
|
75653
|
+
}
|
|
75654
|
+
function save(namespaces) {
|
|
75655
|
+
if (namespaces) {
|
|
75656
|
+
process.env.DEBUG = namespaces;
|
|
75657
|
+
} else {
|
|
75658
|
+
delete process.env.DEBUG;
|
|
75659
|
+
}
|
|
75660
|
+
}
|
|
75661
|
+
function load() {
|
|
75662
|
+
return process.env.DEBUG;
|
|
75663
|
+
}
|
|
75664
|
+
function init(debug) {
|
|
75665
|
+
debug.inspectOpts = {};
|
|
75666
|
+
const keys = Object.keys(exports.inspectOpts);
|
|
75667
|
+
for (let i = 0; i < keys.length; i++) {
|
|
75668
|
+
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
75669
|
+
}
|
|
75670
|
+
}
|
|
75671
|
+
module2.exports = require_common3()(exports);
|
|
75672
|
+
var { formatters } = module2.exports;
|
|
75673
|
+
formatters.o = function(v) {
|
|
75674
|
+
this.inspectOpts.colors = this.useColors;
|
|
75675
|
+
return util4.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
75676
|
+
};
|
|
75677
|
+
formatters.O = function(v) {
|
|
75678
|
+
this.inspectOpts.colors = this.useColors;
|
|
75679
|
+
return util4.inspect(v, this.inspectOpts);
|
|
75680
|
+
};
|
|
75681
|
+
}
|
|
75682
|
+
});
|
|
75683
|
+
|
|
75684
|
+
// ../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js
|
|
75685
|
+
var require_src4 = __commonJS({
|
|
75686
|
+
"../../../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
75687
|
+
"use strict";
|
|
75688
|
+
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
75689
|
+
module2.exports = require_browser2();
|
|
75690
|
+
} else {
|
|
75691
|
+
module2.exports = require_node3();
|
|
75692
|
+
}
|
|
75693
|
+
}
|
|
75694
|
+
});
|
|
75695
|
+
|
|
75082
75696
|
// ../../../../node_modules/.pnpm/declaration-update@0.0.2/node_modules/declaration-update/dist/utils/get-type.js
|
|
75083
75697
|
var require_get_type = __commonJS({
|
|
75084
75698
|
"../../../../node_modules/.pnpm/declaration-update@0.0.2/node_modules/declaration-update/dist/utils/get-type.js"(exports) {
|
|
@@ -75231,7 +75845,7 @@ var require_filter3 = __commonJS({
|
|
|
75231
75845
|
return r;
|
|
75232
75846
|
};
|
|
75233
75847
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75234
|
-
var debug_1 =
|
|
75848
|
+
var debug_1 = require_src4();
|
|
75235
75849
|
var mongo_eql_1 = require_mongo_eql();
|
|
75236
75850
|
var ops = require_ops();
|
|
75237
75851
|
var get_type_1 = require_get_type();
|
|
@@ -75391,7 +76005,7 @@ var require_mods = __commonJS({
|
|
|
75391
76005
|
return r;
|
|
75392
76006
|
};
|
|
75393
76007
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75394
|
-
var debug_1 =
|
|
76008
|
+
var debug_1 = require_src4();
|
|
75395
76009
|
var mongoDot = require_mongo_dot();
|
|
75396
76010
|
var mongo_eql_1 = require_mongo_eql();
|
|
75397
76011
|
var get_type_1 = require_get_type();
|
|
@@ -75852,7 +76466,7 @@ var require_query = __commonJS({
|
|
|
75852
76466
|
"../../../../node_modules/.pnpm/declaration-update@0.0.2/node_modules/declaration-update/dist/query.js"(exports) {
|
|
75853
76467
|
"use strict";
|
|
75854
76468
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75855
|
-
var debug_1 =
|
|
76469
|
+
var debug_1 = require_src4();
|
|
75856
76470
|
var filter_1 = require_filter3();
|
|
75857
76471
|
var mods = require_mods();
|
|
75858
76472
|
var mongoDot = require_mongo_dot();
|
|
@@ -75951,16 +76565,16 @@ __export(src_exports, {
|
|
|
75951
76565
|
module.exports = __toCommonJS(src_exports);
|
|
75952
76566
|
var import_path6 = __toESM(require("path"));
|
|
75953
76567
|
|
|
75954
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
76568
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/chalk.js
|
|
75955
76569
|
var import_chalk = __toESM(require_source());
|
|
75956
76570
|
|
|
75957
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
76571
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
|
|
75958
76572
|
var import_fs_extra = __toESM(require_lib());
|
|
75959
76573
|
|
|
75960
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
76574
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
|
|
75961
76575
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
75962
76576
|
|
|
75963
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
76577
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
|
|
75964
76578
|
function fsExists(path6) {
|
|
75965
76579
|
return __async(this, null, function* () {
|
|
75966
76580
|
try {
|
|
@@ -75972,10 +76586,10 @@ function fsExists(path6) {
|
|
|
75972
76586
|
});
|
|
75973
76587
|
}
|
|
75974
76588
|
|
|
75975
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
76589
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
|
|
75976
76590
|
var import_execa = __toESM(require_execa());
|
|
75977
76591
|
|
|
75978
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
76592
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/timeoutPromise.js
|
|
75979
76593
|
function timeoutPromise(promise, ms, reason = "Operation") {
|
|
75980
76594
|
return __async(this, null, function* () {
|
|
75981
76595
|
let timeoutId = null;
|
|
@@ -75999,21 +76613,21 @@ function timeoutPromise(promise, ms, reason = "Operation") {
|
|
|
75999
76613
|
});
|
|
76000
76614
|
}
|
|
76001
76615
|
|
|
76002
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
76616
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/constants.js
|
|
76003
76617
|
var NPM_API_TIMEOUT = 3e4;
|
|
76004
76618
|
var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
76005
76619
|
|
|
76006
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
76620
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
76007
76621
|
var import_semver = __toESM(require_semver2());
|
|
76008
76622
|
|
|
76009
|
-
// ../../../../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
|
|
76010
76624
|
function bind(fn, thisArg) {
|
|
76011
76625
|
return function wrap() {
|
|
76012
76626
|
return fn.apply(thisArg, arguments);
|
|
76013
76627
|
};
|
|
76014
76628
|
}
|
|
76015
76629
|
|
|
76016
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
76630
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
76017
76631
|
var { toString } = Object.prototype;
|
|
76018
76632
|
var { getPrototypeOf } = Object;
|
|
76019
76633
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -76381,7 +76995,7 @@ var utils_default = {
|
|
|
76381
76995
|
asap
|
|
76382
76996
|
};
|
|
76383
76997
|
|
|
76384
|
-
// ../../../../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
|
|
76385
76999
|
function AxiosError(message, code, config, request, response) {
|
|
76386
77000
|
Error.call(this);
|
|
76387
77001
|
if (Error.captureStackTrace) {
|
|
@@ -76456,11 +77070,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
76456
77070
|
};
|
|
76457
77071
|
var AxiosError_default = AxiosError;
|
|
76458
77072
|
|
|
76459
|
-
// ../../../../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
|
|
76460
77074
|
var import_form_data = __toESM(require_form_data());
|
|
76461
77075
|
var FormData_default = import_form_data.default;
|
|
76462
77076
|
|
|
76463
|
-
// ../../../../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
|
|
76464
77078
|
function isVisitable(thing) {
|
|
76465
77079
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
76466
77080
|
}
|
|
@@ -76575,7 +77189,7 @@ function toFormData(obj, formData, options) {
|
|
|
76575
77189
|
}
|
|
76576
77190
|
var toFormData_default = toFormData;
|
|
76577
77191
|
|
|
76578
|
-
// ../../../../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
|
|
76579
77193
|
function encode(str) {
|
|
76580
77194
|
const charMap = {
|
|
76581
77195
|
"!": "%21",
|
|
@@ -76608,7 +77222,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
76608
77222
|
};
|
|
76609
77223
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
76610
77224
|
|
|
76611
|
-
// ../../../../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
|
|
76612
77226
|
function encode2(val) {
|
|
76613
77227
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
76614
77228
|
}
|
|
@@ -76639,7 +77253,7 @@ function buildURL(url2, params, options) {
|
|
|
76639
77253
|
return url2;
|
|
76640
77254
|
}
|
|
76641
77255
|
|
|
76642
|
-
// ../../../../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
|
|
76643
77257
|
var InterceptorManager = class {
|
|
76644
77258
|
constructor() {
|
|
76645
77259
|
this.handlers = [];
|
|
@@ -76703,21 +77317,21 @@ var InterceptorManager = class {
|
|
|
76703
77317
|
};
|
|
76704
77318
|
var InterceptorManager_default = InterceptorManager;
|
|
76705
77319
|
|
|
76706
|
-
// ../../../../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
|
|
76707
77321
|
var transitional_default = {
|
|
76708
77322
|
silentJSONParsing: true,
|
|
76709
77323
|
forcedJSONParsing: true,
|
|
76710
77324
|
clarifyTimeoutError: false
|
|
76711
77325
|
};
|
|
76712
77326
|
|
|
76713
|
-
// ../../../../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
|
|
76714
77328
|
var import_crypto = __toESM(require("crypto"));
|
|
76715
77329
|
|
|
76716
|
-
// ../../../../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
|
|
76717
77331
|
var import_url = __toESM(require("url"));
|
|
76718
77332
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
76719
77333
|
|
|
76720
|
-
// ../../../../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
|
|
76721
77335
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
76722
77336
|
var DIGIT = "0123456789";
|
|
76723
77337
|
var ALPHABET = {
|
|
@@ -76747,7 +77361,7 @@ var node_default = {
|
|
|
76747
77361
|
protocols: ["http", "https", "file", "data"]
|
|
76748
77362
|
};
|
|
76749
77363
|
|
|
76750
|
-
// ../../../../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
|
|
76751
77365
|
var utils_exports = {};
|
|
76752
77366
|
__export(utils_exports, {
|
|
76753
77367
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -76765,10 +77379,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
76765
77379
|
})();
|
|
76766
77380
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
76767
77381
|
|
|
76768
|
-
// ../../../../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
|
|
76769
77383
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
76770
77384
|
|
|
76771
|
-
// ../../../../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
|
|
76772
77386
|
function toURLEncodedForm(data, options) {
|
|
76773
77387
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
76774
77388
|
visitor: function(value, key2, path6, helpers) {
|
|
@@ -76781,7 +77395,7 @@ function toURLEncodedForm(data, options) {
|
|
|
76781
77395
|
}, options));
|
|
76782
77396
|
}
|
|
76783
77397
|
|
|
76784
|
-
// ../../../../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
|
|
76785
77399
|
function parsePropPath(name) {
|
|
76786
77400
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
76787
77401
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -76835,7 +77449,7 @@ function formDataToJSON(formData) {
|
|
|
76835
77449
|
}
|
|
76836
77450
|
var formDataToJSON_default = formDataToJSON;
|
|
76837
77451
|
|
|
76838
|
-
// ../../../../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
|
|
76839
77453
|
function stringifySafely(rawValue, parser, encoder) {
|
|
76840
77454
|
if (utils_default.isString(rawValue)) {
|
|
76841
77455
|
try {
|
|
@@ -76944,7 +77558,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
76944
77558
|
});
|
|
76945
77559
|
var defaults_default = defaults;
|
|
76946
77560
|
|
|
76947
|
-
// ../../../../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
|
|
76948
77562
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
76949
77563
|
"age",
|
|
76950
77564
|
"authorization",
|
|
@@ -76989,7 +77603,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
76989
77603
|
return parsed;
|
|
76990
77604
|
};
|
|
76991
77605
|
|
|
76992
|
-
// ../../../../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
|
|
76993
77607
|
var $internals = Symbol("internals");
|
|
76994
77608
|
function normalizeHeader(header) {
|
|
76995
77609
|
return header && String(header).trim().toLowerCase();
|
|
@@ -77211,7 +77825,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
|
|
|
77211
77825
|
utils_default.freezeMethods(AxiosHeaders);
|
|
77212
77826
|
var AxiosHeaders_default = AxiosHeaders;
|
|
77213
77827
|
|
|
77214
|
-
// ../../../../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
|
|
77215
77829
|
function transformData(fns, response) {
|
|
77216
77830
|
const config = this || defaults_default;
|
|
77217
77831
|
const context = response || config;
|
|
@@ -77224,12 +77838,12 @@ function transformData(fns, response) {
|
|
|
77224
77838
|
return data;
|
|
77225
77839
|
}
|
|
77226
77840
|
|
|
77227
|
-
// ../../../../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
|
|
77228
77842
|
function isCancel(value) {
|
|
77229
77843
|
return !!(value && value.__CANCEL__);
|
|
77230
77844
|
}
|
|
77231
77845
|
|
|
77232
|
-
// ../../../../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
|
|
77233
77847
|
function CanceledError(message, config, request) {
|
|
77234
77848
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
77235
77849
|
this.name = "CanceledError";
|
|
@@ -77239,7 +77853,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
77239
77853
|
});
|
|
77240
77854
|
var CanceledError_default = CanceledError;
|
|
77241
77855
|
|
|
77242
|
-
// ../../../../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
|
|
77243
77857
|
function settle(resolve, reject, response) {
|
|
77244
77858
|
const validateStatus2 = response.config.validateStatus;
|
|
77245
77859
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -77255,26 +77869,26 @@ function settle(resolve, reject, response) {
|
|
|
77255
77869
|
}
|
|
77256
77870
|
}
|
|
77257
77871
|
|
|
77258
|
-
// ../../../../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
|
|
77259
77873
|
function isAbsoluteURL(url2) {
|
|
77260
77874
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
77261
77875
|
}
|
|
77262
77876
|
|
|
77263
|
-
// ../../../../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
|
|
77264
77878
|
function combineURLs(baseURL, relativeURL) {
|
|
77265
77879
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
77266
77880
|
}
|
|
77267
77881
|
|
|
77268
|
-
// ../../../../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
|
|
77269
77883
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
77270
77884
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
77271
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
77885
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
77272
77886
|
return combineURLs(baseURL, requestedURL);
|
|
77273
77887
|
}
|
|
77274
77888
|
return requestedURL;
|
|
77275
77889
|
}
|
|
77276
77890
|
|
|
77277
|
-
// ../../../../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
|
|
77278
77892
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
77279
77893
|
var import_http = __toESM(require("http"));
|
|
77280
77894
|
var import_https = __toESM(require("https"));
|
|
@@ -77282,16 +77896,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
77282
77896
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
77283
77897
|
var import_zlib = __toESM(require("zlib"));
|
|
77284
77898
|
|
|
77285
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
77286
|
-
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";
|
|
77287
77901
|
|
|
77288
|
-
// ../../../../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
|
|
77289
77903
|
function parseProtocol(url2) {
|
|
77290
77904
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
77291
77905
|
return match && match[1] || "";
|
|
77292
77906
|
}
|
|
77293
77907
|
|
|
77294
|
-
// ../../../../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
|
|
77295
77909
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
77296
77910
|
function fromDataURI(uri, asBlob, options) {
|
|
77297
77911
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -77320,10 +77934,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
77320
77934
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
77321
77935
|
}
|
|
77322
77936
|
|
|
77323
|
-
// ../../../../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
|
|
77324
77938
|
var import_stream4 = __toESM(require("stream"));
|
|
77325
77939
|
|
|
77326
|
-
// ../../../../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
|
|
77327
77941
|
var import_stream = __toESM(require("stream"));
|
|
77328
77942
|
var kInternals = Symbol("internals");
|
|
77329
77943
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -77438,14 +78052,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
77438
78052
|
};
|
|
77439
78053
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
77440
78054
|
|
|
77441
|
-
// ../../../../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
|
|
77442
78056
|
var import_events = require("events");
|
|
77443
78057
|
|
|
77444
|
-
// ../../../../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
|
|
77445
78059
|
var import_util = __toESM(require("util"));
|
|
77446
78060
|
var import_stream2 = require("stream");
|
|
77447
78061
|
|
|
77448
|
-
// ../../../../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
|
|
77449
78063
|
var { asyncIterator } = Symbol;
|
|
77450
78064
|
var readBlob = function(blob) {
|
|
77451
78065
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -77462,7 +78076,7 @@ var readBlob = function(blob) {
|
|
|
77462
78076
|
};
|
|
77463
78077
|
var readBlob_default = readBlob;
|
|
77464
78078
|
|
|
77465
|
-
// ../../../../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
|
|
77466
78080
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
77467
78081
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
77468
78082
|
var CRLF = "\r\n";
|
|
@@ -77545,7 +78159,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
77545
78159
|
};
|
|
77546
78160
|
var formDataToStream_default = formDataToStream;
|
|
77547
78161
|
|
|
77548
|
-
// ../../../../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
|
|
77549
78163
|
var import_stream3 = __toESM(require("stream"));
|
|
77550
78164
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
77551
78165
|
__transform(chunk, encoding, callback) {
|
|
@@ -77567,7 +78181,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
77567
78181
|
};
|
|
77568
78182
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
77569
78183
|
|
|
77570
|
-
// ../../../../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
|
|
77571
78185
|
var callbackify = (fn, reducer) => {
|
|
77572
78186
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
77573
78187
|
const cb = args.pop();
|
|
@@ -77582,7 +78196,7 @@ var callbackify = (fn, reducer) => {
|
|
|
77582
78196
|
};
|
|
77583
78197
|
var callbackify_default = callbackify;
|
|
77584
78198
|
|
|
77585
|
-
// ../../../../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
|
|
77586
78200
|
function speedometer(samplesCount, min) {
|
|
77587
78201
|
samplesCount = samplesCount || 10;
|
|
77588
78202
|
const bytes = new Array(samplesCount);
|
|
@@ -77618,7 +78232,7 @@ function speedometer(samplesCount, min) {
|
|
|
77618
78232
|
}
|
|
77619
78233
|
var speedometer_default = speedometer;
|
|
77620
78234
|
|
|
77621
|
-
// ../../../../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
|
|
77622
78236
|
function throttle(fn, freq) {
|
|
77623
78237
|
let timestamp = 0;
|
|
77624
78238
|
let threshold = 1e3 / freq;
|
|
@@ -77653,7 +78267,7 @@ function throttle(fn, freq) {
|
|
|
77653
78267
|
}
|
|
77654
78268
|
var throttle_default = throttle;
|
|
77655
78269
|
|
|
77656
|
-
// ../../../../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
|
|
77657
78271
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
77658
78272
|
let bytesNotified = 0;
|
|
77659
78273
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -77688,7 +78302,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
77688
78302
|
};
|
|
77689
78303
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
77690
78304
|
|
|
77691
|
-
// ../../../../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
|
|
77692
78306
|
var zlibOptions = {
|
|
77693
78307
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
77694
78308
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -78194,7 +78808,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
78194
78808
|
});
|
|
78195
78809
|
};
|
|
78196
78810
|
|
|
78197
|
-
// ../../../../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
|
|
78198
78812
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
78199
78813
|
url2 = new URL(url2, platform_default.origin);
|
|
78200
78814
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -78203,7 +78817,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
|
|
|
78203
78817
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
78204
78818
|
) : () => true;
|
|
78205
78819
|
|
|
78206
|
-
// ../../../../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
|
|
78207
78821
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
78208
78822
|
// Standard browser envs support document.cookie
|
|
78209
78823
|
{
|
|
@@ -78236,7 +78850,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
78236
78850
|
}
|
|
78237
78851
|
);
|
|
78238
78852
|
|
|
78239
|
-
// ../../../../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
|
|
78240
78854
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
78241
78855
|
function mergeConfig(config1, config2) {
|
|
78242
78856
|
config2 = config2 || {};
|
|
@@ -78316,12 +78930,12 @@ function mergeConfig(config1, config2) {
|
|
|
78316
78930
|
return config;
|
|
78317
78931
|
}
|
|
78318
78932
|
|
|
78319
|
-
// ../../../../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
|
|
78320
78934
|
var resolveConfig_default = (config) => {
|
|
78321
78935
|
const newConfig = mergeConfig({}, config);
|
|
78322
78936
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
78323
78937
|
newConfig.headers = headers = AxiosHeaders_default.from(headers);
|
|
78324
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
78938
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
78325
78939
|
if (auth) {
|
|
78326
78940
|
headers.set(
|
|
78327
78941
|
"Authorization",
|
|
@@ -78349,7 +78963,7 @@ var resolveConfig_default = (config) => {
|
|
|
78349
78963
|
return newConfig;
|
|
78350
78964
|
};
|
|
78351
78965
|
|
|
78352
|
-
// ../../../../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
|
|
78353
78967
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
78354
78968
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
78355
78969
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -78476,7 +79090,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
78476
79090
|
});
|
|
78477
79091
|
};
|
|
78478
79092
|
|
|
78479
|
-
// ../../../../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
|
|
78480
79094
|
var composeSignals = (signals, timeout) => {
|
|
78481
79095
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
78482
79096
|
if (timeout || length) {
|
|
@@ -78512,7 +79126,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
78512
79126
|
};
|
|
78513
79127
|
var composeSignals_default = composeSignals;
|
|
78514
79128
|
|
|
78515
|
-
// ../../../../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
|
|
78516
79130
|
var streamChunk = function* (chunk, chunkSize) {
|
|
78517
79131
|
let len = chunk.byteLength;
|
|
78518
79132
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -78607,7 +79221,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
78607
79221
|
});
|
|
78608
79222
|
};
|
|
78609
79223
|
|
|
78610
|
-
// ../../../../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
|
|
78611
79225
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
78612
79226
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
78613
79227
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -78772,7 +79386,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
78772
79386
|
}
|
|
78773
79387
|
}));
|
|
78774
79388
|
|
|
78775
|
-
// ../../../../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
|
|
78776
79390
|
var knownAdapters = {
|
|
78777
79391
|
http: http_default,
|
|
78778
79392
|
xhr: xhr_default,
|
|
@@ -78826,7 +79440,7 @@ var adapters_default = {
|
|
|
78826
79440
|
adapters: knownAdapters
|
|
78827
79441
|
};
|
|
78828
79442
|
|
|
78829
|
-
// ../../../../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
|
|
78830
79444
|
function throwIfCancellationRequested(config) {
|
|
78831
79445
|
if (config.cancelToken) {
|
|
78832
79446
|
config.cancelToken.throwIfRequested();
|
|
@@ -78871,7 +79485,7 @@ function dispatchRequest(config) {
|
|
|
78871
79485
|
});
|
|
78872
79486
|
}
|
|
78873
79487
|
|
|
78874
|
-
// ../../../../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
|
|
78875
79489
|
var validators = {};
|
|
78876
79490
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
78877
79491
|
validators[type] = function validator(thing) {
|
|
@@ -78935,7 +79549,7 @@ var validator_default = {
|
|
|
78935
79549
|
validators
|
|
78936
79550
|
};
|
|
78937
79551
|
|
|
78938
|
-
// ../../../../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
|
|
78939
79553
|
var validators2 = validator_default.validators;
|
|
78940
79554
|
var Axios = class {
|
|
78941
79555
|
constructor(instanceConfig) {
|
|
@@ -79110,7 +79724,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
79110
79724
|
});
|
|
79111
79725
|
var Axios_default = Axios;
|
|
79112
79726
|
|
|
79113
|
-
// ../../../../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
|
|
79114
79728
|
var CancelToken = class _CancelToken {
|
|
79115
79729
|
constructor(executor) {
|
|
79116
79730
|
if (typeof executor !== "function") {
|
|
@@ -79209,19 +79823,19 @@ var CancelToken = class _CancelToken {
|
|
|
79209
79823
|
};
|
|
79210
79824
|
var CancelToken_default = CancelToken;
|
|
79211
79825
|
|
|
79212
|
-
// ../../../../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
|
|
79213
79827
|
function spread(callback) {
|
|
79214
79828
|
return function wrap(arr) {
|
|
79215
79829
|
return callback.apply(null, arr);
|
|
79216
79830
|
};
|
|
79217
79831
|
}
|
|
79218
79832
|
|
|
79219
|
-
// ../../../../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
|
|
79220
79834
|
function isAxiosError(payload) {
|
|
79221
79835
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
79222
79836
|
}
|
|
79223
79837
|
|
|
79224
|
-
// ../../../../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
|
|
79225
79839
|
var HttpStatusCode = {
|
|
79226
79840
|
Continue: 100,
|
|
79227
79841
|
SwitchingProtocols: 101,
|
|
@@ -79292,7 +79906,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
|
|
|
79292
79906
|
});
|
|
79293
79907
|
var HttpStatusCode_default = HttpStatusCode;
|
|
79294
79908
|
|
|
79295
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79909
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
79296
79910
|
function createInstance(defaultConfig) {
|
|
79297
79911
|
const context = new Axios_default(defaultConfig);
|
|
79298
79912
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -79325,7 +79939,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
79325
79939
|
axios.default = axios;
|
|
79326
79940
|
var axios_default = axios;
|
|
79327
79941
|
|
|
79328
|
-
// ../../../../node_modules/.pnpm/axios@1.8.
|
|
79942
|
+
// ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js
|
|
79329
79943
|
var {
|
|
79330
79944
|
Axios: Axios2,
|
|
79331
79945
|
AxiosError: AxiosError2,
|
|
@@ -79345,7 +79959,7 @@ var {
|
|
|
79345
79959
|
mergeConfig: mergeConfig2
|
|
79346
79960
|
} = axios_default;
|
|
79347
79961
|
|
|
79348
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
79962
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmRegistry.js
|
|
79349
79963
|
function getNpmRegistry() {
|
|
79350
79964
|
return __async(this, null, function* () {
|
|
79351
79965
|
const { stdout } = yield (0, import_execa.default)("npm", [
|
|
@@ -79357,7 +79971,7 @@ function getNpmRegistry() {
|
|
|
79357
79971
|
});
|
|
79358
79972
|
}
|
|
79359
79973
|
|
|
79360
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
79974
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmPackageInfo.js
|
|
79361
79975
|
var NpmPackageInfoCache = /* @__PURE__ */ new Map();
|
|
79362
79976
|
function getNpmPackageInfoWithCommand(pkgName, pkgVersion, options) {
|
|
79363
79977
|
return __async(this, null, function* () {
|
|
@@ -79408,7 +80022,7 @@ function getNpmPackageInfo(pkgName, pkgVersion, options) {
|
|
|
79408
80022
|
});
|
|
79409
80023
|
}
|
|
79410
80024
|
|
|
79411
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
80025
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmVersion.js
|
|
79412
80026
|
function getNpmVersion(packageName, options) {
|
|
79413
80027
|
return __async(this, null, function* () {
|
|
79414
80028
|
const { version = "latest" } = options || {};
|
|
@@ -79417,7 +80031,7 @@ function getNpmVersion(packageName, options) {
|
|
|
79417
80031
|
});
|
|
79418
80032
|
}
|
|
79419
80033
|
|
|
79420
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
80034
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getPackageInfo.js
|
|
79421
80035
|
function getPackageInfo(packageName) {
|
|
79422
80036
|
if (!packageName) {
|
|
79423
80037
|
throw new Error("package is not exisit");
|
|
@@ -79441,16 +80055,16 @@ function getPackageInfo(packageName) {
|
|
|
79441
80055
|
};
|
|
79442
80056
|
}
|
|
79443
80057
|
|
|
79444
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
80058
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
|
|
79445
80059
|
var import_ora = __toESM(require_ora());
|
|
79446
80060
|
|
|
79447
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.
|
|
80061
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/utils/renderString.js
|
|
79448
80062
|
var import_ejs = __toESM(require_ejs());
|
|
79449
80063
|
function renderString(template, fullData) {
|
|
79450
80064
|
return import_ejs.default.render(template, fullData) || "";
|
|
79451
80065
|
}
|
|
79452
80066
|
|
|
79453
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.
|
|
80067
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-ejs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-ejs/dist/esm-node/index.js
|
|
79454
80068
|
var EjsAPI = class {
|
|
79455
80069
|
renderTemplate(_0, _1) {
|
|
79456
80070
|
return __async(this, arguments, function* (templateResource, target, parameters = {}) {
|
|
@@ -79485,7 +80099,7 @@ var EjsAPI = class {
|
|
|
79485
80099
|
}
|
|
79486
80100
|
};
|
|
79487
80101
|
|
|
79488
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.
|
|
80102
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-fs@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-fs/dist/esm-node/index.js
|
|
79489
80103
|
var import_path = __toESM(require("path"));
|
|
79490
80104
|
var FsAPI = class {
|
|
79491
80105
|
renderFile(resource, target) {
|
|
@@ -79514,7 +80128,7 @@ var FsAPI = class {
|
|
|
79514
80128
|
}
|
|
79515
80129
|
};
|
|
79516
80130
|
|
|
79517
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.
|
|
80131
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/utils/index.js
|
|
79518
80132
|
function canUseGit() {
|
|
79519
80133
|
return __async(this, null, function* () {
|
|
79520
80134
|
try {
|
|
@@ -79598,7 +80212,7 @@ function gitCommit(cwd, commitMessage) {
|
|
|
79598
80212
|
});
|
|
79599
80213
|
}
|
|
79600
80214
|
|
|
79601
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.
|
|
80215
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-git@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-git/dist/esm-node/index.js
|
|
79602
80216
|
var GitAPI = class {
|
|
79603
80217
|
isInGitRepo() {
|
|
79604
80218
|
return __async(this, arguments, function* (cwd = this.generatorCore.outputPath) {
|
|
@@ -79654,7 +80268,7 @@ var GitAPI = class {
|
|
|
79654
80268
|
}
|
|
79655
80269
|
};
|
|
79656
80270
|
|
|
79657
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.
|
|
80271
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/utils/renderString.js
|
|
79658
80272
|
var import_handlebars = __toESM(require_lib2());
|
|
79659
80273
|
function renderString2(template, fullData, registers) {
|
|
79660
80274
|
const helpers = __spreadValues({}, registers === null || registers === void 0 ? void 0 : registers.helpers);
|
|
@@ -79664,7 +80278,7 @@ function renderString2(template, fullData, registers) {
|
|
|
79664
80278
|
return import_handlebars.default.compile(template)(fullData) || "";
|
|
79665
80279
|
}
|
|
79666
80280
|
|
|
79667
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.
|
|
80281
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-handlebars@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-handlebars/dist/esm-node/index.js
|
|
79668
80282
|
var HandlebarsAPI = class {
|
|
79669
80283
|
registerHelp(helpers) {
|
|
79670
80284
|
return __async(this, null, function* () {
|
|
@@ -79821,7 +80435,7 @@ function __generator(thisArg, body) {
|
|
|
79821
80435
|
}
|
|
79822
80436
|
}
|
|
79823
80437
|
|
|
79824
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
80438
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/npm.js
|
|
79825
80439
|
var import_execa5 = __toESM(require_execa());
|
|
79826
80440
|
function canUseNvm() {
|
|
79827
80441
|
return _canUseNvm.apply(this, arguments);
|
|
@@ -80042,7 +80656,7 @@ function _canUsePnpm() {
|
|
|
80042
80656
|
return _canUsePnpm.apply(this, arguments);
|
|
80043
80657
|
}
|
|
80044
80658
|
|
|
80045
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.
|
|
80659
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/utils/install.js
|
|
80046
80660
|
function execaWithStreamLog(command, args, options) {
|
|
80047
80661
|
const promise = (0, import_execa.default)(command, args, __spreadProps(__spreadValues({}, options), {
|
|
80048
80662
|
stdin: "inherit",
|
|
@@ -80143,7 +80757,7 @@ function pnpmInstall(_0) {
|
|
|
80143
80757
|
});
|
|
80144
80758
|
}
|
|
80145
80759
|
|
|
80146
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.
|
|
80760
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-npm@2.6.7_@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith-api-npm/dist/esm-node/index.js
|
|
80147
80761
|
var NpmAPI = class {
|
|
80148
80762
|
npmInstall({ cwd, registryUrl, ignoreScripts }) {
|
|
80149
80763
|
return npmInstall({
|
|
@@ -80171,7 +80785,7 @@ var NpmAPI = class {
|
|
|
80171
80785
|
}
|
|
80172
80786
|
};
|
|
80173
80787
|
|
|
80174
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
80788
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/lodash.js
|
|
80175
80789
|
var import_lodash = __toESM(require_lodash());
|
|
80176
80790
|
var import_lodash2 = __toESM(require_lodash2());
|
|
80177
80791
|
var import_lodash3 = __toESM(require_lodash3());
|
|
@@ -83722,7 +84336,7 @@ autorun.effect = function(callback, dependencies) {
|
|
|
83722
84336
|
}
|
|
83723
84337
|
};
|
|
83724
84338
|
|
|
83725
|
-
// ../../../../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
|
|
83726
84340
|
var REVA_ACTIONS_KEY = Symbol.for("__REVA_ACTIONS");
|
|
83727
84341
|
var SchemaNestedMap = {
|
|
83728
84342
|
parent: true,
|
|
@@ -83909,7 +84523,7 @@ var patchStateFormSchema = function(targetState, pattern, compiled) {
|
|
|
83909
84523
|
});
|
|
83910
84524
|
};
|
|
83911
84525
|
|
|
83912
|
-
// ../../../../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
|
|
83913
84527
|
var ExpRE = /^\s*\{\{([\s\S]*)\}\}\s*$/;
|
|
83914
84528
|
var Registry = {
|
|
83915
84529
|
silent: false,
|
|
@@ -85271,7 +85885,7 @@ function onFieldInit(pattern, callback) {
|
|
|
85271
85885
|
}
|
|
85272
85886
|
}
|
|
85273
85887
|
|
|
85274
|
-
// ../../../../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
|
|
85275
85889
|
var __read5 = function(o, n) {
|
|
85276
85890
|
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
85277
85891
|
if (!m)
|
|
@@ -85496,7 +86110,7 @@ var transformFieldProps = function(schema, options) {
|
|
|
85496
86110
|
};
|
|
85497
86111
|
};
|
|
85498
86112
|
|
|
85499
|
-
// ../../../../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
|
|
85500
86114
|
var __assign5 = function() {
|
|
85501
86115
|
__assign5 = Object.assign || function(t) {
|
|
85502
86116
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -85545,7 +86159,7 @@ var enablePolyfills = function(versions) {
|
|
|
85545
86159
|
}
|
|
85546
86160
|
};
|
|
85547
86161
|
|
|
85548
|
-
// ../../../../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
|
|
85549
86163
|
var __assign6 = function() {
|
|
85550
86164
|
__assign6 = Object.assign || function(t) {
|
|
85551
86165
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -85702,7 +86316,7 @@ var registerTypeDefaultComponents = function(maps) {
|
|
|
85702
86316
|
Object.assign(TYPE_DEFAULT_COMPONENTS, maps);
|
|
85703
86317
|
};
|
|
85704
86318
|
|
|
85705
|
-
// ../../../../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
|
|
85706
86320
|
var Schema = (
|
|
85707
86321
|
/** @class */
|
|
85708
86322
|
function() {
|
|
@@ -85938,10 +86552,10 @@ var Schema = (
|
|
|
85938
86552
|
}()
|
|
85939
86553
|
);
|
|
85940
86554
|
|
|
85941
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.
|
|
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
|
|
85942
86556
|
var import_inquirer = __toESM(require_inquirer());
|
|
85943
86557
|
|
|
85944
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.
|
|
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
|
|
85945
86559
|
function validateSchema(schema) {
|
|
85946
86560
|
const { type, properties } = schema;
|
|
85947
86561
|
if (type !== "object") {
|
|
@@ -86028,7 +86642,7 @@ function transformForm(schema, configValue = {}, validateMap, initValue) {
|
|
|
86028
86642
|
return getQuestionFromSchema(schema, configValue, validateMap, initValue);
|
|
86029
86643
|
}
|
|
86030
86644
|
|
|
86031
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.
|
|
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
|
|
86032
86646
|
var compileRule = (rule, scope) => {
|
|
86033
86647
|
const state = Schema.compile(rule, __spreadValues({
|
|
86034
86648
|
$self: {},
|
|
@@ -86128,7 +86742,7 @@ function prompt(_0) {
|
|
|
86128
86742
|
});
|
|
86129
86743
|
}
|
|
86130
86744
|
|
|
86131
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-formily@2.6.
|
|
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
|
|
86132
86746
|
var CLIReader = class {
|
|
86133
86747
|
getAnswers() {
|
|
86134
86748
|
return this.answers;
|
|
@@ -86156,7 +86770,7 @@ var CLIReader = class {
|
|
|
86156
86770
|
}
|
|
86157
86771
|
};
|
|
86158
86772
|
|
|
86159
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
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
|
|
86160
86774
|
var import_comment_json = __toESM(require_src3());
|
|
86161
86775
|
var import_inquirer2 = __toESM(require_inquirer2());
|
|
86162
86776
|
|
|
@@ -86223,7 +86837,7 @@ var I18n = class {
|
|
|
86223
86837
|
}
|
|
86224
86838
|
};
|
|
86225
86839
|
|
|
86226
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
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
|
|
86227
86841
|
var EN_LOCALE = {
|
|
86228
86842
|
environment: {
|
|
86229
86843
|
node_version: "The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/",
|
|
@@ -86250,7 +86864,7 @@ var EN_LOCALE = {
|
|
|
86250
86864
|
}
|
|
86251
86865
|
};
|
|
86252
86866
|
|
|
86253
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
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
|
|
86254
86868
|
var ZH_LOCALE = {
|
|
86255
86869
|
environment: {
|
|
86256
86870
|
node_version: "Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/",
|
|
@@ -86277,14 +86891,14 @@ var ZH_LOCALE = {
|
|
|
86277
86891
|
}
|
|
86278
86892
|
};
|
|
86279
86893
|
|
|
86280
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
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
|
|
86281
86895
|
var i18n = new I18n();
|
|
86282
86896
|
var localeKeys = i18n.init("zh", {
|
|
86283
86897
|
zh: ZH_LOCALE,
|
|
86284
86898
|
en: EN_LOCALE
|
|
86285
86899
|
});
|
|
86286
86900
|
|
|
86287
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
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
|
|
86288
86902
|
var import_path3 = __toESM(require("path"));
|
|
86289
86903
|
var NODE_MAJOR_VERSION_MAP = {
|
|
86290
86904
|
"lts/*": 18,
|
|
@@ -86335,7 +86949,7 @@ function checkUseNvm(cwd, logger) {
|
|
|
86335
86949
|
});
|
|
86336
86950
|
}
|
|
86337
86951
|
|
|
86338
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
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
|
|
86339
86953
|
function transformInquirerSchema(questions, configValue = {}, validateMap = {}, initValue = {}) {
|
|
86340
86954
|
for (const question of questions) {
|
|
86341
86955
|
question.default = initValue[question.name] || question.default;
|
|
@@ -86362,7 +86976,7 @@ function transformInquirerSchema(questions, configValue = {}, validateMap = {},
|
|
|
86362
86976
|
return questions;
|
|
86363
86977
|
}
|
|
86364
86978
|
|
|
86365
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-app@2.6.
|
|
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
|
|
86366
86980
|
var AppAPI = class {
|
|
86367
86981
|
checkEnvironment(nodeVersion) {
|
|
86368
86982
|
return __async(this, null, function* () {
|
|
@@ -86605,11 +87219,11 @@ var AppAPI = class {
|
|
|
86605
87219
|
}
|
|
86606
87220
|
};
|
|
86607
87221
|
|
|
86608
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.
|
|
87222
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
|
|
86609
87223
|
var import_comment_json2 = __toESM(require_src3());
|
|
86610
87224
|
var declarationUpdate = __toESM(require_dist());
|
|
86611
87225
|
|
|
86612
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.
|
|
87226
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/utils/index.js
|
|
86613
87227
|
function editJson(generatorCore, resource, getNewJsonValue) {
|
|
86614
87228
|
return __async(this, null, function* () {
|
|
86615
87229
|
const originJsonValue = yield resource.value();
|
|
@@ -86624,7 +87238,7 @@ function editJson(generatorCore, resource, getNewJsonValue) {
|
|
|
86624
87238
|
});
|
|
86625
87239
|
}
|
|
86626
87240
|
|
|
86627
|
-
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.
|
|
87241
|
+
// ../../../../node_modules/.pnpm/@modern-js+codesmith-api-json@2.6.7/node_modules/@modern-js/codesmith-api-json/dist/esm-node/index.js
|
|
86628
87242
|
var JsonAPI = class {
|
|
86629
87243
|
get(resource) {
|
|
86630
87244
|
return __async(this, null, function* () {
|