axios 1.8.1 → 1.8.2
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 +11 -0
- package/README.md +2 -2
- package/dist/axios.js +2 -2
- 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 +2 -2
- package/dist/browser/axios.cjs.map +1 -1
- package/dist/esm/axios.js +2 -2
- 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/lib/adapters/http.js +1 -1
- package/lib/env/data.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.2 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.2";
|
2088
2088
|
|
2089
2089
|
function parseProtocol(url) {
|
2090
2090
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
@@ -2779,7 +2779,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
2779
2779
|
}
|
2780
2780
|
|
2781
2781
|
// Parse url
|
2782
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
2782
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
2783
2783
|
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
2784
2784
|
const protocol = parsed.protocol || supportedProtocols[0];
|
2785
2785
|
|