axios 1.0.0 → 1.1.1
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.
Potentially problematic release.
This version of axios might be problematic. Click here for more details.
- package/CHANGELOG.md +29 -0
- package/dist/axios.js +10 -8
- package/dist/axios.js.map +1 -1
- package/dist/axios.min.js +1 -1
- package/dist/axios.min.js.map +1 -1
- package/dist/esm/axios.js +3 -3
- package/dist/esm/axios.js.map +1 -1
- package/dist/esm/axios.min.js +1 -1
- package/dist/esm/axios.min.js.map +1 -1
- package/dist/node/axios.cjs +11 -6
- package/dist/node/axios.cjs.map +1 -1
- package/index.d.ts +5 -4
- package/lib/adapters/http.js +8 -3
- package/lib/axios.js +3 -3
- package/lib/env/data.js +1 -1
- package/lib/utils.js +1 -1
- package/package.json +1 -1
- package/rollup.config.js +1 -1
package/CHANGELOG.md
CHANGED
@@ -179,3 +179,32 @@
|
|
179
179
|
- [Luca Pizzini](https://github.com/lpizzinidev)
|
180
180
|
- [Willian Agostini](https://github.com/WillianAgostini)
|
181
181
|
- [Huyen Nguyen](https://github.com/huyenltnguyen)
|
182
|
+
|
183
|
+
## [1.1.0] - 2022-10-06
|
184
|
+
|
185
|
+
### Fixed
|
186
|
+
|
187
|
+
- Fixed missing exports in type definition index.d.ts [#5003](https://github.com/axios/axios/pull/5003)
|
188
|
+
- Fixed query params composing [#5018](https://github.com/axios/axios/pull/5018)
|
189
|
+
- Fixed GenericAbortSignal interface by making it more generic [#5021](https://github.com/axios/axios/pull/5021)
|
190
|
+
- Fixed adding "clear" to AxiosInterceptorManager [#5010](https://github.com/axios/axios/pull/5010)
|
191
|
+
- Fixed commonjs & umd exports [#5030](https://github.com/axios/axios/pull/5030)
|
192
|
+
- Fixed inability to access response headers when using axios 1.x with Jest [#5036](https://github.com/axios/axios/pull/5036)
|
193
|
+
|
194
|
+
### Contributors to this release
|
195
|
+
|
196
|
+
- [Trim21](https://github.com/trim21)
|
197
|
+
- [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS)
|
198
|
+
- [shingo.sasaki](https://github.com/s-sasaki-0529)
|
199
|
+
- [Ivan Pepelko](https://github.com/ivanpepelko)
|
200
|
+
- [Richard Kořínek](https://github.com/risa)
|
201
|
+
|
202
|
+
## [1.1.1] - 2022-10-07
|
203
|
+
|
204
|
+
### Fixed
|
205
|
+
|
206
|
+
- Fixed broken exports for common js. This fix breaks a prior fix, I will fix both issues ASAP but the commonJS use is more impactful.
|
207
|
+
|
208
|
+
### Contributors to this release
|
209
|
+
|
210
|
+
- [Jason Saayman](https://github.com/jasonsaayman)
|
package/dist/axios.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
// Axios v1.
|
1
|
+
// Axios v1.1.1 Copyright (c) 2022 Matt Zabriskie and contributors
|
2
2
|
(function (global, factory) {
|
3
|
-
typeof exports === 'object' && typeof module !== 'undefined' ?
|
4
|
-
typeof define === 'function' && define.amd ? define(factory) :
|
5
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.axios =
|
6
|
-
})(this, (function () { 'use strict';
|
3
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
4
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
5
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.axios = {}));
|
6
|
+
})(this, (function (exports) { 'use strict';
|
7
7
|
|
8
8
|
function _typeof(obj) {
|
9
9
|
"@babel/helpers - typeof";
|
@@ -191,7 +191,7 @@
|
|
191
191
|
}
|
192
192
|
|
193
193
|
var prototype = getPrototypeOf(val);
|
194
|
-
return prototype === null || prototype === Object.prototype;
|
194
|
+
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
|
195
195
|
};
|
196
196
|
/**
|
197
197
|
* Determine if a value is a Date
|
@@ -2442,7 +2442,7 @@
|
|
2442
2442
|
return config;
|
2443
2443
|
}
|
2444
2444
|
|
2445
|
-
var VERSION = "1.
|
2445
|
+
var VERSION = "1.1.1";
|
2446
2446
|
|
2447
2447
|
var validators$1 = {}; // eslint-disable-next-line func-names
|
2448
2448
|
|
@@ -2915,7 +2915,9 @@
|
|
2915
2915
|
return formDataToJSON(utils.isHTMLForm(thing) ? new FormData(thing) : thing);
|
2916
2916
|
};
|
2917
2917
|
|
2918
|
-
|
2918
|
+
exports["default"] = axios;
|
2919
|
+
|
2920
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
2919
2921
|
|
2920
2922
|
}));
|
2921
2923
|
//# sourceMappingURL=axios.js.map
|