@modern-js/create 2.65.5 → 2.66.0
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 +197 -119
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5161,37 +5161,6 @@ var require_ensure = __commonJS({
|
|
|
5161
5161
|
}
|
|
5162
5162
|
});
|
|
5163
5163
|
|
|
5164
|
-
// ../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js
|
|
5165
|
-
var require_universalify2 = __commonJS({
|
|
5166
|
-
"../../../node_modules/.pnpm/universalify@2.0.0/node_modules/universalify/index.js"(exports) {
|
|
5167
|
-
"use strict";
|
|
5168
|
-
exports.fromCallback = function(fn) {
|
|
5169
|
-
return Object.defineProperty(function(...args) {
|
|
5170
|
-
if (typeof args[args.length - 1] === "function")
|
|
5171
|
-
fn.apply(this, args);
|
|
5172
|
-
else {
|
|
5173
|
-
return new Promise((resolve, reject) => {
|
|
5174
|
-
fn.call(
|
|
5175
|
-
this,
|
|
5176
|
-
...args,
|
|
5177
|
-
(err, res) => err != null ? reject(err) : resolve(res)
|
|
5178
|
-
);
|
|
5179
|
-
});
|
|
5180
|
-
}
|
|
5181
|
-
}, "name", { value: fn.name });
|
|
5182
|
-
};
|
|
5183
|
-
exports.fromPromise = function(fn) {
|
|
5184
|
-
return Object.defineProperty(function(...args) {
|
|
5185
|
-
const cb = args[args.length - 1];
|
|
5186
|
-
if (typeof cb !== "function")
|
|
5187
|
-
return fn.apply(this, args);
|
|
5188
|
-
else
|
|
5189
|
-
fn.apply(this, args.slice(0, -1)).then((r) => cb(null, r), cb);
|
|
5190
|
-
}, "name", { value: fn.name });
|
|
5191
|
-
};
|
|
5192
|
-
}
|
|
5193
|
-
});
|
|
5194
|
-
|
|
5195
5164
|
// ../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js
|
|
5196
5165
|
var require_utils2 = __commonJS({
|
|
5197
5166
|
"../../../node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js"(exports, module2) {
|
|
@@ -5220,7 +5189,7 @@ var require_jsonfile = __commonJS({
|
|
|
5220
5189
|
} catch (_) {
|
|
5221
5190
|
_fs = require("fs");
|
|
5222
5191
|
}
|
|
5223
|
-
var universalify =
|
|
5192
|
+
var universalify = require_universalify();
|
|
5224
5193
|
var { stringify, stripBom } = require_utils2();
|
|
5225
5194
|
function _readFile(_0) {
|
|
5226
5195
|
return __async(this, arguments, function* (file, options = {}) {
|
|
@@ -18492,9 +18461,9 @@ var require_ms = __commonJS({
|
|
|
18492
18461
|
}
|
|
18493
18462
|
});
|
|
18494
18463
|
|
|
18495
|
-
// ../../../node_modules/.pnpm/debug@4.3.
|
|
18464
|
+
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/common.js
|
|
18496
18465
|
var require_common = __commonJS({
|
|
18497
|
-
"../../../node_modules/.pnpm/debug@4.3.
|
|
18466
|
+
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
18498
18467
|
"use strict";
|
|
18499
18468
|
function setup(env) {
|
|
18500
18469
|
createDebug.debug = createDebug;
|
|
@@ -18656,9 +18625,9 @@ var require_common = __commonJS({
|
|
|
18656
18625
|
}
|
|
18657
18626
|
});
|
|
18658
18627
|
|
|
18659
|
-
// ../../../node_modules/.pnpm/debug@4.3.
|
|
18628
|
+
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/browser.js
|
|
18660
18629
|
var require_browser = __commonJS({
|
|
18661
|
-
"../../../node_modules/.pnpm/debug@4.3.
|
|
18630
|
+
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
18662
18631
|
"use strict";
|
|
18663
18632
|
exports.formatArgs = formatArgs;
|
|
18664
18633
|
exports.save = save;
|
|
@@ -18827,9 +18796,118 @@ var require_browser = __commonJS({
|
|
|
18827
18796
|
}
|
|
18828
18797
|
});
|
|
18829
18798
|
|
|
18830
|
-
// ../../../node_modules/.pnpm/
|
|
18799
|
+
// ../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js
|
|
18800
|
+
var require_has_flag2 = __commonJS({
|
|
18801
|
+
"../../../node_modules/.pnpm/has-flag@3.0.0/node_modules/has-flag/index.js"(exports, module2) {
|
|
18802
|
+
"use strict";
|
|
18803
|
+
module2.exports = (flag, argv) => {
|
|
18804
|
+
argv = argv || process.argv;
|
|
18805
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
18806
|
+
const pos = argv.indexOf(prefix + flag);
|
|
18807
|
+
const terminatorPos = argv.indexOf("--");
|
|
18808
|
+
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
|
|
18809
|
+
};
|
|
18810
|
+
}
|
|
18811
|
+
});
|
|
18812
|
+
|
|
18813
|
+
// ../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js
|
|
18814
|
+
var require_supports_color2 = __commonJS({
|
|
18815
|
+
"../../../node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
|
|
18816
|
+
"use strict";
|
|
18817
|
+
var os3 = require("os");
|
|
18818
|
+
var hasFlag = require_has_flag2();
|
|
18819
|
+
var env = process.env;
|
|
18820
|
+
var forceColor;
|
|
18821
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
18822
|
+
forceColor = false;
|
|
18823
|
+
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
18824
|
+
forceColor = true;
|
|
18825
|
+
}
|
|
18826
|
+
if ("FORCE_COLOR" in env) {
|
|
18827
|
+
forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
|
|
18828
|
+
}
|
|
18829
|
+
function translateLevel(level) {
|
|
18830
|
+
if (level === 0) {
|
|
18831
|
+
return false;
|
|
18832
|
+
}
|
|
18833
|
+
return {
|
|
18834
|
+
level,
|
|
18835
|
+
hasBasic: true,
|
|
18836
|
+
has256: level >= 2,
|
|
18837
|
+
has16m: level >= 3
|
|
18838
|
+
};
|
|
18839
|
+
}
|
|
18840
|
+
function supportsColor(stream4) {
|
|
18841
|
+
if (forceColor === false) {
|
|
18842
|
+
return 0;
|
|
18843
|
+
}
|
|
18844
|
+
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
18845
|
+
return 3;
|
|
18846
|
+
}
|
|
18847
|
+
if (hasFlag("color=256")) {
|
|
18848
|
+
return 2;
|
|
18849
|
+
}
|
|
18850
|
+
if (stream4 && !stream4.isTTY && forceColor !== true) {
|
|
18851
|
+
return 0;
|
|
18852
|
+
}
|
|
18853
|
+
const min = forceColor ? 1 : 0;
|
|
18854
|
+
if (process.platform === "win32") {
|
|
18855
|
+
const osRelease = os3.release().split(".");
|
|
18856
|
+
if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
18857
|
+
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
18858
|
+
}
|
|
18859
|
+
return 1;
|
|
18860
|
+
}
|
|
18861
|
+
if ("CI" in env) {
|
|
18862
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
18863
|
+
return 1;
|
|
18864
|
+
}
|
|
18865
|
+
return min;
|
|
18866
|
+
}
|
|
18867
|
+
if ("TEAMCITY_VERSION" in env) {
|
|
18868
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
18869
|
+
}
|
|
18870
|
+
if (env.COLORTERM === "truecolor") {
|
|
18871
|
+
return 3;
|
|
18872
|
+
}
|
|
18873
|
+
if ("TERM_PROGRAM" in env) {
|
|
18874
|
+
const version2 = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
18875
|
+
switch (env.TERM_PROGRAM) {
|
|
18876
|
+
case "iTerm.app":
|
|
18877
|
+
return version2 >= 3 ? 3 : 2;
|
|
18878
|
+
case "Apple_Terminal":
|
|
18879
|
+
return 2;
|
|
18880
|
+
}
|
|
18881
|
+
}
|
|
18882
|
+
if (/-256(color)?$/i.test(env.TERM)) {
|
|
18883
|
+
return 2;
|
|
18884
|
+
}
|
|
18885
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
18886
|
+
return 1;
|
|
18887
|
+
}
|
|
18888
|
+
if ("COLORTERM" in env) {
|
|
18889
|
+
return 1;
|
|
18890
|
+
}
|
|
18891
|
+
if (env.TERM === "dumb") {
|
|
18892
|
+
return min;
|
|
18893
|
+
}
|
|
18894
|
+
return min;
|
|
18895
|
+
}
|
|
18896
|
+
function getSupportLevel(stream4) {
|
|
18897
|
+
const level = supportsColor(stream4);
|
|
18898
|
+
return translateLevel(level);
|
|
18899
|
+
}
|
|
18900
|
+
module2.exports = {
|
|
18901
|
+
supportsColor: getSupportLevel,
|
|
18902
|
+
stdout: getSupportLevel(process.stdout),
|
|
18903
|
+
stderr: getSupportLevel(process.stderr)
|
|
18904
|
+
};
|
|
18905
|
+
}
|
|
18906
|
+
});
|
|
18907
|
+
|
|
18908
|
+
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/node.js
|
|
18831
18909
|
var require_node2 = __commonJS({
|
|
18832
|
-
"../../../node_modules/.pnpm/debug@4.3.
|
|
18910
|
+
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
18833
18911
|
"use strict";
|
|
18834
18912
|
var tty = require("tty");
|
|
18835
18913
|
var util3 = require("util");
|
|
@@ -18846,7 +18924,7 @@ var require_node2 = __commonJS({
|
|
|
18846
18924
|
);
|
|
18847
18925
|
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
18848
18926
|
try {
|
|
18849
|
-
const supportsColor =
|
|
18927
|
+
const supportsColor = require_supports_color2();
|
|
18850
18928
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
18851
18929
|
exports.colors = [
|
|
18852
18930
|
20,
|
|
@@ -19002,9 +19080,9 @@ var require_node2 = __commonJS({
|
|
|
19002
19080
|
}
|
|
19003
19081
|
});
|
|
19004
19082
|
|
|
19005
|
-
// ../../../node_modules/.pnpm/debug@4.3.
|
|
19083
|
+
// ../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/index.js
|
|
19006
19084
|
var require_src = __commonJS({
|
|
19007
|
-
"../../../node_modules/.pnpm/debug@4.3.
|
|
19085
|
+
"../../../node_modules/.pnpm/debug@4.3.7_supports-color@5.5.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
19008
19086
|
"use strict";
|
|
19009
19087
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
19010
19088
|
module2.exports = require_browser();
|
|
@@ -21595,9 +21673,9 @@ var require_path_key = __commonJS({
|
|
|
21595
21673
|
}
|
|
21596
21674
|
});
|
|
21597
21675
|
|
|
21598
|
-
// ../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21676
|
+
// ../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
21599
21677
|
var require_resolveCommand = __commonJS({
|
|
21600
|
-
"../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21678
|
+
"../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports, module2) {
|
|
21601
21679
|
"use strict";
|
|
21602
21680
|
var path11 = require("path");
|
|
21603
21681
|
var which = require_which();
|
|
@@ -21637,9 +21715,9 @@ var require_resolveCommand = __commonJS({
|
|
|
21637
21715
|
}
|
|
21638
21716
|
});
|
|
21639
21717
|
|
|
21640
|
-
// ../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21718
|
+
// ../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js
|
|
21641
21719
|
var require_escape = __commonJS({
|
|
21642
|
-
"../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21720
|
+
"../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js"(exports, module2) {
|
|
21643
21721
|
"use strict";
|
|
21644
21722
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
21645
21723
|
function escapeCommand(arg) {
|
|
@@ -21648,8 +21726,8 @@ var require_escape = __commonJS({
|
|
|
21648
21726
|
}
|
|
21649
21727
|
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
21650
21728
|
arg = `${arg}`;
|
|
21651
|
-
arg = arg.replace(/(
|
|
21652
|
-
arg = arg.replace(/(
|
|
21729
|
+
arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
|
|
21730
|
+
arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1");
|
|
21653
21731
|
arg = `"${arg}"`;
|
|
21654
21732
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
21655
21733
|
if (doubleEscapeMetaChars) {
|
|
@@ -21690,9 +21768,9 @@ var require_shebang_command = __commonJS({
|
|
|
21690
21768
|
}
|
|
21691
21769
|
});
|
|
21692
21770
|
|
|
21693
|
-
// ../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21771
|
+
// ../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js
|
|
21694
21772
|
var require_readShebang = __commonJS({
|
|
21695
|
-
"../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21773
|
+
"../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports, module2) {
|
|
21696
21774
|
"use strict";
|
|
21697
21775
|
var fs2 = require("fs");
|
|
21698
21776
|
var shebangCommand = require_shebang_command();
|
|
@@ -21712,9 +21790,9 @@ var require_readShebang = __commonJS({
|
|
|
21712
21790
|
}
|
|
21713
21791
|
});
|
|
21714
21792
|
|
|
21715
|
-
// ../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21793
|
+
// ../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js
|
|
21716
21794
|
var require_parse = __commonJS({
|
|
21717
|
-
"../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21795
|
+
"../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports, module2) {
|
|
21718
21796
|
"use strict";
|
|
21719
21797
|
var path11 = require("path");
|
|
21720
21798
|
var resolveCommand = require_resolveCommand();
|
|
@@ -21774,9 +21852,9 @@ var require_parse = __commonJS({
|
|
|
21774
21852
|
}
|
|
21775
21853
|
});
|
|
21776
21854
|
|
|
21777
|
-
// ../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21855
|
+
// ../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
|
|
21778
21856
|
var require_enoent = __commonJS({
|
|
21779
|
-
"../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21857
|
+
"../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js"(exports, module2) {
|
|
21780
21858
|
"use strict";
|
|
21781
21859
|
var isWin = process.platform === "win32";
|
|
21782
21860
|
function notFoundError(original, syscall) {
|
|
@@ -21795,7 +21873,7 @@ var require_enoent = __commonJS({
|
|
|
21795
21873
|
const originalEmit = cp.emit;
|
|
21796
21874
|
cp.emit = function(name, arg1) {
|
|
21797
21875
|
if (name === "exit") {
|
|
21798
|
-
const err = verifyENOENT(arg1, parsed
|
|
21876
|
+
const err = verifyENOENT(arg1, parsed);
|
|
21799
21877
|
if (err) {
|
|
21800
21878
|
return originalEmit.call(cp, "error", err);
|
|
21801
21879
|
}
|
|
@@ -21824,9 +21902,9 @@ var require_enoent = __commonJS({
|
|
|
21824
21902
|
}
|
|
21825
21903
|
});
|
|
21826
21904
|
|
|
21827
|
-
// ../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21905
|
+
// ../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
|
|
21828
21906
|
var require_cross_spawn = __commonJS({
|
|
21829
|
-
"../../../node_modules/.pnpm/cross-spawn@7.0.
|
|
21907
|
+
"../../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/index.js"(exports, module2) {
|
|
21830
21908
|
"use strict";
|
|
21831
21909
|
var cp = require("child_process");
|
|
21832
21910
|
var parse = require_parse();
|
|
@@ -42720,14 +42798,14 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
|
42720
42798
|
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
42721
42799
|
var import_semver = __toESM(require_semver2());
|
|
42722
42800
|
|
|
42723
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
42801
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
|
|
42724
42802
|
function bind(fn, thisArg) {
|
|
42725
42803
|
return function wrap() {
|
|
42726
42804
|
return fn.apply(thisArg, arguments);
|
|
42727
42805
|
};
|
|
42728
42806
|
}
|
|
42729
42807
|
|
|
42730
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
42808
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
42731
42809
|
var { toString } = Object.prototype;
|
|
42732
42810
|
var { getPrototypeOf } = Object;
|
|
42733
42811
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -43095,7 +43173,7 @@ var utils_default = {
|
|
|
43095
43173
|
asap
|
|
43096
43174
|
};
|
|
43097
43175
|
|
|
43098
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43176
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
|
|
43099
43177
|
function AxiosError(message, code, config, request, response) {
|
|
43100
43178
|
Error.call(this);
|
|
43101
43179
|
if (Error.captureStackTrace) {
|
|
@@ -43170,11 +43248,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
43170
43248
|
};
|
|
43171
43249
|
var AxiosError_default = AxiosError;
|
|
43172
43250
|
|
|
43173
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43251
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
43174
43252
|
var import_form_data = __toESM(require_form_data());
|
|
43175
43253
|
var FormData_default = import_form_data.default;
|
|
43176
43254
|
|
|
43177
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43255
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
|
|
43178
43256
|
function isVisitable(thing) {
|
|
43179
43257
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
43180
43258
|
}
|
|
@@ -43289,7 +43367,7 @@ function toFormData(obj, formData, options) {
|
|
|
43289
43367
|
}
|
|
43290
43368
|
var toFormData_default = toFormData;
|
|
43291
43369
|
|
|
43292
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43370
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
43293
43371
|
function encode(str) {
|
|
43294
43372
|
const charMap = {
|
|
43295
43373
|
"!": "%21",
|
|
@@ -43322,7 +43400,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
43322
43400
|
};
|
|
43323
43401
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
43324
43402
|
|
|
43325
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43403
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
|
|
43326
43404
|
function encode2(val) {
|
|
43327
43405
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
43328
43406
|
}
|
|
@@ -43353,7 +43431,7 @@ function buildURL(url2, params, options) {
|
|
|
43353
43431
|
return url2;
|
|
43354
43432
|
}
|
|
43355
43433
|
|
|
43356
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43434
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
43357
43435
|
var InterceptorManager = class {
|
|
43358
43436
|
constructor() {
|
|
43359
43437
|
this.handlers = [];
|
|
@@ -43417,21 +43495,21 @@ var InterceptorManager = class {
|
|
|
43417
43495
|
};
|
|
43418
43496
|
var InterceptorManager_default = InterceptorManager;
|
|
43419
43497
|
|
|
43420
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43498
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
|
|
43421
43499
|
var transitional_default = {
|
|
43422
43500
|
silentJSONParsing: true,
|
|
43423
43501
|
forcedJSONParsing: true,
|
|
43424
43502
|
clarifyTimeoutError: false
|
|
43425
43503
|
};
|
|
43426
43504
|
|
|
43427
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43505
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
43428
43506
|
var import_crypto = __toESM(require("crypto"));
|
|
43429
43507
|
|
|
43430
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43508
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
43431
43509
|
var import_url = __toESM(require("url"));
|
|
43432
43510
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
43433
43511
|
|
|
43434
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43512
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
43435
43513
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
43436
43514
|
var DIGIT = "0123456789";
|
|
43437
43515
|
var ALPHABET = {
|
|
@@ -43461,7 +43539,7 @@ var node_default = {
|
|
|
43461
43539
|
protocols: ["http", "https", "file", "data"]
|
|
43462
43540
|
};
|
|
43463
43541
|
|
|
43464
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43542
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
|
|
43465
43543
|
var utils_exports = {};
|
|
43466
43544
|
__export(utils_exports, {
|
|
43467
43545
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -43479,10 +43557,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
43479
43557
|
})();
|
|
43480
43558
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
43481
43559
|
|
|
43482
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43560
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/index.js
|
|
43483
43561
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
43484
43562
|
|
|
43485
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43563
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
43486
43564
|
function toURLEncodedForm(data, options) {
|
|
43487
43565
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
43488
43566
|
visitor: function(value, key, path11, helpers) {
|
|
@@ -43495,7 +43573,7 @@ function toURLEncodedForm(data, options) {
|
|
|
43495
43573
|
}, options));
|
|
43496
43574
|
}
|
|
43497
43575
|
|
|
43498
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43576
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
43499
43577
|
function parsePropPath(name) {
|
|
43500
43578
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
43501
43579
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -43549,7 +43627,7 @@ function formDataToJSON(formData) {
|
|
|
43549
43627
|
}
|
|
43550
43628
|
var formDataToJSON_default = formDataToJSON;
|
|
43551
43629
|
|
|
43552
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43630
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/index.js
|
|
43553
43631
|
function stringifySafely(rawValue, parser, encoder) {
|
|
43554
43632
|
if (utils_default.isString(rawValue)) {
|
|
43555
43633
|
try {
|
|
@@ -43658,7 +43736,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
43658
43736
|
});
|
|
43659
43737
|
var defaults_default = defaults;
|
|
43660
43738
|
|
|
43661
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43739
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
43662
43740
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
43663
43741
|
"age",
|
|
43664
43742
|
"authorization",
|
|
@@ -43703,7 +43781,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
43703
43781
|
return parsed;
|
|
43704
43782
|
};
|
|
43705
43783
|
|
|
43706
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43784
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
43707
43785
|
var $internals = Symbol("internals");
|
|
43708
43786
|
function normalizeHeader(header) {
|
|
43709
43787
|
return header && String(header).trim().toLowerCase();
|
|
@@ -43925,7 +44003,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
43925
44003
|
utils_default.freezeMethods(AxiosHeaders);
|
|
43926
44004
|
var AxiosHeaders_default = AxiosHeaders;
|
|
43927
44005
|
|
|
43928
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44006
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/transformData.js
|
|
43929
44007
|
function transformData(fns, response) {
|
|
43930
44008
|
const config = this || defaults_default;
|
|
43931
44009
|
const context = response || config;
|
|
@@ -43938,12 +44016,12 @@ function transformData(fns, response) {
|
|
|
43938
44016
|
return data;
|
|
43939
44017
|
}
|
|
43940
44018
|
|
|
43941
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44019
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
|
|
43942
44020
|
function isCancel(value) {
|
|
43943
44021
|
return !!(value && value.__CANCEL__);
|
|
43944
44022
|
}
|
|
43945
44023
|
|
|
43946
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44024
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
43947
44025
|
function CanceledError(message, config, request) {
|
|
43948
44026
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
43949
44027
|
this.name = "CanceledError";
|
|
@@ -43953,7 +44031,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
43953
44031
|
});
|
|
43954
44032
|
var CanceledError_default = CanceledError;
|
|
43955
44033
|
|
|
43956
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44034
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/settle.js
|
|
43957
44035
|
function settle(resolve, reject, response) {
|
|
43958
44036
|
const validateStatus2 = response.config.validateStatus;
|
|
43959
44037
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -43969,26 +44047,26 @@ function settle(resolve, reject, response) {
|
|
|
43969
44047
|
}
|
|
43970
44048
|
}
|
|
43971
44049
|
|
|
43972
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44050
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
43973
44051
|
function isAbsoluteURL(url2) {
|
|
43974
44052
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
43975
44053
|
}
|
|
43976
44054
|
|
|
43977
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44055
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
43978
44056
|
function combineURLs(baseURL, relativeURL) {
|
|
43979
44057
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
43980
44058
|
}
|
|
43981
44059
|
|
|
43982
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44060
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
|
|
43983
44061
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
43984
44062
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
43985
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
44063
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
43986
44064
|
return combineURLs(baseURL, requestedURL);
|
|
43987
44065
|
}
|
|
43988
44066
|
return requestedURL;
|
|
43989
44067
|
}
|
|
43990
44068
|
|
|
43991
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44069
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
43992
44070
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
43993
44071
|
var import_http = __toESM(require("http"));
|
|
43994
44072
|
var import_https = __toESM(require("https"));
|
|
@@ -43996,16 +44074,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
43996
44074
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
43997
44075
|
var import_zlib = __toESM(require("zlib"));
|
|
43998
44076
|
|
|
43999
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44000
|
-
var VERSION = "1.8.
|
|
44077
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/env/data.js
|
|
44078
|
+
var VERSION = "1.8.4";
|
|
44001
44079
|
|
|
44002
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44080
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
44003
44081
|
function parseProtocol(url2) {
|
|
44004
44082
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
44005
44083
|
return match && match[1] || "";
|
|
44006
44084
|
}
|
|
44007
44085
|
|
|
44008
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44086
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
44009
44087
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
44010
44088
|
function fromDataURI(uri, asBlob, options) {
|
|
44011
44089
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -44034,10 +44112,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
44034
44112
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
44035
44113
|
}
|
|
44036
44114
|
|
|
44037
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44115
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
44038
44116
|
var import_stream4 = __toESM(require("stream"));
|
|
44039
44117
|
|
|
44040
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44118
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
44041
44119
|
var import_stream = __toESM(require("stream"));
|
|
44042
44120
|
var kInternals = Symbol("internals");
|
|
44043
44121
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -44152,14 +44230,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
44152
44230
|
};
|
|
44153
44231
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
44154
44232
|
|
|
44155
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44233
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
44156
44234
|
var import_events = require("events");
|
|
44157
44235
|
|
|
44158
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44236
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
44159
44237
|
var import_util = __toESM(require("util"));
|
|
44160
44238
|
var import_stream2 = require("stream");
|
|
44161
44239
|
|
|
44162
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44240
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
|
|
44163
44241
|
var { asyncIterator } = Symbol;
|
|
44164
44242
|
var readBlob = function(blob) {
|
|
44165
44243
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -44176,7 +44254,7 @@ var readBlob = function(blob) {
|
|
|
44176
44254
|
};
|
|
44177
44255
|
var readBlob_default = readBlob;
|
|
44178
44256
|
|
|
44179
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44257
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
44180
44258
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
44181
44259
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
44182
44260
|
var CRLF = "\r\n";
|
|
@@ -44259,7 +44337,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
44259
44337
|
};
|
|
44260
44338
|
var formDataToStream_default = formDataToStream;
|
|
44261
44339
|
|
|
44262
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44340
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
44263
44341
|
var import_stream3 = __toESM(require("stream"));
|
|
44264
44342
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
44265
44343
|
__transform(chunk, encoding, callback) {
|
|
@@ -44281,7 +44359,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
44281
44359
|
};
|
|
44282
44360
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
44283
44361
|
|
|
44284
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44362
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
|
|
44285
44363
|
var callbackify = (fn, reducer) => {
|
|
44286
44364
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
44287
44365
|
const cb = args.pop();
|
|
@@ -44296,7 +44374,7 @@ var callbackify = (fn, reducer) => {
|
|
|
44296
44374
|
};
|
|
44297
44375
|
var callbackify_default = callbackify;
|
|
44298
44376
|
|
|
44299
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44377
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
|
|
44300
44378
|
function speedometer(samplesCount, min) {
|
|
44301
44379
|
samplesCount = samplesCount || 10;
|
|
44302
44380
|
const bytes = new Array(samplesCount);
|
|
@@ -44332,7 +44410,7 @@ function speedometer(samplesCount, min) {
|
|
|
44332
44410
|
}
|
|
44333
44411
|
var speedometer_default = speedometer;
|
|
44334
44412
|
|
|
44335
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44413
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
|
|
44336
44414
|
function throttle(fn, freq) {
|
|
44337
44415
|
let timestamp = 0;
|
|
44338
44416
|
let threshold = 1e3 / freq;
|
|
@@ -44367,7 +44445,7 @@ function throttle(fn, freq) {
|
|
|
44367
44445
|
}
|
|
44368
44446
|
var throttle_default = throttle;
|
|
44369
44447
|
|
|
44370
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44448
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
44371
44449
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
44372
44450
|
let bytesNotified = 0;
|
|
44373
44451
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -44402,7 +44480,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
44402
44480
|
};
|
|
44403
44481
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
44404
44482
|
|
|
44405
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44483
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
44406
44484
|
var zlibOptions = {
|
|
44407
44485
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
44408
44486
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -44908,7 +44986,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
44908
44986
|
});
|
|
44909
44987
|
};
|
|
44910
44988
|
|
|
44911
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44989
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
44912
44990
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
44913
44991
|
url2 = new URL(url2, platform_default.origin);
|
|
44914
44992
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -44917,7 +44995,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
|
|
|
44917
44995
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
44918
44996
|
) : () => true;
|
|
44919
44997
|
|
|
44920
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44998
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
|
|
44921
44999
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
44922
45000
|
// Standard browser envs support document.cookie
|
|
44923
45001
|
{
|
|
@@ -44950,7 +45028,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
44950
45028
|
}
|
|
44951
45029
|
);
|
|
44952
45030
|
|
|
44953
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45031
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
|
|
44954
45032
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
44955
45033
|
function mergeConfig(config1, config2) {
|
|
44956
45034
|
config2 = config2 || {};
|
|
@@ -45030,7 +45108,7 @@ function mergeConfig(config1, config2) {
|
|
|
45030
45108
|
return config;
|
|
45031
45109
|
}
|
|
45032
45110
|
|
|
45033
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45111
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
|
|
45034
45112
|
var resolveConfig_default = (config) => {
|
|
45035
45113
|
const newConfig = mergeConfig({}, config);
|
|
45036
45114
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -45063,7 +45141,7 @@ var resolveConfig_default = (config) => {
|
|
|
45063
45141
|
return newConfig;
|
|
45064
45142
|
};
|
|
45065
45143
|
|
|
45066
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45144
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
|
|
45067
45145
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
45068
45146
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
45069
45147
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -45190,7 +45268,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
45190
45268
|
});
|
|
45191
45269
|
};
|
|
45192
45270
|
|
|
45193
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45271
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
|
|
45194
45272
|
var composeSignals = (signals, timeout) => {
|
|
45195
45273
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
45196
45274
|
if (timeout || length) {
|
|
@@ -45226,7 +45304,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
45226
45304
|
};
|
|
45227
45305
|
var composeSignals_default = composeSignals;
|
|
45228
45306
|
|
|
45229
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45307
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
|
|
45230
45308
|
var streamChunk = function* (chunk, chunkSize) {
|
|
45231
45309
|
let len = chunk.byteLength;
|
|
45232
45310
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -45321,7 +45399,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
45321
45399
|
});
|
|
45322
45400
|
};
|
|
45323
45401
|
|
|
45324
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45402
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
|
|
45325
45403
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
45326
45404
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
45327
45405
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -45486,7 +45564,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
45486
45564
|
}
|
|
45487
45565
|
}));
|
|
45488
45566
|
|
|
45489
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45567
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
|
|
45490
45568
|
var knownAdapters = {
|
|
45491
45569
|
http: http_default,
|
|
45492
45570
|
xhr: xhr_default,
|
|
@@ -45540,7 +45618,7 @@ var adapters_default = {
|
|
|
45540
45618
|
adapters: knownAdapters
|
|
45541
45619
|
};
|
|
45542
45620
|
|
|
45543
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45621
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
45544
45622
|
function throwIfCancellationRequested(config) {
|
|
45545
45623
|
if (config.cancelToken) {
|
|
45546
45624
|
config.cancelToken.throwIfRequested();
|
|
@@ -45585,7 +45663,7 @@ function dispatchRequest(config) {
|
|
|
45585
45663
|
});
|
|
45586
45664
|
}
|
|
45587
45665
|
|
|
45588
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45666
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
|
|
45589
45667
|
var validators = {};
|
|
45590
45668
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
45591
45669
|
validators[type] = function validator(thing) {
|
|
@@ -45649,7 +45727,7 @@ var validator_default = {
|
|
|
45649
45727
|
validators
|
|
45650
45728
|
};
|
|
45651
45729
|
|
|
45652
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45730
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/Axios.js
|
|
45653
45731
|
var validators2 = validator_default.validators;
|
|
45654
45732
|
var Axios = class {
|
|
45655
45733
|
constructor(instanceConfig) {
|
|
@@ -45824,7 +45902,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
45824
45902
|
});
|
|
45825
45903
|
var Axios_default = Axios;
|
|
45826
45904
|
|
|
45827
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45905
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
45828
45906
|
var CancelToken = class _CancelToken {
|
|
45829
45907
|
constructor(executor) {
|
|
45830
45908
|
if (typeof executor !== "function") {
|
|
@@ -45923,19 +46001,19 @@ var CancelToken = class _CancelToken {
|
|
|
45923
46001
|
};
|
|
45924
46002
|
var CancelToken_default = CancelToken;
|
|
45925
46003
|
|
|
45926
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
46004
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
|
|
45927
46005
|
function spread(callback) {
|
|
45928
46006
|
return function wrap(arr) {
|
|
45929
46007
|
return callback.apply(null, arr);
|
|
45930
46008
|
};
|
|
45931
46009
|
}
|
|
45932
46010
|
|
|
45933
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
46011
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
45934
46012
|
function isAxiosError(payload) {
|
|
45935
46013
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
45936
46014
|
}
|
|
45937
46015
|
|
|
45938
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
46016
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
45939
46017
|
var HttpStatusCode = {
|
|
45940
46018
|
Continue: 100,
|
|
45941
46019
|
SwitchingProtocols: 101,
|
|
@@ -46006,7 +46084,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
46006
46084
|
});
|
|
46007
46085
|
var HttpStatusCode_default = HttpStatusCode;
|
|
46008
46086
|
|
|
46009
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
46087
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
46010
46088
|
function createInstance(defaultConfig) {
|
|
46011
46089
|
const context = new Axios_default(defaultConfig);
|
|
46012
46090
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -46039,7 +46117,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
46039
46117
|
axios.default = axios;
|
|
46040
46118
|
var axios_default = axios;
|
|
46041
46119
|
|
|
46042
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
46120
|
+
// ../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js
|
|
46043
46121
|
var {
|
|
46044
46122
|
Axios: Axios2,
|
|
46045
46123
|
AxiosError: AxiosError2,
|
|
@@ -46666,7 +46744,7 @@ var CodeSmith = class {
|
|
|
46666
46744
|
};
|
|
46667
46745
|
|
|
46668
46746
|
// package.json
|
|
46669
|
-
var version = "2.
|
|
46747
|
+
var version = "2.66.0";
|
|
46670
46748
|
|
|
46671
46749
|
// src/utils/index.ts
|
|
46672
46750
|
var import_path9 = __toESM(require("path"));
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.
|
|
18
|
+
"version": "2.66.0",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/index.js",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"jest": "^29",
|
|
46
46
|
"ts-node": "^10.9.1",
|
|
47
47
|
"typescript": "^5",
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
48
|
+
"@modern-js/mwa-generator": "3.7.24",
|
|
49
|
+
"@modern-js/plugin-i18n": "2.66.0",
|
|
50
|
+
"@scripts/build": "2.66.0",
|
|
51
|
+
"@scripts/jest-config": "2.66.0"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"registry": "https://registry.npmjs.org/",
|