axios 1.9.0 → 1.10.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.
package/dist/esm/axios.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */
1
+ /*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
2
2
  function bind(fn, thisArg) {
3
3
  return function wrap() {
4
4
  return fn.apply(thisArg, arguments);
@@ -962,6 +962,10 @@ function toFormData$1(obj, formData, options) {
962
962
  return value.toISOString();
963
963
  }
964
964
 
965
+ if (utils$1.isBoolean(value)) {
966
+ return value.toString();
967
+ }
968
+
965
969
  if (!useBlob && utils$1.isBlob(value)) {
966
970
  throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
967
971
  }
@@ -2878,7 +2882,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
2878
2882
  credentials: isCredentialsSupported ? withCredentials : undefined
2879
2883
  });
2880
2884
 
2881
- let response = await fetch(request);
2885
+ let response = await fetch(request, fetchOptions);
2882
2886
 
2883
2887
  const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
2884
2888
 
@@ -3084,7 +3088,7 @@ function dispatchRequest(config) {
3084
3088
  });
3085
3089
  }
3086
3090
 
3087
- const VERSION$1 = "1.9.0";
3091
+ const VERSION$1 = "1.10.0";
3088
3092
 
3089
3093
  const validators$1 = {};
3090
3094