axios 1.7.0-beta.2 → 1.7.0
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 +857 -840
- package/README.md +30 -1
- package/dist/axios.js +3 -3
- 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 +3 -3
- package/dist/node/axios.cjs.map +1 -1
- package/lib/adapters/fetch.js +1 -1
- package/lib/env/data.js +1 -1
- package/package.json +1 -1
package/lib/adapters/fetch.js
CHANGED
@@ -164,7 +164,7 @@ export default isFetchSupported && (async (config) => {
|
|
164
164
|
|
165
165
|
let response = await fetch(request);
|
166
166
|
|
167
|
-
const isStreamResponse = responseType === 'stream' || responseType === 'response';
|
167
|
+
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
168
168
|
|
169
169
|
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
170
170
|
const options = {};
|
package/lib/env/data.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const VERSION = "1.7.0
|
1
|
+
export const VERSION = "1.7.0";
|