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/dist/esm/axios.js CHANGED
@@ -1,4 +1,4 @@
1
- // Axios v1.7.0-beta.2 Copyright (c) 2024 Matt Zabriskie and contributors
1
+ // Axios v1.7.0 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);
@@ -2825,7 +2825,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
2825
2825
 
2826
2826
  let response = await fetch(request);
2827
2827
 
2828
- const isStreamResponse = responseType === 'stream' || responseType === 'response';
2828
+ const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
2829
2829
 
2830
2830
  if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
2831
2831
  const options = {};
@@ -3026,7 +3026,7 @@ function dispatchRequest(config) {
3026
3026
  });
3027
3027
  }
3028
3028
 
3029
- const VERSION$1 = "1.7.0-beta.2";
3029
+ const VERSION$1 = "1.7.0";
3030
3030
 
3031
3031
  const validators$1 = {};
3032
3032