@modern-js/upgrade-generator 3.7.8 → 3.7.9
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 +60 -60
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -75234,14 +75234,14 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
|
75234
75234
|
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
75235
75235
|
var import_semver = __toESM(require_semver2());
|
|
75236
75236
|
|
|
75237
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75237
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
|
|
75238
75238
|
function bind(fn, thisArg) {
|
|
75239
75239
|
return function wrap() {
|
|
75240
75240
|
return fn.apply(thisArg, arguments);
|
|
75241
75241
|
};
|
|
75242
75242
|
}
|
|
75243
75243
|
|
|
75244
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75244
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
75245
75245
|
var { toString } = Object.prototype;
|
|
75246
75246
|
var { getPrototypeOf } = Object;
|
|
75247
75247
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -75626,7 +75626,7 @@ var utils_default = {
|
|
|
75626
75626
|
asap
|
|
75627
75627
|
};
|
|
75628
75628
|
|
|
75629
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75629
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
|
|
75630
75630
|
function AxiosError(message, code, config, request, response) {
|
|
75631
75631
|
Error.call(this);
|
|
75632
75632
|
if (Error.captureStackTrace) {
|
|
@@ -75701,11 +75701,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
75701
75701
|
};
|
|
75702
75702
|
var AxiosError_default = AxiosError;
|
|
75703
75703
|
|
|
75704
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75704
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
|
|
75705
75705
|
var import_form_data = __toESM(require_form_data());
|
|
75706
75706
|
var FormData_default = import_form_data.default;
|
|
75707
75707
|
|
|
75708
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75708
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
|
|
75709
75709
|
function isVisitable(thing) {
|
|
75710
75710
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
75711
75711
|
}
|
|
@@ -75820,7 +75820,7 @@ function toFormData(obj, formData, options) {
|
|
|
75820
75820
|
}
|
|
75821
75821
|
var toFormData_default = toFormData;
|
|
75822
75822
|
|
|
75823
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75823
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
75824
75824
|
function encode(str) {
|
|
75825
75825
|
const charMap = {
|
|
75826
75826
|
"!": "%21",
|
|
@@ -75853,7 +75853,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
75853
75853
|
};
|
|
75854
75854
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
75855
75855
|
|
|
75856
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75856
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
|
|
75857
75857
|
function encode2(val) {
|
|
75858
75858
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
75859
75859
|
}
|
|
@@ -75884,7 +75884,7 @@ function buildURL(url2, params, options) {
|
|
|
75884
75884
|
return url2;
|
|
75885
75885
|
}
|
|
75886
75886
|
|
|
75887
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75887
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
75888
75888
|
var InterceptorManager = class {
|
|
75889
75889
|
constructor() {
|
|
75890
75890
|
this.handlers = [];
|
|
@@ -75948,18 +75948,18 @@ var InterceptorManager = class {
|
|
|
75948
75948
|
};
|
|
75949
75949
|
var InterceptorManager_default = InterceptorManager;
|
|
75950
75950
|
|
|
75951
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75951
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
|
|
75952
75952
|
var transitional_default = {
|
|
75953
75953
|
silentJSONParsing: true,
|
|
75954
75954
|
forcedJSONParsing: true,
|
|
75955
75955
|
clarifyTimeoutError: false
|
|
75956
75956
|
};
|
|
75957
75957
|
|
|
75958
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75958
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
75959
75959
|
var import_url = __toESM(require("url"));
|
|
75960
75960
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
75961
75961
|
|
|
75962
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75962
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
75963
75963
|
var node_default = {
|
|
75964
75964
|
isNode: true,
|
|
75965
75965
|
classes: {
|
|
@@ -75970,7 +75970,7 @@ var node_default = {
|
|
|
75970
75970
|
protocols: ["http", "https", "file", "data"]
|
|
75971
75971
|
};
|
|
75972
75972
|
|
|
75973
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75973
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
|
|
75974
75974
|
var utils_exports = {};
|
|
75975
75975
|
__export(utils_exports, {
|
|
75976
75976
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -75988,10 +75988,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
75988
75988
|
})();
|
|
75989
75989
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
75990
75990
|
|
|
75991
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75991
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/platform/index.js
|
|
75992
75992
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
75993
75993
|
|
|
75994
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75994
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
75995
75995
|
function toURLEncodedForm(data, options) {
|
|
75996
75996
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
75997
75997
|
visitor: function(value, key, path5, helpers) {
|
|
@@ -76004,7 +76004,7 @@ function toURLEncodedForm(data, options) {
|
|
|
76004
76004
|
}, options));
|
|
76005
76005
|
}
|
|
76006
76006
|
|
|
76007
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76007
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
76008
76008
|
function parsePropPath(name) {
|
|
76009
76009
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
76010
76010
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -76058,7 +76058,7 @@ function formDataToJSON(formData) {
|
|
|
76058
76058
|
}
|
|
76059
76059
|
var formDataToJSON_default = formDataToJSON;
|
|
76060
76060
|
|
|
76061
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76061
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/defaults/index.js
|
|
76062
76062
|
function stringifySafely(rawValue, parser, encoder) {
|
|
76063
76063
|
if (utils_default.isString(rawValue)) {
|
|
76064
76064
|
try {
|
|
@@ -76167,7 +76167,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
76167
76167
|
});
|
|
76168
76168
|
var defaults_default = defaults;
|
|
76169
76169
|
|
|
76170
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76170
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
76171
76171
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
76172
76172
|
"age",
|
|
76173
76173
|
"authorization",
|
|
@@ -76212,7 +76212,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
76212
76212
|
return parsed;
|
|
76213
76213
|
};
|
|
76214
76214
|
|
|
76215
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76215
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
76216
76216
|
var $internals = Symbol("internals");
|
|
76217
76217
|
function normalizeHeader(header) {
|
|
76218
76218
|
return header && String(header).trim().toLowerCase();
|
|
@@ -76434,7 +76434,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
76434
76434
|
utils_default.freezeMethods(AxiosHeaders);
|
|
76435
76435
|
var AxiosHeaders_default = AxiosHeaders;
|
|
76436
76436
|
|
|
76437
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76437
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/transformData.js
|
|
76438
76438
|
function transformData(fns, response) {
|
|
76439
76439
|
const config = this || defaults_default;
|
|
76440
76440
|
const context = response || config;
|
|
@@ -76447,12 +76447,12 @@ function transformData(fns, response) {
|
|
|
76447
76447
|
return data;
|
|
76448
76448
|
}
|
|
76449
76449
|
|
|
76450
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76450
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
|
|
76451
76451
|
function isCancel(value) {
|
|
76452
76452
|
return !!(value && value.__CANCEL__);
|
|
76453
76453
|
}
|
|
76454
76454
|
|
|
76455
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76455
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
76456
76456
|
function CanceledError(message, config, request) {
|
|
76457
76457
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
76458
76458
|
this.name = "CanceledError";
|
|
@@ -76462,7 +76462,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
76462
76462
|
});
|
|
76463
76463
|
var CanceledError_default = CanceledError;
|
|
76464
76464
|
|
|
76465
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76465
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/settle.js
|
|
76466
76466
|
function settle(resolve, reject, response) {
|
|
76467
76467
|
const validateStatus2 = response.config.validateStatus;
|
|
76468
76468
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -76478,17 +76478,17 @@ function settle(resolve, reject, response) {
|
|
|
76478
76478
|
}
|
|
76479
76479
|
}
|
|
76480
76480
|
|
|
76481
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76481
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
76482
76482
|
function isAbsoluteURL(url2) {
|
|
76483
76483
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
76484
76484
|
}
|
|
76485
76485
|
|
|
76486
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76486
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
76487
76487
|
function combineURLs(baseURL, relativeURL) {
|
|
76488
76488
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
76489
76489
|
}
|
|
76490
76490
|
|
|
76491
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76491
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
|
|
76492
76492
|
function buildFullPath(baseURL, requestedURL) {
|
|
76493
76493
|
if (baseURL && !isAbsoluteURL(requestedURL)) {
|
|
76494
76494
|
return combineURLs(baseURL, requestedURL);
|
|
@@ -76496,7 +76496,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|
|
76496
76496
|
return requestedURL;
|
|
76497
76497
|
}
|
|
76498
76498
|
|
|
76499
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76499
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
76500
76500
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
76501
76501
|
var import_http = __toESM(require("http"));
|
|
76502
76502
|
var import_https = __toESM(require("https"));
|
|
@@ -76504,16 +76504,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
76504
76504
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
76505
76505
|
var import_zlib = __toESM(require("zlib"));
|
|
76506
76506
|
|
|
76507
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76508
|
-
var VERSION = "1.7.
|
|
76507
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/env/data.js
|
|
76508
|
+
var VERSION = "1.7.9";
|
|
76509
76509
|
|
|
76510
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76510
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
76511
76511
|
function parseProtocol(url2) {
|
|
76512
76512
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
76513
76513
|
return match && match[1] || "";
|
|
76514
76514
|
}
|
|
76515
76515
|
|
|
76516
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76516
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
76517
76517
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
76518
76518
|
function fromDataURI(uri, asBlob, options) {
|
|
76519
76519
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -76542,10 +76542,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
76542
76542
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
76543
76543
|
}
|
|
76544
76544
|
|
|
76545
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76545
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
76546
76546
|
var import_stream4 = __toESM(require("stream"));
|
|
76547
76547
|
|
|
76548
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76548
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
76549
76549
|
var import_stream = __toESM(require("stream"));
|
|
76550
76550
|
var kInternals = Symbol("internals");
|
|
76551
76551
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -76660,14 +76660,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
76660
76660
|
};
|
|
76661
76661
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
76662
76662
|
|
|
76663
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76663
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
76664
76664
|
var import_events = require("events");
|
|
76665
76665
|
|
|
76666
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76666
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
76667
76667
|
var import_util = __toESM(require("util"));
|
|
76668
76668
|
var import_stream2 = require("stream");
|
|
76669
76669
|
|
|
76670
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76670
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
|
|
76671
76671
|
var { asyncIterator } = Symbol;
|
|
76672
76672
|
var readBlob = function(blob) {
|
|
76673
76673
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -76684,7 +76684,7 @@ var readBlob = function(blob) {
|
|
|
76684
76684
|
};
|
|
76685
76685
|
var readBlob_default = readBlob;
|
|
76686
76686
|
|
|
76687
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76687
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
76688
76688
|
var BOUNDARY_ALPHABET = utils_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
76689
76689
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
76690
76690
|
var CRLF = "\r\n";
|
|
@@ -76767,7 +76767,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
76767
76767
|
};
|
|
76768
76768
|
var formDataToStream_default = formDataToStream;
|
|
76769
76769
|
|
|
76770
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76770
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
76771
76771
|
var import_stream3 = __toESM(require("stream"));
|
|
76772
76772
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
76773
76773
|
__transform(chunk, encoding, callback) {
|
|
@@ -76789,7 +76789,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
76789
76789
|
};
|
|
76790
76790
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
76791
76791
|
|
|
76792
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76792
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
|
|
76793
76793
|
var callbackify = (fn, reducer) => {
|
|
76794
76794
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
76795
76795
|
const cb = args.pop();
|
|
@@ -76804,7 +76804,7 @@ var callbackify = (fn, reducer) => {
|
|
|
76804
76804
|
};
|
|
76805
76805
|
var callbackify_default = callbackify;
|
|
76806
76806
|
|
|
76807
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76807
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
|
|
76808
76808
|
function speedometer(samplesCount, min) {
|
|
76809
76809
|
samplesCount = samplesCount || 10;
|
|
76810
76810
|
const bytes = new Array(samplesCount);
|
|
@@ -76840,7 +76840,7 @@ function speedometer(samplesCount, min) {
|
|
|
76840
76840
|
}
|
|
76841
76841
|
var speedometer_default = speedometer;
|
|
76842
76842
|
|
|
76843
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76843
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
|
|
76844
76844
|
function throttle(fn, freq) {
|
|
76845
76845
|
let timestamp = 0;
|
|
76846
76846
|
let threshold = 1e3 / freq;
|
|
@@ -76875,7 +76875,7 @@ function throttle(fn, freq) {
|
|
|
76875
76875
|
}
|
|
76876
76876
|
var throttle_default = throttle;
|
|
76877
76877
|
|
|
76878
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76878
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
76879
76879
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
76880
76880
|
let bytesNotified = 0;
|
|
76881
76881
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -76910,7 +76910,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
76910
76910
|
};
|
|
76911
76911
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
76912
76912
|
|
|
76913
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76913
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
76914
76914
|
var zlibOptions = {
|
|
76915
76915
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
76916
76916
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -77416,7 +77416,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
77416
77416
|
});
|
|
77417
77417
|
};
|
|
77418
77418
|
|
|
77419
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77419
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
77420
77420
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
77421
77421
|
url2 = new URL(url2, platform_default.origin);
|
|
77422
77422
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -77425,7 +77425,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
|
|
|
77425
77425
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
77426
77426
|
) : () => true;
|
|
77427
77427
|
|
|
77428
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77428
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
|
|
77429
77429
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
77430
77430
|
// Standard browser envs support document.cookie
|
|
77431
77431
|
{
|
|
@@ -77458,7 +77458,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
77458
77458
|
}
|
|
77459
77459
|
);
|
|
77460
77460
|
|
|
77461
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77461
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
|
|
77462
77462
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
77463
77463
|
function mergeConfig(config1, config2) {
|
|
77464
77464
|
config2 = config2 || {};
|
|
@@ -77538,7 +77538,7 @@ function mergeConfig(config1, config2) {
|
|
|
77538
77538
|
return config;
|
|
77539
77539
|
}
|
|
77540
77540
|
|
|
77541
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77541
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
|
|
77542
77542
|
var resolveConfig_default = (config) => {
|
|
77543
77543
|
const newConfig = mergeConfig({}, config);
|
|
77544
77544
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -77571,7 +77571,7 @@ var resolveConfig_default = (config) => {
|
|
|
77571
77571
|
return newConfig;
|
|
77572
77572
|
};
|
|
77573
77573
|
|
|
77574
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77574
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
|
|
77575
77575
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
77576
77576
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
77577
77577
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -77698,7 +77698,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
77698
77698
|
});
|
|
77699
77699
|
};
|
|
77700
77700
|
|
|
77701
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77701
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
|
|
77702
77702
|
var composeSignals = (signals, timeout) => {
|
|
77703
77703
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
77704
77704
|
if (timeout || length) {
|
|
@@ -77734,7 +77734,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
77734
77734
|
};
|
|
77735
77735
|
var composeSignals_default = composeSignals;
|
|
77736
77736
|
|
|
77737
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77737
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
|
|
77738
77738
|
var streamChunk = function* (chunk, chunkSize) {
|
|
77739
77739
|
let len = chunk.byteLength;
|
|
77740
77740
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -77829,7 +77829,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
77829
77829
|
});
|
|
77830
77830
|
};
|
|
77831
77831
|
|
|
77832
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77832
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
|
|
77833
77833
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
77834
77834
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
77835
77835
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -77994,7 +77994,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
77994
77994
|
}
|
|
77995
77995
|
}));
|
|
77996
77996
|
|
|
77997
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77997
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
|
|
77998
77998
|
var knownAdapters = {
|
|
77999
77999
|
http: http_default,
|
|
78000
78000
|
xhr: xhr_default,
|
|
@@ -78048,7 +78048,7 @@ var adapters_default = {
|
|
|
78048
78048
|
adapters: knownAdapters
|
|
78049
78049
|
};
|
|
78050
78050
|
|
|
78051
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78051
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
78052
78052
|
function throwIfCancellationRequested(config) {
|
|
78053
78053
|
if (config.cancelToken) {
|
|
78054
78054
|
config.cancelToken.throwIfRequested();
|
|
@@ -78093,7 +78093,7 @@ function dispatchRequest(config) {
|
|
|
78093
78093
|
});
|
|
78094
78094
|
}
|
|
78095
78095
|
|
|
78096
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78096
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
|
|
78097
78097
|
var validators = {};
|
|
78098
78098
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
78099
78099
|
validators[type] = function validator(thing) {
|
|
@@ -78157,7 +78157,7 @@ var validator_default = {
|
|
|
78157
78157
|
validators
|
|
78158
78158
|
};
|
|
78159
78159
|
|
|
78160
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78160
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/Axios.js
|
|
78161
78161
|
var validators2 = validator_default.validators;
|
|
78162
78162
|
var Axios = class {
|
|
78163
78163
|
constructor(instanceConfig) {
|
|
@@ -78326,7 +78326,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
78326
78326
|
});
|
|
78327
78327
|
var Axios_default = Axios;
|
|
78328
78328
|
|
|
78329
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78329
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
78330
78330
|
var CancelToken = class _CancelToken {
|
|
78331
78331
|
constructor(executor) {
|
|
78332
78332
|
if (typeof executor !== "function") {
|
|
@@ -78425,19 +78425,19 @@ var CancelToken = class _CancelToken {
|
|
|
78425
78425
|
};
|
|
78426
78426
|
var CancelToken_default = CancelToken;
|
|
78427
78427
|
|
|
78428
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78428
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
|
|
78429
78429
|
function spread(callback) {
|
|
78430
78430
|
return function wrap(arr) {
|
|
78431
78431
|
return callback.apply(null, arr);
|
|
78432
78432
|
};
|
|
78433
78433
|
}
|
|
78434
78434
|
|
|
78435
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78435
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
78436
78436
|
function isAxiosError(payload) {
|
|
78437
78437
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
78438
78438
|
}
|
|
78439
78439
|
|
|
78440
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78440
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
78441
78441
|
var HttpStatusCode = {
|
|
78442
78442
|
Continue: 100,
|
|
78443
78443
|
SwitchingProtocols: 101,
|
|
@@ -78508,7 +78508,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
78508
78508
|
});
|
|
78509
78509
|
var HttpStatusCode_default = HttpStatusCode;
|
|
78510
78510
|
|
|
78511
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78511
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
78512
78512
|
function createInstance(defaultConfig) {
|
|
78513
78513
|
const context = new Axios_default(defaultConfig);
|
|
78514
78514
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -78541,7 +78541,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
78541
78541
|
axios.default = axios;
|
|
78542
78542
|
var axios_default = axios;
|
|
78543
78543
|
|
|
78544
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78544
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/index.js
|
|
78545
78545
|
var {
|
|
78546
78546
|
Axios: Axios2,
|
|
78547
78547
|
AxiosError: AxiosError2,
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.7.
|
|
18
|
+
"version": "3.7.9",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"main": "./dist/index.js",
|
|
21
21
|
"files": [
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@types/node": "^14",
|
|
32
32
|
"jest": "^29",
|
|
33
33
|
"typescript": "^5",
|
|
34
|
-
"@modern-js/generator-common": "3.7.
|
|
35
|
-
"@modern-js/
|
|
36
|
-
"@
|
|
37
|
-
"@scripts/jest-config": "2.63.
|
|
38
|
-
"@
|
|
34
|
+
"@modern-js/generator-common": "3.7.9",
|
|
35
|
+
"@modern-js/plugin-i18n": "2.63.3",
|
|
36
|
+
"@modern-js/generator-utils": "3.7.9",
|
|
37
|
+
"@scripts/jest-config": "2.63.3",
|
|
38
|
+
"@scripts/build": "2.63.3"
|
|
39
39
|
},
|
|
40
40
|
"sideEffects": false,
|
|
41
41
|
"publishConfig": {
|