axios 0.21.4 → 0.25.0

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/axios.js CHANGED
@@ -1,4 +1,5 @@
1
- /* axios v0.21.4 | (c) 2021 by Matt Zabriskie */
1
+ /* axios v0.25.0 | (c) 2022 by Matt Zabriskie */
2
+ /* axios v0.24.0 | (c) 2022 by Matt Zabriskie */
2
3
  (function webpackUniversalModuleDefinition(root, factory) {
3
4
  if(typeof exports === 'object' && typeof module === 'object')
4
5
  module.exports = factory();
@@ -8,7 +9,7 @@
8
9
  exports["axios"] = factory();
9
10
  else
10
11
  root["axios"] = factory();
11
- })(window, function() {
12
+ })(this, function() {
12
13
  return /******/ (function(modules) { // webpackBootstrap
13
14
  /******/ // The module cache
14
15
  /******/ var installedModules = {};
@@ -126,12 +127,24 @@ var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "./lib/core
126
127
  var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "./lib/helpers/parseHeaders.js");
127
128
  var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "./lib/helpers/isURLSameOrigin.js");
128
129
  var createError = __webpack_require__(/*! ../core/createError */ "./lib/core/createError.js");
130
+ var defaults = __webpack_require__(/*! ../defaults */ "./lib/defaults.js");
131
+ var Cancel = __webpack_require__(/*! ../cancel/Cancel */ "./lib/cancel/Cancel.js");
129
132
 
130
133
  module.exports = function xhrAdapter(config) {
131
134
  return new Promise(function dispatchXhrRequest(resolve, reject) {
132
135
  var requestData = config.data;
133
136
  var requestHeaders = config.headers;
134
137
  var responseType = config.responseType;
138
+ var onCanceled;
139
+ function done() {
140
+ if (config.cancelToken) {
141
+ config.cancelToken.unsubscribe(onCanceled);
142
+ }
143
+
144
+ if (config.signal) {
145
+ config.signal.removeEventListener('abort', onCanceled);
146
+ }
147
+ }
135
148
 
136
149
  if (utils.isFormData(requestData)) {
137
150
  delete requestHeaders['Content-Type']; // Let the browser set it
@@ -169,7 +182,13 @@ module.exports = function xhrAdapter(config) {
169
182
  request: request
170
183
  };
171
184
 
172
- settle(resolve, reject, response);
185
+ settle(function _resolve(value) {
186
+ resolve(value);
187
+ done();
188
+ }, function _reject(err) {
189
+ reject(err);
190
+ done();
191
+ }, response);
173
192
 
174
193
  // Clean up request
175
194
  request = null;
@@ -222,14 +241,15 @@ module.exports = function xhrAdapter(config) {
222
241
 
223
242
  // Handle timeout
224
243
  request.ontimeout = function handleTimeout() {
225
- var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
244
+ var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
245
+ var transitional = config.transitional || defaults.transitional;
226
246
  if (config.timeoutErrorMessage) {
227
247
  timeoutErrorMessage = config.timeoutErrorMessage;
228
248
  }
229
249
  reject(createError(
230
250
  timeoutErrorMessage,
231
251
  config,
232
- config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
252
+ transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
233
253
  request));
234
254
 
235
255
  // Clean up request
@@ -283,18 +303,22 @@ module.exports = function xhrAdapter(config) {
283
303
  request.upload.addEventListener('progress', config.onUploadProgress);
284
304
  }
285
305
 
286
- if (config.cancelToken) {
306
+ if (config.cancelToken || config.signal) {
287
307
  // Handle cancellation
288
- config.cancelToken.promise.then(function onCanceled(cancel) {
308
+ // eslint-disable-next-line func-names
309
+ onCanceled = function(cancel) {
289
310
  if (!request) {
290
311
  return;
291
312
  }
292
-
313
+ reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);
293
314
  request.abort();
294
- reject(cancel);
295
- // Clean up request
296
315
  request = null;
297
- });
316
+ };
317
+
318
+ config.cancelToken && config.cancelToken.subscribe(onCanceled);
319
+ if (config.signal) {
320
+ config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
321
+ }
298
322
  }
299
323
 
300
324
  if (!requestData) {
@@ -341,6 +365,11 @@ function createInstance(defaultConfig) {
341
365
  // Copy context to instance
342
366
  utils.extend(instance, context);
343
367
 
368
+ // Factory for creating new instances
369
+ instance.create = function create(instanceConfig) {
370
+ return createInstance(mergeConfig(defaultConfig, instanceConfig));
371
+ };
372
+
344
373
  return instance;
345
374
  }
346
375
 
@@ -350,15 +379,11 @@ var axios = createInstance(defaults);
350
379
  // Expose Axios class to allow class inheritance
351
380
  axios.Axios = Axios;
352
381
 
353
- // Factory for creating new instances
354
- axios.create = function create(instanceConfig) {
355
- return createInstance(mergeConfig(axios.defaults, instanceConfig));
356
- };
357
-
358
382
  // Expose Cancel & CancelToken
359
383
  axios.Cancel = __webpack_require__(/*! ./cancel/Cancel */ "./lib/cancel/Cancel.js");
360
384
  axios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ "./lib/cancel/CancelToken.js");
361
385
  axios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ "./lib/cancel/isCancel.js");
386
+ axios.VERSION = __webpack_require__(/*! ./env/data */ "./lib/env/data.js").version;
362
387
 
363
388
  // Expose all/spread
364
389
  axios.all = function all(promises) {
@@ -432,11 +457,42 @@ function CancelToken(executor) {
432
457
  }
433
458
 
434
459
  var resolvePromise;
460
+
435
461
  this.promise = new Promise(function promiseExecutor(resolve) {
436
462
  resolvePromise = resolve;
437
463
  });
438
464
 
439
465
  var token = this;
466
+
467
+ // eslint-disable-next-line func-names
468
+ this.promise.then(function(cancel) {
469
+ if (!token._listeners) return;
470
+
471
+ var i;
472
+ var l = token._listeners.length;
473
+
474
+ for (i = 0; i < l; i++) {
475
+ token._listeners[i](cancel);
476
+ }
477
+ token._listeners = null;
478
+ });
479
+
480
+ // eslint-disable-next-line func-names
481
+ this.promise.then = function(onfulfilled) {
482
+ var _resolve;
483
+ // eslint-disable-next-line func-names
484
+ var promise = new Promise(function(resolve) {
485
+ token.subscribe(resolve);
486
+ _resolve = resolve;
487
+ }).then(onfulfilled);
488
+
489
+ promise.cancel = function reject() {
490
+ token.unsubscribe(_resolve);
491
+ };
492
+
493
+ return promise;
494
+ };
495
+
440
496
  executor(function cancel(message) {
441
497
  if (token.reason) {
442
498
  // Cancellation has already been requested
@@ -457,6 +513,37 @@ CancelToken.prototype.throwIfRequested = function throwIfRequested() {
457
513
  }
458
514
  };
459
515
 
516
+ /**
517
+ * Subscribe to the cancel signal
518
+ */
519
+
520
+ CancelToken.prototype.subscribe = function subscribe(listener) {
521
+ if (this.reason) {
522
+ listener(this.reason);
523
+ return;
524
+ }
525
+
526
+ if (this._listeners) {
527
+ this._listeners.push(listener);
528
+ } else {
529
+ this._listeners = [listener];
530
+ }
531
+ };
532
+
533
+ /**
534
+ * Unsubscribe from the cancel signal
535
+ */
536
+
537
+ CancelToken.prototype.unsubscribe = function unsubscribe(listener) {
538
+ if (!this._listeners) {
539
+ return;
540
+ }
541
+ var index = this._listeners.indexOf(listener);
542
+ if (index !== -1) {
543
+ this._listeners.splice(index, 1);
544
+ }
545
+ };
546
+
460
547
  /**
461
548
  * Returns an object that contains a new `CancelToken` and a function that, when called,
462
549
  * cancels the `CancelToken`.
@@ -555,9 +642,9 @@ Axios.prototype.request = function request(config) {
555
642
 
556
643
  if (transitional !== undefined) {
557
644
  validator.assertOptions(transitional, {
558
- silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),
559
- forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),
560
- clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')
645
+ silentJSONParsing: validators.transitional(validators.boolean),
646
+ forcedJSONParsing: validators.transitional(validators.boolean),
647
+ clarifyTimeoutError: validators.transitional(validators.boolean)
561
648
  }, false);
562
649
  }
563
650
 
@@ -796,6 +883,7 @@ var utils = __webpack_require__(/*! ./../utils */ "./lib/utils.js");
796
883
  var transformData = __webpack_require__(/*! ./transformData */ "./lib/core/transformData.js");
797
884
  var isCancel = __webpack_require__(/*! ../cancel/isCancel */ "./lib/cancel/isCancel.js");
798
885
  var defaults = __webpack_require__(/*! ../defaults */ "./lib/defaults.js");
886
+ var Cancel = __webpack_require__(/*! ../cancel/Cancel */ "./lib/cancel/Cancel.js");
799
887
 
800
888
  /**
801
889
  * Throws a `Cancel` if cancellation has been requested.
@@ -804,6 +892,10 @@ function throwIfCancellationRequested(config) {
804
892
  if (config.cancelToken) {
805
893
  config.cancelToken.throwIfRequested();
806
894
  }
895
+
896
+ if (config.signal && config.signal.aborted) {
897
+ throw new Cancel('canceled');
898
+ }
807
899
  }
808
900
 
809
901
  /**
@@ -921,7 +1013,8 @@ module.exports = function enhanceError(error, config, code, request, response) {
921
1013
  stack: this.stack,
922
1014
  // Axios
923
1015
  config: this.config,
924
- code: this.code
1016
+ code: this.code,
1017
+ status: this.response && this.response.status ? this.response.status : null
925
1018
  };
926
1019
  };
927
1020
  return error;
@@ -955,17 +1048,6 @@ module.exports = function mergeConfig(config1, config2) {
955
1048
  config2 = config2 || {};
956
1049
  var config = {};
957
1050
 
958
- var valueFromConfig2Keys = ['url', 'method', 'data'];
959
- var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];
960
- var defaultToConfig2Keys = [
961
- 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',
962
- 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
963
- 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',
964
- 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',
965
- 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'
966
- ];
967
- var directMergeKeys = ['validateStatus'];
968
-
969
1051
  function getMergedValue(target, source) {
970
1052
  if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
971
1053
  return utils.merge(target, source);
@@ -977,51 +1059,74 @@ module.exports = function mergeConfig(config1, config2) {
977
1059
  return source;
978
1060
  }
979
1061
 
1062
+ // eslint-disable-next-line consistent-return
980
1063
  function mergeDeepProperties(prop) {
981
1064
  if (!utils.isUndefined(config2[prop])) {
982
- config[prop] = getMergedValue(config1[prop], config2[prop]);
1065
+ return getMergedValue(config1[prop], config2[prop]);
983
1066
  } else if (!utils.isUndefined(config1[prop])) {
984
- config[prop] = getMergedValue(undefined, config1[prop]);
1067
+ return getMergedValue(undefined, config1[prop]);
985
1068
  }
986
1069
  }
987
1070
 
988
- utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
1071
+ // eslint-disable-next-line consistent-return
1072
+ function valueFromConfig2(prop) {
989
1073
  if (!utils.isUndefined(config2[prop])) {
990
- config[prop] = getMergedValue(undefined, config2[prop]);
1074
+ return getMergedValue(undefined, config2[prop]);
991
1075
  }
992
- });
993
-
994
- utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
1076
+ }
995
1077
 
996
- utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
1078
+ // eslint-disable-next-line consistent-return
1079
+ function defaultToConfig2(prop) {
997
1080
  if (!utils.isUndefined(config2[prop])) {
998
- config[prop] = getMergedValue(undefined, config2[prop]);
1081
+ return getMergedValue(undefined, config2[prop]);
999
1082
  } else if (!utils.isUndefined(config1[prop])) {
1000
- config[prop] = getMergedValue(undefined, config1[prop]);
1083
+ return getMergedValue(undefined, config1[prop]);
1001
1084
  }
1002
- });
1085
+ }
1003
1086
 
1004
- utils.forEach(directMergeKeys, function merge(prop) {
1087
+ // eslint-disable-next-line consistent-return
1088
+ function mergeDirectKeys(prop) {
1005
1089
  if (prop in config2) {
1006
- config[prop] = getMergedValue(config1[prop], config2[prop]);
1090
+ return getMergedValue(config1[prop], config2[prop]);
1007
1091
  } else if (prop in config1) {
1008
- config[prop] = getMergedValue(undefined, config1[prop]);
1092
+ return getMergedValue(undefined, config1[prop]);
1009
1093
  }
1010
- });
1011
-
1012
- var axiosKeys = valueFromConfig2Keys
1013
- .concat(mergeDeepPropertiesKeys)
1014
- .concat(defaultToConfig2Keys)
1015
- .concat(directMergeKeys);
1094
+ }
1016
1095
 
1017
- var otherKeys = Object
1018
- .keys(config1)
1019
- .concat(Object.keys(config2))
1020
- .filter(function filterAxiosKeys(key) {
1021
- return axiosKeys.indexOf(key) === -1;
1022
- });
1096
+ var mergeMap = {
1097
+ 'url': valueFromConfig2,
1098
+ 'method': valueFromConfig2,
1099
+ 'data': valueFromConfig2,
1100
+ 'baseURL': defaultToConfig2,
1101
+ 'transformRequest': defaultToConfig2,
1102
+ 'transformResponse': defaultToConfig2,
1103
+ 'paramsSerializer': defaultToConfig2,
1104
+ 'timeout': defaultToConfig2,
1105
+ 'timeoutMessage': defaultToConfig2,
1106
+ 'withCredentials': defaultToConfig2,
1107
+ 'adapter': defaultToConfig2,
1108
+ 'responseType': defaultToConfig2,
1109
+ 'xsrfCookieName': defaultToConfig2,
1110
+ 'xsrfHeaderName': defaultToConfig2,
1111
+ 'onUploadProgress': defaultToConfig2,
1112
+ 'onDownloadProgress': defaultToConfig2,
1113
+ 'decompress': defaultToConfig2,
1114
+ 'maxContentLength': defaultToConfig2,
1115
+ 'maxBodyLength': defaultToConfig2,
1116
+ 'transport': defaultToConfig2,
1117
+ 'httpAgent': defaultToConfig2,
1118
+ 'httpsAgent': defaultToConfig2,
1119
+ 'cancelToken': defaultToConfig2,
1120
+ 'socketPath': defaultToConfig2,
1121
+ 'responseEncoding': defaultToConfig2,
1122
+ 'validateStatus': mergeDirectKeys
1123
+ };
1023
1124
 
1024
- utils.forEach(otherKeys, mergeDeepProperties);
1125
+ utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
1126
+ var merge = mergeMap[prop] || mergeDeepProperties;
1127
+ var configValue = merge(prop);
1128
+ (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
1129
+ });
1025
1130
 
1026
1131
  return config;
1027
1132
  };
@@ -1189,7 +1294,7 @@ var defaults = {
1189
1294
  }],
1190
1295
 
1191
1296
  transformResponse: [function transformResponse(data) {
1192
- var transitional = this.transitional;
1297
+ var transitional = this.transitional || defaults.transitional;
1193
1298
  var silentJSONParsing = transitional && transitional.silentJSONParsing;
1194
1299
  var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1195
1300
  var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
@@ -1224,12 +1329,12 @@ var defaults = {
1224
1329
 
1225
1330
  validateStatus: function validateStatus(status) {
1226
1331
  return status >= 200 && status < 300;
1227
- }
1228
- };
1332
+ },
1229
1333
 
1230
- defaults.headers = {
1231
- common: {
1232
- 'Accept': 'application/json, text/plain, */*'
1334
+ headers: {
1335
+ common: {
1336
+ 'Accept': 'application/json, text/plain, */*'
1337
+ }
1233
1338
  }
1234
1339
  };
1235
1340
 
@@ -1244,6 +1349,19 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
1244
1349
  module.exports = defaults;
1245
1350
 
1246
1351
 
1352
+ /***/ }),
1353
+
1354
+ /***/ "./lib/env/data.js":
1355
+ /*!*************************!*\
1356
+ !*** ./lib/env/data.js ***!
1357
+ \*************************/
1358
+ /*! no static exports found */
1359
+ /***/ (function(module, exports) {
1360
+
1361
+ module.exports = {
1362
+ "version": "0.24.0"
1363
+ };
1364
+
1247
1365
  /***/ }),
1248
1366
 
1249
1367
  /***/ "./lib/helpers/bind.js":
@@ -1709,7 +1827,7 @@ module.exports = function spread(callback) {
1709
1827
  "use strict";
1710
1828
 
1711
1829
 
1712
- var pkg = __webpack_require__(/*! ./../../package.json */ "./package.json");
1830
+ var VERSION = __webpack_require__(/*! ../env/data */ "./lib/env/data.js").version;
1713
1831
 
1714
1832
  var validators = {};
1715
1833
 
@@ -1721,48 +1839,26 @@ var validators = {};
1721
1839
  });
1722
1840
 
1723
1841
  var deprecatedWarnings = {};
1724
- var currentVerArr = pkg.version.split('.');
1725
-
1726
- /**
1727
- * Compare package versions
1728
- * @param {string} version
1729
- * @param {string?} thanVersion
1730
- * @returns {boolean}
1731
- */
1732
- function isOlderVersion(version, thanVersion) {
1733
- var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;
1734
- var destVer = version.split('.');
1735
- for (var i = 0; i < 3; i++) {
1736
- if (pkgVersionArr[i] > destVer[i]) {
1737
- return true;
1738
- } else if (pkgVersionArr[i] < destVer[i]) {
1739
- return false;
1740
- }
1741
- }
1742
- return false;
1743
- }
1744
1842
 
1745
1843
  /**
1746
1844
  * Transitional option validator
1747
- * @param {function|boolean?} validator
1748
- * @param {string?} version
1749
- * @param {string} message
1845
+ * @param {function|boolean?} validator - set to false if the transitional option has been removed
1846
+ * @param {string?} version - deprecated version / removed since version
1847
+ * @param {string?} message - some message with additional info
1750
1848
  * @returns {function}
1751
1849
  */
1752
1850
  validators.transitional = function transitional(validator, version, message) {
1753
- var isDeprecated = version && isOlderVersion(version);
1754
-
1755
1851
  function formatMessage(opt, desc) {
1756
- return '[Axios v' + pkg.version + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
1852
+ return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
1757
1853
  }
1758
1854
 
1759
1855
  // eslint-disable-next-line func-names
1760
1856
  return function(value, opt, opts) {
1761
1857
  if (validator === false) {
1762
- throw new Error(formatMessage(opt, ' has been removed in ' + version));
1858
+ throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));
1763
1859
  }
1764
1860
 
1765
- if (isDeprecated && !deprecatedWarnings[opt]) {
1861
+ if (version && !deprecatedWarnings[opt]) {
1766
1862
  deprecatedWarnings[opt] = true;
1767
1863
  // eslint-disable-next-line no-console
1768
1864
  console.warn(
@@ -1808,7 +1904,6 @@ function assertOptions(options, schema, allowUnknown) {
1808
1904
  }
1809
1905
 
1810
1906
  module.exports = {
1811
- isOlderVersion: isOlderVersion,
1812
1907
  assertOptions: assertOptions,
1813
1908
  validators: validators
1814
1909
  };
@@ -2175,17 +2270,6 @@ module.exports = {
2175
2270
  };
2176
2271
 
2177
2272
 
2178
- /***/ }),
2179
-
2180
- /***/ "./package.json":
2181
- /*!**********************!*\
2182
- !*** ./package.json ***!
2183
- \**********************/
2184
- /*! exports provided: name, version, description, main, scripts, repository, keywords, author, license, bugs, homepage, devDependencies, browser, jsdelivr, unpkg, typings, dependencies, bundlesize, default */
2185
- /***/ (function(module) {
2186
-
2187
- module.exports = JSON.parse("{\"name\":\"axios\",\"version\":\"0.21.4\",\"description\":\"Promise based HTTP client for the browser and node.js\",\"main\":\"index.js\",\"scripts\":{\"test\":\"grunt test\",\"start\":\"node ./sandbox/server.js\",\"build\":\"NODE_ENV=production grunt build\",\"preversion\":\"npm test\",\"version\":\"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json\",\"postversion\":\"git push && git push --tags\",\"examples\":\"node ./examples/server.js\",\"coveralls\":\"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js\",\"fix\":\"eslint --fix lib/**/*.js\"},\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/axios/axios.git\"},\"keywords\":[\"xhr\",\"http\",\"ajax\",\"promise\",\"node\"],\"author\":\"Matt Zabriskie\",\"license\":\"MIT\",\"bugs\":{\"url\":\"https://github.com/axios/axios/issues\"},\"homepage\":\"https://axios-http.com\",\"devDependencies\":{\"coveralls\":\"^3.0.0\",\"es6-promise\":\"^4.2.4\",\"grunt\":\"^1.3.0\",\"grunt-banner\":\"^0.6.0\",\"grunt-cli\":\"^1.2.0\",\"grunt-contrib-clean\":\"^1.1.0\",\"grunt-contrib-watch\":\"^1.0.0\",\"grunt-eslint\":\"^23.0.0\",\"grunt-karma\":\"^4.0.0\",\"grunt-mocha-test\":\"^0.13.3\",\"grunt-ts\":\"^6.0.0-beta.19\",\"grunt-webpack\":\"^4.0.2\",\"istanbul-instrumenter-loader\":\"^1.0.0\",\"jasmine-core\":\"^2.4.1\",\"karma\":\"^6.3.2\",\"karma-chrome-launcher\":\"^3.1.0\",\"karma-firefox-launcher\":\"^2.1.0\",\"karma-jasmine\":\"^1.1.1\",\"karma-jasmine-ajax\":\"^0.1.13\",\"karma-safari-launcher\":\"^1.0.0\",\"karma-sauce-launcher\":\"^4.3.6\",\"karma-sinon\":\"^1.0.5\",\"karma-sourcemap-loader\":\"^0.3.8\",\"karma-webpack\":\"^4.0.2\",\"load-grunt-tasks\":\"^3.5.2\",\"minimist\":\"^1.2.0\",\"mocha\":\"^8.2.1\",\"sinon\":\"^4.5.0\",\"terser-webpack-plugin\":\"^4.2.3\",\"typescript\":\"^4.0.5\",\"url-search-params\":\"^0.10.0\",\"webpack\":\"^4.44.2\",\"webpack-dev-server\":\"^3.11.0\"},\"browser\":{\"./lib/adapters/http.js\":\"./lib/adapters/xhr.js\"},\"jsdelivr\":\"dist/axios.min.js\",\"unpkg\":\"dist/axios.min.js\",\"typings\":\"./index.d.ts\",\"dependencies\":{\"follow-redirects\":\"^1.14.0\"},\"bundlesize\":[{\"path\":\"./dist/axios.min.js\",\"threshold\":\"5kB\"}]}");
2188
-
2189
2273
  /***/ })
2190
2274
 
2191
2275
  /******/ });