@modern-js/bff-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
|
@@ -75237,14 +75237,14 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
|
|
|
75237
75237
|
// ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.5/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
|
|
75238
75238
|
var import_semver = __toESM(require_semver2());
|
|
75239
75239
|
|
|
75240
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75240
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
|
|
75241
75241
|
function bind(fn, thisArg) {
|
|
75242
75242
|
return function wrap() {
|
|
75243
75243
|
return fn.apply(thisArg, arguments);
|
|
75244
75244
|
};
|
|
75245
75245
|
}
|
|
75246
75246
|
|
|
75247
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75247
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/utils.js
|
|
75248
75248
|
var { toString } = Object.prototype;
|
|
75249
75249
|
var { getPrototypeOf } = Object;
|
|
75250
75250
|
var kindOf = ((cache) => (thing) => {
|
|
@@ -75629,7 +75629,7 @@ var utils_default = {
|
|
|
75629
75629
|
asap
|
|
75630
75630
|
};
|
|
75631
75631
|
|
|
75632
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75632
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
|
|
75633
75633
|
function AxiosError(message, code, config, request, response) {
|
|
75634
75634
|
Error.call(this);
|
|
75635
75635
|
if (Error.captureStackTrace) {
|
|
@@ -75704,11 +75704,11 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
|
75704
75704
|
};
|
|
75705
75705
|
var AxiosError_default = AxiosError;
|
|
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/platform/node/classes/FormData.js
|
|
75708
75708
|
var import_form_data = __toESM(require_form_data());
|
|
75709
75709
|
var FormData_default = import_form_data.default;
|
|
75710
75710
|
|
|
75711
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75711
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
|
|
75712
75712
|
function isVisitable(thing) {
|
|
75713
75713
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
75714
75714
|
}
|
|
@@ -75823,7 +75823,7 @@ function toFormData(obj, formData, options) {
|
|
|
75823
75823
|
}
|
|
75824
75824
|
var toFormData_default = toFormData;
|
|
75825
75825
|
|
|
75826
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75826
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
75827
75827
|
function encode(str) {
|
|
75828
75828
|
const charMap = {
|
|
75829
75829
|
"!": "%21",
|
|
@@ -75856,7 +75856,7 @@ prototype2.toString = function toString2(encoder) {
|
|
|
75856
75856
|
};
|
|
75857
75857
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
75858
75858
|
|
|
75859
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75859
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
|
|
75860
75860
|
function encode2(val) {
|
|
75861
75861
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
75862
75862
|
}
|
|
@@ -75887,7 +75887,7 @@ function buildURL(url2, params, options) {
|
|
|
75887
75887
|
return url2;
|
|
75888
75888
|
}
|
|
75889
75889
|
|
|
75890
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75890
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
|
|
75891
75891
|
var InterceptorManager = class {
|
|
75892
75892
|
constructor() {
|
|
75893
75893
|
this.handlers = [];
|
|
@@ -75951,18 +75951,18 @@ var InterceptorManager = class {
|
|
|
75951
75951
|
};
|
|
75952
75952
|
var InterceptorManager_default = InterceptorManager;
|
|
75953
75953
|
|
|
75954
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75954
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
|
|
75955
75955
|
var transitional_default = {
|
|
75956
75956
|
silentJSONParsing: true,
|
|
75957
75957
|
forcedJSONParsing: true,
|
|
75958
75958
|
clarifyTimeoutError: false
|
|
75959
75959
|
};
|
|
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/classes/URLSearchParams.js
|
|
75962
75962
|
var import_url = __toESM(require("url"));
|
|
75963
75963
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
75964
75964
|
|
|
75965
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75965
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
|
|
75966
75966
|
var node_default = {
|
|
75967
75967
|
isNode: true,
|
|
75968
75968
|
classes: {
|
|
@@ -75973,7 +75973,7 @@ var node_default = {
|
|
|
75973
75973
|
protocols: ["http", "https", "file", "data"]
|
|
75974
75974
|
};
|
|
75975
75975
|
|
|
75976
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75976
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
|
|
75977
75977
|
var utils_exports = {};
|
|
75978
75978
|
__export(utils_exports, {
|
|
75979
75979
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -75991,10 +75991,10 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
75991
75991
|
})();
|
|
75992
75992
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
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/platform/index.js
|
|
75995
75995
|
var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
|
|
75996
75996
|
|
|
75997
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
75997
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
75998
75998
|
function toURLEncodedForm(data, options) {
|
|
75999
75999
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
|
|
76000
76000
|
visitor: function(value, key2, path6, helpers) {
|
|
@@ -76007,7 +76007,7 @@ function toURLEncodedForm(data, options) {
|
|
|
76007
76007
|
}, options));
|
|
76008
76008
|
}
|
|
76009
76009
|
|
|
76010
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76010
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
76011
76011
|
function parsePropPath(name) {
|
|
76012
76012
|
return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
76013
76013
|
return match[0] === "[]" ? "" : match[1] || match[0];
|
|
@@ -76061,7 +76061,7 @@ function formDataToJSON(formData) {
|
|
|
76061
76061
|
}
|
|
76062
76062
|
var formDataToJSON_default = formDataToJSON;
|
|
76063
76063
|
|
|
76064
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76064
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/defaults/index.js
|
|
76065
76065
|
function stringifySafely(rawValue, parser, encoder) {
|
|
76066
76066
|
if (utils_default.isString(rawValue)) {
|
|
76067
76067
|
try {
|
|
@@ -76170,7 +76170,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
|
|
|
76170
76170
|
});
|
|
76171
76171
|
var defaults_default = defaults;
|
|
76172
76172
|
|
|
76173
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76173
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
|
|
76174
76174
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
76175
76175
|
"age",
|
|
76176
76176
|
"authorization",
|
|
@@ -76215,7 +76215,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
76215
76215
|
return parsed;
|
|
76216
76216
|
};
|
|
76217
76217
|
|
|
76218
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76218
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
|
|
76219
76219
|
var $internals = Symbol("internals");
|
|
76220
76220
|
function normalizeHeader(header) {
|
|
76221
76221
|
return header && String(header).trim().toLowerCase();
|
|
@@ -76437,7 +76437,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
|
|
|
76437
76437
|
utils_default.freezeMethods(AxiosHeaders);
|
|
76438
76438
|
var AxiosHeaders_default = AxiosHeaders;
|
|
76439
76439
|
|
|
76440
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76440
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/transformData.js
|
|
76441
76441
|
function transformData(fns, response) {
|
|
76442
76442
|
const config = this || defaults_default;
|
|
76443
76443
|
const context = response || config;
|
|
@@ -76450,12 +76450,12 @@ function transformData(fns, response) {
|
|
|
76450
76450
|
return data;
|
|
76451
76451
|
}
|
|
76452
76452
|
|
|
76453
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76453
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
|
|
76454
76454
|
function isCancel(value) {
|
|
76455
76455
|
return !!(value && value.__CANCEL__);
|
|
76456
76456
|
}
|
|
76457
76457
|
|
|
76458
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76458
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
|
|
76459
76459
|
function CanceledError(message, config, request) {
|
|
76460
76460
|
AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
|
|
76461
76461
|
this.name = "CanceledError";
|
|
@@ -76465,7 +76465,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
|
|
|
76465
76465
|
});
|
|
76466
76466
|
var CanceledError_default = CanceledError;
|
|
76467
76467
|
|
|
76468
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76468
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/settle.js
|
|
76469
76469
|
function settle(resolve, reject, response) {
|
|
76470
76470
|
const validateStatus2 = response.config.validateStatus;
|
|
76471
76471
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -76481,17 +76481,17 @@ function settle(resolve, reject, response) {
|
|
|
76481
76481
|
}
|
|
76482
76482
|
}
|
|
76483
76483
|
|
|
76484
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76484
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
76485
76485
|
function isAbsoluteURL(url2) {
|
|
76486
76486
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
76487
76487
|
}
|
|
76488
76488
|
|
|
76489
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76489
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
|
|
76490
76490
|
function combineURLs(baseURL, relativeURL) {
|
|
76491
76491
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
76492
76492
|
}
|
|
76493
76493
|
|
|
76494
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76494
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
|
|
76495
76495
|
function buildFullPath(baseURL, requestedURL) {
|
|
76496
76496
|
if (baseURL && !isAbsoluteURL(requestedURL)) {
|
|
76497
76497
|
return combineURLs(baseURL, requestedURL);
|
|
@@ -76499,7 +76499,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|
|
76499
76499
|
return requestedURL;
|
|
76500
76500
|
}
|
|
76501
76501
|
|
|
76502
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76502
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
76503
76503
|
var import_proxy_from_env = __toESM(require_proxy_from_env());
|
|
76504
76504
|
var import_http = __toESM(require("http"));
|
|
76505
76505
|
var import_https = __toESM(require("https"));
|
|
@@ -76507,16 +76507,16 @@ var import_util2 = __toESM(require("util"));
|
|
|
76507
76507
|
var import_follow_redirects = __toESM(require_follow_redirects());
|
|
76508
76508
|
var import_zlib = __toESM(require("zlib"));
|
|
76509
76509
|
|
|
76510
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76511
|
-
var VERSION = "1.7.
|
|
76510
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/env/data.js
|
|
76511
|
+
var VERSION = "1.7.9";
|
|
76512
76512
|
|
|
76513
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76513
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
|
|
76514
76514
|
function parseProtocol(url2) {
|
|
76515
76515
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
76516
76516
|
return match && match[1] || "";
|
|
76517
76517
|
}
|
|
76518
76518
|
|
|
76519
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76519
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
|
|
76520
76520
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
76521
76521
|
function fromDataURI(uri, asBlob, options) {
|
|
76522
76522
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -76545,10 +76545,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
76545
76545
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
76546
76546
|
}
|
|
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/adapters/http.js
|
|
76549
76549
|
var import_stream4 = __toESM(require("stream"));
|
|
76550
76550
|
|
|
76551
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76551
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
76552
76552
|
var import_stream = __toESM(require("stream"));
|
|
76553
76553
|
var kInternals = Symbol("internals");
|
|
76554
76554
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -76663,14 +76663,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
76663
76663
|
};
|
|
76664
76664
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
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/adapters/http.js
|
|
76667
76667
|
var import_events = require("events");
|
|
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/formDataToStream.js
|
|
76670
76670
|
var import_util = __toESM(require("util"));
|
|
76671
76671
|
var import_stream2 = require("stream");
|
|
76672
76672
|
|
|
76673
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76673
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
|
|
76674
76674
|
var { asyncIterator } = Symbol;
|
|
76675
76675
|
var readBlob = function(blob) {
|
|
76676
76676
|
return __asyncGenerator(this, null, function* () {
|
|
@@ -76687,7 +76687,7 @@ var readBlob = function(blob) {
|
|
|
76687
76687
|
};
|
|
76688
76688
|
var readBlob_default = readBlob;
|
|
76689
76689
|
|
|
76690
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76690
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
|
|
76691
76691
|
var BOUNDARY_ALPHABET = utils_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
76692
76692
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
76693
76693
|
var CRLF = "\r\n";
|
|
@@ -76770,7 +76770,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
76770
76770
|
};
|
|
76771
76771
|
var formDataToStream_default = formDataToStream;
|
|
76772
76772
|
|
|
76773
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76773
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
76774
76774
|
var import_stream3 = __toESM(require("stream"));
|
|
76775
76775
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
76776
76776
|
__transform(chunk, encoding, callback) {
|
|
@@ -76792,7 +76792,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
76792
76792
|
};
|
|
76793
76793
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
76794
76794
|
|
|
76795
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76795
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
|
|
76796
76796
|
var callbackify = (fn, reducer) => {
|
|
76797
76797
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
76798
76798
|
const cb = args.pop();
|
|
@@ -76807,7 +76807,7 @@ var callbackify = (fn, reducer) => {
|
|
|
76807
76807
|
};
|
|
76808
76808
|
var callbackify_default = callbackify;
|
|
76809
76809
|
|
|
76810
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76810
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
|
|
76811
76811
|
function speedometer(samplesCount, min) {
|
|
76812
76812
|
samplesCount = samplesCount || 10;
|
|
76813
76813
|
const bytes = new Array(samplesCount);
|
|
@@ -76843,7 +76843,7 @@ function speedometer(samplesCount, min) {
|
|
|
76843
76843
|
}
|
|
76844
76844
|
var speedometer_default = speedometer;
|
|
76845
76845
|
|
|
76846
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76846
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
|
|
76847
76847
|
function throttle(fn, freq) {
|
|
76848
76848
|
let timestamp = 0;
|
|
76849
76849
|
let threshold = 1e3 / freq;
|
|
@@ -76878,7 +76878,7 @@ function throttle(fn, freq) {
|
|
|
76878
76878
|
}
|
|
76879
76879
|
var throttle_default = throttle;
|
|
76880
76880
|
|
|
76881
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76881
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
76882
76882
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
76883
76883
|
let bytesNotified = 0;
|
|
76884
76884
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -76913,7 +76913,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
76913
76913
|
};
|
|
76914
76914
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
76915
76915
|
|
|
76916
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
76916
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/http.js
|
|
76917
76917
|
var zlibOptions = {
|
|
76918
76918
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
76919
76919
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -77419,7 +77419,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
77419
77419
|
});
|
|
77420
77420
|
};
|
|
77421
77421
|
|
|
77422
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77422
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
77423
77423
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
|
|
77424
77424
|
url2 = new URL(url2, platform_default.origin);
|
|
77425
77425
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -77428,7 +77428,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
|
|
|
77428
77428
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
77429
77429
|
) : () => true;
|
|
77430
77430
|
|
|
77431
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77431
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
|
|
77432
77432
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
77433
77433
|
// Standard browser envs support document.cookie
|
|
77434
77434
|
{
|
|
@@ -77461,7 +77461,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
77461
77461
|
}
|
|
77462
77462
|
);
|
|
77463
77463
|
|
|
77464
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77464
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
|
|
77465
77465
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
|
|
77466
77466
|
function mergeConfig(config1, config2) {
|
|
77467
77467
|
config2 = config2 || {};
|
|
@@ -77541,7 +77541,7 @@ function mergeConfig(config1, config2) {
|
|
|
77541
77541
|
return config;
|
|
77542
77542
|
}
|
|
77543
77543
|
|
|
77544
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77544
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
|
|
77545
77545
|
var resolveConfig_default = (config) => {
|
|
77546
77546
|
const newConfig = mergeConfig({}, config);
|
|
77547
77547
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -77574,7 +77574,7 @@ var resolveConfig_default = (config) => {
|
|
|
77574
77574
|
return newConfig;
|
|
77575
77575
|
};
|
|
77576
77576
|
|
|
77577
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77577
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
|
|
77578
77578
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
77579
77579
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
77580
77580
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -77701,7 +77701,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
77701
77701
|
});
|
|
77702
77702
|
};
|
|
77703
77703
|
|
|
77704
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77704
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
|
|
77705
77705
|
var composeSignals = (signals, timeout) => {
|
|
77706
77706
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
77707
77707
|
if (timeout || length) {
|
|
@@ -77737,7 +77737,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
77737
77737
|
};
|
|
77738
77738
|
var composeSignals_default = composeSignals;
|
|
77739
77739
|
|
|
77740
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77740
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
|
|
77741
77741
|
var streamChunk = function* (chunk, chunkSize) {
|
|
77742
77742
|
let len = chunk.byteLength;
|
|
77743
77743
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -77832,7 +77832,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
77832
77832
|
});
|
|
77833
77833
|
};
|
|
77834
77834
|
|
|
77835
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
77835
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
|
|
77836
77836
|
var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
|
|
77837
77837
|
var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
|
|
77838
77838
|
var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
|
|
@@ -77997,7 +77997,7 @@ var fetch_default = isFetchSupported && ((config) => __async(void 0, null, funct
|
|
|
77997
77997
|
}
|
|
77998
77998
|
}));
|
|
77999
77999
|
|
|
78000
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78000
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
|
|
78001
78001
|
var knownAdapters = {
|
|
78002
78002
|
http: http_default,
|
|
78003
78003
|
xhr: xhr_default,
|
|
@@ -78051,7 +78051,7 @@ var adapters_default = {
|
|
|
78051
78051
|
adapters: knownAdapters
|
|
78052
78052
|
};
|
|
78053
78053
|
|
|
78054
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78054
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
|
|
78055
78055
|
function throwIfCancellationRequested(config) {
|
|
78056
78056
|
if (config.cancelToken) {
|
|
78057
78057
|
config.cancelToken.throwIfRequested();
|
|
@@ -78096,7 +78096,7 @@ function dispatchRequest(config) {
|
|
|
78096
78096
|
});
|
|
78097
78097
|
}
|
|
78098
78098
|
|
|
78099
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78099
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
|
|
78100
78100
|
var validators = {};
|
|
78101
78101
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
78102
78102
|
validators[type] = function validator(thing) {
|
|
@@ -78160,7 +78160,7 @@ var validator_default = {
|
|
|
78160
78160
|
validators
|
|
78161
78161
|
};
|
|
78162
78162
|
|
|
78163
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78163
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/core/Axios.js
|
|
78164
78164
|
var validators2 = validator_default.validators;
|
|
78165
78165
|
var Axios = class {
|
|
78166
78166
|
constructor(instanceConfig) {
|
|
@@ -78329,7 +78329,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
|
|
|
78329
78329
|
});
|
|
78330
78330
|
var Axios_default = Axios;
|
|
78331
78331
|
|
|
78332
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78332
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
|
|
78333
78333
|
var CancelToken = class _CancelToken {
|
|
78334
78334
|
constructor(executor) {
|
|
78335
78335
|
if (typeof executor !== "function") {
|
|
@@ -78428,19 +78428,19 @@ var CancelToken = class _CancelToken {
|
|
|
78428
78428
|
};
|
|
78429
78429
|
var CancelToken_default = CancelToken;
|
|
78430
78430
|
|
|
78431
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78431
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
|
|
78432
78432
|
function spread(callback) {
|
|
78433
78433
|
return function wrap(arr) {
|
|
78434
78434
|
return callback.apply(null, arr);
|
|
78435
78435
|
};
|
|
78436
78436
|
}
|
|
78437
78437
|
|
|
78438
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78438
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
|
|
78439
78439
|
function isAxiosError(payload) {
|
|
78440
78440
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
78441
78441
|
}
|
|
78442
78442
|
|
|
78443
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78443
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
78444
78444
|
var HttpStatusCode = {
|
|
78445
78445
|
Continue: 100,
|
|
78446
78446
|
SwitchingProtocols: 101,
|
|
@@ -78511,7 +78511,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
|
|
|
78511
78511
|
});
|
|
78512
78512
|
var HttpStatusCode_default = HttpStatusCode;
|
|
78513
78513
|
|
|
78514
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78514
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/lib/axios.js
|
|
78515
78515
|
function createInstance(defaultConfig) {
|
|
78516
78516
|
const context = new Axios_default(defaultConfig);
|
|
78517
78517
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -78544,7 +78544,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
78544
78544
|
axios.default = axios;
|
|
78545
78545
|
var axios_default = axios;
|
|
78546
78546
|
|
|
78547
|
-
// ../../../../node_modules/.pnpm/axios@1.7.
|
|
78547
|
+
// ../../../../node_modules/.pnpm/axios@1.7.9_debug@4.3.7/node_modules/axios/index.js
|
|
78548
78548
|
var {
|
|
78549
78549
|
Axios: Axios2,
|
|
78550
78550
|
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/generator-common": "3.7.
|
|
36
|
-
"@modern-js/generator-utils": "3.7.
|
|
37
|
-
"@
|
|
38
|
-
"@scripts/build": "2.63.
|
|
39
|
-
"@
|
|
35
|
+
"@modern-js/generator-common": "3.7.9",
|
|
36
|
+
"@modern-js/generator-utils": "3.7.9",
|
|
37
|
+
"@scripts/jest-config": "2.63.3",
|
|
38
|
+
"@scripts/build": "2.63.3",
|
|
39
|
+
"@modern-js/plugin-i18n": "2.63.3"
|
|
40
40
|
},
|
|
41
41
|
"sideEffects": false,
|
|
42
42
|
"publishConfig": {
|