axios 1.2.5 → 1.2.6
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 +12 -0
- package/dist/axios.js +3 -3
- package/dist/axios.js.map +1 -1
- package/dist/axios.min.js +1 -1
- package/dist/axios.min.js.map +1 -1
- package/dist/browser/axios.cjs +3 -3
- package/dist/browser/axios.cjs.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 +3 -3
- package/dist/node/axios.cjs.map +1 -1
- package/index.d.cts +9 -5
- package/index.d.ts +6 -2
- package/lib/core/AxiosHeaders.js +1 -1
- package/lib/env/data.js +1 -1
- package/package.json +8 -1
package/dist/node/axios.cjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Axios v1.2.
|
1
|
+
// Axios v1.2.6 Copyright (c) 2023 Matt Zabriskie and contributors
|
2
2
|
'use strict';
|
3
3
|
|
4
4
|
const FormData$1 = require('form-data');
|
@@ -1789,7 +1789,7 @@ class AxiosHeaders {
|
|
1789
1789
|
}
|
1790
1790
|
}
|
1791
1791
|
|
1792
|
-
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent']);
|
1792
|
+
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
1793
1793
|
|
1794
1794
|
utils.freezeMethods(AxiosHeaders.prototype);
|
1795
1795
|
utils.freezeMethods(AxiosHeaders);
|
@@ -1911,7 +1911,7 @@ function buildFullPath(baseURL, requestedURL) {
|
|
1911
1911
|
return requestedURL;
|
1912
1912
|
}
|
1913
1913
|
|
1914
|
-
const VERSION = "1.2.
|
1914
|
+
const VERSION = "1.2.6";
|
1915
1915
|
|
1916
1916
|
function parseProtocol(url) {
|
1917
1917
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|