@bigbinary/neeto-audit-frontend 2.4.1 → 2.4.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/dist/index.js
CHANGED
|
@@ -2817,12 +2817,12 @@ function _iterableToArrayLimit(r, l) {
|
|
|
2817
2817
|
i,
|
|
2818
2818
|
u,
|
|
2819
2819
|
a = [],
|
|
2820
|
-
f =
|
|
2821
|
-
o =
|
|
2820
|
+
f = true,
|
|
2821
|
+
o = false;
|
|
2822
2822
|
try {
|
|
2823
2823
|
if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
|
2824
2824
|
} catch (r) {
|
|
2825
|
-
o =
|
|
2825
|
+
o = true, n = r;
|
|
2826
2826
|
} finally {
|
|
2827
2827
|
try {
|
|
2828
2828
|
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
|
@@ -2922,7 +2922,7 @@ function _defineProperty(obj, key, value) {
|
|
|
2922
2922
|
}
|
|
2923
2923
|
|
|
2924
2924
|
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2925
|
-
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t),
|
|
2925
|
+
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2926
2926
|
// src/utils/env.ts
|
|
2927
2927
|
var NOTHING = Symbol["for"]("immer-nothing");
|
|
2928
2928
|
var DRAFTABLE = Symbol["for"]("immer-draftable");
|
|
@@ -6930,7 +6930,7 @@ function incrementNodeInspectorPort(args) {
|
|
|
6930
6930
|
|
|
6931
6931
|
command.Command = Command$1;
|
|
6932
6932
|
|
|
6933
|
-
(function (module, exports) {
|
|
6933
|
+
(function (module, exports$1) {
|
|
6934
6934
|
const { Argument } = argument;
|
|
6935
6935
|
const { Command } = command;
|
|
6936
6936
|
const { CommanderError, InvalidArgumentError } = error;
|
|
@@ -6941,22 +6941,22 @@ command.Command = Command$1;
|
|
|
6941
6941
|
* Expose the root command.
|
|
6942
6942
|
*/
|
|
6943
6943
|
|
|
6944
|
-
exports = module.exports = new Command();
|
|
6945
|
-
exports.program = exports; // More explicit access to global command.
|
|
6944
|
+
exports$1 = module.exports = new Command();
|
|
6945
|
+
exports$1.program = exports$1; // More explicit access to global command.
|
|
6946
6946
|
// createArgument, createCommand, and createOption are implicitly available as they are methods on program.
|
|
6947
6947
|
|
|
6948
6948
|
/**
|
|
6949
6949
|
* Expose classes
|
|
6950
6950
|
*/
|
|
6951
6951
|
|
|
6952
|
-
exports.Command = Command;
|
|
6953
|
-
exports.Option = Option;
|
|
6954
|
-
exports.Argument = Argument;
|
|
6955
|
-
exports.Help = Help;
|
|
6952
|
+
exports$1.Command = Command;
|
|
6953
|
+
exports$1.Option = Option;
|
|
6954
|
+
exports$1.Argument = Argument;
|
|
6955
|
+
exports$1.Help = Help;
|
|
6956
6956
|
|
|
6957
|
-
exports.CommanderError = CommanderError;
|
|
6958
|
-
exports.InvalidArgumentError = InvalidArgumentError;
|
|
6959
|
-
exports.InvalidOptionArgumentError = InvalidArgumentError; // Deprecated
|
|
6957
|
+
exports$1.CommanderError = CommanderError;
|
|
6958
|
+
exports$1.InvalidArgumentError = InvalidArgumentError;
|
|
6959
|
+
exports$1.InvalidOptionArgumentError = InvalidArgumentError; // Deprecated
|
|
6960
6960
|
} (commander$1, commander$1.exports));
|
|
6961
6961
|
|
|
6962
6962
|
var commanderExports = commander$1.exports;
|
|
@@ -10482,17 +10482,17 @@ var hasRequiredBrowser;
|
|
|
10482
10482
|
function requireBrowser () {
|
|
10483
10483
|
if (hasRequiredBrowser) return browser.exports;
|
|
10484
10484
|
hasRequiredBrowser = 1;
|
|
10485
|
-
(function (module, exports) {
|
|
10485
|
+
(function (module, exports$1) {
|
|
10486
10486
|
/**
|
|
10487
10487
|
* This is the web browser implementation of `debug()`.
|
|
10488
10488
|
*/
|
|
10489
10489
|
|
|
10490
|
-
exports.formatArgs = formatArgs;
|
|
10491
|
-
exports.save = save;
|
|
10492
|
-
exports.load = load;
|
|
10493
|
-
exports.useColors = useColors;
|
|
10494
|
-
exports.storage = localstorage();
|
|
10495
|
-
exports.destroy = (() => {
|
|
10490
|
+
exports$1.formatArgs = formatArgs;
|
|
10491
|
+
exports$1.save = save;
|
|
10492
|
+
exports$1.load = load;
|
|
10493
|
+
exports$1.useColors = useColors;
|
|
10494
|
+
exports$1.storage = localstorage();
|
|
10495
|
+
exports$1.destroy = (() => {
|
|
10496
10496
|
let warned = false;
|
|
10497
10497
|
|
|
10498
10498
|
return () => {
|
|
@@ -10507,7 +10507,7 @@ function requireBrowser () {
|
|
|
10507
10507
|
* Colors.
|
|
10508
10508
|
*/
|
|
10509
10509
|
|
|
10510
|
-
exports.colors = [
|
|
10510
|
+
exports$1.colors = [
|
|
10511
10511
|
'#0000CC',
|
|
10512
10512
|
'#0000FF',
|
|
10513
10513
|
'#0033CC',
|
|
@@ -10669,7 +10669,7 @@ function requireBrowser () {
|
|
|
10669
10669
|
*
|
|
10670
10670
|
* @api public
|
|
10671
10671
|
*/
|
|
10672
|
-
exports.log = console.debug || console.log || (() => {});
|
|
10672
|
+
exports$1.log = console.debug || console.log || (() => {});
|
|
10673
10673
|
|
|
10674
10674
|
/**
|
|
10675
10675
|
* Save `namespaces`.
|
|
@@ -10680,9 +10680,9 @@ function requireBrowser () {
|
|
|
10680
10680
|
function save(namespaces) {
|
|
10681
10681
|
try {
|
|
10682
10682
|
if (namespaces) {
|
|
10683
|
-
exports.storage.setItem('debug', namespaces);
|
|
10683
|
+
exports$1.storage.setItem('debug', namespaces);
|
|
10684
10684
|
} else {
|
|
10685
|
-
exports.storage.removeItem('debug');
|
|
10685
|
+
exports$1.storage.removeItem('debug');
|
|
10686
10686
|
}
|
|
10687
10687
|
} catch (error) {
|
|
10688
10688
|
// Swallow
|
|
@@ -10699,7 +10699,7 @@ function requireBrowser () {
|
|
|
10699
10699
|
function load() {
|
|
10700
10700
|
let r;
|
|
10701
10701
|
try {
|
|
10702
|
-
r = exports.storage.getItem('debug');
|
|
10702
|
+
r = exports$1.storage.getItem('debug');
|
|
10703
10703
|
} catch (error) {
|
|
10704
10704
|
// Swallow
|
|
10705
10705
|
// XXX (@Qix-) should we be logging these?
|
|
@@ -10735,7 +10735,7 @@ function requireBrowser () {
|
|
|
10735
10735
|
}
|
|
10736
10736
|
}
|
|
10737
10737
|
|
|
10738
|
-
module.exports = requireCommon()(exports);
|
|
10738
|
+
module.exports = requireCommon()(exports$1);
|
|
10739
10739
|
|
|
10740
10740
|
const {formatters} = module.exports;
|
|
10741
10741
|
|
|
@@ -10941,7 +10941,7 @@ var hasRequiredNode;
|
|
|
10941
10941
|
function requireNode () {
|
|
10942
10942
|
if (hasRequiredNode) return node.exports;
|
|
10943
10943
|
hasRequiredNode = 1;
|
|
10944
|
-
(function (module, exports) {
|
|
10944
|
+
(function (module, exports$1) {
|
|
10945
10945
|
const tty = require$$1$1;
|
|
10946
10946
|
const util = util$3;
|
|
10947
10947
|
|
|
@@ -10949,13 +10949,13 @@ function requireNode () {
|
|
|
10949
10949
|
* This is the Node.js implementation of `debug()`.
|
|
10950
10950
|
*/
|
|
10951
10951
|
|
|
10952
|
-
exports.init = init;
|
|
10953
|
-
exports.log = log;
|
|
10954
|
-
exports.formatArgs = formatArgs;
|
|
10955
|
-
exports.save = save;
|
|
10956
|
-
exports.load = load;
|
|
10957
|
-
exports.useColors = useColors;
|
|
10958
|
-
exports.destroy = util.deprecate(
|
|
10952
|
+
exports$1.init = init;
|
|
10953
|
+
exports$1.log = log;
|
|
10954
|
+
exports$1.formatArgs = formatArgs;
|
|
10955
|
+
exports$1.save = save;
|
|
10956
|
+
exports$1.load = load;
|
|
10957
|
+
exports$1.useColors = useColors;
|
|
10958
|
+
exports$1.destroy = util.deprecate(
|
|
10959
10959
|
() => {},
|
|
10960
10960
|
'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'
|
|
10961
10961
|
);
|
|
@@ -10964,7 +10964,7 @@ function requireNode () {
|
|
|
10964
10964
|
* Colors.
|
|
10965
10965
|
*/
|
|
10966
10966
|
|
|
10967
|
-
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
10967
|
+
exports$1.colors = [6, 2, 3, 4, 5, 1];
|
|
10968
10968
|
|
|
10969
10969
|
try {
|
|
10970
10970
|
// Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
|
|
@@ -10972,7 +10972,7 @@ function requireNode () {
|
|
|
10972
10972
|
const supportsColor = requireSupportsColor();
|
|
10973
10973
|
|
|
10974
10974
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
10975
|
-
exports.colors = [
|
|
10975
|
+
exports$1.colors = [
|
|
10976
10976
|
20,
|
|
10977
10977
|
21,
|
|
10978
10978
|
26,
|
|
@@ -11061,7 +11061,7 @@ function requireNode () {
|
|
|
11061
11061
|
* $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js
|
|
11062
11062
|
*/
|
|
11063
11063
|
|
|
11064
|
-
exports.inspectOpts = Object.keys(process.env).filter(key => {
|
|
11064
|
+
exports$1.inspectOpts = Object.keys(process.env).filter(key => {
|
|
11065
11065
|
return /^debug_/i.test(key);
|
|
11066
11066
|
}).reduce((obj, key) => {
|
|
11067
11067
|
// Camel-case
|
|
@@ -11093,8 +11093,8 @@ function requireNode () {
|
|
|
11093
11093
|
*/
|
|
11094
11094
|
|
|
11095
11095
|
function useColors() {
|
|
11096
|
-
return 'colors' in exports.inspectOpts ?
|
|
11097
|
-
Boolean(exports.inspectOpts.colors) :
|
|
11096
|
+
return 'colors' in exports$1.inspectOpts ?
|
|
11097
|
+
Boolean(exports$1.inspectOpts.colors) :
|
|
11098
11098
|
tty.isatty(process.stderr.fd);
|
|
11099
11099
|
}
|
|
11100
11100
|
|
|
@@ -11120,7 +11120,7 @@ function requireNode () {
|
|
|
11120
11120
|
}
|
|
11121
11121
|
|
|
11122
11122
|
function getDate() {
|
|
11123
|
-
if (exports.inspectOpts.hideDate) {
|
|
11123
|
+
if (exports$1.inspectOpts.hideDate) {
|
|
11124
11124
|
return '';
|
|
11125
11125
|
}
|
|
11126
11126
|
return new Date().toISOString() + ' ';
|
|
@@ -11171,13 +11171,13 @@ function requireNode () {
|
|
|
11171
11171
|
function init(debug) {
|
|
11172
11172
|
debug.inspectOpts = {};
|
|
11173
11173
|
|
|
11174
|
-
const keys = Object.keys(exports.inspectOpts);
|
|
11174
|
+
const keys = Object.keys(exports$1.inspectOpts);
|
|
11175
11175
|
for (let i = 0; i < keys.length; i++) {
|
|
11176
|
-
debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]];
|
|
11176
|
+
debug.inspectOpts[keys[i]] = exports$1.inspectOpts[keys[i]];
|
|
11177
11177
|
}
|
|
11178
11178
|
}
|
|
11179
11179
|
|
|
11180
|
-
module.exports = requireCommon()(exports);
|
|
11180
|
+
module.exports = requireCommon()(exports$1);
|
|
11181
11181
|
|
|
11182
11182
|
const {formatters} = module.exports;
|
|
11183
11183
|
|
|
@@ -11219,11 +11219,11 @@ if (typeof process === 'undefined' || process.type === 'renderer' || process.bro
|
|
|
11219
11219
|
var srcExports = src.exports;
|
|
11220
11220
|
var debug$2 = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
|
|
11221
11221
|
|
|
11222
|
-
(function (exports) {
|
|
11222
|
+
(function (exports$1) {
|
|
11223
11223
|
var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) {
|
|
11224
11224
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
11225
11225
|
};
|
|
11226
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11226
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
11227
11227
|
const fs_1 = require$$3;
|
|
11228
11228
|
const debug_1 = __importDefault(srcExports);
|
|
11229
11229
|
const log = debug_1.default('@kwsites/file-exists');
|
|
@@ -11257,30 +11257,30 @@ var debug$2 = /*@__PURE__*/getDefaultExportFromCjs(srcExports);
|
|
|
11257
11257
|
* @param {string} path The path to check
|
|
11258
11258
|
* @param {number} type One or both of the exported numeric constants
|
|
11259
11259
|
*/
|
|
11260
|
-
function exists(path, type = exports.READABLE) {
|
|
11261
|
-
return check(path, (type & exports.FILE) > 0, (type & exports.FOLDER) > 0);
|
|
11260
|
+
function exists(path, type = exports$1.READABLE) {
|
|
11261
|
+
return check(path, (type & exports$1.FILE) > 0, (type & exports$1.FOLDER) > 0);
|
|
11262
11262
|
}
|
|
11263
|
-
exports.exists = exists;
|
|
11263
|
+
exports$1.exists = exists;
|
|
11264
11264
|
/**
|
|
11265
11265
|
* Constant representing a file
|
|
11266
11266
|
*/
|
|
11267
|
-
exports.FILE = 1;
|
|
11267
|
+
exports$1.FILE = 1;
|
|
11268
11268
|
/**
|
|
11269
11269
|
* Constant representing a folder
|
|
11270
11270
|
*/
|
|
11271
|
-
exports.FOLDER = 2;
|
|
11271
|
+
exports$1.FOLDER = 2;
|
|
11272
11272
|
/**
|
|
11273
11273
|
* Constant representing either a file or a folder
|
|
11274
11274
|
*/
|
|
11275
|
-
exports.READABLE = exports.FILE + exports.FOLDER;
|
|
11275
|
+
exports$1.READABLE = exports$1.FILE + exports$1.FOLDER;
|
|
11276
11276
|
|
|
11277
11277
|
} (src$1));
|
|
11278
11278
|
|
|
11279
|
-
(function (exports) {
|
|
11279
|
+
(function (exports$1) {
|
|
11280
11280
|
function __export(m) {
|
|
11281
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
11281
|
+
for (var p in m) if (!exports$1.hasOwnProperty(p)) exports$1[p] = m[p];
|
|
11282
11282
|
}
|
|
11283
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11283
|
+
Object.defineProperty(exports$1, "__esModule", { value: true });
|
|
11284
11284
|
__export(src$1);
|
|
11285
11285
|
|
|
11286
11286
|
} (dist$1));
|
|
@@ -14732,7 +14732,7 @@ var init_tag = __esm({
|
|
|
14732
14732
|
|
|
14733
14733
|
// src/git.js
|
|
14734
14734
|
var require_git = __commonJS({
|
|
14735
|
-
"src/git.js"(exports, module) {
|
|
14735
|
+
"src/git.js"(exports$1, module) {
|
|
14736
14736
|
var { GitExecutor: GitExecutor2 } = (init_git_executor(), __toCommonJS(git_executor_exports));
|
|
14737
14737
|
var { SimpleGitApi: SimpleGitApi2 } = (init_simple_git_api(), __toCommonJS(simple_git_api_exports));
|
|
14738
14738
|
var { Scheduler: Scheduler2 } = (init_scheduler(), __toCommonJS(scheduler_exports));
|
|
@@ -15418,7 +15418,7 @@ const REMOTE_URL_PREFIXES = [
|
|
|
15418
15418
|
const run$1 = util$3.promisify(exec);
|
|
15419
15419
|
|
|
15420
15420
|
const execute = async (command, debug) => {
|
|
15421
|
-
await run$1(command);
|
|
15421
|
+
const { stdout, stderr } = await run$1(command);
|
|
15422
15422
|
};
|
|
15423
15423
|
|
|
15424
15424
|
const renderErrors = (errors = [], isAutoFixFlagPresent = false) => {
|
|
@@ -15617,7 +15617,7 @@ const createOrReplaceDirectoryFiles = async ({
|
|
|
15617
15617
|
};
|
|
15618
15618
|
|
|
15619
15619
|
const runVerifiers = async ({ verifiers, autoFix, debug }) => {
|
|
15620
|
-
const { results, errors } = await getResults({ verifiers,
|
|
15620
|
+
const { results, errors } = await getResults({ verifiers, debug });
|
|
15621
15621
|
const isErrorPresent = isNotEmpty(errors);
|
|
15622
15622
|
|
|
15623
15623
|
results.map(({ name, isSuccess, status }) => {
|
|
@@ -15927,7 +15927,7 @@ const DEV_DEPENDENCIES$4 = {
|
|
|
15927
15927
|
"@eslint/eslintrc": "^3.3.1",
|
|
15928
15928
|
"@eslint/js": "^9.25.1",
|
|
15929
15929
|
"husky": "7.0.4",
|
|
15930
|
-
"globals": "
|
|
15930
|
+
"globals": "16.0.0",
|
|
15931
15931
|
"lint-staged": "12.4.1",
|
|
15932
15932
|
"postcss": "8.4.49",
|
|
15933
15933
|
"postcss-import": "^15.0.0",
|
|
@@ -15948,11 +15948,11 @@ var common = {
|
|
|
15948
15948
|
const DEPENDENCIES$3 = {
|
|
15949
15949
|
"@honeybadger-io/js": "6.10.1",
|
|
15950
15950
|
"@honeybadger-io/react": "6.1.25",
|
|
15951
|
-
"antd": "5.22.
|
|
15952
|
-
axios: "1.
|
|
15951
|
+
"antd": "5.22.1",
|
|
15952
|
+
axios: "1.13.5",
|
|
15953
15953
|
"i18next": "22.5.1",
|
|
15954
15954
|
"js-logger": "1.6.1",
|
|
15955
|
-
ramda: "0.29.
|
|
15955
|
+
ramda: "0.29.0",
|
|
15956
15956
|
react: "18.3.1",
|
|
15957
15957
|
"react-dom": "18.3.1",
|
|
15958
15958
|
"react-i18next": "12.3.1",
|
|
@@ -15990,9 +15990,9 @@ const DEV_DEPENDENCIES$2 = {
|
|
|
15990
15990
|
"@tanstack/react-query": "5.59.20",
|
|
15991
15991
|
"@tanstack/react-query-devtools": "5.59.20",
|
|
15992
15992
|
"@tippyjs/react": "4.2.6",
|
|
15993
|
-
"antd": "5.22.
|
|
15993
|
+
"antd": "5.22.1",
|
|
15994
15994
|
"avvvatars-react": "0.4.2",
|
|
15995
|
-
"axios": "1.
|
|
15995
|
+
"axios": "1.13.5",
|
|
15996
15996
|
"classnames": "2.5.1",
|
|
15997
15997
|
"crypto-browserify": "3.12.1",
|
|
15998
15998
|
"dayjs": "1.11.13",
|
|
@@ -16009,8 +16009,8 @@ const DEV_DEPENDENCIES$2 = {
|
|
|
16009
16009
|
"linkify-react": "4.3.2",
|
|
16010
16010
|
"os-browserify": "0.3.0",
|
|
16011
16011
|
"path-browserify": "1.0.1",
|
|
16012
|
-
"qs": "6.
|
|
16013
|
-
"ramda": "0.29.
|
|
16012
|
+
"qs": "6.15.0",
|
|
16013
|
+
"ramda": "0.29.0",
|
|
16014
16014
|
"react": "18.3.1",
|
|
16015
16015
|
"react-colorful": "5.6.1",
|
|
16016
16016
|
"react-dom": "18.3.1",
|
|
@@ -16030,7 +16030,7 @@ const DEV_DEPENDENCIES$2 = {
|
|
|
16030
16030
|
"sass-loader": "^13.0.2",
|
|
16031
16031
|
"stream-browserify": "^3.0.0",
|
|
16032
16032
|
"stream-http": "3.2.0",
|
|
16033
|
-
"tailwindcss": "
|
|
16033
|
+
"tailwindcss": "4.1.11",
|
|
16034
16034
|
"tippy.js": "6.3.7",
|
|
16035
16035
|
"tty-browserify": "0.0.1",
|
|
16036
16036
|
"url": "0.11.4",
|
|
@@ -16048,9 +16048,9 @@ const PEER_DEPENDENCIES$2 = {
|
|
|
16048
16048
|
"@tanstack/react-query": "5.59.20",
|
|
16049
16049
|
"@tanstack/react-query-devtools": "5.59.20",
|
|
16050
16050
|
"@tippyjs/react": "4.2.6",
|
|
16051
|
-
"antd": "5.22.
|
|
16051
|
+
"antd": "5.22.1",
|
|
16052
16052
|
"avvvatars-react": "0.4.2",
|
|
16053
|
-
"axios": "1.
|
|
16053
|
+
"axios": "1.13.5",
|
|
16054
16054
|
"classnames": "2.5.1",
|
|
16055
16055
|
"crypto-browserify": "3.12.1",
|
|
16056
16056
|
"dayjs": "1.11.13",
|
|
@@ -16067,8 +16067,8 @@ const PEER_DEPENDENCIES$2 = {
|
|
|
16067
16067
|
"linkify-react": "4.3.2",
|
|
16068
16068
|
"os-browserify": "0.3.0",
|
|
16069
16069
|
"path-browserify": "^1.0.1",
|
|
16070
|
-
"qs": "6.
|
|
16071
|
-
"ramda": "0.29.
|
|
16070
|
+
"qs": "6.15.0",
|
|
16071
|
+
"ramda": "0.29.0",
|
|
16072
16072
|
"react": "18.3.1",
|
|
16073
16073
|
"react-colorful": "5.6.1",
|
|
16074
16074
|
"react-dom": "18.3.1",
|
|
@@ -16081,7 +16081,7 @@ const PEER_DEPENDENCIES$2 = {
|
|
|
16081
16081
|
"react-toastify": "8.0.2",
|
|
16082
16082
|
"stream-browserify": "^3.0.0",
|
|
16083
16083
|
"stream-http": "3.2.0",
|
|
16084
|
-
"tailwindcss": "
|
|
16084
|
+
"tailwindcss": "4.1.11",
|
|
16085
16085
|
"tippy.js": "6.3.7",
|
|
16086
16086
|
"tty-browserify": "0.0.1",
|
|
16087
16087
|
"url": "0.11.4",
|
|
@@ -16112,13 +16112,13 @@ const DEV_DEPENDENCIES$1 = {
|
|
|
16112
16112
|
"@svgr/rollup": "8.1.0",
|
|
16113
16113
|
"@tanstack/react-query": "5.59.20",
|
|
16114
16114
|
"@tanstack/react-query-devtools": "5.59.20",
|
|
16115
|
-
"antd": "5.22.
|
|
16116
|
-
axios: "1.
|
|
16115
|
+
"antd": "5.22.1",
|
|
16116
|
+
axios: "1.13.5",
|
|
16117
16117
|
classnames: "2.5.1",
|
|
16118
16118
|
formik: "2.4.6",
|
|
16119
16119
|
"i18next": "22.5.1",
|
|
16120
16120
|
"js-logger": "1.6.1",
|
|
16121
|
-
qs: "6.
|
|
16121
|
+
qs: "6.15.0",
|
|
16122
16122
|
ramda: "0.29.0",
|
|
16123
16123
|
react: "18.3.1",
|
|
16124
16124
|
"react-dom": "18.3.1",
|
|
@@ -16132,7 +16132,7 @@ const DEV_DEPENDENCIES$1 = {
|
|
|
16132
16132
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
16133
16133
|
"rollup-plugin-styles": "4.0.0",
|
|
16134
16134
|
"sass": "1.89.0",
|
|
16135
|
-
tailwindcss: "
|
|
16135
|
+
tailwindcss: "4.1.11",
|
|
16136
16136
|
util: "^0.12.5",
|
|
16137
16137
|
yup: "0.32.11",
|
|
16138
16138
|
};
|
|
@@ -16142,7 +16142,7 @@ const PEER_DEPENDENCIES$1 = {
|
|
|
16142
16142
|
"@honeybadger-io/react": "6.1.25",
|
|
16143
16143
|
"@tanstack/react-query": "5.59.20",
|
|
16144
16144
|
"@tanstack/react-query-devtools": "5.59.20",
|
|
16145
|
-
axios: "1.
|
|
16145
|
+
axios: "1.13.5",
|
|
16146
16146
|
classnames: "2.5.1",
|
|
16147
16147
|
formik: "2.4.6",
|
|
16148
16148
|
"i18next": "22.5.1",
|
|
@@ -17050,7 +17050,7 @@ var utils$1 = {
|
|
|
17050
17050
|
isIterable,
|
|
17051
17051
|
};
|
|
17052
17052
|
|
|
17053
|
-
class AxiosError extends Error {
|
|
17053
|
+
let AxiosError$1 = class AxiosError extends Error {
|
|
17054
17054
|
static from(error, code, config, request, response, customProps) {
|
|
17055
17055
|
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
17056
17056
|
axiosError.cause = error;
|
|
@@ -17102,21 +17102,21 @@ class AxiosError extends Error {
|
|
|
17102
17102
|
status: this.status,
|
|
17103
17103
|
};
|
|
17104
17104
|
}
|
|
17105
|
-
}
|
|
17105
|
+
};
|
|
17106
17106
|
|
|
17107
17107
|
// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
|
|
17108
|
-
AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
|
|
17109
|
-
AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
|
|
17110
|
-
AxiosError.ECONNABORTED = 'ECONNABORTED';
|
|
17111
|
-
AxiosError.ETIMEDOUT = 'ETIMEDOUT';
|
|
17112
|
-
AxiosError.ERR_NETWORK = 'ERR_NETWORK';
|
|
17113
|
-
AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
|
|
17114
|
-
AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
|
|
17115
|
-
AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
|
|
17116
|
-
AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
|
|
17117
|
-
AxiosError.ERR_CANCELED = 'ERR_CANCELED';
|
|
17118
|
-
AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
|
|
17119
|
-
AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
17108
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
|
|
17109
|
+
AxiosError$1.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
|
|
17110
|
+
AxiosError$1.ECONNABORTED = 'ECONNABORTED';
|
|
17111
|
+
AxiosError$1.ETIMEDOUT = 'ETIMEDOUT';
|
|
17112
|
+
AxiosError$1.ERR_NETWORK = 'ERR_NETWORK';
|
|
17113
|
+
AxiosError$1.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
|
|
17114
|
+
AxiosError$1.ERR_DEPRECATED = 'ERR_DEPRECATED';
|
|
17115
|
+
AxiosError$1.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
|
|
17116
|
+
AxiosError$1.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
|
|
17117
|
+
AxiosError$1.ERR_CANCELED = 'ERR_CANCELED';
|
|
17118
|
+
AxiosError$1.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
|
|
17119
|
+
AxiosError$1.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
17120
17120
|
|
|
17121
17121
|
var Stream$2 = stream.Stream;
|
|
17122
17122
|
var util$2 = util$3;
|
|
@@ -28160,7 +28160,7 @@ var mimeDb = require$$0;
|
|
|
28160
28160
|
* MIT Licensed
|
|
28161
28161
|
*/
|
|
28162
28162
|
|
|
28163
|
-
(function (exports) {
|
|
28163
|
+
(function (exports$1) {
|
|
28164
28164
|
|
|
28165
28165
|
/**
|
|
28166
28166
|
* Module dependencies.
|
|
@@ -28183,16 +28183,16 @@ var mimeDb = require$$0;
|
|
|
28183
28183
|
* @public
|
|
28184
28184
|
*/
|
|
28185
28185
|
|
|
28186
|
-
exports.charset = charset;
|
|
28187
|
-
exports.charsets = { lookup: charset };
|
|
28188
|
-
exports.contentType = contentType;
|
|
28189
|
-
exports.extension = extension;
|
|
28190
|
-
exports.extensions = Object.create(null);
|
|
28191
|
-
exports.lookup = lookup;
|
|
28192
|
-
exports.types = Object.create(null);
|
|
28186
|
+
exports$1.charset = charset;
|
|
28187
|
+
exports$1.charsets = { lookup: charset };
|
|
28188
|
+
exports$1.contentType = contentType;
|
|
28189
|
+
exports$1.extension = extension;
|
|
28190
|
+
exports$1.extensions = Object.create(null);
|
|
28191
|
+
exports$1.lookup = lookup;
|
|
28192
|
+
exports$1.types = Object.create(null);
|
|
28193
28193
|
|
|
28194
28194
|
// Populate the extensions/types maps
|
|
28195
|
-
populateMaps(exports.extensions, exports.types);
|
|
28195
|
+
populateMaps(exports$1.extensions, exports$1.types);
|
|
28196
28196
|
|
|
28197
28197
|
/**
|
|
28198
28198
|
* Get the default charset for a MIME type.
|
|
@@ -28236,7 +28236,7 @@ var mimeDb = require$$0;
|
|
|
28236
28236
|
}
|
|
28237
28237
|
|
|
28238
28238
|
var mime = str.indexOf('/') === -1
|
|
28239
|
-
? exports.lookup(str)
|
|
28239
|
+
? exports$1.lookup(str)
|
|
28240
28240
|
: str;
|
|
28241
28241
|
|
|
28242
28242
|
if (!mime) {
|
|
@@ -28245,7 +28245,7 @@ var mimeDb = require$$0;
|
|
|
28245
28245
|
|
|
28246
28246
|
// TODO: use content-type or other module
|
|
28247
28247
|
if (mime.indexOf('charset') === -1) {
|
|
28248
|
-
var charset = exports.charset(mime);
|
|
28248
|
+
var charset = exports$1.charset(mime);
|
|
28249
28249
|
if (charset) mime += '; charset=' + charset.toLowerCase();
|
|
28250
28250
|
}
|
|
28251
28251
|
|
|
@@ -28268,7 +28268,7 @@ var mimeDb = require$$0;
|
|
|
28268
28268
|
var match = EXTRACT_TYPE_REGEXP.exec(type);
|
|
28269
28269
|
|
|
28270
28270
|
// get extensions
|
|
28271
|
-
var exts = match && exports.extensions[match[1].toLowerCase()];
|
|
28271
|
+
var exts = match && exports$1.extensions[match[1].toLowerCase()];
|
|
28272
28272
|
|
|
28273
28273
|
if (!exts || !exts.length) {
|
|
28274
28274
|
return false
|
|
@@ -28298,7 +28298,7 @@ var mimeDb = require$$0;
|
|
|
28298
28298
|
return false
|
|
28299
28299
|
}
|
|
28300
28300
|
|
|
28301
|
-
return exports.types[extension] || false
|
|
28301
|
+
return exports$1.types[extension] || false
|
|
28302
28302
|
}
|
|
28303
28303
|
|
|
28304
28304
|
/**
|
|
@@ -28791,7 +28791,7 @@ var sign$1 = function sign(number) {
|
|
|
28791
28791
|
if ($isNaN(number) || number === 0) {
|
|
28792
28792
|
return number;
|
|
28793
28793
|
}
|
|
28794
|
-
return number < 0 ? -1 :
|
|
28794
|
+
return number < 0 ? -1 : 1;
|
|
28795
28795
|
};
|
|
28796
28796
|
|
|
28797
28797
|
/** @type {import('./gOPD')} */
|
|
@@ -30178,7 +30178,7 @@ const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop)
|
|
|
30178
30178
|
*
|
|
30179
30179
|
* @returns
|
|
30180
30180
|
*/
|
|
30181
|
-
function toFormData(obj, formData, options) {
|
|
30181
|
+
function toFormData$1(obj, formData, options) {
|
|
30182
30182
|
if (!utils$1.isObject(obj)) {
|
|
30183
30183
|
throw new TypeError('target must be an object');
|
|
30184
30184
|
}
|
|
@@ -30220,7 +30220,7 @@ function toFormData(obj, formData, options) {
|
|
|
30220
30220
|
}
|
|
30221
30221
|
|
|
30222
30222
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
30223
|
-
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
30223
|
+
throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
|
|
30224
30224
|
}
|
|
30225
30225
|
|
|
30226
30226
|
if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
|
|
@@ -30349,7 +30349,7 @@ function encode$1(str) {
|
|
|
30349
30349
|
function AxiosURLSearchParams(params, options) {
|
|
30350
30350
|
this._pairs = [];
|
|
30351
30351
|
|
|
30352
|
-
params && toFormData(params, this, options);
|
|
30352
|
+
params && toFormData$1(params, this, options);
|
|
30353
30353
|
}
|
|
30354
30354
|
|
|
30355
30355
|
const prototype = AxiosURLSearchParams.prototype;
|
|
@@ -30598,7 +30598,7 @@ var platform = {
|
|
|
30598
30598
|
};
|
|
30599
30599
|
|
|
30600
30600
|
function toURLEncodedForm(data, options) {
|
|
30601
|
-
return toFormData(data, new platform.classes.URLSearchParams(), {
|
|
30601
|
+
return toFormData$1(data, new platform.classes.URLSearchParams(), {
|
|
30602
30602
|
visitor: function(value, key, path, helpers) {
|
|
30603
30603
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
30604
30604
|
this.append(key, value.toString('base64'));
|
|
@@ -30723,7 +30723,7 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
30723
30723
|
}
|
|
30724
30724
|
}
|
|
30725
30725
|
|
|
30726
|
-
return (
|
|
30726
|
+
return (encoder || JSON.stringify)(rawValue);
|
|
30727
30727
|
}
|
|
30728
30728
|
|
|
30729
30729
|
const defaults = {
|
|
@@ -30774,7 +30774,7 @@ const defaults = {
|
|
|
30774
30774
|
if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
|
|
30775
30775
|
const _FormData = this.env && this.env.FormData;
|
|
30776
30776
|
|
|
30777
|
-
return toFormData(
|
|
30777
|
+
return toFormData$1(
|
|
30778
30778
|
isFileList ? {'files[]': data} : data,
|
|
30779
30779
|
_FormData && new _FormData(),
|
|
30780
30780
|
this.formSerializer
|
|
@@ -30808,7 +30808,7 @@ const defaults = {
|
|
|
30808
30808
|
} catch (e) {
|
|
30809
30809
|
if (strictJSONParsing) {
|
|
30810
30810
|
if (e.name === 'SyntaxError') {
|
|
30811
|
-
throw AxiosError.from(e, AxiosError.ERR_BAD_RESPONSE, this, null, this.response);
|
|
30811
|
+
throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
|
|
30812
30812
|
}
|
|
30813
30813
|
throw e;
|
|
30814
30814
|
}
|
|
@@ -30971,7 +30971,7 @@ function buildAccessors(obj, header) {
|
|
|
30971
30971
|
});
|
|
30972
30972
|
}
|
|
30973
30973
|
|
|
30974
|
-
class AxiosHeaders {
|
|
30974
|
+
let AxiosHeaders$1 = class AxiosHeaders {
|
|
30975
30975
|
constructor(headers) {
|
|
30976
30976
|
headers && this.set(headers);
|
|
30977
30977
|
}
|
|
@@ -31194,12 +31194,12 @@ class AxiosHeaders {
|
|
|
31194
31194
|
|
|
31195
31195
|
return this;
|
|
31196
31196
|
}
|
|
31197
|
-
}
|
|
31197
|
+
};
|
|
31198
31198
|
|
|
31199
|
-
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
|
31199
|
+
AxiosHeaders$1.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
|
31200
31200
|
|
|
31201
31201
|
// reserved names hotfix
|
|
31202
|
-
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
31202
|
+
utils$1.reduceDescriptors(AxiosHeaders$1.prototype, ({value}, key) => {
|
|
31203
31203
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
31204
31204
|
return {
|
|
31205
31205
|
get: () => value,
|
|
@@ -31209,7 +31209,7 @@ utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
|
31209
31209
|
}
|
|
31210
31210
|
});
|
|
31211
31211
|
|
|
31212
|
-
utils$1.freezeMethods(AxiosHeaders);
|
|
31212
|
+
utils$1.freezeMethods(AxiosHeaders$1);
|
|
31213
31213
|
|
|
31214
31214
|
/**
|
|
31215
31215
|
* Transform the data for a request or a response
|
|
@@ -31222,7 +31222,7 @@ utils$1.freezeMethods(AxiosHeaders);
|
|
|
31222
31222
|
function transformData(fns, response) {
|
|
31223
31223
|
const config = this || defaults;
|
|
31224
31224
|
const context = response || config;
|
|
31225
|
-
const headers = AxiosHeaders.from(context.headers);
|
|
31225
|
+
const headers = AxiosHeaders$1.from(context.headers);
|
|
31226
31226
|
let data = context.data;
|
|
31227
31227
|
|
|
31228
31228
|
utils$1.forEach(fns, function transform(fn) {
|
|
@@ -31234,11 +31234,11 @@ function transformData(fns, response) {
|
|
|
31234
31234
|
return data;
|
|
31235
31235
|
}
|
|
31236
31236
|
|
|
31237
|
-
function isCancel(value) {
|
|
31237
|
+
function isCancel$1(value) {
|
|
31238
31238
|
return !!(value && value.__CANCEL__);
|
|
31239
31239
|
}
|
|
31240
31240
|
|
|
31241
|
-
class CanceledError extends AxiosError {
|
|
31241
|
+
let CanceledError$1 = class CanceledError extends AxiosError$1 {
|
|
31242
31242
|
/**
|
|
31243
31243
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
31244
31244
|
*
|
|
@@ -31249,11 +31249,11 @@ class CanceledError extends AxiosError {
|
|
|
31249
31249
|
* @returns {CanceledError} The created error.
|
|
31250
31250
|
*/
|
|
31251
31251
|
constructor(message, config, request) {
|
|
31252
|
-
super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
|
|
31252
|
+
super(message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request);
|
|
31253
31253
|
this.name = 'CanceledError';
|
|
31254
31254
|
this.__CANCEL__ = true;
|
|
31255
31255
|
}
|
|
31256
|
-
}
|
|
31256
|
+
};
|
|
31257
31257
|
|
|
31258
31258
|
/**
|
|
31259
31259
|
* Resolve or reject a Promise based on response status.
|
|
@@ -31269,9 +31269,9 @@ function settle(resolve, reject, response) {
|
|
|
31269
31269
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
31270
31270
|
resolve(response);
|
|
31271
31271
|
} else {
|
|
31272
|
-
reject(new AxiosError(
|
|
31272
|
+
reject(new AxiosError$1(
|
|
31273
31273
|
'Request failed with status code ' + response.status,
|
|
31274
|
-
[AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
31274
|
+
[AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
31275
31275
|
response.config,
|
|
31276
31276
|
response.request,
|
|
31277
31277
|
response
|
|
@@ -31955,7 +31955,7 @@ RedirectableRequest.prototype._processResponse = function (response) {
|
|
|
31955
31955
|
// Wraps the key/value object of protocols with redirect functionality
|
|
31956
31956
|
function wrap(protocols) {
|
|
31957
31957
|
// Default settings
|
|
31958
|
-
var exports = {
|
|
31958
|
+
var exports$1 = {
|
|
31959
31959
|
maxRedirects: 21,
|
|
31960
31960
|
maxBodyLength: 10 * 1024 * 1024,
|
|
31961
31961
|
};
|
|
@@ -31965,7 +31965,7 @@ function wrap(protocols) {
|
|
|
31965
31965
|
Object.keys(protocols).forEach(function (scheme) {
|
|
31966
31966
|
var protocol = scheme + ":";
|
|
31967
31967
|
var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
|
|
31968
|
-
var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
|
|
31968
|
+
var wrappedProtocol = exports$1[scheme] = Object.create(nativeProtocol);
|
|
31969
31969
|
|
|
31970
31970
|
// Executes a request, following redirects
|
|
31971
31971
|
function request(input, options, callback) {
|
|
@@ -31988,8 +31988,8 @@ function wrap(protocols) {
|
|
|
31988
31988
|
|
|
31989
31989
|
// Set defaults
|
|
31990
31990
|
options = Object.assign({
|
|
31991
|
-
maxRedirects: exports.maxRedirects,
|
|
31992
|
-
maxBodyLength: exports.maxBodyLength,
|
|
31991
|
+
maxRedirects: exports$1.maxRedirects,
|
|
31992
|
+
maxBodyLength: exports$1.maxBodyLength,
|
|
31993
31993
|
}, input, options);
|
|
31994
31994
|
options.nativeProtocols = nativeProtocols;
|
|
31995
31995
|
if (!isString(options.host) && !isString(options.hostname)) {
|
|
@@ -32014,7 +32014,7 @@ function wrap(protocols) {
|
|
|
32014
32014
|
get: { value: get, configurable: true, enumerable: true, writable: true },
|
|
32015
32015
|
});
|
|
32016
32016
|
});
|
|
32017
|
-
return exports;
|
|
32017
|
+
return exports$1;
|
|
32018
32018
|
}
|
|
32019
32019
|
|
|
32020
32020
|
function noop() { /* empty */ }
|
|
@@ -32146,7 +32146,7 @@ followRedirects$1.exports.wrap = wrap;
|
|
|
32146
32146
|
var followRedirectsExports = followRedirects$1.exports;
|
|
32147
32147
|
var followRedirects = /*@__PURE__*/getDefaultExportFromCjs(followRedirectsExports);
|
|
32148
32148
|
|
|
32149
|
-
const VERSION = "1.13.5";
|
|
32149
|
+
const VERSION$1 = "1.13.5";
|
|
32150
32150
|
|
|
32151
32151
|
function parseProtocol(url) {
|
|
32152
32152
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
@@ -32179,7 +32179,7 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
32179
32179
|
const match = DATA_URL_PATTERN.exec(uri);
|
|
32180
32180
|
|
|
32181
32181
|
if (!match) {
|
|
32182
|
-
throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
|
|
32182
|
+
throw new AxiosError$1('Invalid URL', AxiosError$1.ERR_INVALID_URL);
|
|
32183
32183
|
}
|
|
32184
32184
|
|
|
32185
32185
|
const mime = match[1];
|
|
@@ -32189,7 +32189,7 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
32189
32189
|
|
|
32190
32190
|
if (asBlob) {
|
|
32191
32191
|
if (!_Blob) {
|
|
32192
|
-
throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
|
|
32192
|
+
throw new AxiosError$1('Blob is not supported', AxiosError$1.ERR_NOT_SUPPORT);
|
|
32193
32193
|
}
|
|
32194
32194
|
|
|
32195
32195
|
return new _Blob([buffer], {type: mime});
|
|
@@ -32198,7 +32198,7 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
32198
32198
|
return buffer;
|
|
32199
32199
|
}
|
|
32200
32200
|
|
|
32201
|
-
throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
32201
|
+
throw new AxiosError$1('Unsupported protocol ' + protocol, AxiosError$1.ERR_NOT_SUPPORT);
|
|
32202
32202
|
}
|
|
32203
32203
|
|
|
32204
32204
|
const kInternals = Symbol('internals');
|
|
@@ -32875,7 +32875,7 @@ function setProxy(options, configProxy, location) {
|
|
|
32875
32875
|
if (validProxyAuth) {
|
|
32876
32876
|
proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');
|
|
32877
32877
|
} else if (typeof proxy.auth === 'object') {
|
|
32878
|
-
throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { proxy });
|
|
32878
|
+
throw new AxiosError$1('Invalid proxy authorization', AxiosError$1.ERR_BAD_OPTION, { proxy });
|
|
32879
32879
|
}
|
|
32880
32880
|
|
|
32881
32881
|
const base64 = Buffer.from(proxy.auth, 'utf8').toString('base64');
|
|
@@ -33033,7 +33033,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33033
33033
|
|
|
33034
33034
|
function abort(reason) {
|
|
33035
33035
|
try {
|
|
33036
|
-
abortEmitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason);
|
|
33036
|
+
abortEmitter.emit('abort', !reason || reason.type ? new CanceledError$1(null, config, req) : reason);
|
|
33037
33037
|
} catch(err) {
|
|
33038
33038
|
console.warn('emit error', err);
|
|
33039
33039
|
}
|
|
@@ -33098,9 +33098,9 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33098
33098
|
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
33099
33099
|
|
|
33100
33100
|
if (estimated > config.maxContentLength) {
|
|
33101
|
-
return reject(new AxiosError(
|
|
33101
|
+
return reject(new AxiosError$1(
|
|
33102
33102
|
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
33103
|
-
AxiosError.ERR_BAD_RESPONSE,
|
|
33103
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
33104
33104
|
config
|
|
33105
33105
|
));
|
|
33106
33106
|
}
|
|
@@ -33122,7 +33122,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33122
33122
|
Blob: config.env && config.env.Blob
|
|
33123
33123
|
});
|
|
33124
33124
|
} catch (err) {
|
|
33125
|
-
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
33125
|
+
throw AxiosError$1.from(err, AxiosError$1.ERR_BAD_REQUEST, config);
|
|
33126
33126
|
}
|
|
33127
33127
|
|
|
33128
33128
|
if (responseType === 'text') {
|
|
@@ -33139,26 +33139,26 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33139
33139
|
data: convertedData,
|
|
33140
33140
|
status: 200,
|
|
33141
33141
|
statusText: 'OK',
|
|
33142
|
-
headers: new AxiosHeaders(),
|
|
33142
|
+
headers: new AxiosHeaders$1(),
|
|
33143
33143
|
config
|
|
33144
33144
|
});
|
|
33145
33145
|
}
|
|
33146
33146
|
|
|
33147
33147
|
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
33148
|
-
return reject(new AxiosError(
|
|
33148
|
+
return reject(new AxiosError$1(
|
|
33149
33149
|
'Unsupported protocol ' + protocol,
|
|
33150
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
33150
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
33151
33151
|
config
|
|
33152
33152
|
));
|
|
33153
33153
|
}
|
|
33154
33154
|
|
|
33155
|
-
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
33155
|
+
const headers = AxiosHeaders$1.from(config.headers).normalize();
|
|
33156
33156
|
|
|
33157
33157
|
// Set User-Agent (required by some servers)
|
|
33158
33158
|
// See https://github.com/axios/axios/issues/69
|
|
33159
33159
|
// User-Agent is specified; handle case where no UA header is desired
|
|
33160
33160
|
// Only set header if it hasn't been set in config
|
|
33161
|
-
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
33161
|
+
headers.set('User-Agent', 'axios/' + VERSION$1, false);
|
|
33162
33162
|
|
|
33163
33163
|
const {onUploadProgress, onDownloadProgress} = config;
|
|
33164
33164
|
const maxRate = config.maxRate;
|
|
@@ -33172,7 +33172,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33172
33172
|
data = formDataToStream(data, (formHeaders) => {
|
|
33173
33173
|
headers.set(formHeaders);
|
|
33174
33174
|
}, {
|
|
33175
|
-
tag: `axios-${VERSION}-boundary`,
|
|
33175
|
+
tag: `axios-${VERSION$1}-boundary`,
|
|
33176
33176
|
boundary: userBoundary && userBoundary[1] || undefined
|
|
33177
33177
|
});
|
|
33178
33178
|
// support for https://www.npmjs.com/package/form-data api
|
|
@@ -33197,9 +33197,9 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33197
33197
|
} else if (utils$1.isString(data)) {
|
|
33198
33198
|
data = Buffer.from(data, 'utf-8');
|
|
33199
33199
|
} else {
|
|
33200
|
-
return reject(new AxiosError(
|
|
33200
|
+
return reject(new AxiosError$1(
|
|
33201
33201
|
'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
|
|
33202
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
33202
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
33203
33203
|
config
|
|
33204
33204
|
));
|
|
33205
33205
|
}
|
|
@@ -33208,9 +33208,9 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33208
33208
|
headers.setContentLength(data.length, false);
|
|
33209
33209
|
|
|
33210
33210
|
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
|
|
33211
|
-
return reject(new AxiosError(
|
|
33211
|
+
return reject(new AxiosError$1(
|
|
33212
33212
|
'Request body larger than maxBodyLength limit',
|
|
33213
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
33213
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
33214
33214
|
config
|
|
33215
33215
|
));
|
|
33216
33216
|
}
|
|
@@ -33411,7 +33411,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33411
33411
|
const response = {
|
|
33412
33412
|
status: res.statusCode,
|
|
33413
33413
|
statusText: res.statusMessage,
|
|
33414
|
-
headers: new AxiosHeaders(res.headers),
|
|
33414
|
+
headers: new AxiosHeaders$1(res.headers),
|
|
33415
33415
|
config,
|
|
33416
33416
|
request: lastRequest
|
|
33417
33417
|
};
|
|
@@ -33432,8 +33432,8 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33432
33432
|
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
|
33433
33433
|
rejected = true;
|
|
33434
33434
|
responseStream.destroy();
|
|
33435
|
-
abort(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
33436
|
-
AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
33435
|
+
abort(new AxiosError$1('maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
33436
|
+
AxiosError$1.ERR_BAD_RESPONSE, config, lastRequest));
|
|
33437
33437
|
}
|
|
33438
33438
|
});
|
|
33439
33439
|
|
|
@@ -33442,9 +33442,9 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33442
33442
|
return;
|
|
33443
33443
|
}
|
|
33444
33444
|
|
|
33445
|
-
const err = new AxiosError(
|
|
33445
|
+
const err = new AxiosError$1(
|
|
33446
33446
|
'stream has been aborted',
|
|
33447
|
-
AxiosError.ERR_BAD_RESPONSE,
|
|
33447
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
33448
33448
|
config,
|
|
33449
33449
|
lastRequest
|
|
33450
33450
|
);
|
|
@@ -33454,7 +33454,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33454
33454
|
|
|
33455
33455
|
responseStream.on('error', function handleStreamError(err) {
|
|
33456
33456
|
if (req.destroyed) return;
|
|
33457
|
-
reject(AxiosError.from(err, null, config, lastRequest));
|
|
33457
|
+
reject(AxiosError$1.from(err, null, config, lastRequest));
|
|
33458
33458
|
});
|
|
33459
33459
|
|
|
33460
33460
|
responseStream.on('end', function handleStreamEnd() {
|
|
@@ -33468,7 +33468,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33468
33468
|
}
|
|
33469
33469
|
response.data = responseData;
|
|
33470
33470
|
} catch (err) {
|
|
33471
|
-
return reject(AxiosError.from(err, null, config, response.request, response));
|
|
33471
|
+
return reject(AxiosError$1.from(err, null, config, response.request, response));
|
|
33472
33472
|
}
|
|
33473
33473
|
settle(resolve, reject, response);
|
|
33474
33474
|
});
|
|
@@ -33492,7 +33492,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33492
33492
|
|
|
33493
33493
|
// Handle errors
|
|
33494
33494
|
req.on('error', function handleRequestError(err) {
|
|
33495
|
-
reject(AxiosError.from(err, null, config, req));
|
|
33495
|
+
reject(AxiosError$1.from(err, null, config, req));
|
|
33496
33496
|
});
|
|
33497
33497
|
|
|
33498
33498
|
// set tcp keep alive to prevent drop connection by peer
|
|
@@ -33507,9 +33507,9 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33507
33507
|
const timeout = parseInt(config.timeout, 10);
|
|
33508
33508
|
|
|
33509
33509
|
if (Number.isNaN(timeout)) {
|
|
33510
|
-
abort(new AxiosError(
|
|
33510
|
+
abort(new AxiosError$1(
|
|
33511
33511
|
'error trying to parse `config.timeout` to int',
|
|
33512
|
-
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
33512
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE,
|
|
33513
33513
|
config,
|
|
33514
33514
|
req
|
|
33515
33515
|
));
|
|
@@ -33529,9 +33529,9 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33529
33529
|
if (config.timeoutErrorMessage) {
|
|
33530
33530
|
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
33531
33531
|
}
|
|
33532
|
-
abort(new AxiosError(
|
|
33532
|
+
abort(new AxiosError$1(
|
|
33533
33533
|
timeoutErrorMessage,
|
|
33534
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
33534
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
33535
33535
|
config,
|
|
33536
33536
|
req
|
|
33537
33537
|
));
|
|
@@ -33558,7 +33558,7 @@ var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
33558
33558
|
|
|
33559
33559
|
data.on('close', () => {
|
|
33560
33560
|
if (!ended && !errored) {
|
|
33561
|
-
abort(new CanceledError('Request stream has been aborted', config, req));
|
|
33561
|
+
abort(new CanceledError$1('Request stream has been aborted', config, req));
|
|
33562
33562
|
}
|
|
33563
33563
|
});
|
|
33564
33564
|
|
|
@@ -33634,7 +33634,7 @@ var cookies = platform.hasStandardBrowserEnv ?
|
|
|
33634
33634
|
};
|
|
33635
33635
|
|
|
33636
33636
|
const headersToObject = (thing) =>
|
|
33637
|
-
thing instanceof AxiosHeaders ? { ...thing } : thing;
|
|
33637
|
+
thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
33638
33638
|
|
|
33639
33639
|
/**
|
|
33640
33640
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -33645,7 +33645,7 @@ const headersToObject = (thing) =>
|
|
|
33645
33645
|
*
|
|
33646
33646
|
* @returns {Object} New object resulting from merging config2 to config1
|
|
33647
33647
|
*/
|
|
33648
|
-
function mergeConfig(config1, config2) {
|
|
33648
|
+
function mergeConfig$1(config1, config2) {
|
|
33649
33649
|
// eslint-disable-next-line no-param-reassign
|
|
33650
33650
|
config2 = config2 || {};
|
|
33651
33651
|
const config = {};
|
|
@@ -33749,11 +33749,11 @@ function mergeConfig(config1, config2) {
|
|
|
33749
33749
|
}
|
|
33750
33750
|
|
|
33751
33751
|
var resolveConfig = (config) => {
|
|
33752
|
-
const newConfig = mergeConfig({}, config);
|
|
33752
|
+
const newConfig = mergeConfig$1({}, config);
|
|
33753
33753
|
|
|
33754
33754
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
33755
33755
|
|
|
33756
|
-
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
33756
|
+
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
33757
33757
|
|
|
33758
33758
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
33759
33759
|
|
|
@@ -33806,7 +33806,7 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
33806
33806
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
33807
33807
|
const _config = resolveConfig(config);
|
|
33808
33808
|
let requestData = _config.data;
|
|
33809
|
-
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
33809
|
+
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
33810
33810
|
let {responseType, onUploadProgress, onDownloadProgress} = _config;
|
|
33811
33811
|
let onCanceled;
|
|
33812
33812
|
let uploadThrottled, downloadThrottled;
|
|
@@ -33833,7 +33833,7 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
33833
33833
|
return;
|
|
33834
33834
|
}
|
|
33835
33835
|
// Prepare the response
|
|
33836
|
-
const responseHeaders = AxiosHeaders.from(
|
|
33836
|
+
const responseHeaders = AxiosHeaders$1.from(
|
|
33837
33837
|
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
33838
33838
|
);
|
|
33839
33839
|
const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
|
|
@@ -33888,7 +33888,7 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
33888
33888
|
return;
|
|
33889
33889
|
}
|
|
33890
33890
|
|
|
33891
|
-
reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
|
|
33891
|
+
reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
|
|
33892
33892
|
|
|
33893
33893
|
// Clean up request
|
|
33894
33894
|
request = null;
|
|
@@ -33900,7 +33900,7 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
33900
33900
|
// (message may be empty; when present, surface it)
|
|
33901
33901
|
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
33902
33902
|
const msg = event && event.message ? event.message : 'Network Error';
|
|
33903
|
-
const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
|
|
33903
|
+
const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
|
|
33904
33904
|
// attach the underlying event for consumers who want details
|
|
33905
33905
|
err.event = event || null;
|
|
33906
33906
|
reject(err);
|
|
@@ -33914,9 +33914,9 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
33914
33914
|
if (_config.timeoutErrorMessage) {
|
|
33915
33915
|
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
33916
33916
|
}
|
|
33917
|
-
reject(new AxiosError(
|
|
33917
|
+
reject(new AxiosError$1(
|
|
33918
33918
|
timeoutErrorMessage,
|
|
33919
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
33919
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
33920
33920
|
config,
|
|
33921
33921
|
request));
|
|
33922
33922
|
|
|
@@ -33966,7 +33966,7 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
33966
33966
|
if (!request) {
|
|
33967
33967
|
return;
|
|
33968
33968
|
}
|
|
33969
|
-
reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
|
|
33969
|
+
reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
|
|
33970
33970
|
request.abort();
|
|
33971
33971
|
request = null;
|
|
33972
33972
|
};
|
|
@@ -33980,7 +33980,7 @@ var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
33980
33980
|
const protocol = parseProtocol(_config.url);
|
|
33981
33981
|
|
|
33982
33982
|
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
33983
|
-
reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
|
|
33983
|
+
reject(new AxiosError$1('Unsupported protocol ' + protocol + ':', AxiosError$1.ERR_BAD_REQUEST, config));
|
|
33984
33984
|
return;
|
|
33985
33985
|
}
|
|
33986
33986
|
|
|
@@ -34003,13 +34003,13 @@ const composeSignals = (signals, timeout) => {
|
|
|
34003
34003
|
aborted = true;
|
|
34004
34004
|
unsubscribe();
|
|
34005
34005
|
const err = reason instanceof Error ? reason : this.reason;
|
|
34006
|
-
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
34006
|
+
controller.abort(err instanceof AxiosError$1 ? err : new CanceledError$1(err instanceof Error ? err.message : err));
|
|
34007
34007
|
}
|
|
34008
34008
|
};
|
|
34009
34009
|
|
|
34010
34010
|
let timer = timeout && setTimeout(() => {
|
|
34011
34011
|
timer = null;
|
|
34012
|
-
onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));
|
|
34012
|
+
onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
|
|
34013
34013
|
}, timeout);
|
|
34014
34014
|
|
|
34015
34015
|
const unsubscribe = () => {
|
|
@@ -34193,7 +34193,7 @@ const factory = (env) => {
|
|
|
34193
34193
|
return method.call(res);
|
|
34194
34194
|
}
|
|
34195
34195
|
|
|
34196
|
-
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
34196
|
+
throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
|
|
34197
34197
|
});
|
|
34198
34198
|
});
|
|
34199
34199
|
})());
|
|
@@ -34347,7 +34347,7 @@ const factory = (env) => {
|
|
|
34347
34347
|
return await new Promise((resolve, reject) => {
|
|
34348
34348
|
settle(resolve, reject, {
|
|
34349
34349
|
data: responseData,
|
|
34350
|
-
headers: AxiosHeaders.from(response.headers),
|
|
34350
|
+
headers: AxiosHeaders$1.from(response.headers),
|
|
34351
34351
|
status: response.status,
|
|
34352
34352
|
statusText: response.statusText,
|
|
34353
34353
|
config,
|
|
@@ -34359,14 +34359,14 @@ const factory = (env) => {
|
|
|
34359
34359
|
|
|
34360
34360
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
34361
34361
|
throw Object.assign(
|
|
34362
|
-
new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, err && err.response),
|
|
34362
|
+
new AxiosError$1('Network Error', AxiosError$1.ERR_NETWORK, config, request, err && err.response),
|
|
34363
34363
|
{
|
|
34364
34364
|
cause: err.cause || err
|
|
34365
34365
|
}
|
|
34366
34366
|
)
|
|
34367
34367
|
}
|
|
34368
34368
|
|
|
34369
|
-
throw AxiosError.from(err, err && err.code, config, request, err && err.response);
|
|
34369
|
+
throw AxiosError$1.from(err, err && err.code, config, request, err && err.response);
|
|
34370
34370
|
}
|
|
34371
34371
|
}
|
|
34372
34372
|
};
|
|
@@ -34452,7 +34452,7 @@ const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter ===
|
|
|
34452
34452
|
* @throws {AxiosError} If no suitable adapter is available
|
|
34453
34453
|
* @returns {Function} The resolved adapter function
|
|
34454
34454
|
*/
|
|
34455
|
-
function getAdapter(adapters, config) {
|
|
34455
|
+
function getAdapter$1(adapters, config) {
|
|
34456
34456
|
adapters = utils$1.isArray(adapters) ? adapters : [adapters];
|
|
34457
34457
|
|
|
34458
34458
|
const { length } = adapters;
|
|
@@ -34471,7 +34471,7 @@ function getAdapter(adapters, config) {
|
|
|
34471
34471
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
34472
34472
|
|
|
34473
34473
|
if (adapter === undefined) {
|
|
34474
|
-
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
34474
|
+
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
34475
34475
|
}
|
|
34476
34476
|
}
|
|
34477
34477
|
|
|
@@ -34492,7 +34492,7 @@ function getAdapter(adapters, config) {
|
|
|
34492
34492
|
(reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
|
|
34493
34493
|
'as no adapter specified';
|
|
34494
34494
|
|
|
34495
|
-
throw new AxiosError(
|
|
34495
|
+
throw new AxiosError$1(
|
|
34496
34496
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
34497
34497
|
'ERR_NOT_SUPPORT'
|
|
34498
34498
|
);
|
|
@@ -34509,7 +34509,7 @@ var adapters = {
|
|
|
34509
34509
|
* Resolve an adapter from a list of adapter names or functions.
|
|
34510
34510
|
* @type {Function}
|
|
34511
34511
|
*/
|
|
34512
|
-
getAdapter,
|
|
34512
|
+
getAdapter: getAdapter$1,
|
|
34513
34513
|
|
|
34514
34514
|
/**
|
|
34515
34515
|
* Exposes all known adapters
|
|
@@ -34531,7 +34531,7 @@ function throwIfCancellationRequested(config) {
|
|
|
34531
34531
|
}
|
|
34532
34532
|
|
|
34533
34533
|
if (config.signal && config.signal.aborted) {
|
|
34534
|
-
throw new CanceledError(null, config);
|
|
34534
|
+
throw new CanceledError$1(null, config);
|
|
34535
34535
|
}
|
|
34536
34536
|
}
|
|
34537
34537
|
|
|
@@ -34545,7 +34545,7 @@ function throwIfCancellationRequested(config) {
|
|
|
34545
34545
|
function dispatchRequest(config) {
|
|
34546
34546
|
throwIfCancellationRequested(config);
|
|
34547
34547
|
|
|
34548
|
-
config.headers = AxiosHeaders.from(config.headers);
|
|
34548
|
+
config.headers = AxiosHeaders$1.from(config.headers);
|
|
34549
34549
|
|
|
34550
34550
|
// Transform request data
|
|
34551
34551
|
config.data = transformData.call(
|
|
@@ -34569,11 +34569,11 @@ function dispatchRequest(config) {
|
|
|
34569
34569
|
response
|
|
34570
34570
|
);
|
|
34571
34571
|
|
|
34572
|
-
response.headers = AxiosHeaders.from(response.headers);
|
|
34572
|
+
response.headers = AxiosHeaders$1.from(response.headers);
|
|
34573
34573
|
|
|
34574
34574
|
return response;
|
|
34575
34575
|
}, function onAdapterRejection(reason) {
|
|
34576
|
-
if (!isCancel(reason)) {
|
|
34576
|
+
if (!isCancel$1(reason)) {
|
|
34577
34577
|
throwIfCancellationRequested(config);
|
|
34578
34578
|
|
|
34579
34579
|
// Transform response data
|
|
@@ -34583,7 +34583,7 @@ function dispatchRequest(config) {
|
|
|
34583
34583
|
config.transformResponse,
|
|
34584
34584
|
reason.response
|
|
34585
34585
|
);
|
|
34586
|
-
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
34586
|
+
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
34587
34587
|
}
|
|
34588
34588
|
}
|
|
34589
34589
|
|
|
@@ -34613,15 +34613,15 @@ const deprecatedWarnings = {};
|
|
|
34613
34613
|
*/
|
|
34614
34614
|
validators$1.transitional = function transitional(validator, version, message) {
|
|
34615
34615
|
function formatMessage(opt, desc) {
|
|
34616
|
-
return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
34616
|
+
return '[Axios v' + VERSION$1 + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
|
|
34617
34617
|
}
|
|
34618
34618
|
|
|
34619
34619
|
// eslint-disable-next-line func-names
|
|
34620
34620
|
return (value, opt, opts) => {
|
|
34621
34621
|
if (validator === false) {
|
|
34622
|
-
throw new AxiosError(
|
|
34622
|
+
throw new AxiosError$1(
|
|
34623
34623
|
formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
|
|
34624
|
-
AxiosError.ERR_DEPRECATED
|
|
34624
|
+
AxiosError$1.ERR_DEPRECATED
|
|
34625
34625
|
);
|
|
34626
34626
|
}
|
|
34627
34627
|
|
|
@@ -34660,7 +34660,7 @@ validators$1.spelling = function spelling(correctSpelling) {
|
|
|
34660
34660
|
|
|
34661
34661
|
function assertOptions(options, schema, allowUnknown) {
|
|
34662
34662
|
if (typeof options !== 'object') {
|
|
34663
|
-
throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
|
|
34663
|
+
throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
34664
34664
|
}
|
|
34665
34665
|
const keys = Object.keys(options);
|
|
34666
34666
|
let i = keys.length;
|
|
@@ -34671,12 +34671,12 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
34671
34671
|
const value = options[opt];
|
|
34672
34672
|
const result = value === undefined || validator(value, opt, options);
|
|
34673
34673
|
if (result !== true) {
|
|
34674
|
-
throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
|
|
34674
|
+
throw new AxiosError$1('option ' + opt + ' must be ' + result, AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
34675
34675
|
}
|
|
34676
34676
|
continue;
|
|
34677
34677
|
}
|
|
34678
34678
|
if (allowUnknown !== true) {
|
|
34679
|
-
throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
|
|
34679
|
+
throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
|
|
34680
34680
|
}
|
|
34681
34681
|
}
|
|
34682
34682
|
}
|
|
@@ -34695,7 +34695,7 @@ const validators = validator.validators;
|
|
|
34695
34695
|
*
|
|
34696
34696
|
* @return {Axios} A new instance of Axios
|
|
34697
34697
|
*/
|
|
34698
|
-
class Axios {
|
|
34698
|
+
let Axios$1 = class Axios {
|
|
34699
34699
|
constructor(instanceConfig) {
|
|
34700
34700
|
this.defaults = instanceConfig || {};
|
|
34701
34701
|
this.interceptors = {
|
|
@@ -34749,7 +34749,7 @@ class Axios {
|
|
|
34749
34749
|
config = configOrUrl || {};
|
|
34750
34750
|
}
|
|
34751
34751
|
|
|
34752
|
-
config = mergeConfig(this.defaults, config);
|
|
34752
|
+
config = mergeConfig$1(this.defaults, config);
|
|
34753
34753
|
|
|
34754
34754
|
const {transitional, paramsSerializer, headers} = config;
|
|
34755
34755
|
|
|
@@ -34803,7 +34803,7 @@ class Axios {
|
|
|
34803
34803
|
}
|
|
34804
34804
|
);
|
|
34805
34805
|
|
|
34806
|
-
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
34806
|
+
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
34807
34807
|
|
|
34808
34808
|
// filter out skipped interceptors
|
|
34809
34809
|
const requestInterceptorChain = [];
|
|
@@ -34881,17 +34881,17 @@ class Axios {
|
|
|
34881
34881
|
}
|
|
34882
34882
|
|
|
34883
34883
|
getUri(config) {
|
|
34884
|
-
config = mergeConfig(this.defaults, config);
|
|
34884
|
+
config = mergeConfig$1(this.defaults, config);
|
|
34885
34885
|
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
34886
34886
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
|
34887
34887
|
}
|
|
34888
|
-
}
|
|
34888
|
+
};
|
|
34889
34889
|
|
|
34890
34890
|
// Provide aliases for supported request methods
|
|
34891
34891
|
utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
34892
34892
|
/*eslint func-names:0*/
|
|
34893
|
-
Axios.prototype[method] = function(url, config) {
|
|
34894
|
-
return this.request(mergeConfig(config || {}, {
|
|
34893
|
+
Axios$1.prototype[method] = function(url, config) {
|
|
34894
|
+
return this.request(mergeConfig$1(config || {}, {
|
|
34895
34895
|
method,
|
|
34896
34896
|
url,
|
|
34897
34897
|
data: (config || {}).data
|
|
@@ -34904,7 +34904,7 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
34904
34904
|
|
|
34905
34905
|
function generateHTTPMethod(isForm) {
|
|
34906
34906
|
return function httpMethod(url, data, config) {
|
|
34907
|
-
return this.request(mergeConfig(config || {}, {
|
|
34907
|
+
return this.request(mergeConfig$1(config || {}, {
|
|
34908
34908
|
method,
|
|
34909
34909
|
headers: isForm ? {
|
|
34910
34910
|
'Content-Type': 'multipart/form-data'
|
|
@@ -34915,9 +34915,9 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
34915
34915
|
};
|
|
34916
34916
|
}
|
|
34917
34917
|
|
|
34918
|
-
Axios.prototype[method] = generateHTTPMethod();
|
|
34918
|
+
Axios$1.prototype[method] = generateHTTPMethod();
|
|
34919
34919
|
|
|
34920
|
-
Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
34920
|
+
Axios$1.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
34921
34921
|
});
|
|
34922
34922
|
|
|
34923
34923
|
/**
|
|
@@ -34927,7 +34927,7 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
34927
34927
|
*
|
|
34928
34928
|
* @returns {CancelToken}
|
|
34929
34929
|
*/
|
|
34930
|
-
class CancelToken {
|
|
34930
|
+
let CancelToken$1 = class CancelToken {
|
|
34931
34931
|
constructor(executor) {
|
|
34932
34932
|
if (typeof executor !== 'function') {
|
|
34933
34933
|
throw new TypeError('executor must be a function.');
|
|
@@ -34975,7 +34975,7 @@ class CancelToken {
|
|
|
34975
34975
|
return;
|
|
34976
34976
|
}
|
|
34977
34977
|
|
|
34978
|
-
token.reason = new CanceledError(message, config, request);
|
|
34978
|
+
token.reason = new CanceledError$1(message, config, request);
|
|
34979
34979
|
resolvePromise(token.reason);
|
|
34980
34980
|
});
|
|
34981
34981
|
}
|
|
@@ -35048,7 +35048,7 @@ class CancelToken {
|
|
|
35048
35048
|
cancel
|
|
35049
35049
|
};
|
|
35050
35050
|
}
|
|
35051
|
-
}
|
|
35051
|
+
};
|
|
35052
35052
|
|
|
35053
35053
|
/**
|
|
35054
35054
|
* Syntactic sugar for invoking a function and expanding an array for arguments.
|
|
@@ -35071,7 +35071,7 @@ class CancelToken {
|
|
|
35071
35071
|
*
|
|
35072
35072
|
* @returns {Function}
|
|
35073
35073
|
*/
|
|
35074
|
-
function spread(callback) {
|
|
35074
|
+
function spread$1(callback) {
|
|
35075
35075
|
return function wrap(arr) {
|
|
35076
35076
|
return callback.apply(null, arr);
|
|
35077
35077
|
};
|
|
@@ -35084,11 +35084,11 @@ function spread(callback) {
|
|
|
35084
35084
|
*
|
|
35085
35085
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
35086
35086
|
*/
|
|
35087
|
-
function isAxiosError(payload) {
|
|
35087
|
+
function isAxiosError$1(payload) {
|
|
35088
35088
|
return utils$1.isObject(payload) && (payload.isAxiosError === true);
|
|
35089
35089
|
}
|
|
35090
35090
|
|
|
35091
|
-
const HttpStatusCode = {
|
|
35091
|
+
const HttpStatusCode$1 = {
|
|
35092
35092
|
Continue: 100,
|
|
35093
35093
|
SwitchingProtocols: 101,
|
|
35094
35094
|
Processing: 102,
|
|
@@ -35160,8 +35160,8 @@ const HttpStatusCode = {
|
|
|
35160
35160
|
InvalidSslCertificate: 526,
|
|
35161
35161
|
};
|
|
35162
35162
|
|
|
35163
|
-
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
35164
|
-
HttpStatusCode[value] = key;
|
|
35163
|
+
Object.entries(HttpStatusCode$1).forEach(([key, value]) => {
|
|
35164
|
+
HttpStatusCode$1[value] = key;
|
|
35165
35165
|
});
|
|
35166
35166
|
|
|
35167
35167
|
/**
|
|
@@ -35172,18 +35172,18 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
35172
35172
|
* @returns {Axios} A new instance of Axios
|
|
35173
35173
|
*/
|
|
35174
35174
|
function createInstance(defaultConfig) {
|
|
35175
|
-
const context = new Axios(defaultConfig);
|
|
35176
|
-
const instance = bind$2(Axios.prototype.request, context);
|
|
35175
|
+
const context = new Axios$1(defaultConfig);
|
|
35176
|
+
const instance = bind$2(Axios$1.prototype.request, context);
|
|
35177
35177
|
|
|
35178
35178
|
// Copy axios.prototype to instance
|
|
35179
|
-
utils$1.extend(instance, Axios.prototype, context, {allOwnKeys: true});
|
|
35179
|
+
utils$1.extend(instance, Axios$1.prototype, context, {allOwnKeys: true});
|
|
35180
35180
|
|
|
35181
35181
|
// Copy context to instance
|
|
35182
35182
|
utils$1.extend(instance, context, null, {allOwnKeys: true});
|
|
35183
35183
|
|
|
35184
35184
|
// Factory for creating new instances
|
|
35185
35185
|
instance.create = function create(instanceConfig) {
|
|
35186
|
-
return createInstance(mergeConfig(defaultConfig, instanceConfig));
|
|
35186
|
+
return createInstance(mergeConfig$1(defaultConfig, instanceConfig));
|
|
35187
35187
|
};
|
|
35188
35188
|
|
|
35189
35189
|
return instance;
|
|
@@ -35193,17 +35193,17 @@ function createInstance(defaultConfig) {
|
|
|
35193
35193
|
const axios = createInstance(defaults);
|
|
35194
35194
|
|
|
35195
35195
|
// Expose Axios class to allow class inheritance
|
|
35196
|
-
axios.Axios = Axios;
|
|
35196
|
+
axios.Axios = Axios$1;
|
|
35197
35197
|
|
|
35198
35198
|
// Expose Cancel & CancelToken
|
|
35199
|
-
axios.CanceledError = CanceledError;
|
|
35200
|
-
axios.CancelToken = CancelToken;
|
|
35201
|
-
axios.isCancel = isCancel;
|
|
35202
|
-
axios.VERSION = VERSION;
|
|
35203
|
-
axios.toFormData = toFormData;
|
|
35199
|
+
axios.CanceledError = CanceledError$1;
|
|
35200
|
+
axios.CancelToken = CancelToken$1;
|
|
35201
|
+
axios.isCancel = isCancel$1;
|
|
35202
|
+
axios.VERSION = VERSION$1;
|
|
35203
|
+
axios.toFormData = toFormData$1;
|
|
35204
35204
|
|
|
35205
35205
|
// Expose AxiosError class
|
|
35206
|
-
axios.AxiosError = AxiosError;
|
|
35206
|
+
axios.AxiosError = AxiosError$1;
|
|
35207
35207
|
|
|
35208
35208
|
// alias for CanceledError for backward compatibility
|
|
35209
35209
|
axios.Cancel = axios.CanceledError;
|
|
@@ -35213,24 +35213,46 @@ axios.all = function all(promises) {
|
|
|
35213
35213
|
return Promise.all(promises);
|
|
35214
35214
|
};
|
|
35215
35215
|
|
|
35216
|
-
axios.spread = spread;
|
|
35216
|
+
axios.spread = spread$1;
|
|
35217
35217
|
|
|
35218
35218
|
// Expose isAxiosError
|
|
35219
|
-
axios.isAxiosError = isAxiosError;
|
|
35219
|
+
axios.isAxiosError = isAxiosError$1;
|
|
35220
35220
|
|
|
35221
35221
|
// Expose mergeConfig
|
|
35222
|
-
axios.mergeConfig = mergeConfig;
|
|
35222
|
+
axios.mergeConfig = mergeConfig$1;
|
|
35223
35223
|
|
|
35224
|
-
axios.AxiosHeaders = AxiosHeaders;
|
|
35224
|
+
axios.AxiosHeaders = AxiosHeaders$1;
|
|
35225
35225
|
|
|
35226
35226
|
axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
35227
35227
|
|
|
35228
35228
|
axios.getAdapter = adapters.getAdapter;
|
|
35229
35229
|
|
|
35230
|
-
axios.HttpStatusCode = HttpStatusCode;
|
|
35230
|
+
axios.HttpStatusCode = HttpStatusCode$1;
|
|
35231
35231
|
|
|
35232
35232
|
axios.default = axios;
|
|
35233
35233
|
|
|
35234
|
+
// This module is intended to unwrap Axios default export as named.
|
|
35235
|
+
// Keep top-level export same with static properties
|
|
35236
|
+
// so that it can keep same with es module or cjs
|
|
35237
|
+
const {
|
|
35238
|
+
Axios,
|
|
35239
|
+
AxiosError,
|
|
35240
|
+
CanceledError,
|
|
35241
|
+
isCancel,
|
|
35242
|
+
CancelToken,
|
|
35243
|
+
VERSION,
|
|
35244
|
+
all,
|
|
35245
|
+
Cancel,
|
|
35246
|
+
isAxiosError,
|
|
35247
|
+
spread,
|
|
35248
|
+
toFormData,
|
|
35249
|
+
AxiosHeaders,
|
|
35250
|
+
HttpStatusCode,
|
|
35251
|
+
formToJSON,
|
|
35252
|
+
getAdapter,
|
|
35253
|
+
mergeConfig
|
|
35254
|
+
} = axios;
|
|
35255
|
+
|
|
35234
35256
|
path$2.resolve("./package.json");
|
|
35235
35257
|
|
|
35236
35258
|
const DEPENDENCY_TYPES = {
|