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.

@@ -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
  'use strict';
3
3
 
4
4
  function bind(fn, thisArg) {
@@ -2827,7 +2827,7 @@ var fetchAdapter = isFetchSupported && (async (config) => {
2827
2827
 
2828
2828
  let response = await fetch(request);
2829
2829
 
2830
- const isStreamResponse = responseType === 'stream' || responseType === 'response';
2830
+ const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
2831
2831
 
2832
2832
  if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
2833
2833
  const options = {};
@@ -3028,7 +3028,7 @@ function dispatchRequest(config) {
3028
3028
  });
3029
3029
  }
3030
3030
 
3031
- const VERSION = "1.7.0-beta.2";
3031
+ const VERSION = "1.7.0";
3032
3032
 
3033
3033
  const validators$1 = {};
3034
3034