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/browser/axios.cjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
// Axios v1.6.
|
1
|
+
// Axios v1.6.8 Copyright (c) 2024 Matt Zabriskie and contributors
|
2
2
|
'use strict';
|
3
3
|
|
4
4
|
function bind(fn, thisArg) {
|
@@ -2553,7 +2553,7 @@ function dispatchRequest(config) {
|
|
2553
2553
|
});
|
2554
2554
|
}
|
2555
2555
|
|
2556
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? thing
|
2556
|
+
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
2557
2557
|
|
2558
2558
|
/**
|
2559
2559
|
* Config-specific merge-function which creates a new config-object
|
@@ -2655,7 +2655,7 @@ function mergeConfig(config1, config2) {
|
|
2655
2655
|
return config;
|
2656
2656
|
}
|
2657
2657
|
|
2658
|
-
const VERSION = "1.6.
|
2658
|
+
const VERSION = "1.6.8";
|
2659
2659
|
|
2660
2660
|
const validators$1 = {};
|
2661
2661
|
|