axios 1.8.2 → 1.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +6 -0
- package/dist/axios.js +3 -3
- package/dist/axios.js.map +1 -1
- package/dist/axios.min.js +2 -2
- 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 +2 -2
- 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 +1 -0
- package/index.d.ts +1 -0
- package/lib/env/data.js +1 -1
- package/lib/helpers/resolveConfig.js +1 -1
- package/package.json +1 -1
package/dist/node/axios.cjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Axios v1.8.
|
1
|
+
/*! Axios v1.8.3 Copyright (c) 2025 Matt Zabriskie and contributors */
|
2
2
|
'use strict';
|
3
3
|
|
4
4
|
const FormData$1 = require('form-data');
|
@@ -2084,7 +2084,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
2084
2084
|
return requestedURL;
|
2085
2085
|
}
|
2086
2086
|
|
2087
|
-
const VERSION = "1.8.
|
2087
|
+
const VERSION = "1.8.3";
|
2088
2088
|
|
2089
2089
|
function parseProtocol(url) {
|
2090
2090
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
@@ -3402,7 +3402,7 @@ const resolveConfig = (config) => {
|
|
3402
3402
|
|
3403
3403
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
3404
3404
|
|
3405
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
3405
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
3406
3406
|
|
3407
3407
|
// HTTP basic authentication
|
3408
3408
|
if (auth) {
|