@modern-js/create 2.65.4 → 2.65.5
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 +97 -97
- package/package.json +8 -9
package/dist/index.js
CHANGED
|
@@ -42268,10 +42268,10 @@ var {
|
|
|
42268
42268
|
var import_os = __toESM(require("os"));
|
|
42269
42269
|
var import_path = __toESM(require("path"));
|
|
42270
42270
|
|
|
42271
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
42271
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/fs-extra.js
|
|
42272
42272
|
var import_fs_extra = __toESM(require_lib());
|
|
42273
42273
|
|
|
42274
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
42274
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/ora.js
|
|
42275
42275
|
var import_ora = __toESM(require_ora());
|
|
42276
42276
|
|
|
42277
42277
|
// ../../cli/plugin-i18n/dist/esm-node/index.js
|
|
@@ -42412,7 +42412,7 @@ function cleanCacheAction() {
|
|
|
42412
42412
|
// src/createAction.ts
|
|
42413
42413
|
var import_path10 = __toESM(require("path"));
|
|
42414
42414
|
|
|
42415
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42415
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/logger/constants.js
|
|
42416
42416
|
var LoggerLevel;
|
|
42417
42417
|
(function(LoggerLevel2) {
|
|
42418
42418
|
LoggerLevel2["Error"] = "error";
|
|
@@ -42424,10 +42424,10 @@ var LoggerLevel;
|
|
|
42424
42424
|
LoggerLevel2["Timing"] = "timing";
|
|
42425
42425
|
})(LoggerLevel || (LoggerLevel = {}));
|
|
42426
42426
|
|
|
42427
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
42427
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/chalk.js
|
|
42428
42428
|
var import_chalk = __toESM(require_source());
|
|
42429
42429
|
|
|
42430
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42430
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/logger/index.js
|
|
42431
42431
|
var import_debug = __toESM(require_src());
|
|
42432
42432
|
var Logger = class {
|
|
42433
42433
|
info(...meta) {
|
|
@@ -42485,23 +42485,23 @@ var Logger = class {
|
|
|
42485
42485
|
}
|
|
42486
42486
|
};
|
|
42487
42487
|
|
|
42488
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42488
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/codesmith/index.js
|
|
42489
42489
|
var import_path8 = __toESM(require("path"));
|
|
42490
42490
|
|
|
42491
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42491
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/generator/index.js
|
|
42492
42492
|
var import_events2 = require("events");
|
|
42493
42493
|
var import_path6 = __toESM(require("path"));
|
|
42494
42494
|
|
|
42495
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42495
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsMaterial.js
|
|
42496
42496
|
var import_path3 = __toESM(require("path"));
|
|
42497
42497
|
|
|
42498
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
42498
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/glob.js
|
|
42499
42499
|
var import_glob = __toESM(require_glob());
|
|
42500
42500
|
|
|
42501
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42501
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
|
|
42502
42502
|
var import_path2 = __toESM(require("path"));
|
|
42503
42503
|
|
|
42504
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42504
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/constants.js
|
|
42505
42505
|
var IMAGE_EXT_LIST = [
|
|
42506
42506
|
".jpg",
|
|
42507
42507
|
".jpeg",
|
|
@@ -42515,7 +42515,7 @@ var IMAGE_EXT_LIST = [
|
|
|
42515
42515
|
".wmf"
|
|
42516
42516
|
];
|
|
42517
42517
|
|
|
42518
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42518
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsResource.js
|
|
42519
42519
|
var FS_RESOURCE = "_codesmith_core_fs_resource";
|
|
42520
42520
|
var FsResource = class {
|
|
42521
42521
|
value() {
|
|
@@ -42540,7 +42540,7 @@ var FsResource = class {
|
|
|
42540
42540
|
}
|
|
42541
42541
|
};
|
|
42542
42542
|
|
|
42543
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42543
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/FsMaterial.js
|
|
42544
42544
|
var promisifyGlob = (pattern, options) => new Promise((resolve, reject) => {
|
|
42545
42545
|
(0, import_glob.default)(pattern, options, (err, files) => err === null ? resolve(files) : reject(err));
|
|
42546
42546
|
});
|
|
@@ -42567,7 +42567,7 @@ var FsMaterial = class {
|
|
|
42567
42567
|
}
|
|
42568
42568
|
};
|
|
42569
42569
|
|
|
42570
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42570
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/fsExists.js
|
|
42571
42571
|
function fsExists(path11) {
|
|
42572
42572
|
return __async(this, null, function* () {
|
|
42573
42573
|
try {
|
|
@@ -42579,7 +42579,7 @@ function fsExists(path11) {
|
|
|
42579
42579
|
});
|
|
42580
42580
|
}
|
|
42581
42581
|
|
|
42582
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42582
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/nodeRequire.js
|
|
42583
42583
|
var nodeRequire = (path11) => {
|
|
42584
42584
|
try {
|
|
42585
42585
|
const module2 = __non_webpack_require__(path11);
|
|
@@ -42596,13 +42596,13 @@ var nodeRequire = (path11) => {
|
|
|
42596
42596
|
}
|
|
42597
42597
|
};
|
|
42598
42598
|
|
|
42599
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42599
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/packageManager.js
|
|
42600
42600
|
var import_path4 = __toESM(require("path"));
|
|
42601
42601
|
|
|
42602
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
42602
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/execa.js
|
|
42603
42603
|
var import_execa = __toESM(require_execa());
|
|
42604
42604
|
|
|
42605
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42605
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/packageManager.js
|
|
42606
42606
|
function canUseYarn() {
|
|
42607
42607
|
return __async(this, null, function* () {
|
|
42608
42608
|
try {
|
|
@@ -42686,7 +42686,7 @@ function runInstall(targetDir, registryUrl, logger) {
|
|
|
42686
42686
|
});
|
|
42687
42687
|
}
|
|
42688
42688
|
|
|
42689
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42689
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/timeoutPromise.js
|
|
42690
42690
|
function timeoutPromise(promise, ms, reason = "Operation") {
|
|
42691
42691
|
return __async(this, null, function* () {
|
|
42692
42692
|
let timeoutId = null;
|
|
@@ -42710,24 +42710,24 @@ function timeoutPromise(promise, ms, reason = "Operation") {
|
|
|
42710
42710
|
});
|
|
42711
42711
|
}
|
|
42712
42712
|
|
|
42713
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42713
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
|
|
42714
42714
|
var import_os2 = __toESM(require("os"));
|
|
42715
42715
|
|
|
42716
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
42716
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/constants.js
|
|
42717
42717
|
var NPM_API_TIMEOUT = 3e4;
|
|
42718
42718
|
var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
42719
42719
|
|
|
42720
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.
|
|
42720
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.7/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
42721
42721
|
var import_semver = __toESM(require_semver2());
|
|
42722
42722
|
|
|
42723
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
42723
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
|
|
42724
42724
|
function bind(fn, thisArg) {
|
|
42725
42725
|
return function wrap() {
|
|
42726
42726
|
return fn.apply(thisArg, arguments);
|
|
42727
42727
|
};
|
|
42728
42728
|
}
|
|
42729
42729
|
|
|
42730
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
42730
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
42731
42731
|
var { toString } = Object.prototype;
|
|
42732
42732
|
var { getPrototypeOf } = Object;
|
|
42733
42733
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -43095,7 +43095,7 @@ var utils_default = {
|
|
|
43095
43095
|
asap
|
|
43096
43096
|
};
|
|
43097
43097
|
|
|
43098
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43098
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
|
|
43099
43099
|
function AxiosError(message, code, config, request, response) {
|
|
43100
43100
|
Error.call(this);
|
|
43101
43101
|
if (Error.captureStackTrace) {
|
|
@@ -43170,11 +43170,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
43170
43170
|
};
|
|
43171
43171
|
var AxiosError_default = AxiosError;
|
|
43172
43172
|
|
|
43173
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43173
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
43174
43174
|
var import_form_data = __toESM(require_form_data());
|
|
43175
43175
|
var FormData_default = import_form_data.default;
|
|
43176
43176
|
|
|
43177
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43177
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
|
|
43178
43178
|
function isVisitable(thing) {
|
|
43179
43179
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
43180
43180
|
}
|
|
@@ -43289,7 +43289,7 @@ function toFormData(obj, formData, options) {
|
|
|
43289
43289
|
}
|
|
43290
43290
|
var toFormData_default = toFormData;
|
|
43291
43291
|
|
|
43292
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43292
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
43293
43293
|
function encode(str) {
|
|
43294
43294
|
const charMap = {
|
|
43295
43295
|
"!": "%21",
|
|
@@ -43322,7 +43322,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
43322
43322
|
};
|
|
43323
43323
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
43324
43324
|
|
|
43325
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43325
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
|
|
43326
43326
|
function encode2(val) {
|
|
43327
43327
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
43328
43328
|
}
|
|
@@ -43353,7 +43353,7 @@ function buildURL(url2, params, options) {
|
|
|
43353
43353
|
return url2;
|
|
43354
43354
|
}
|
|
43355
43355
|
|
|
43356
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43356
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
43357
43357
|
var InterceptorManager = class {
|
|
43358
43358
|
constructor() {
|
|
43359
43359
|
this.handlers = [];
|
|
@@ -43417,21 +43417,21 @@ var InterceptorManager = class {
|
|
|
43417
43417
|
};
|
|
43418
43418
|
var InterceptorManager_default = InterceptorManager;
|
|
43419
43419
|
|
|
43420
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43420
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
|
|
43421
43421
|
var transitional_default = {
|
|
43422
43422
|
silentJSONParsing: true,
|
|
43423
43423
|
forcedJSONParsing: true,
|
|
43424
43424
|
clarifyTimeoutError: false
|
|
43425
43425
|
};
|
|
43426
43426
|
|
|
43427
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43427
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
43428
43428
|
var import_crypto = __toESM(require("crypto"));
|
|
43429
43429
|
|
|
43430
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43430
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
43431
43431
|
var import_url = __toESM(require("url"));
|
|
43432
43432
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
43433
43433
|
|
|
43434
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43434
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
43435
43435
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
43436
43436
|
var DIGIT = "0123456789";
|
|
43437
43437
|
var ALPHABET = {
|
|
@@ -43461,7 +43461,7 @@ var node_default = {
|
|
|
43461
43461
|
protocols: ["http", "https", "file", "data"]
|
|
43462
43462
|
};
|
|
43463
43463
|
|
|
43464
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43464
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
|
|
43465
43465
|
var utils_exports = {};
|
|
43466
43466
|
__export(utils_exports, {
|
|
43467
43467
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -43479,10 +43479,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
43479
43479
|
})();
|
|
43480
43480
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
43481
43481
|
|
|
43482
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43482
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/platform/index.js
|
|
43483
43483
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
43484
43484
|
|
|
43485
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43485
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
43486
43486
|
function toURLEncodedForm(data, options) {
|
|
43487
43487
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
43488
43488
|
visitor: function(value, key, path11, helpers) {
|
|
@@ -43495,7 +43495,7 @@ function toURLEncodedForm(data, options) {
|
|
|
43495
43495
|
}, options));
|
|
43496
43496
|
}
|
|
43497
43497
|
|
|
43498
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43498
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
43499
43499
|
function parsePropPath(name) {
|
|
43500
43500
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
43501
43501
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -43549,7 +43549,7 @@ function formDataToJSON(formData) {
|
|
|
43549
43549
|
}
|
|
43550
43550
|
var formDataToJSON_default = formDataToJSON;
|
|
43551
43551
|
|
|
43552
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43552
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/defaults/index.js
|
|
43553
43553
|
function stringifySafely(rawValue, parser, encoder) {
|
|
43554
43554
|
if (utils_default.isString(rawValue)) {
|
|
43555
43555
|
try {
|
|
@@ -43658,7 +43658,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
43658
43658
|
});
|
|
43659
43659
|
var defaults_default = defaults;
|
|
43660
43660
|
|
|
43661
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43661
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
43662
43662
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
43663
43663
|
"age",
|
|
43664
43664
|
"authorization",
|
|
@@ -43703,7 +43703,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
43703
43703
|
return parsed;
|
|
43704
43704
|
};
|
|
43705
43705
|
|
|
43706
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43706
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
43707
43707
|
var $internals = Symbol("internals");
|
|
43708
43708
|
function normalizeHeader(header) {
|
|
43709
43709
|
return header && String(header).trim().toLowerCase();
|
|
@@ -43925,7 +43925,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
43925
43925
|
utils_default.freezeMethods(AxiosHeaders);
|
|
43926
43926
|
var AxiosHeaders_default = AxiosHeaders;
|
|
43927
43927
|
|
|
43928
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43928
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/transformData.js
|
|
43929
43929
|
function transformData(fns, response) {
|
|
43930
43930
|
const config = this || defaults_default;
|
|
43931
43931
|
const context = response || config;
|
|
@@ -43938,12 +43938,12 @@ function transformData(fns, response) {
|
|
|
43938
43938
|
return data;
|
|
43939
43939
|
}
|
|
43940
43940
|
|
|
43941
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43941
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
|
|
43942
43942
|
function isCancel(value) {
|
|
43943
43943
|
return !!(value && value.__CANCEL__);
|
|
43944
43944
|
}
|
|
43945
43945
|
|
|
43946
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43946
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
43947
43947
|
function CanceledError(message, config, request) {
|
|
43948
43948
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
43949
43949
|
this.name = "CanceledError";
|
|
@@ -43953,7 +43953,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
43953
43953
|
});
|
|
43954
43954
|
var CanceledError_default = CanceledError;
|
|
43955
43955
|
|
|
43956
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43956
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/settle.js
|
|
43957
43957
|
function settle(resolve, reject, response) {
|
|
43958
43958
|
const validateStatus2 = response.config.validateStatus;
|
|
43959
43959
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -43969,17 +43969,17 @@ function settle(resolve, reject, response) {
|
|
|
43969
43969
|
}
|
|
43970
43970
|
}
|
|
43971
43971
|
|
|
43972
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43972
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
43973
43973
|
function isAbsoluteURL(url2) {
|
|
43974
43974
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
43975
43975
|
}
|
|
43976
43976
|
|
|
43977
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43977
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
43978
43978
|
function combineURLs(baseURL, relativeURL) {
|
|
43979
43979
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
43980
43980
|
}
|
|
43981
43981
|
|
|
43982
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43982
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
|
|
43983
43983
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
43984
43984
|
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
43985
43985
|
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
|
@@ -43988,7 +43988,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
43988
43988
|
return requestedURL;
|
|
43989
43989
|
}
|
|
43990
43990
|
|
|
43991
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
43991
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
43992
43992
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
43993
43993
|
var import_http = __toESM(require("http"));
|
|
43994
43994
|
var import_https = __toESM(require("https"));
|
|
@@ -43996,16 +43996,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
43996
43996
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
43997
43997
|
var import_zlib = __toESM(require("zlib"));
|
|
43998
43998
|
|
|
43999
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44000
|
-
var VERSION = "1.8.
|
|
43999
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/env/data.js
|
|
44000
|
+
var VERSION = "1.8.3";
|
|
44001
44001
|
|
|
44002
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44002
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
44003
44003
|
function parseProtocol(url2) {
|
|
44004
44004
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
44005
44005
|
return match && match[1] || "";
|
|
44006
44006
|
}
|
|
44007
44007
|
|
|
44008
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44008
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
44009
44009
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
44010
44010
|
function fromDataURI(uri, asBlob, options) {
|
|
44011
44011
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -44034,10 +44034,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
44034
44034
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
44035
44035
|
}
|
|
44036
44036
|
|
|
44037
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44037
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
44038
44038
|
var import_stream4 = __toESM(require("stream"));
|
|
44039
44039
|
|
|
44040
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44040
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
44041
44041
|
var import_stream = __toESM(require("stream"));
|
|
44042
44042
|
var kInternals = Symbol("internals");
|
|
44043
44043
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -44152,14 +44152,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
44152
44152
|
};
|
|
44153
44153
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
44154
44154
|
|
|
44155
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44155
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
44156
44156
|
var import_events = require("events");
|
|
44157
44157
|
|
|
44158
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44158
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
44159
44159
|
var import_util = __toESM(require("util"));
|
|
44160
44160
|
var import_stream2 = require("stream");
|
|
44161
44161
|
|
|
44162
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44162
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
|
|
44163
44163
|
var { asyncIterator } = Symbol;
|
|
44164
44164
|
var readBlob = function(blob) {
|
|
44165
44165
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -44176,7 +44176,7 @@ var readBlob = function(blob) {
|
|
|
44176
44176
|
};
|
|
44177
44177
|
var readBlob_default = readBlob;
|
|
44178
44178
|
|
|
44179
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44179
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
44180
44180
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
44181
44181
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
44182
44182
|
var CRLF = "\r\n";
|
|
@@ -44259,7 +44259,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
44259
44259
|
};
|
|
44260
44260
|
var formDataToStream_default = formDataToStream;
|
|
44261
44261
|
|
|
44262
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44262
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
44263
44263
|
var import_stream3 = __toESM(require("stream"));
|
|
44264
44264
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
44265
44265
|
__transform(chunk, encoding, callback) {
|
|
@@ -44281,7 +44281,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
44281
44281
|
};
|
|
44282
44282
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
44283
44283
|
|
|
44284
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44284
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
|
|
44285
44285
|
var callbackify = (fn, reducer) => {
|
|
44286
44286
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
44287
44287
|
const cb = args.pop();
|
|
@@ -44296,7 +44296,7 @@ var callbackify = (fn, reducer) => {
|
|
|
44296
44296
|
};
|
|
44297
44297
|
var callbackify_default = callbackify;
|
|
44298
44298
|
|
|
44299
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44299
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
|
|
44300
44300
|
function speedometer(samplesCount, min) {
|
|
44301
44301
|
samplesCount = samplesCount || 10;
|
|
44302
44302
|
const bytes = new Array(samplesCount);
|
|
@@ -44332,7 +44332,7 @@ function speedometer(samplesCount, min) {
|
|
|
44332
44332
|
}
|
|
44333
44333
|
var speedometer_default = speedometer;
|
|
44334
44334
|
|
|
44335
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44335
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
|
|
44336
44336
|
function throttle(fn, freq) {
|
|
44337
44337
|
let timestamp = 0;
|
|
44338
44338
|
let threshold = 1e3 / freq;
|
|
@@ -44367,7 +44367,7 @@ function throttle(fn, freq) {
|
|
|
44367
44367
|
}
|
|
44368
44368
|
var throttle_default = throttle;
|
|
44369
44369
|
|
|
44370
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44370
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
44371
44371
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
44372
44372
|
let bytesNotified = 0;
|
|
44373
44373
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -44402,7 +44402,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
44402
44402
|
};
|
|
44403
44403
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
44404
44404
|
|
|
44405
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44405
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
44406
44406
|
var zlibOptions = {
|
|
44407
44407
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
44408
44408
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -44908,7 +44908,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
44908
44908
|
});
|
|
44909
44909
|
};
|
|
44910
44910
|
|
|
44911
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44911
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
44912
44912
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
44913
44913
|
url2 = new URL(url2, platform_default.origin);
|
|
44914
44914
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -44917,7 +44917,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
|
|
|
44917
44917
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
44918
44918
|
) : () => true;
|
|
44919
44919
|
|
|
44920
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44920
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
|
|
44921
44921
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
44922
44922
|
// Standard browser envs support document.cookie
|
|
44923
44923
|
{
|
|
@@ -44950,7 +44950,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
44950
44950
|
}
|
|
44951
44951
|
);
|
|
44952
44952
|
|
|
44953
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
44953
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
|
|
44954
44954
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
44955
44955
|
function mergeConfig(config1, config2) {
|
|
44956
44956
|
config2 = config2 || {};
|
|
@@ -45030,12 +45030,12 @@ function mergeConfig(config1, config2) {
|
|
|
45030
45030
|
return config;
|
|
45031
45031
|
}
|
|
45032
45032
|
|
|
45033
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45033
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
|
|
45034
45034
|
var resolveConfig_default = (config) => {
|
|
45035
45035
|
const newConfig = mergeConfig({}, config);
|
|
45036
45036
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
45037
45037
|
newConfig.headers = headers = AxiosHeaders_default.from(headers);
|
|
45038
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
45038
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
45039
45039
|
if (auth) {
|
|
45040
45040
|
headers.set(
|
|
45041
45041
|
"Authorization",
|
|
@@ -45063,7 +45063,7 @@ var resolveConfig_default = (config) => {
|
|
|
45063
45063
|
return newConfig;
|
|
45064
45064
|
};
|
|
45065
45065
|
|
|
45066
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45066
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
|
|
45067
45067
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
45068
45068
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
45069
45069
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -45190,7 +45190,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
45190
45190
|
});
|
|
45191
45191
|
};
|
|
45192
45192
|
|
|
45193
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45193
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
|
|
45194
45194
|
var composeSignals = (signals, timeout) => {
|
|
45195
45195
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
45196
45196
|
if (timeout || length) {
|
|
@@ -45226,7 +45226,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
45226
45226
|
};
|
|
45227
45227
|
var composeSignals_default = composeSignals;
|
|
45228
45228
|
|
|
45229
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45229
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
|
|
45230
45230
|
var streamChunk = function* (chunk, chunkSize) {
|
|
45231
45231
|
let len = chunk.byteLength;
|
|
45232
45232
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -45321,7 +45321,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
45321
45321
|
});
|
|
45322
45322
|
};
|
|
45323
45323
|
|
|
45324
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45324
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
|
|
45325
45325
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
45326
45326
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
45327
45327
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -45486,7 +45486,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
45486
45486
|
}
|
|
45487
45487
|
}));
|
|
45488
45488
|
|
|
45489
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45489
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
|
|
45490
45490
|
var knownAdapters = {
|
|
45491
45491
|
http: http_default,
|
|
45492
45492
|
xhr: xhr_default,
|
|
@@ -45540,7 +45540,7 @@ var adapters_default = {
|
|
|
45540
45540
|
adapters: knownAdapters
|
|
45541
45541
|
};
|
|
45542
45542
|
|
|
45543
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45543
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
45544
45544
|
function throwIfCancellationRequested(config) {
|
|
45545
45545
|
if (config.cancelToken) {
|
|
45546
45546
|
config.cancelToken.throwIfRequested();
|
|
@@ -45585,7 +45585,7 @@ function dispatchRequest(config) {
|
|
|
45585
45585
|
});
|
|
45586
45586
|
}
|
|
45587
45587
|
|
|
45588
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45588
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
|
|
45589
45589
|
var validators = {};
|
|
45590
45590
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
45591
45591
|
validators[type] = function validator(thing) {
|
|
@@ -45649,7 +45649,7 @@ var validator_default = {
|
|
|
45649
45649
|
validators
|
|
45650
45650
|
};
|
|
45651
45651
|
|
|
45652
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45652
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/core/Axios.js
|
|
45653
45653
|
var validators2 = validator_default.validators;
|
|
45654
45654
|
var Axios = class {
|
|
45655
45655
|
constructor(instanceConfig) {
|
|
@@ -45824,7 +45824,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
45824
45824
|
});
|
|
45825
45825
|
var Axios_default = Axios;
|
|
45826
45826
|
|
|
45827
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45827
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
45828
45828
|
var CancelToken = class _CancelToken {
|
|
45829
45829
|
constructor(executor) {
|
|
45830
45830
|
if (typeof executor !== "function") {
|
|
@@ -45923,19 +45923,19 @@ var CancelToken = class _CancelToken {
|
|
|
45923
45923
|
};
|
|
45924
45924
|
var CancelToken_default = CancelToken;
|
|
45925
45925
|
|
|
45926
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45926
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
|
|
45927
45927
|
function spread(callback) {
|
|
45928
45928
|
return function wrap(arr) {
|
|
45929
45929
|
return callback.apply(null, arr);
|
|
45930
45930
|
};
|
|
45931
45931
|
}
|
|
45932
45932
|
|
|
45933
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45933
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
45934
45934
|
function isAxiosError(payload) {
|
|
45935
45935
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
45936
45936
|
}
|
|
45937
45937
|
|
|
45938
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
45938
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
45939
45939
|
var HttpStatusCode = {
|
|
45940
45940
|
Continue: 100,
|
|
45941
45941
|
SwitchingProtocols: 101,
|
|
@@ -46006,7 +46006,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
46006
46006
|
});
|
|
46007
46007
|
var HttpStatusCode_default = HttpStatusCode;
|
|
46008
46008
|
|
|
46009
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
46009
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
46010
46010
|
function createInstance(defaultConfig) {
|
|
46011
46011
|
const context = new Axios_default(defaultConfig);
|
|
46012
46012
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -46039,7 +46039,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
46039
46039
|
axios.default = axios;
|
|
46040
46040
|
var axios_default = axios;
|
|
46041
46041
|
|
|
46042
|
-
// ../../../node_modules/.pnpm/axios@1.8.
|
|
46042
|
+
// ../../../node_modules/.pnpm/axios@1.8.3_debug@4.3.7/node_modules/axios/index.js
|
|
46043
46043
|
var {
|
|
46044
46044
|
Axios: Axios2,
|
|
46045
46045
|
AxiosError: AxiosError2,
|
|
@@ -46059,10 +46059,10 @@ var {
|
|
|
46059
46059
|
mergeConfig: mergeConfig2
|
|
46060
46060
|
} = axios_default;
|
|
46061
46061
|
|
|
46062
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46062
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
|
|
46063
46063
|
var import_tar = __toESM(require_tar());
|
|
46064
46064
|
|
|
46065
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46065
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmRegistry.js
|
|
46066
46066
|
function getNpmRegistry() {
|
|
46067
46067
|
return __async(this, null, function* () {
|
|
46068
46068
|
const { stdout } = yield (0, import_execa.default)("npm", [
|
|
@@ -46074,7 +46074,7 @@ function getNpmRegistry() {
|
|
|
46074
46074
|
});
|
|
46075
46075
|
}
|
|
46076
46076
|
|
|
46077
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46077
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmPackageInfo.js
|
|
46078
46078
|
var NpmPackageInfoCache = /* @__PURE__ */ new Map();
|
|
46079
46079
|
function getNpmPackageInfoWithCommand(pkgName, pkgVersion, options) {
|
|
46080
46080
|
return __async(this, null, function* () {
|
|
@@ -46125,7 +46125,7 @@ function getNpmPackageInfo(pkgName, pkgVersion, options) {
|
|
|
46125
46125
|
});
|
|
46126
46126
|
}
|
|
46127
46127
|
|
|
46128
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46128
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmTarballUrl.js
|
|
46129
46129
|
function getNpmTarballUrl(pkgName, pkgVersion, options) {
|
|
46130
46130
|
return __async(this, null, function* () {
|
|
46131
46131
|
const packageInfo = yield getNpmPackageInfo(pkgName, pkgVersion, options);
|
|
@@ -46133,7 +46133,7 @@ function getNpmTarballUrl(pkgName, pkgVersion, options) {
|
|
|
46133
46133
|
});
|
|
46134
46134
|
}
|
|
46135
46135
|
|
|
46136
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46136
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getNpmVersion.js
|
|
46137
46137
|
function getNpmVersion(packageName, options) {
|
|
46138
46138
|
return __async(this, null, function* () {
|
|
46139
46139
|
const { version: version2 = "latest" } = options || {};
|
|
@@ -46142,7 +46142,7 @@ function getNpmVersion(packageName, options) {
|
|
|
46142
46142
|
});
|
|
46143
46143
|
}
|
|
46144
46144
|
|
|
46145
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46145
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/downloadPackage.js
|
|
46146
46146
|
var GeneratorVersionMap = /* @__PURE__ */ new Map();
|
|
46147
46147
|
function getGeneratorVersion(_0) {
|
|
46148
46148
|
return __async(this, arguments, function* (pkgName, pkgVersion = "latest", options = {}) {
|
|
@@ -46178,7 +46178,7 @@ function getGeneratorVersion(_0) {
|
|
|
46178
46178
|
}
|
|
46179
46179
|
function isValidCache(cacheDir, pkgName) {
|
|
46180
46180
|
return __async(this, null, function* () {
|
|
46181
|
-
if (yield fsExists(`${cacheDir}/.codesmith.completed`)) {
|
|
46181
|
+
if ((yield fsExists(`${cacheDir}/.codesmith.completed`)) && (yield fsExists(`${cacheDir}/package.json`))) {
|
|
46182
46182
|
if (pkgName === "@modern-js/codesmith-global") {
|
|
46183
46183
|
return true;
|
|
46184
46184
|
}
|
|
@@ -46278,7 +46278,7 @@ function downloadPackage(_0) {
|
|
|
46278
46278
|
});
|
|
46279
46279
|
}
|
|
46280
46280
|
|
|
46281
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46281
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getPackageInfo.js
|
|
46282
46282
|
function getPackageInfo(packageName) {
|
|
46283
46283
|
if (!packageName) {
|
|
46284
46284
|
throw new Error("package is not exisit");
|
|
@@ -46302,7 +46302,7 @@ function getPackageInfo(packageName) {
|
|
|
46302
46302
|
};
|
|
46303
46303
|
}
|
|
46304
46304
|
|
|
46305
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46305
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/utils/getGeneratorDir.js
|
|
46306
46306
|
var import_path5 = __toESM(require("path"));
|
|
46307
46307
|
var MaxTimes = 5;
|
|
46308
46308
|
function getGeneratorDir(generator) {
|
|
@@ -46324,7 +46324,7 @@ function getGeneratorDir(generator) {
|
|
|
46324
46324
|
});
|
|
46325
46325
|
}
|
|
46326
46326
|
|
|
46327
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46327
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/generator/index.js
|
|
46328
46328
|
var GeneratorCore = class {
|
|
46329
46329
|
get lifeCycleMethod() {
|
|
46330
46330
|
return {
|
|
@@ -46540,7 +46540,7 @@ check path: ${import_chalk.default.blue.underline(generator)} exist a package.js
|
|
|
46540
46540
|
}
|
|
46541
46541
|
};
|
|
46542
46542
|
|
|
46543
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46543
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/materials/index.js
|
|
46544
46544
|
var import_path7 = __toESM(require("path"));
|
|
46545
46545
|
var MaterialsManager = class {
|
|
46546
46546
|
loadLocalGenerator(generator) {
|
|
@@ -46606,7 +46606,7 @@ var MaterialsManager = class {
|
|
|
46606
46606
|
}
|
|
46607
46607
|
};
|
|
46608
46608
|
|
|
46609
|
-
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.
|
|
46609
|
+
// ../../../node_modules/.pnpm/@modern-js+codesmith@2.6.7/node_modules/@modern-js/codesmith/dist/esm-node/codesmith/index.js
|
|
46610
46610
|
var CodeSmith = class {
|
|
46611
46611
|
forge(_0) {
|
|
46612
46612
|
return __async(this, arguments, function* ({ tasks, pwd }) {
|
|
@@ -46666,7 +46666,7 @@ var CodeSmith = class {
|
|
|
46666
46666
|
};
|
|
46667
46667
|
|
|
46668
46668
|
// package.json
|
|
46669
|
-
var version = "2.65.
|
|
46669
|
+
var version = "2.65.5";
|
|
46670
46670
|
|
|
46671
46671
|
// src/utils/index.ts
|
|
46672
46672
|
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.65.
|
|
18
|
+
"version": "2.65.5",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/index.js",
|
|
@@ -37,23 +37,22 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@modern-js/codesmith": "2.6.
|
|
41
|
-
"@modern-js/codesmith-utils": "2.6.
|
|
40
|
+
"@modern-js/codesmith": "2.6.7",
|
|
41
|
+
"@modern-js/codesmith-utils": "2.6.7",
|
|
42
42
|
"@types/jest": "^29",
|
|
43
43
|
"@types/node": "^14",
|
|
44
44
|
"commander": "10.0.1",
|
|
45
45
|
"jest": "^29",
|
|
46
46
|
"ts-node": "^10.9.1",
|
|
47
47
|
"typescript": "^5",
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
48
|
+
"@scripts/jest-config": "2.65.5",
|
|
49
|
+
"@scripts/build": "2.65.5",
|
|
50
|
+
"@modern-js/plugin-i18n": "2.65.5",
|
|
51
|
+
"@modern-js/mwa-generator": "3.7.23"
|
|
52
52
|
},
|
|
53
53
|
"publishConfig": {
|
|
54
54
|
"registry": "https://registry.npmjs.org/",
|
|
55
|
-
"access": "public"
|
|
56
|
-
"provenance": true
|
|
55
|
+
"access": "public"
|
|
57
56
|
},
|
|
58
57
|
"scripts": {
|
|
59
58
|
"new": "modern-lib new",
|