@sap/ux-ui5-tooling 1.20.1 → 1.20.3
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/CHANGELOG.md +18 -0
- package/README.md +1 -1
- package/dist/cli/index.js +7641 -7489
- package/dist/middlewares/fiori-tools-appreload.js +422 -239
- package/dist/middlewares/fiori-tools-preview.js +5405 -5654
- package/dist/middlewares/fiori-tools-proxy.js +6109 -6113
- package/dist/middlewares/fiori-tools-servestatic.js +65 -43
- package/dist/tasks/cf-deploy/index.js +5302 -5553
- package/dist/tasks/deploy/index.js +6871 -6762
- package/package.json +24 -24
|
@@ -4948,16 +4948,16 @@ var require_node2 = __commonJS({
|
|
|
4948
4948
|
}
|
|
4949
4949
|
});
|
|
4950
4950
|
|
|
4951
|
-
// ../../node_modules
|
|
4951
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/stream.js
|
|
4952
4952
|
var require_stream = __commonJS({
|
|
4953
|
-
"../../node_modules
|
|
4953
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/stream.js"(exports2, module2) {
|
|
4954
4954
|
module2.exports = require("stream");
|
|
4955
4955
|
}
|
|
4956
4956
|
});
|
|
4957
4957
|
|
|
4958
|
-
// ../../node_modules
|
|
4958
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/destroy.js
|
|
4959
4959
|
var require_destroy = __commonJS({
|
|
4960
|
-
"../../node_modules
|
|
4960
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports2, module2) {
|
|
4961
4961
|
"use strict";
|
|
4962
4962
|
function destroy(err, cb) {
|
|
4963
4963
|
var _this = this;
|
|
@@ -5044,9 +5044,9 @@ var require_destroy = __commonJS({
|
|
|
5044
5044
|
}
|
|
5045
5045
|
});
|
|
5046
5046
|
|
|
5047
|
-
// ../../node_modules
|
|
5047
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/errors.js
|
|
5048
5048
|
var require_errors = __commonJS({
|
|
5049
|
-
"../../node_modules
|
|
5049
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/errors.js"(exports2, module2) {
|
|
5050
5050
|
"use strict";
|
|
5051
5051
|
var codes = {};
|
|
5052
5052
|
function createErrorType(code, message, Base) {
|
|
@@ -5144,9 +5144,9 @@ var require_errors = __commonJS({
|
|
|
5144
5144
|
}
|
|
5145
5145
|
});
|
|
5146
5146
|
|
|
5147
|
-
// ../../node_modules
|
|
5147
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/state.js
|
|
5148
5148
|
var require_state = __commonJS({
|
|
5149
|
-
"../../node_modules
|
|
5149
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/state.js"(exports2, module2) {
|
|
5150
5150
|
"use strict";
|
|
5151
5151
|
var ERR_INVALID_OPT_VALUE = require_errors().codes.ERR_INVALID_OPT_VALUE;
|
|
5152
5152
|
function highWaterMarkFrom(options, isDuplex, duplexKey) {
|
|
@@ -5215,9 +5215,9 @@ var require_inherits = __commonJS({
|
|
|
5215
5215
|
}
|
|
5216
5216
|
});
|
|
5217
5217
|
|
|
5218
|
-
// ../../node_modules
|
|
5218
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/buffer_list.js
|
|
5219
5219
|
var require_buffer_list = __commonJS({
|
|
5220
|
-
"../../node_modules
|
|
5220
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/buffer_list.js"(exports2, module2) {
|
|
5221
5221
|
"use strict";
|
|
5222
5222
|
function ownKeys(object, enumerableOnly) {
|
|
5223
5223
|
var keys = Object.keys(object);
|
|
@@ -5746,9 +5746,9 @@ var require_string_decoder = __commonJS({
|
|
|
5746
5746
|
}
|
|
5747
5747
|
});
|
|
5748
5748
|
|
|
5749
|
-
// ../../node_modules
|
|
5749
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/end-of-stream.js
|
|
5750
5750
|
var require_end_of_stream = __commonJS({
|
|
5751
|
-
"../../node_modules
|
|
5751
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(exports2, module2) {
|
|
5752
5752
|
"use strict";
|
|
5753
5753
|
var ERR_STREAM_PREMATURE_CLOSE = require_errors().codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
5754
5754
|
function once2(callback) {
|
|
@@ -5835,9 +5835,9 @@ var require_end_of_stream = __commonJS({
|
|
|
5835
5835
|
}
|
|
5836
5836
|
});
|
|
5837
5837
|
|
|
5838
|
-
// ../../node_modules
|
|
5838
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/async_iterator.js
|
|
5839
5839
|
var require_async_iterator = __commonJS({
|
|
5840
|
-
"../../node_modules
|
|
5840
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/async_iterator.js"(exports2, module2) {
|
|
5841
5841
|
"use strict";
|
|
5842
5842
|
var _Object$setPrototypeO;
|
|
5843
5843
|
function _defineProperty(obj, key, value) {
|
|
@@ -6003,9 +6003,9 @@ var require_async_iterator = __commonJS({
|
|
|
6003
6003
|
}
|
|
6004
6004
|
});
|
|
6005
6005
|
|
|
6006
|
-
// ../../node_modules
|
|
6006
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/from.js
|
|
6007
6007
|
var require_from = __commonJS({
|
|
6008
|
-
"../../node_modules
|
|
6008
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/from.js"(exports2, module2) {
|
|
6009
6009
|
"use strict";
|
|
6010
6010
|
function asyncGeneratorStep(gen, resolve2, reject2, _next, _throw, key, arg) {
|
|
6011
6011
|
try {
|
|
@@ -6116,9 +6116,9 @@ var require_from = __commonJS({
|
|
|
6116
6116
|
}
|
|
6117
6117
|
});
|
|
6118
6118
|
|
|
6119
|
-
// ../../node_modules
|
|
6119
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_readable.js
|
|
6120
6120
|
var require_stream_readable = __commonJS({
|
|
6121
|
-
"../../node_modules
|
|
6121
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_readable.js"(exports2, module2) {
|
|
6122
6122
|
"use strict";
|
|
6123
6123
|
module2.exports = Readable;
|
|
6124
6124
|
var Duplex;
|
|
@@ -6853,9 +6853,9 @@ var require_stream_readable = __commonJS({
|
|
|
6853
6853
|
}
|
|
6854
6854
|
});
|
|
6855
6855
|
|
|
6856
|
-
// ../../node_modules
|
|
6856
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_duplex.js
|
|
6857
6857
|
var require_stream_duplex = __commonJS({
|
|
6858
|
-
"../../node_modules
|
|
6858
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_duplex.js"(exports2, module2) {
|
|
6859
6859
|
"use strict";
|
|
6860
6860
|
var objectKeys = Object.keys || function(obj) {
|
|
6861
6861
|
var keys2 = [];
|
|
@@ -6948,9 +6948,9 @@ var require_stream_duplex = __commonJS({
|
|
|
6948
6948
|
}
|
|
6949
6949
|
});
|
|
6950
6950
|
|
|
6951
|
-
// ../../node_modules
|
|
6951
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js
|
|
6952
6952
|
var require_stream_writable = __commonJS({
|
|
6953
|
-
"../../node_modules
|
|
6953
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js"(exports2, module2) {
|
|
6954
6954
|
"use strict";
|
|
6955
6955
|
module2.exports = Writable;
|
|
6956
6956
|
function CorkedRequest(state) {
|
|
@@ -7537,9 +7537,9 @@ var require_triple_beam = __commonJS({
|
|
|
7537
7537
|
}
|
|
7538
7538
|
});
|
|
7539
7539
|
|
|
7540
|
-
// ../../node_modules
|
|
7540
|
+
// ../../node_modules/winston-transport/modern.js
|
|
7541
7541
|
var require_modern = __commonJS({
|
|
7542
|
-
"../../node_modules
|
|
7542
|
+
"../../node_modules/winston-transport/modern.js"(exports2, module2) {
|
|
7543
7543
|
"use strict";
|
|
7544
7544
|
var util = require("util");
|
|
7545
7545
|
var Writable = require_stream_writable();
|
|
@@ -7649,9 +7649,9 @@ var require_modern = __commonJS({
|
|
|
7649
7649
|
}
|
|
7650
7650
|
});
|
|
7651
7651
|
|
|
7652
|
-
// ../../node_modules
|
|
7652
|
+
// ../../node_modules/winston-transport/legacy.js
|
|
7653
7653
|
var require_legacy = __commonJS({
|
|
7654
|
-
"../../node_modules
|
|
7654
|
+
"../../node_modules/winston-transport/legacy.js"(exports2, module2) {
|
|
7655
7655
|
"use strict";
|
|
7656
7656
|
var util = require("util");
|
|
7657
7657
|
var { LEVEL } = require_triple_beam();
|
|
@@ -7715,9 +7715,9 @@ var require_legacy = __commonJS({
|
|
|
7715
7715
|
}
|
|
7716
7716
|
});
|
|
7717
7717
|
|
|
7718
|
-
// ../../node_modules
|
|
7718
|
+
// ../../node_modules/winston-transport/index.js
|
|
7719
7719
|
var require_winston_transport = __commonJS({
|
|
7720
|
-
"../../node_modules
|
|
7720
|
+
"../../node_modules/winston-transport/index.js"(exports2, module2) {
|
|
7721
7721
|
"use strict";
|
|
7722
7722
|
module2.exports = require_modern();
|
|
7723
7723
|
module2.exports.LegacyTransportStream = require_legacy();
|
|
@@ -20259,9 +20259,9 @@ var require_path_key = __commonJS({
|
|
|
20259
20259
|
}
|
|
20260
20260
|
});
|
|
20261
20261
|
|
|
20262
|
-
// ../../node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
20262
|
+
// ../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/util/resolveCommand.js
|
|
20263
20263
|
var require_resolveCommand = __commonJS({
|
|
20264
|
-
"../../node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2, module2) {
|
|
20264
|
+
"../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2, module2) {
|
|
20265
20265
|
"use strict";
|
|
20266
20266
|
var path = require("path");
|
|
20267
20267
|
var which = require_which();
|
|
@@ -20301,9 +20301,9 @@ var require_resolveCommand = __commonJS({
|
|
|
20301
20301
|
}
|
|
20302
20302
|
});
|
|
20303
20303
|
|
|
20304
|
-
// ../../node_modules/cross-spawn/lib/util/escape.js
|
|
20304
|
+
// ../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/util/escape.js
|
|
20305
20305
|
var require_escape = __commonJS({
|
|
20306
|
-
"../../node_modules/cross-spawn/lib/util/escape.js"(exports2, module2) {
|
|
20306
|
+
"../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/util/escape.js"(exports2, module2) {
|
|
20307
20307
|
"use strict";
|
|
20308
20308
|
var metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
|
|
20309
20309
|
function escapeCommand(arg) {
|
|
@@ -20354,9 +20354,9 @@ var require_shebang_command = __commonJS({
|
|
|
20354
20354
|
}
|
|
20355
20355
|
});
|
|
20356
20356
|
|
|
20357
|
-
// ../../node_modules/cross-spawn/lib/util/readShebang.js
|
|
20357
|
+
// ../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/util/readShebang.js
|
|
20358
20358
|
var require_readShebang = __commonJS({
|
|
20359
|
-
"../../node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module2) {
|
|
20359
|
+
"../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module2) {
|
|
20360
20360
|
"use strict";
|
|
20361
20361
|
var fs = require("fs");
|
|
20362
20362
|
var shebangCommand = require_shebang_command();
|
|
@@ -20376,9 +20376,9 @@ var require_readShebang = __commonJS({
|
|
|
20376
20376
|
}
|
|
20377
20377
|
});
|
|
20378
20378
|
|
|
20379
|
-
// ../../node_modules/cross-spawn/lib/parse.js
|
|
20379
|
+
// ../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/parse.js
|
|
20380
20380
|
var require_parse = __commonJS({
|
|
20381
|
-
"../../node_modules/cross-spawn/lib/parse.js"(exports2, module2) {
|
|
20381
|
+
"../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/parse.js"(exports2, module2) {
|
|
20382
20382
|
"use strict";
|
|
20383
20383
|
var path = require("path");
|
|
20384
20384
|
var resolveCommand = require_resolveCommand();
|
|
@@ -20438,9 +20438,9 @@ var require_parse = __commonJS({
|
|
|
20438
20438
|
}
|
|
20439
20439
|
});
|
|
20440
20440
|
|
|
20441
|
-
// ../../node_modules/cross-spawn/lib/enoent.js
|
|
20441
|
+
// ../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/enoent.js
|
|
20442
20442
|
var require_enoent = __commonJS({
|
|
20443
|
-
"../../node_modules/cross-spawn/lib/enoent.js"(exports2, module2) {
|
|
20443
|
+
"../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/lib/enoent.js"(exports2, module2) {
|
|
20444
20444
|
"use strict";
|
|
20445
20445
|
var isWin = process.platform === "win32";
|
|
20446
20446
|
function notFoundError(original, syscall) {
|
|
@@ -20488,9 +20488,9 @@ var require_enoent = __commonJS({
|
|
|
20488
20488
|
}
|
|
20489
20489
|
});
|
|
20490
20490
|
|
|
20491
|
-
// ../../node_modules/cross-spawn/index.js
|
|
20491
|
+
// ../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/index.js
|
|
20492
20492
|
var require_cross_spawn = __commonJS({
|
|
20493
|
-
"../../node_modules/cross-spawn/index.js"(exports2, module2) {
|
|
20493
|
+
"../../node_modules/@sap/bas-sdk/node_modules/cross-spawn/index.js"(exports2, module2) {
|
|
20494
20494
|
"use strict";
|
|
20495
20495
|
var cp = require("child_process");
|
|
20496
20496
|
var parse2 = require_parse();
|
|
@@ -20520,7 +20520,7 @@ var require_lodash = __commonJS({
|
|
|
20520
20520
|
"../../node_modules/lodash/lodash.js"(exports2, module2) {
|
|
20521
20521
|
(function() {
|
|
20522
20522
|
var undefined2;
|
|
20523
|
-
var VERSION = "4.17.
|
|
20523
|
+
var VERSION = "4.17.23";
|
|
20524
20524
|
var LARGE_ARRAY_SIZE = 200;
|
|
20525
20525
|
var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
|
|
20526
20526
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
@@ -22448,8 +22448,28 @@ var require_lodash = __commonJS({
|
|
|
22448
22448
|
}
|
|
22449
22449
|
function baseUnset(object, path) {
|
|
22450
22450
|
path = castPath(path, object);
|
|
22451
|
-
|
|
22452
|
-
|
|
22451
|
+
var index2 = -1, length = path.length;
|
|
22452
|
+
if (!length) {
|
|
22453
|
+
return true;
|
|
22454
|
+
}
|
|
22455
|
+
var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
|
|
22456
|
+
while (++index2 < length) {
|
|
22457
|
+
var key = path[index2];
|
|
22458
|
+
if (typeof key !== "string") {
|
|
22459
|
+
continue;
|
|
22460
|
+
}
|
|
22461
|
+
if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
|
|
22462
|
+
return false;
|
|
22463
|
+
}
|
|
22464
|
+
if (key === "constructor" && index2 + 1 < length && typeof path[index2 + 1] === "string" && path[index2 + 1] === "prototype") {
|
|
22465
|
+
if (isRootPrimitive && index2 === 0) {
|
|
22466
|
+
continue;
|
|
22467
|
+
}
|
|
22468
|
+
return false;
|
|
22469
|
+
}
|
|
22470
|
+
}
|
|
22471
|
+
var obj = parent2(object, path);
|
|
22472
|
+
return obj == null || delete obj[toKey(last(path))];
|
|
22453
22473
|
}
|
|
22454
22474
|
function baseUpdate(object, path, updater, customizer) {
|
|
22455
22475
|
return baseSet(object, path, updater(baseGet(object, path)), customizer);
|
|
@@ -26440,9 +26460,9 @@ var require_combined_stream = __commonJS({
|
|
|
26440
26460
|
}
|
|
26441
26461
|
});
|
|
26442
26462
|
|
|
26443
|
-
// ../../node_modules/
|
|
26463
|
+
// ../../node_modules/mime-db/db.json
|
|
26444
26464
|
var require_db = __commonJS({
|
|
26445
|
-
"../../node_modules/
|
|
26465
|
+
"../../node_modules/mime-db/db.json"(exports2, module2) {
|
|
26446
26466
|
module2.exports = {
|
|
26447
26467
|
"application/1d-interleaved-parityfec": {
|
|
26448
26468
|
source: "iana"
|
|
@@ -34622,16 +34642,16 @@ var require_db = __commonJS({
|
|
|
34622
34642
|
}
|
|
34623
34643
|
});
|
|
34624
34644
|
|
|
34625
|
-
// ../../node_modules/
|
|
34645
|
+
// ../../node_modules/mime-db/index.js
|
|
34626
34646
|
var require_mime_db = __commonJS({
|
|
34627
|
-
"../../node_modules/
|
|
34647
|
+
"../../node_modules/mime-db/index.js"(exports2, module2) {
|
|
34628
34648
|
module2.exports = require_db();
|
|
34629
34649
|
}
|
|
34630
34650
|
});
|
|
34631
34651
|
|
|
34632
|
-
// ../../node_modules/
|
|
34652
|
+
// ../../node_modules/mime-types/index.js
|
|
34633
34653
|
var require_mime_types = __commonJS({
|
|
34634
|
-
"../../node_modules/
|
|
34654
|
+
"../../node_modules/mime-types/index.js"(exports2) {
|
|
34635
34655
|
"use strict";
|
|
34636
34656
|
var db = require_mime_db();
|
|
34637
34657
|
var extname = require("path").extname;
|
|
@@ -36153,7 +36173,7 @@ var require_form_data = __commonJS({
|
|
|
36153
36173
|
FormData2.prototype.toString = function() {
|
|
36154
36174
|
return "[object FormData]";
|
|
36155
36175
|
};
|
|
36156
|
-
setToStringTag(FormData2, "FormData");
|
|
36176
|
+
setToStringTag(FormData2.prototype, "FormData");
|
|
36157
36177
|
module2.exports = FormData2;
|
|
36158
36178
|
}
|
|
36159
36179
|
});
|
|
@@ -36829,7 +36849,12 @@ var require_axios = __commonJS({
|
|
|
36829
36849
|
kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
|
|
36830
36850
|
};
|
|
36831
36851
|
var isURLSearchParams = kindOfTest("URLSearchParams");
|
|
36832
|
-
var [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
36852
|
+
var [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
36853
|
+
"ReadableStream",
|
|
36854
|
+
"Request",
|
|
36855
|
+
"Response",
|
|
36856
|
+
"Headers"
|
|
36857
|
+
].map(kindOfTest);
|
|
36833
36858
|
var trim = (str) => str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
36834
36859
|
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
36835
36860
|
if (obj === null || typeof obj === "undefined") {
|
|
@@ -36882,6 +36907,9 @@ var require_axios = __commonJS({
|
|
|
36882
36907
|
const { caseless, skipUndefined } = isContextDefined(this) && this || {};
|
|
36883
36908
|
const result = {};
|
|
36884
36909
|
const assignValue = (val, key) => {
|
|
36910
|
+
if (key === "__proto__" || key === "constructor" || key === "prototype") {
|
|
36911
|
+
return;
|
|
36912
|
+
}
|
|
36885
36913
|
const targetKey = caseless && findKey(result, key) || key;
|
|
36886
36914
|
if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
|
|
36887
36915
|
result[targetKey] = merge(result[targetKey], val);
|
|
@@ -36899,13 +36927,27 @@ var require_axios = __commonJS({
|
|
|
36899
36927
|
return result;
|
|
36900
36928
|
}
|
|
36901
36929
|
var extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
36902
|
-
forEach(
|
|
36903
|
-
|
|
36904
|
-
|
|
36905
|
-
|
|
36906
|
-
|
|
36907
|
-
|
|
36908
|
-
|
|
36930
|
+
forEach(
|
|
36931
|
+
b,
|
|
36932
|
+
(val, key) => {
|
|
36933
|
+
if (thisArg && isFunction$1(val)) {
|
|
36934
|
+
Object.defineProperty(a, key, {
|
|
36935
|
+
value: bind(val, thisArg),
|
|
36936
|
+
writable: true,
|
|
36937
|
+
enumerable: true,
|
|
36938
|
+
configurable: true
|
|
36939
|
+
});
|
|
36940
|
+
} else {
|
|
36941
|
+
Object.defineProperty(a, key, {
|
|
36942
|
+
value: val,
|
|
36943
|
+
writable: true,
|
|
36944
|
+
enumerable: true,
|
|
36945
|
+
configurable: true
|
|
36946
|
+
});
|
|
36947
|
+
}
|
|
36948
|
+
},
|
|
36949
|
+
{ allOwnKeys }
|
|
36950
|
+
);
|
|
36909
36951
|
return a;
|
|
36910
36952
|
};
|
|
36911
36953
|
var stripBOM = (content) => {
|
|
@@ -36914,9 +36956,17 @@ var require_axios = __commonJS({
|
|
|
36914
36956
|
}
|
|
36915
36957
|
return content;
|
|
36916
36958
|
};
|
|
36917
|
-
var inherits = (constructor, superConstructor, props,
|
|
36918
|
-
constructor.prototype = Object.create(
|
|
36919
|
-
|
|
36959
|
+
var inherits = (constructor, superConstructor, props, descriptors) => {
|
|
36960
|
+
constructor.prototype = Object.create(
|
|
36961
|
+
superConstructor.prototype,
|
|
36962
|
+
descriptors
|
|
36963
|
+
);
|
|
36964
|
+
Object.defineProperty(constructor.prototype, "constructor", {
|
|
36965
|
+
value: constructor,
|
|
36966
|
+
writable: true,
|
|
36967
|
+
enumerable: false,
|
|
36968
|
+
configurable: true
|
|
36969
|
+
});
|
|
36920
36970
|
Object.defineProperty(constructor, "super", {
|
|
36921
36971
|
value: superConstructor.prototype
|
|
36922
36972
|
});
|
|
@@ -36987,19 +37037,16 @@ var require_axios = __commonJS({
|
|
|
36987
37037
|
};
|
|
36988
37038
|
var isHTMLForm = kindOfTest("HTMLFormElement");
|
|
36989
37039
|
var toCamelCase = (str) => {
|
|
36990
|
-
return str.toLowerCase().replace(
|
|
36991
|
-
|
|
36992
|
-
|
|
36993
|
-
return p1.toUpperCase() + p2;
|
|
36994
|
-
}
|
|
36995
|
-
);
|
|
37040
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
37041
|
+
return p1.toUpperCase() + p2;
|
|
37042
|
+
});
|
|
36996
37043
|
};
|
|
36997
37044
|
var hasOwnProperty = (({ hasOwnProperty: hasOwnProperty2 }) => (obj, prop) => hasOwnProperty2.call(obj, prop))(Object.prototype);
|
|
36998
37045
|
var isRegExp = kindOfTest("RegExp");
|
|
36999
37046
|
var reduceDescriptors = (obj, reducer) => {
|
|
37000
|
-
const
|
|
37047
|
+
const descriptors = Object.getOwnPropertyDescriptors(obj);
|
|
37001
37048
|
const reducedDescriptors = {};
|
|
37002
|
-
forEach(
|
|
37049
|
+
forEach(descriptors, (descriptor, name) => {
|
|
37003
37050
|
let ret;
|
|
37004
37051
|
if ((ret = reducer(descriptor, name, obj)) !== false) {
|
|
37005
37052
|
reducedDescriptors[name] = ret || descriptor;
|
|
@@ -37076,20 +37123,21 @@ var require_axios = __commonJS({
|
|
|
37076
37123
|
return setImmediate;
|
|
37077
37124
|
}
|
|
37078
37125
|
return postMessageSupported ? ((token2, callbacks) => {
|
|
37079
|
-
_global.addEventListener(
|
|
37080
|
-
|
|
37081
|
-
|
|
37082
|
-
|
|
37083
|
-
|
|
37126
|
+
_global.addEventListener(
|
|
37127
|
+
"message",
|
|
37128
|
+
({ source, data }) => {
|
|
37129
|
+
if (source === _global && data === token2) {
|
|
37130
|
+
callbacks.length && callbacks.shift()();
|
|
37131
|
+
}
|
|
37132
|
+
},
|
|
37133
|
+
false
|
|
37134
|
+
);
|
|
37084
37135
|
return (cb) => {
|
|
37085
37136
|
callbacks.push(cb);
|
|
37086
37137
|
_global.postMessage(token2, "*");
|
|
37087
37138
|
};
|
|
37088
37139
|
})(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
|
|
37089
|
-
})(
|
|
37090
|
-
typeof setImmediate === "function",
|
|
37091
|
-
isFunction$1(_global.postMessage)
|
|
37092
|
-
);
|
|
37140
|
+
})(typeof setImmediate === "function", isFunction$1(_global.postMessage));
|
|
37093
37141
|
var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
|
|
37094
37142
|
var isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
|
|
37095
37143
|
var utils$1 = {
|
|
@@ -37152,25 +37200,38 @@ var require_axios = __commonJS({
|
|
|
37152
37200
|
asap,
|
|
37153
37201
|
isIterable
|
|
37154
37202
|
};
|
|
37155
|
-
|
|
37156
|
-
|
|
37157
|
-
|
|
37158
|
-
|
|
37159
|
-
|
|
37160
|
-
|
|
37161
|
-
|
|
37162
|
-
this.message = message;
|
|
37163
|
-
this.name = "AxiosError";
|
|
37164
|
-
code && (this.code = code);
|
|
37165
|
-
config && (this.config = config);
|
|
37166
|
-
request && (this.request = request);
|
|
37167
|
-
if (response) {
|
|
37168
|
-
this.response = response;
|
|
37169
|
-
this.status = response.status ? response.status : null;
|
|
37203
|
+
var AxiosError = class _AxiosError extends Error {
|
|
37204
|
+
static from(error, code, config, request, response, customProps) {
|
|
37205
|
+
const axiosError = new _AxiosError(error.message, code || error.code, config, request, response);
|
|
37206
|
+
axiosError.cause = error;
|
|
37207
|
+
axiosError.name = error.name;
|
|
37208
|
+
customProps && Object.assign(axiosError, customProps);
|
|
37209
|
+
return axiosError;
|
|
37170
37210
|
}
|
|
37171
|
-
|
|
37172
|
-
|
|
37173
|
-
|
|
37211
|
+
/**
|
|
37212
|
+
* Create an Error with the specified message, config, error code, request and response.
|
|
37213
|
+
*
|
|
37214
|
+
* @param {string} message The error message.
|
|
37215
|
+
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
|
37216
|
+
* @param {Object} [config] The config.
|
|
37217
|
+
* @param {Object} [request] The request.
|
|
37218
|
+
* @param {Object} [response] The response.
|
|
37219
|
+
*
|
|
37220
|
+
* @returns {Error} The created error.
|
|
37221
|
+
*/
|
|
37222
|
+
constructor(message, code, config, request, response) {
|
|
37223
|
+
super(message);
|
|
37224
|
+
this.name = "AxiosError";
|
|
37225
|
+
this.isAxiosError = true;
|
|
37226
|
+
code && (this.code = code);
|
|
37227
|
+
config && (this.config = config);
|
|
37228
|
+
request && (this.request = request);
|
|
37229
|
+
if (response) {
|
|
37230
|
+
this.response = response;
|
|
37231
|
+
this.status = response.status;
|
|
37232
|
+
}
|
|
37233
|
+
}
|
|
37234
|
+
toJSON() {
|
|
37174
37235
|
return {
|
|
37175
37236
|
// Standard
|
|
37176
37237
|
message: this.message,
|
|
@@ -37189,45 +37250,20 @@ var require_axios = __commonJS({
|
|
|
37189
37250
|
status: this.status
|
|
37190
37251
|
};
|
|
37191
37252
|
}
|
|
37192
|
-
});
|
|
37193
|
-
var prototype$1 = AxiosError.prototype;
|
|
37194
|
-
var descriptors = {};
|
|
37195
|
-
[
|
|
37196
|
-
"ERR_BAD_OPTION_VALUE",
|
|
37197
|
-
"ERR_BAD_OPTION",
|
|
37198
|
-
"ECONNABORTED",
|
|
37199
|
-
"ETIMEDOUT",
|
|
37200
|
-
"ERR_NETWORK",
|
|
37201
|
-
"ERR_FR_TOO_MANY_REDIRECTS",
|
|
37202
|
-
"ERR_DEPRECATED",
|
|
37203
|
-
"ERR_BAD_RESPONSE",
|
|
37204
|
-
"ERR_BAD_REQUEST",
|
|
37205
|
-
"ERR_CANCELED",
|
|
37206
|
-
"ERR_NOT_SUPPORT",
|
|
37207
|
-
"ERR_INVALID_URL"
|
|
37208
|
-
// eslint-disable-next-line func-names
|
|
37209
|
-
].forEach((code) => {
|
|
37210
|
-
descriptors[code] = { value: code };
|
|
37211
|
-
});
|
|
37212
|
-
Object.defineProperties(AxiosError, descriptors);
|
|
37213
|
-
Object.defineProperty(prototype$1, "isAxiosError", { value: true });
|
|
37214
|
-
AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
37215
|
-
const axiosError = Object.create(prototype$1);
|
|
37216
|
-
utils$1.toFlatObject(error, axiosError, function filter2(obj) {
|
|
37217
|
-
return obj !== Error.prototype;
|
|
37218
|
-
}, (prop) => {
|
|
37219
|
-
return prop !== "isAxiosError";
|
|
37220
|
-
});
|
|
37221
|
-
const msg = error && error.message ? error.message : "Error";
|
|
37222
|
-
const errCode = code == null && error ? error.code : code;
|
|
37223
|
-
AxiosError.call(axiosError, msg, errCode, config, request, response);
|
|
37224
|
-
if (error && axiosError.cause == null) {
|
|
37225
|
-
Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
|
|
37226
|
-
}
|
|
37227
|
-
axiosError.name = error && error.name || "Error";
|
|
37228
|
-
customProps && Object.assign(axiosError, customProps);
|
|
37229
|
-
return axiosError;
|
|
37230
37253
|
};
|
|
37254
|
+
AxiosError.ERR_BAD_OPTION_VALUE = "ERR_BAD_OPTION_VALUE";
|
|
37255
|
+
AxiosError.ERR_BAD_OPTION = "ERR_BAD_OPTION";
|
|
37256
|
+
AxiosError.ECONNABORTED = "ECONNABORTED";
|
|
37257
|
+
AxiosError.ETIMEDOUT = "ETIMEDOUT";
|
|
37258
|
+
AxiosError.ERR_NETWORK = "ERR_NETWORK";
|
|
37259
|
+
AxiosError.ERR_FR_TOO_MANY_REDIRECTS = "ERR_FR_TOO_MANY_REDIRECTS";
|
|
37260
|
+
AxiosError.ERR_DEPRECATED = "ERR_DEPRECATED";
|
|
37261
|
+
AxiosError.ERR_BAD_RESPONSE = "ERR_BAD_RESPONSE";
|
|
37262
|
+
AxiosError.ERR_BAD_REQUEST = "ERR_BAD_REQUEST";
|
|
37263
|
+
AxiosError.ERR_CANCELED = "ERR_CANCELED";
|
|
37264
|
+
AxiosError.ERR_NOT_SUPPORT = "ERR_NOT_SUPPORT";
|
|
37265
|
+
AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
37266
|
+
var AxiosError$1 = AxiosError;
|
|
37231
37267
|
function isVisitable(thing) {
|
|
37232
37268
|
return utils$1.isPlainObject(thing) || utils$1.isArray(thing);
|
|
37233
37269
|
}
|
|
@@ -37277,7 +37313,7 @@ var require_axios = __commonJS({
|
|
|
37277
37313
|
return value.toString();
|
|
37278
37314
|
}
|
|
37279
37315
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
37280
|
-
throw new AxiosError("Blob is not supported. Use a Buffer instead.");
|
|
37316
|
+
throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
|
|
37281
37317
|
}
|
|
37282
37318
|
if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
|
|
37283
37319
|
return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
|
|
@@ -37378,17 +37414,15 @@ var require_axios = __commonJS({
|
|
|
37378
37414
|
return url2;
|
|
37379
37415
|
}
|
|
37380
37416
|
const _encode = options && options.encode || encode;
|
|
37381
|
-
|
|
37382
|
-
options
|
|
37383
|
-
|
|
37384
|
-
|
|
37385
|
-
}
|
|
37386
|
-
const serializeFn = options && options.serialize;
|
|
37417
|
+
const _options = utils$1.isFunction(options) ? {
|
|
37418
|
+
serialize: options
|
|
37419
|
+
} : options;
|
|
37420
|
+
const serializeFn = _options && _options.serialize;
|
|
37387
37421
|
let serializedParams;
|
|
37388
37422
|
if (serializeFn) {
|
|
37389
|
-
serializedParams = serializeFn(params,
|
|
37423
|
+
serializedParams = serializeFn(params, _options);
|
|
37390
37424
|
} else {
|
|
37391
|
-
serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params,
|
|
37425
|
+
serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
|
|
37392
37426
|
}
|
|
37393
37427
|
if (serializedParams) {
|
|
37394
37428
|
const hashmarkIndex = url2.indexOf("#");
|
|
@@ -37408,6 +37442,7 @@ var require_axios = __commonJS({
|
|
|
37408
37442
|
*
|
|
37409
37443
|
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
37410
37444
|
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
|
37445
|
+
* @param {Object} options The options for the interceptor, synchronous and runWhen
|
|
37411
37446
|
*
|
|
37412
37447
|
* @return {Number} An ID used to remove interceptor later
|
|
37413
37448
|
*/
|
|
@@ -37464,9 +37499,10 @@ var require_axios = __commonJS({
|
|
|
37464
37499
|
var transitionalDefaults = {
|
|
37465
37500
|
silentJSONParsing: true,
|
|
37466
37501
|
forcedJSONParsing: true,
|
|
37467
|
-
clarifyTimeoutError: false
|
|
37502
|
+
clarifyTimeoutError: false,
|
|
37503
|
+
legacyInterceptorReqResOrdering: true
|
|
37468
37504
|
};
|
|
37469
|
-
var
|
|
37505
|
+
var URLSearchParams2 = url__default["default"].URLSearchParams;
|
|
37470
37506
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
37471
37507
|
var DIGIT = "0123456789";
|
|
37472
37508
|
var ALPHABET = {
|
|
@@ -37487,7 +37523,7 @@ var require_axios = __commonJS({
|
|
|
37487
37523
|
var platform$1 = {
|
|
37488
37524
|
isNode: true,
|
|
37489
37525
|
classes: {
|
|
37490
|
-
URLSearchParams,
|
|
37526
|
+
URLSearchParams: URLSearchParams2,
|
|
37491
37527
|
FormData: FormData__default["default"],
|
|
37492
37528
|
Blob: typeof Blob !== "undefined" && Blob || null
|
|
37493
37529
|
},
|
|
@@ -37649,7 +37685,7 @@ var require_axios = __commonJS({
|
|
|
37649
37685
|
} catch (e) {
|
|
37650
37686
|
if (strictJSONParsing) {
|
|
37651
37687
|
if (e.name === "SyntaxError") {
|
|
37652
|
-
throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
37688
|
+
throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
|
|
37653
37689
|
}
|
|
37654
37690
|
throw e;
|
|
37655
37691
|
}
|
|
@@ -37968,21 +38004,31 @@ var require_axios = __commonJS({
|
|
|
37968
38004
|
function isCancel(value) {
|
|
37969
38005
|
return !!(value && value.__CANCEL__);
|
|
37970
38006
|
}
|
|
37971
|
-
|
|
37972
|
-
|
|
37973
|
-
|
|
37974
|
-
|
|
37975
|
-
|
|
37976
|
-
|
|
37977
|
-
|
|
38007
|
+
var CanceledError = class extends AxiosError$1 {
|
|
38008
|
+
/**
|
|
38009
|
+
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
38010
|
+
*
|
|
38011
|
+
* @param {string=} message The message.
|
|
38012
|
+
* @param {Object=} config The config.
|
|
38013
|
+
* @param {Object=} request The request.
|
|
38014
|
+
*
|
|
38015
|
+
* @returns {CanceledError} The created error.
|
|
38016
|
+
*/
|
|
38017
|
+
constructor(message, config, request) {
|
|
38018
|
+
super(message == null ? "canceled" : message, AxiosError$1.ERR_CANCELED, config, request);
|
|
38019
|
+
this.name = "CanceledError";
|
|
38020
|
+
this.__CANCEL__ = true;
|
|
38021
|
+
}
|
|
38022
|
+
};
|
|
38023
|
+
var CanceledError$1 = CanceledError;
|
|
37978
38024
|
function settle(resolve2, reject2, response) {
|
|
37979
38025
|
const validateStatus = response.config.validateStatus;
|
|
37980
38026
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
37981
38027
|
resolve2(response);
|
|
37982
38028
|
} else {
|
|
37983
|
-
reject2(new AxiosError(
|
|
38029
|
+
reject2(new AxiosError$1(
|
|
37984
38030
|
"Request failed with status code " + response.status,
|
|
37985
|
-
[AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
38031
|
+
[AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
37986
38032
|
response.config,
|
|
37987
38033
|
response.request,
|
|
37988
38034
|
response
|
|
@@ -37990,6 +38036,9 @@ var require_axios = __commonJS({
|
|
|
37990
38036
|
}
|
|
37991
38037
|
}
|
|
37992
38038
|
function isAbsoluteURL(url2) {
|
|
38039
|
+
if (typeof url2 !== "string") {
|
|
38040
|
+
return false;
|
|
38041
|
+
}
|
|
37993
38042
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
37994
38043
|
}
|
|
37995
38044
|
function combineURLs(baseURL, relativeURL) {
|
|
@@ -38002,7 +38051,7 @@ var require_axios = __commonJS({
|
|
|
38002
38051
|
}
|
|
38003
38052
|
return requestedURL;
|
|
38004
38053
|
}
|
|
38005
|
-
var VERSION = "1.13.
|
|
38054
|
+
var VERSION = "1.13.5";
|
|
38006
38055
|
function parseProtocol(url2) {
|
|
38007
38056
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
|
|
38008
38057
|
return match && match[1] || "";
|
|
@@ -38018,7 +38067,7 @@ var require_axios = __commonJS({
|
|
|
38018
38067
|
uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
|
|
38019
38068
|
const match = DATA_URL_PATTERN.exec(uri);
|
|
38020
38069
|
if (!match) {
|
|
38021
|
-
throw new AxiosError("Invalid URL", AxiosError.ERR_INVALID_URL);
|
|
38070
|
+
throw new AxiosError$1("Invalid URL", AxiosError$1.ERR_INVALID_URL);
|
|
38022
38071
|
}
|
|
38023
38072
|
const mime = match[1];
|
|
38024
38073
|
const isBase64 = match[2];
|
|
@@ -38026,13 +38075,13 @@ var require_axios = __commonJS({
|
|
|
38026
38075
|
const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? "base64" : "utf8");
|
|
38027
38076
|
if (asBlob) {
|
|
38028
38077
|
if (!_Blob) {
|
|
38029
|
-
throw new AxiosError("Blob is not supported", AxiosError.ERR_NOT_SUPPORT);
|
|
38078
|
+
throw new AxiosError$1("Blob is not supported", AxiosError$1.ERR_NOT_SUPPORT);
|
|
38030
38079
|
}
|
|
38031
38080
|
return new _Blob([buffer], { type: mime });
|
|
38032
38081
|
}
|
|
38033
38082
|
return buffer;
|
|
38034
38083
|
}
|
|
38035
|
-
throw new AxiosError("Unsupported protocol " + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
38084
|
+
throw new AxiosError$1("Unsupported protocol " + protocol, AxiosError$1.ERR_NOT_SUPPORT);
|
|
38036
38085
|
}
|
|
38037
38086
|
var kInternals = Symbol("internals");
|
|
38038
38087
|
var AxiosTransformStream = class extends stream__default["default"].Transform {
|
|
@@ -38524,8 +38573,11 @@ var require_axios = __commonJS({
|
|
|
38524
38573
|
proxy.auth = (proxy.username || "") + ":" + (proxy.password || "");
|
|
38525
38574
|
}
|
|
38526
38575
|
if (proxy.auth) {
|
|
38527
|
-
|
|
38576
|
+
const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
|
|
38577
|
+
if (validProxyAuth) {
|
|
38528
38578
|
proxy.auth = (proxy.auth.username || "") + ":" + (proxy.auth.password || "");
|
|
38579
|
+
} else if (typeof proxy.auth === "object") {
|
|
38580
|
+
throw new AxiosError$1("Invalid proxy authorization", AxiosError$1.ERR_BAD_OPTION, { proxy });
|
|
38529
38581
|
}
|
|
38530
38582
|
const base64 = Buffer.from(proxy.auth, "utf8").toString("base64");
|
|
38531
38583
|
options.headers["Proxy-Authorization"] = "Basic " + base64;
|
|
@@ -38577,7 +38629,7 @@ var require_axios = __commonJS({
|
|
|
38577
38629
|
var buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : { address, family });
|
|
38578
38630
|
var http2Transport = {
|
|
38579
38631
|
request(options, cb) {
|
|
38580
|
-
const authority = options.protocol + "//" + options.hostname + ":" + (options.port || 80);
|
|
38632
|
+
const authority = options.protocol + "//" + options.hostname + ":" + (options.port || (options.protocol === "https:" ? 443 : 80));
|
|
38581
38633
|
const { http2Options, headers } = options;
|
|
38582
38634
|
const session = http2Sessions.getSession(authority, http2Options);
|
|
38583
38635
|
const {
|
|
@@ -38638,7 +38690,7 @@ var require_axios = __commonJS({
|
|
|
38638
38690
|
const abortEmitter = new events.EventEmitter();
|
|
38639
38691
|
function abort(reason) {
|
|
38640
38692
|
try {
|
|
38641
|
-
abortEmitter.emit("abort", !reason || reason.type ? new CanceledError(null, config, req) : reason);
|
|
38693
|
+
abortEmitter.emit("abort", !reason || reason.type ? new CanceledError$1(null, config, req) : reason);
|
|
38642
38694
|
} catch (err) {
|
|
38643
38695
|
console.warn("emit error", err);
|
|
38644
38696
|
}
|
|
@@ -38684,9 +38736,9 @@ var require_axios = __commonJS({
|
|
|
38684
38736
|
const dataUrl = String(config.url || fullPath || "");
|
|
38685
38737
|
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
38686
38738
|
if (estimated > config.maxContentLength) {
|
|
38687
|
-
return reject2(new AxiosError(
|
|
38739
|
+
return reject2(new AxiosError$1(
|
|
38688
38740
|
"maxContentLength size of " + config.maxContentLength + " exceeded",
|
|
38689
|
-
AxiosError.ERR_BAD_RESPONSE,
|
|
38741
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
38690
38742
|
config
|
|
38691
38743
|
));
|
|
38692
38744
|
}
|
|
@@ -38705,7 +38757,7 @@ var require_axios = __commonJS({
|
|
|
38705
38757
|
Blob: config.env && config.env.Blob
|
|
38706
38758
|
});
|
|
38707
38759
|
} catch (err) {
|
|
38708
|
-
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
38760
|
+
throw AxiosError$1.from(err, AxiosError$1.ERR_BAD_REQUEST, config);
|
|
38709
38761
|
}
|
|
38710
38762
|
if (responseType === "text") {
|
|
38711
38763
|
convertedData = convertedData.toString(responseEncoding);
|
|
@@ -38724,9 +38776,9 @@ var require_axios = __commonJS({
|
|
|
38724
38776
|
});
|
|
38725
38777
|
}
|
|
38726
38778
|
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
38727
|
-
return reject2(new AxiosError(
|
|
38779
|
+
return reject2(new AxiosError$1(
|
|
38728
38780
|
"Unsupported protocol " + protocol,
|
|
38729
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
38781
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
38730
38782
|
config
|
|
38731
38783
|
));
|
|
38732
38784
|
}
|
|
@@ -38764,17 +38816,17 @@ var require_axios = __commonJS({
|
|
|
38764
38816
|
} else if (utils$1.isString(data)) {
|
|
38765
38817
|
data = Buffer.from(data, "utf-8");
|
|
38766
38818
|
} else {
|
|
38767
|
-
return reject2(new AxiosError(
|
|
38819
|
+
return reject2(new AxiosError$1(
|
|
38768
38820
|
"Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",
|
|
38769
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
38821
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
38770
38822
|
config
|
|
38771
38823
|
));
|
|
38772
38824
|
}
|
|
38773
38825
|
headers.setContentLength(data.length, false);
|
|
38774
38826
|
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
|
|
38775
|
-
return reject2(new AxiosError(
|
|
38827
|
+
return reject2(new AxiosError$1(
|
|
38776
38828
|
"Request body larger than maxBodyLength limit",
|
|
38777
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
38829
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
38778
38830
|
config
|
|
38779
38831
|
));
|
|
38780
38832
|
}
|
|
@@ -38944,9 +38996,9 @@ var require_axios = __commonJS({
|
|
|
38944
38996
|
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
38945
38997
|
rejected = true;
|
|
38946
38998
|
responseStream.destroy();
|
|
38947
|
-
abort(new AxiosError(
|
|
38999
|
+
abort(new AxiosError$1(
|
|
38948
39000
|
"maxContentLength size of " + config.maxContentLength + " exceeded",
|
|
38949
|
-
AxiosError.ERR_BAD_RESPONSE,
|
|
39001
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
38950
39002
|
config,
|
|
38951
39003
|
lastRequest
|
|
38952
39004
|
));
|
|
@@ -38956,9 +39008,9 @@ var require_axios = __commonJS({
|
|
|
38956
39008
|
if (rejected) {
|
|
38957
39009
|
return;
|
|
38958
39010
|
}
|
|
38959
|
-
const err = new AxiosError(
|
|
39011
|
+
const err = new AxiosError$1(
|
|
38960
39012
|
"stream has been aborted",
|
|
38961
|
-
AxiosError.ERR_BAD_RESPONSE,
|
|
39013
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
38962
39014
|
config,
|
|
38963
39015
|
lastRequest
|
|
38964
39016
|
);
|
|
@@ -38967,7 +39019,7 @@ var require_axios = __commonJS({
|
|
|
38967
39019
|
});
|
|
38968
39020
|
responseStream.on("error", function handleStreamError(err) {
|
|
38969
39021
|
if (req.destroyed) return;
|
|
38970
|
-
reject2(AxiosError.from(err, null, config, lastRequest));
|
|
39022
|
+
reject2(AxiosError$1.from(err, null, config, lastRequest));
|
|
38971
39023
|
});
|
|
38972
39024
|
responseStream.on("end", function handleStreamEnd() {
|
|
38973
39025
|
try {
|
|
@@ -38980,7 +39032,7 @@ var require_axios = __commonJS({
|
|
|
38980
39032
|
}
|
|
38981
39033
|
response.data = responseData;
|
|
38982
39034
|
} catch (err) {
|
|
38983
|
-
return reject2(AxiosError.from(err, null, config, response.request, response));
|
|
39035
|
+
return reject2(AxiosError$1.from(err, null, config, response.request, response));
|
|
38984
39036
|
}
|
|
38985
39037
|
settle(resolve2, reject2, response);
|
|
38986
39038
|
});
|
|
@@ -39000,7 +39052,7 @@ var require_axios = __commonJS({
|
|
|
39000
39052
|
}
|
|
39001
39053
|
});
|
|
39002
39054
|
req.on("error", function handleRequestError(err) {
|
|
39003
|
-
reject2(AxiosError.from(err, null, config, req));
|
|
39055
|
+
reject2(AxiosError$1.from(err, null, config, req));
|
|
39004
39056
|
});
|
|
39005
39057
|
req.on("socket", function handleRequestSocket(socket) {
|
|
39006
39058
|
socket.setKeepAlive(true, 1e3 * 60);
|
|
@@ -39008,9 +39060,9 @@ var require_axios = __commonJS({
|
|
|
39008
39060
|
if (config.timeout) {
|
|
39009
39061
|
const timeout2 = parseInt(config.timeout, 10);
|
|
39010
39062
|
if (Number.isNaN(timeout2)) {
|
|
39011
|
-
abort(new AxiosError(
|
|
39063
|
+
abort(new AxiosError$1(
|
|
39012
39064
|
"error trying to parse `config.timeout` to int",
|
|
39013
|
-
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
39065
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE,
|
|
39014
39066
|
config,
|
|
39015
39067
|
req
|
|
39016
39068
|
));
|
|
@@ -39023,9 +39075,9 @@ var require_axios = __commonJS({
|
|
|
39023
39075
|
if (config.timeoutErrorMessage) {
|
|
39024
39076
|
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
39025
39077
|
}
|
|
39026
|
-
abort(new AxiosError(
|
|
39078
|
+
abort(new AxiosError$1(
|
|
39027
39079
|
timeoutErrorMessage,
|
|
39028
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
39080
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
39029
39081
|
config,
|
|
39030
39082
|
req
|
|
39031
39083
|
));
|
|
@@ -39045,7 +39097,7 @@ var require_axios = __commonJS({
|
|
|
39045
39097
|
});
|
|
39046
39098
|
data.on("close", () => {
|
|
39047
39099
|
if (!ended && !errored) {
|
|
39048
|
-
abort(new CanceledError("Request stream has been aborted", config, req));
|
|
39100
|
+
abort(new CanceledError$1("Request stream has been aborted", config, req));
|
|
39049
39101
|
}
|
|
39050
39102
|
});
|
|
39051
39103
|
data.pipe(req);
|
|
@@ -39177,11 +39229,16 @@ var require_axios = __commonJS({
|
|
|
39177
39229
|
validateStatus: mergeDirectKeys,
|
|
39178
39230
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
39179
39231
|
};
|
|
39180
|
-
utils$1.forEach(
|
|
39181
|
-
|
|
39182
|
-
|
|
39183
|
-
|
|
39184
|
-
|
|
39232
|
+
utils$1.forEach(
|
|
39233
|
+
Object.keys({ ...config1, ...config2 }),
|
|
39234
|
+
function computeConfigValue(prop) {
|
|
39235
|
+
if (prop === "__proto__" || prop === "constructor" || prop === "prototype")
|
|
39236
|
+
return;
|
|
39237
|
+
const merge2 = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
39238
|
+
const configValue = merge2(config1[prop], config2[prop], prop);
|
|
39239
|
+
utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
|
|
39240
|
+
}
|
|
39241
|
+
);
|
|
39185
39242
|
return config;
|
|
39186
39243
|
}
|
|
39187
39244
|
var resolveConfig = (config) => {
|
|
@@ -39280,12 +39337,12 @@ var require_axios = __commonJS({
|
|
|
39280
39337
|
if (!request) {
|
|
39281
39338
|
return;
|
|
39282
39339
|
}
|
|
39283
|
-
reject2(new AxiosError("Request aborted", AxiosError.ECONNABORTED, config, request));
|
|
39340
|
+
reject2(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config, request));
|
|
39284
39341
|
request = null;
|
|
39285
39342
|
};
|
|
39286
39343
|
request.onerror = function handleError(event) {
|
|
39287
39344
|
const msg = event && event.message ? event.message : "Network Error";
|
|
39288
|
-
const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
|
|
39345
|
+
const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
|
|
39289
39346
|
err.event = event || null;
|
|
39290
39347
|
reject2(err);
|
|
39291
39348
|
request = null;
|
|
@@ -39296,9 +39353,9 @@ var require_axios = __commonJS({
|
|
|
39296
39353
|
if (_config.timeoutErrorMessage) {
|
|
39297
39354
|
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
39298
39355
|
}
|
|
39299
|
-
reject2(new AxiosError(
|
|
39356
|
+
reject2(new AxiosError$1(
|
|
39300
39357
|
timeoutErrorMessage,
|
|
39301
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
39358
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
39302
39359
|
config,
|
|
39303
39360
|
request
|
|
39304
39361
|
));
|
|
@@ -39330,7 +39387,7 @@ var require_axios = __commonJS({
|
|
|
39330
39387
|
if (!request) {
|
|
39331
39388
|
return;
|
|
39332
39389
|
}
|
|
39333
|
-
reject2(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
|
|
39390
|
+
reject2(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
|
|
39334
39391
|
request.abort();
|
|
39335
39392
|
request = null;
|
|
39336
39393
|
};
|
|
@@ -39341,7 +39398,7 @@ var require_axios = __commonJS({
|
|
|
39341
39398
|
}
|
|
39342
39399
|
const protocol = parseProtocol(_config.url);
|
|
39343
39400
|
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
39344
|
-
reject2(new AxiosError("Unsupported protocol " + protocol + ":", AxiosError.ERR_BAD_REQUEST, config));
|
|
39401
|
+
reject2(new AxiosError$1("Unsupported protocol " + protocol + ":", AxiosError$1.ERR_BAD_REQUEST, config));
|
|
39345
39402
|
return;
|
|
39346
39403
|
}
|
|
39347
39404
|
request.send(requestData || null);
|
|
@@ -39357,12 +39414,12 @@ var require_axios = __commonJS({
|
|
|
39357
39414
|
aborted = true;
|
|
39358
39415
|
unsubscribe();
|
|
39359
39416
|
const err = reason instanceof Error ? reason : this.reason;
|
|
39360
|
-
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
39417
|
+
controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
|
|
39361
39418
|
}
|
|
39362
39419
|
};
|
|
39363
39420
|
let timer = timeout2 && setTimeout(() => {
|
|
39364
39421
|
timer = null;
|
|
39365
|
-
onabort(new AxiosError(`timeout ${timeout2}
|
|
39422
|
+
onabort(new AxiosError$1(`timeout of ${timeout2}ms exceeded`, AxiosError$1.ETIMEDOUT));
|
|
39366
39423
|
}, timeout2);
|
|
39367
39424
|
const unsubscribe = () => {
|
|
39368
39425
|
if (signals) {
|
|
@@ -39509,7 +39566,7 @@ var require_axios = __commonJS({
|
|
|
39509
39566
|
if (method) {
|
|
39510
39567
|
return method.call(res);
|
|
39511
39568
|
}
|
|
39512
|
-
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
39569
|
+
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
39513
39570
|
});
|
|
39514
39571
|
});
|
|
39515
39572
|
})();
|
|
@@ -39634,13 +39691,13 @@ var require_axios = __commonJS({
|
|
|
39634
39691
|
unsubscribe && unsubscribe();
|
|
39635
39692
|
if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
|
|
39636
39693
|
throw Object.assign(
|
|
39637
|
-
new AxiosError("Network Error", AxiosError.ERR_NETWORK, config, request),
|
|
39694
|
+
new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request, err && err.response),
|
|
39638
39695
|
{
|
|
39639
39696
|
cause: err.cause || err
|
|
39640
39697
|
}
|
|
39641
39698
|
);
|
|
39642
39699
|
}
|
|
39643
|
-
throw AxiosError.from(err, err && err.code, config, request);
|
|
39700
|
+
throw AxiosError$1.from(err, err && err.code, config, request, err && err.response);
|
|
39644
39701
|
}
|
|
39645
39702
|
};
|
|
39646
39703
|
};
|
|
@@ -39694,7 +39751,7 @@ var require_axios = __commonJS({
|
|
|
39694
39751
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
39695
39752
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
39696
39753
|
if (adapter === void 0) {
|
|
39697
|
-
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
39754
|
+
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
39698
39755
|
}
|
|
39699
39756
|
}
|
|
39700
39757
|
if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
|
|
@@ -39707,7 +39764,7 @@ var require_axios = __commonJS({
|
|
|
39707
39764
|
([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
|
|
39708
39765
|
);
|
|
39709
39766
|
let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
|
|
39710
|
-
throw new AxiosError(
|
|
39767
|
+
throw new AxiosError$1(
|
|
39711
39768
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
39712
39769
|
"ERR_NOT_SUPPORT"
|
|
39713
39770
|
);
|
|
@@ -39731,7 +39788,7 @@ var require_axios = __commonJS({
|
|
|
39731
39788
|
config.cancelToken.throwIfRequested();
|
|
39732
39789
|
}
|
|
39733
39790
|
if (config.signal && config.signal.aborted) {
|
|
39734
|
-
throw new CanceledError(null, config);
|
|
39791
|
+
throw new CanceledError$1(null, config);
|
|
39735
39792
|
}
|
|
39736
39793
|
}
|
|
39737
39794
|
function dispatchRequest(config) {
|
|
@@ -39782,9 +39839,9 @@ var require_axios = __commonJS({
|
|
|
39782
39839
|
}
|
|
39783
39840
|
return (value, opt, opts) => {
|
|
39784
39841
|
if (validator2 === false) {
|
|
39785
|
-
throw new AxiosError(
|
|
39842
|
+
throw new AxiosError$1(
|
|
39786
39843
|
formatMessage(opt, " has been removed" + (version ? " in " + version : "")),
|
|
39787
|
-
AxiosError.ERR_DEPRECATED
|
|
39844
|
+
AxiosError$1.ERR_DEPRECATED
|
|
39788
39845
|
);
|
|
39789
39846
|
}
|
|
39790
39847
|
if (version && !deprecatedWarnings[opt]) {
|
|
@@ -39807,7 +39864,7 @@ var require_axios = __commonJS({
|
|
|
39807
39864
|
};
|
|
39808
39865
|
function assertOptions(options, schema, allowUnknown) {
|
|
39809
39866
|
if (typeof options !== "object") {
|
|
39810
|
-
throw new AxiosError("options must be an object", AxiosError.ERR_BAD_OPTION_VALUE);
|
|
39867
|
+
throw new AxiosError$1("options must be an object", AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
39811
39868
|
}
|
|
39812
39869
|
const keys = Object.keys(options);
|
|
39813
39870
|
let i = keys.length;
|
|
@@ -39818,12 +39875,12 @@ var require_axios = __commonJS({
|
|
|
39818
39875
|
const value = options[opt];
|
|
39819
39876
|
const result = value === void 0 || validator2(value, opt, options);
|
|
39820
39877
|
if (result !== true) {
|
|
39821
|
-
throw new AxiosError("option " + opt + " must be " + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
|
39878
|
+
throw new AxiosError$1("option " + opt + " must be " + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
39822
39879
|
}
|
|
39823
39880
|
continue;
|
|
39824
39881
|
}
|
|
39825
39882
|
if (allowUnknown !== true) {
|
|
39826
|
-
throw new AxiosError("Unknown option " + opt, AxiosError.ERR_BAD_OPTION);
|
|
39883
|
+
throw new AxiosError$1("Unknown option " + opt, AxiosError$1.ERR_BAD_OPTION);
|
|
39827
39884
|
}
|
|
39828
39885
|
}
|
|
39829
39886
|
}
|
|
@@ -39881,7 +39938,8 @@ var require_axios = __commonJS({
|
|
|
39881
39938
|
validator.assertOptions(transitional, {
|
|
39882
39939
|
silentJSONParsing: validators.transitional(validators.boolean),
|
|
39883
39940
|
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
39884
|
-
clarifyTimeoutError: validators.transitional(validators.boolean)
|
|
39941
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
39942
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
|
|
39885
39943
|
}, false);
|
|
39886
39944
|
}
|
|
39887
39945
|
if (paramsSerializer != null) {
|
|
@@ -39925,7 +39983,13 @@ var require_axios = __commonJS({
|
|
|
39925
39983
|
return;
|
|
39926
39984
|
}
|
|
39927
39985
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
39928
|
-
|
|
39986
|
+
const transitional2 = config.transitional || transitionalDefaults;
|
|
39987
|
+
const legacyInterceptorReqResOrdering = transitional2 && transitional2.legacyInterceptorReqResOrdering;
|
|
39988
|
+
if (legacyInterceptorReqResOrdering) {
|
|
39989
|
+
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
39990
|
+
} else {
|
|
39991
|
+
requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
39992
|
+
}
|
|
39929
39993
|
});
|
|
39930
39994
|
const responseInterceptorChain = [];
|
|
39931
39995
|
this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
|
|
@@ -40034,7 +40098,7 @@ var require_axios = __commonJS({
|
|
|
40034
40098
|
if (token2.reason) {
|
|
40035
40099
|
return;
|
|
40036
40100
|
}
|
|
40037
|
-
token2.reason = new CanceledError(message, config, request);
|
|
40101
|
+
token2.reason = new CanceledError$1(message, config, request);
|
|
40038
40102
|
resolvePromise(token2.reason);
|
|
40039
40103
|
});
|
|
40040
40104
|
}
|
|
@@ -40192,12 +40256,12 @@ var require_axios = __commonJS({
|
|
|
40192
40256
|
}
|
|
40193
40257
|
var axios = createInstance2(defaults$1);
|
|
40194
40258
|
axios.Axios = Axios$1;
|
|
40195
|
-
axios.CanceledError = CanceledError;
|
|
40259
|
+
axios.CanceledError = CanceledError$1;
|
|
40196
40260
|
axios.CancelToken = CancelToken$1;
|
|
40197
40261
|
axios.isCancel = isCancel;
|
|
40198
40262
|
axios.VERSION = VERSION;
|
|
40199
40263
|
axios.toFormData = toFormData;
|
|
40200
|
-
axios.AxiosError = AxiosError;
|
|
40264
|
+
axios.AxiosError = AxiosError$1;
|
|
40201
40265
|
axios.Cancel = axios.CanceledError;
|
|
40202
40266
|
axios.all = function all(promises) {
|
|
40203
40267
|
return Promise.all(promises);
|
|
@@ -45283,6 +45347,7 @@ var require_fs = __commonJS({
|
|
|
45283
45347
|
"chown",
|
|
45284
45348
|
"close",
|
|
45285
45349
|
"copyFile",
|
|
45350
|
+
"cp",
|
|
45286
45351
|
"fchmod",
|
|
45287
45352
|
"fchown",
|
|
45288
45353
|
"fdatasync",
|
|
@@ -45290,8 +45355,10 @@ var require_fs = __commonJS({
|
|
|
45290
45355
|
"fsync",
|
|
45291
45356
|
"ftruncate",
|
|
45292
45357
|
"futimes",
|
|
45358
|
+
"glob",
|
|
45293
45359
|
"lchmod",
|
|
45294
45360
|
"lchown",
|
|
45361
|
+
"lutimes",
|
|
45295
45362
|
"link",
|
|
45296
45363
|
"lstat",
|
|
45297
45364
|
"mkdir",
|
|
@@ -45306,6 +45373,7 @@ var require_fs = __commonJS({
|
|
|
45306
45373
|
"rm",
|
|
45307
45374
|
"rmdir",
|
|
45308
45375
|
"stat",
|
|
45376
|
+
"statfs",
|
|
45309
45377
|
"symlink",
|
|
45310
45378
|
"truncate",
|
|
45311
45379
|
"unlink",
|
|
@@ -45605,7 +45673,7 @@ var require_stat = __commonJS({
|
|
|
45605
45673
|
return checkParentPathsSync(src, srcStat, destParent, funcName);
|
|
45606
45674
|
}
|
|
45607
45675
|
function areIdentical(srcStat, destStat) {
|
|
45608
|
-
return destStat.ino && destStat.dev && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
|
|
45676
|
+
return destStat.ino !== void 0 && destStat.dev !== void 0 && destStat.ino === srcStat.ino && destStat.dev === srcStat.dev;
|
|
45609
45677
|
}
|
|
45610
45678
|
function isSrcSubdir(src, dest) {
|
|
45611
45679
|
const srcArr = path.resolve(src).split(path.sep).filter((i) => i);
|
|
@@ -45629,6 +45697,34 @@ var require_stat = __commonJS({
|
|
|
45629
45697
|
}
|
|
45630
45698
|
});
|
|
45631
45699
|
|
|
45700
|
+
// ../../node_modules/@sap/bas-sdk/node_modules/fs-extra/lib/util/async.js
|
|
45701
|
+
var require_async2 = __commonJS({
|
|
45702
|
+
"../../node_modules/@sap/bas-sdk/node_modules/fs-extra/lib/util/async.js"(exports2, module2) {
|
|
45703
|
+
"use strict";
|
|
45704
|
+
async function asyncIteratorConcurrentProcess(iterator, fn) {
|
|
45705
|
+
const promises = [];
|
|
45706
|
+
for await (const item of iterator) {
|
|
45707
|
+
promises.push(
|
|
45708
|
+
fn(item).then(
|
|
45709
|
+
() => null,
|
|
45710
|
+
(err) => err ?? new Error("unknown error")
|
|
45711
|
+
)
|
|
45712
|
+
);
|
|
45713
|
+
}
|
|
45714
|
+
await Promise.all(
|
|
45715
|
+
promises.map(
|
|
45716
|
+
(promise) => promise.then((possibleErr) => {
|
|
45717
|
+
if (possibleErr !== null) throw possibleErr;
|
|
45718
|
+
})
|
|
45719
|
+
)
|
|
45720
|
+
);
|
|
45721
|
+
}
|
|
45722
|
+
module2.exports = {
|
|
45723
|
+
asyncIteratorConcurrentProcess
|
|
45724
|
+
};
|
|
45725
|
+
}
|
|
45726
|
+
});
|
|
45727
|
+
|
|
45632
45728
|
// ../../node_modules/@sap/bas-sdk/node_modules/fs-extra/lib/copy/copy.js
|
|
45633
45729
|
var require_copy = __commonJS({
|
|
45634
45730
|
"../../node_modules/@sap/bas-sdk/node_modules/fs-extra/lib/copy/copy.js"(exports2, module2) {
|
|
@@ -45639,6 +45735,7 @@ var require_copy = __commonJS({
|
|
|
45639
45735
|
var { pathExists } = require_path_exists();
|
|
45640
45736
|
var { utimesMillis } = require_utimes();
|
|
45641
45737
|
var stat = require_stat();
|
|
45738
|
+
var { asyncIteratorConcurrentProcess } = require_async2();
|
|
45642
45739
|
async function copy2(src, dest, opts = {}) {
|
|
45643
45740
|
if (typeof opts === "function") {
|
|
45644
45741
|
opts = { filter: opts };
|
|
@@ -45708,15 +45805,15 @@ var require_copy = __commonJS({
|
|
|
45708
45805
|
if (!destStat) {
|
|
45709
45806
|
await fs.mkdir(dest);
|
|
45710
45807
|
}
|
|
45711
|
-
|
|
45712
|
-
|
|
45713
|
-
const
|
|
45714
|
-
const destItem = path.join(dest, item);
|
|
45808
|
+
await asyncIteratorConcurrentProcess(await fs.opendir(src), async (item) => {
|
|
45809
|
+
const srcItem = path.join(src, item.name);
|
|
45810
|
+
const destItem = path.join(dest, item.name);
|
|
45715
45811
|
const include = await runFilter(srcItem, destItem, opts);
|
|
45716
|
-
if (
|
|
45717
|
-
|
|
45718
|
-
|
|
45719
|
-
|
|
45812
|
+
if (include) {
|
|
45813
|
+
const { destStat: destStat2 } = await stat.checkPaths(srcItem, destItem, "copy", opts);
|
|
45814
|
+
await getStatsAndPerformCopy(destStat2, srcItem, destItem, opts);
|
|
45815
|
+
}
|
|
45816
|
+
});
|
|
45720
45817
|
if (!destStat) {
|
|
45721
45818
|
await fs.chmod(dest, srcStat.mode);
|
|
45722
45819
|
}
|
|
@@ -45836,7 +45933,15 @@ var require_copy_sync = __commonJS({
|
|
|
45836
45933
|
return setDestMode(dest, srcMode);
|
|
45837
45934
|
}
|
|
45838
45935
|
function copyDir(src, dest, opts) {
|
|
45839
|
-
fs.
|
|
45936
|
+
const dir3 = fs.opendirSync(src);
|
|
45937
|
+
try {
|
|
45938
|
+
let dirent;
|
|
45939
|
+
while ((dirent = dir3.readSync()) !== null) {
|
|
45940
|
+
copyDirItem(dirent.name, src, dest, opts);
|
|
45941
|
+
}
|
|
45942
|
+
} finally {
|
|
45943
|
+
dir3.closeSync();
|
|
45944
|
+
}
|
|
45840
45945
|
}
|
|
45841
45946
|
function copyDirItem(item, src, dest, opts) {
|
|
45842
45947
|
const srcItem = path.join(src, item);
|
|
@@ -47237,6 +47342,62 @@ var require_jwt_helper = __commonJS({
|
|
|
47237
47342
|
}
|
|
47238
47343
|
});
|
|
47239
47344
|
|
|
47345
|
+
// ../../node_modules/@sap/bas-sdk/dist/src/apis/package-action.js
|
|
47346
|
+
var require_package_action = __commonJS({
|
|
47347
|
+
"../../node_modules/@sap/bas-sdk/dist/src/apis/package-action.js"(exports2) {
|
|
47348
|
+
"use strict";
|
|
47349
|
+
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
47350
|
+
if (k2 === void 0) k2 = k;
|
|
47351
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
47352
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
47353
|
+
desc = { enumerable: true, get: function() {
|
|
47354
|
+
return m[k];
|
|
47355
|
+
} };
|
|
47356
|
+
}
|
|
47357
|
+
Object.defineProperty(o, k2, desc);
|
|
47358
|
+
} : function(o, m, k, k2) {
|
|
47359
|
+
if (k2 === void 0) k2 = k;
|
|
47360
|
+
o[k2] = m[k];
|
|
47361
|
+
});
|
|
47362
|
+
var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v) {
|
|
47363
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
47364
|
+
} : function(o, v) {
|
|
47365
|
+
o["default"] = v;
|
|
47366
|
+
});
|
|
47367
|
+
var __importStar = exports2 && exports2.__importStar || function(mod) {
|
|
47368
|
+
if (mod && mod.__esModule) return mod;
|
|
47369
|
+
var result = {};
|
|
47370
|
+
if (mod != null) {
|
|
47371
|
+
for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
47372
|
+
}
|
|
47373
|
+
__setModuleDefault(result, mod);
|
|
47374
|
+
return result;
|
|
47375
|
+
};
|
|
47376
|
+
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
47377
|
+
return mod && mod.__esModule ? mod : { "default": mod };
|
|
47378
|
+
};
|
|
47379
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47380
|
+
exports2.createActionRequest = void 0;
|
|
47381
|
+
var https = __importStar(require("https"));
|
|
47382
|
+
var axios_1 = __importDefault(require_axios());
|
|
47383
|
+
async function createActionRequest(data) {
|
|
47384
|
+
var _a;
|
|
47385
|
+
const reqUrl = data.startupServerUrl.endsWith("/") ? `${data.startupServerUrl}action` : `${data.startupServerUrl}/action`;
|
|
47386
|
+
const urlencodedForm = new URLSearchParams(Object.entries(data.form)).toString();
|
|
47387
|
+
return axios_1.default.post(reqUrl, urlencodedForm, {
|
|
47388
|
+
httpsAgent: new https.Agent({
|
|
47389
|
+
rejectUnauthorized: (_a = data.enforceSecurityVerification) !== null && _a !== void 0 ? _a : true
|
|
47390
|
+
}),
|
|
47391
|
+
headers: {
|
|
47392
|
+
Authorization: `Bearer ${data.jwt}`,
|
|
47393
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
47394
|
+
}
|
|
47395
|
+
});
|
|
47396
|
+
}
|
|
47397
|
+
exports2.createActionRequest = createActionRequest;
|
|
47398
|
+
}
|
|
47399
|
+
});
|
|
47400
|
+
|
|
47240
47401
|
// ../../node_modules/@sap/bas-sdk/dist/src/index.js
|
|
47241
47402
|
var require_src2 = __commonJS({
|
|
47242
47403
|
"../../node_modules/@sap/bas-sdk/dist/src/index.js"(exports2) {
|
|
@@ -47287,10 +47448,12 @@ var require_src2 = __commonJS({
|
|
|
47287
47448
|
var isInternalAccount = __importStar(require_is_internal_account());
|
|
47288
47449
|
var ai_1 = require_ai();
|
|
47289
47450
|
var jwt_helper_1 = require_jwt_helper();
|
|
47451
|
+
var package_action_1 = require_package_action();
|
|
47290
47452
|
exports2.core = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, isAppStudio), headersHelper), runCommand), getEnvValue), { getExtLoginPath: core_utils_1.getExtLoginPath }), isInternalAccount), {
|
|
47291
47453
|
getOpenProjectInVSCodeURI: get_open_project_in_vscode_uri_1.getOpenProjectInVSCodeURI,
|
|
47292
47454
|
isJwtExpired: jwt_helper_1.isJwtExpired,
|
|
47293
|
-
timeUntilJwtExpires: jwt_helper_1.timeUntilJwtExpires
|
|
47455
|
+
timeUntilJwtExpires: jwt_helper_1.timeUntilJwtExpires,
|
|
47456
|
+
createActionRequest: package_action_1.createActionRequest
|
|
47294
47457
|
});
|
|
47295
47458
|
exports2.devspaceApi = Object.assign({}, devspaceApiFactory);
|
|
47296
47459
|
exports2.destinations = Object.assign(Object.assign({}, getDestinations), createDestination);
|
|
@@ -56722,7 +56885,7 @@ var require_dist3 = __commonJS({
|
|
|
56722
56885
|
var import_reload_middleware = __toESM(require_dist3());
|
|
56723
56886
|
var import_node_path = require("node:path");
|
|
56724
56887
|
|
|
56725
|
-
// node_modules/i18next/dist/esm/i18next.js
|
|
56888
|
+
// ../../node_modules/i18next/dist/esm/i18next.js
|
|
56726
56889
|
var isString = (obj) => typeof obj === "string";
|
|
56727
56890
|
var defer = () => {
|
|
56728
56891
|
let res;
|
|
@@ -57198,7 +57361,12 @@ var Translator = class _Translator extends EventEmitter {
|
|
|
57198
57361
|
};
|
|
57199
57362
|
if (key == null) return false;
|
|
57200
57363
|
const resolved = this.resolve(key, opt);
|
|
57201
|
-
|
|
57364
|
+
if ((resolved == null ? void 0 : resolved.res) === void 0) return false;
|
|
57365
|
+
const isObject = shouldHandleAsObject(resolved.res);
|
|
57366
|
+
if (opt.returnObjects === false && isObject) {
|
|
57367
|
+
return false;
|
|
57368
|
+
}
|
|
57369
|
+
return true;
|
|
57202
57370
|
}
|
|
57203
57371
|
extractFromKey(key, opt) {
|
|
57204
57372
|
let nsSeparator = opt.nsSeparator !== void 0 ? opt.nsSeparator : this.options.nsSeparator;
|
|
@@ -57731,9 +57899,6 @@ var PluralResolver = class {
|
|
|
57731
57899
|
this.logger = baseLogger.create("pluralResolver");
|
|
57732
57900
|
this.pluralRulesCache = {};
|
|
57733
57901
|
}
|
|
57734
|
-
addRule(lng, obj) {
|
|
57735
|
-
this.rules[lng] = obj;
|
|
57736
|
-
}
|
|
57737
57902
|
clearCache() {
|
|
57738
57903
|
this.pluralRulesCache = {};
|
|
57739
57904
|
}
|
|
@@ -58475,6 +58640,12 @@ var I18n = class _I18n extends EventEmitter {
|
|
|
58475
58640
|
if (options.nsSeparator !== void 0) {
|
|
58476
58641
|
this.options.userDefinedNsSeparator = options.nsSeparator;
|
|
58477
58642
|
}
|
|
58643
|
+
if (typeof this.options.overloadTranslationOptionHandler !== "function") {
|
|
58644
|
+
this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
|
|
58645
|
+
}
|
|
58646
|
+
if (this.options.debug === true) {
|
|
58647
|
+
if (typeof console !== "undefined") console.warn("i18next is maintained with support from locize.com \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");
|
|
58648
|
+
}
|
|
58478
58649
|
const createClassOnDemand = (ClassOrObject) => {
|
|
58479
58650
|
if (!ClassOrObject) return null;
|
|
58480
58651
|
if (typeof ClassOrObject === "function") return new ClassOrObject();
|
|
@@ -58852,7 +59023,9 @@ var I18n = class _I18n extends EventEmitter {
|
|
|
58852
59023
|
return rtlLngs.indexOf(languageUtils.getLanguagePartFromCode(lng)) > -1 || lng.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
58853
59024
|
}
|
|
58854
59025
|
static createInstance(options = {}, callback) {
|
|
58855
|
-
|
|
59026
|
+
const instance2 = new _I18n(options, callback);
|
|
59027
|
+
instance2.createInstance = _I18n.createInstance;
|
|
59028
|
+
return instance2;
|
|
58856
59029
|
}
|
|
58857
59030
|
cloneInstance(options = {}, callback = noop) {
|
|
58858
59031
|
const forkResourceStore = options.forkResourceStore;
|
|
@@ -58894,6 +59067,19 @@ var I18n = class _I18n extends EventEmitter {
|
|
|
58894
59067
|
clone.store = new ResourceStore(clonedData, mergedOptions);
|
|
58895
59068
|
clone.services.resourceStore = clone.store;
|
|
58896
59069
|
}
|
|
59070
|
+
if (options.interpolation) {
|
|
59071
|
+
const defOpts = get();
|
|
59072
|
+
const mergedInterpolation = {
|
|
59073
|
+
...defOpts.interpolation,
|
|
59074
|
+
...this.options.interpolation,
|
|
59075
|
+
...options.interpolation
|
|
59076
|
+
};
|
|
59077
|
+
const mergedForInterpolator = {
|
|
59078
|
+
...mergedOptions,
|
|
59079
|
+
interpolation: mergedInterpolation
|
|
59080
|
+
};
|
|
59081
|
+
clone.services.interpolator = new Interpolator(mergedForInterpolator);
|
|
59082
|
+
}
|
|
58897
59083
|
clone.translator = new Translator(clone.services, mergedOptions);
|
|
58898
59084
|
clone.translator.on("*", (event, ...args) => {
|
|
58899
59085
|
clone.emit(event, ...args);
|
|
@@ -58916,7 +59102,6 @@ var I18n = class _I18n extends EventEmitter {
|
|
|
58916
59102
|
}
|
|
58917
59103
|
};
|
|
58918
59104
|
var instance = I18n.createInstance();
|
|
58919
|
-
instance.createInstance = I18n.createInstance;
|
|
58920
59105
|
var createInstance = instance.createInstance;
|
|
58921
59106
|
var dir2 = instance.dir;
|
|
58922
59107
|
var init = instance.init;
|
|
@@ -59098,10 +59283,12 @@ module.exports = async function({
|
|
|
59098
59283
|
"ctrl_variant_management_change"
|
|
59099
59284
|
]
|
|
59100
59285
|
};
|
|
59101
|
-
const config =
|
|
59286
|
+
const config = {
|
|
59102
59287
|
...defaultLiveReloadOptions,
|
|
59103
59288
|
connectOptions: defaultConnectOptions,
|
|
59104
|
-
https: { key: process.env.FIORI_TOOLS_SSL_KEY, cert: process.env.FIORI_TOOLS_SSL_CERT }
|
|
59289
|
+
https: { key: process.env.FIORI_TOOLS_SSL_KEY, cert: process.env.FIORI_TOOLS_SSL_CERT },
|
|
59290
|
+
path: ".",
|
|
59291
|
+
...options.configuration ?? {}
|
|
59105
59292
|
};
|
|
59106
59293
|
const log2 = new import_logger.ToolsLogger({
|
|
59107
59294
|
transports: [new import_logger.UI5ToolingTransport({ moduleName: "fiori-tools-appreload" })]
|
|
@@ -59110,11 +59297,7 @@ module.exports = async function({
|
|
|
59110
59297
|
const connectOpts = connectOptions ?? defaultConnectOptions;
|
|
59111
59298
|
const rootPath = middlewareUtil.getProject().getRootPath();
|
|
59112
59299
|
const sourcePath = middlewareUtil.getProject().getSourcePath();
|
|
59113
|
-
const livereloadServer = await (0, import_reload_middleware.getLivereloadServer)(
|
|
59114
|
-
{ ...defaultLiveReloadOptions, ...liveReloadOptions },
|
|
59115
|
-
https,
|
|
59116
|
-
log2
|
|
59117
|
-
);
|
|
59300
|
+
const livereloadServer = await (0, import_reload_middleware.getLivereloadServer)(liveReloadOptions, https, log2);
|
|
59118
59301
|
const livereloadPort = livereloadServer.config.port;
|
|
59119
59302
|
if (Array.isArray(path)) {
|
|
59120
59303
|
const watchPaths = path.map((localPath) => (0, import_node_path.resolve)(rootPath, localPath));
|
|
@@ -59159,7 +59342,7 @@ mime-types/index.js:
|
|
|
59159
59342
|
*)
|
|
59160
59343
|
|
|
59161
59344
|
axios/dist/node/axios.cjs:
|
|
59162
|
-
(*! Axios v1.13.
|
|
59345
|
+
(*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors *)
|
|
59163
59346
|
|
|
59164
59347
|
repeat-string/index.js:
|
|
59165
59348
|
(*!
|