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.
@@ -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
  'use strict';
3
3
 
4
4
  function bind(fn, thisArg) {
@@ -964,6 +964,10 @@ function toFormData(obj, formData, options) {
964
964
  return value.toISOString();
965
965
  }
966
966
 
967
+ if (utils$1.isBoolean(value)) {
968
+ return value.toString();
969
+ }
970
+
967
971
  if (!useBlob && utils$1.isBlob(value)) {
968
972
  throw new AxiosError('Blob is not supported. Use a Buffer instead.');
969
973
  }
@@ -2880,7 +2884,7 @@ var fetchAdapter = isFetchSupported && (async (config) => {
2880
2884
  credentials: isCredentialsSupported ? withCredentials : undefined
2881
2885
  });
2882
2886
 
2883
- let response = await fetch(request);
2887
+ let response = await fetch(request, fetchOptions);
2884
2888
 
2885
2889
  const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
2886
2890
 
@@ -3086,7 +3090,7 @@ function dispatchRequest(config) {
3086
3090
  });
3087
3091
  }
3088
3092
 
3089
- const VERSION = "1.9.0";
3093
+ const VERSION = "1.10.0";
3090
3094
 
3091
3095
  const validators$1 = {};
3092
3096