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