axios 1.8.2 → 1.8.4
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 +25 -0
- package/README.md +6 -0
- package/dist/axios.js +4 -4
- 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 +4 -4
- package/dist/browser/axios.cjs.map +1 -1
- package/dist/esm/axios.js +4 -4
- 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 +4 -4
- package/dist/node/axios.cjs.map +1 -1
- package/index.d.cts +1 -0
- package/index.d.ts +1 -0
- package/lib/core/buildFullPath.js +1 -1
- package/lib/env/data.js +1 -1
- package/lib/helpers/resolveConfig.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.8.4](https://github.com/axios/axios/compare/v1.8.3...v1.8.4) (2025-03-19)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* **buildFullPath:** handle `allowAbsoluteUrls: false` without `baseURL` ([#6833](https://github.com/axios/axios/issues/6833)) ([f10c2e0](https://github.com/axios/axios/commit/f10c2e0de7fde0051f848609a29c2906d0caa1d9))
|
9
|
+
|
10
|
+
### Contributors to this release
|
11
|
+
|
12
|
+
- <img src="https://avatars.githubusercontent.com/u/8029107?v=4&s=18" alt="avatar" width="18"/> [Marc Hassan](https://github.com/mhassan1 "+5/-1 (#6833 )")
|
13
|
+
|
14
|
+
## [1.8.3](https://github.com/axios/axios/compare/v1.8.2...v1.8.3) (2025-03-10)
|
15
|
+
|
16
|
+
|
17
|
+
### Bug Fixes
|
18
|
+
|
19
|
+
* add missing type for allowAbsoluteUrls ([#6818](https://github.com/axios/axios/issues/6818)) ([10fa70e](https://github.com/axios/axios/commit/10fa70ef14fe39558b15a179f0e82f5f5e5d11b2))
|
20
|
+
* **xhr/fetch:** pass `allowAbsoluteUrls` to `buildFullPath` in `xhr` and `fetch` adapters ([#6814](https://github.com/axios/axios/issues/6814)) ([ec159e5](https://github.com/axios/axios/commit/ec159e507bdf08c04ba1a10fe7710094e9e50ec9))
|
21
|
+
|
22
|
+
### Contributors to this release
|
23
|
+
|
24
|
+
- <img src="https://avatars.githubusercontent.com/u/3238291?v=4&s=18" alt="avatar" width="18"/> [Ashcon Partovi](https://github.com/Electroid "+6/-0 (#6811 )")
|
25
|
+
- <img src="https://avatars.githubusercontent.com/u/28559054?v=4&s=18" alt="avatar" width="18"/> [StefanBRas](https://github.com/StefanBRas "+4/-0 (#6818 )")
|
26
|
+
- <img src="https://avatars.githubusercontent.com/u/8029107?v=4&s=18" alt="avatar" width="18"/> [Marc Hassan](https://github.com/mhassan1 "+2/-2 (#6814 )")
|
27
|
+
|
3
28
|
## [1.8.2](https://github.com/axios/axios/compare/v1.8.1...v1.8.2) (2025-03-07)
|
4
29
|
|
5
30
|
|
package/README.md
CHANGED
package/dist/axios.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*! Axios v1.8.
|
1
|
+
/*! Axios v1.8.4 Copyright (c) 2025 Matt Zabriskie and contributors */
|
2
2
|
(function (global, factory) {
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
@@ -2703,7 +2703,7 @@
|
|
2703
2703
|
*/
|
2704
2704
|
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
2705
2705
|
var isRelativeUrl = !isAbsoluteURL(requestedURL);
|
2706
|
-
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
|
2706
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
2707
2707
|
return combineURLs(baseURL, requestedURL);
|
2708
2708
|
}
|
2709
2709
|
return requestedURL;
|
@@ -2822,7 +2822,7 @@
|
|
2822
2822
|
headers = newConfig.headers,
|
2823
2823
|
auth = newConfig.auth;
|
2824
2824
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
2825
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
2825
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
2826
2826
|
|
2827
2827
|
// HTTP basic authentication
|
2828
2828
|
if (auth) {
|
@@ -3658,7 +3658,7 @@
|
|
3658
3658
|
});
|
3659
3659
|
}
|
3660
3660
|
|
3661
|
-
var VERSION = "1.8.
|
3661
|
+
var VERSION = "1.8.4";
|
3662
3662
|
|
3663
3663
|
var validators$1 = {};
|
3664
3664
|
|