axios 1.6.7 → 1.6.8
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 +19 -0
- package/README.md +5 -2
- package/dist/axios.js +321 -295
- 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 +5 -6
- package/dist/node/axios.cjs.map +1 -1
- package/lib/adapters/http.js +1 -1
- package/lib/core/mergeConfig.js +1 -1
- package/lib/env/data.js +1 -1
- package/package.json +25 -25
package/dist/esm/axios.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Axios v1.6.
|
1
|
+
// Axios v1.6.8 Copyright (c) 2024 Matt Zabriskie and contributors
|
2
2
|
function bind(fn, thisArg) {
|
3
3
|
return function wrap() {
|
4
4
|
return fn.apply(thisArg, arguments);
|
@@ -2551,7 +2551,7 @@ function dispatchRequest(config) {
|
|
2551
2551
|
});
|
2552
2552
|
}
|
2553
2553
|
|
2554
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders$2 ? thing
|
2554
|
+
const headersToObject = (thing) => thing instanceof AxiosHeaders$2 ? { ...thing } : thing;
|
2555
2555
|
|
2556
2556
|
/**
|
2557
2557
|
* Config-specific merge-function which creates a new config-object
|
@@ -2653,7 +2653,7 @@ function mergeConfig$1(config1, config2) {
|
|
2653
2653
|
return config;
|
2654
2654
|
}
|
2655
2655
|
|
2656
|
-
const VERSION$1 = "1.6.
|
2656
|
+
const VERSION$1 = "1.6.8";
|
2657
2657
|
|
2658
2658
|
const validators$1 = {};
|
2659
2659
|
|