2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

chore(release): v1.10.0 (#6943)

Co-authored-by: DigitalBrainJS <12586868+DigitalBrainJS@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-06-14 15:11:07 +03:00
committed by GitHub
parent 3d343b86dc
commit 73a836dae7
17 changed files with 67 additions and 28 deletions
+6 -3
View File
@@ -1,4 +1,4 @@
/*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */
/*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
@@ -1586,6 +1586,9 @@
if (utils$1.isDate(value)) {
return value.toISOString();
}
if (utils$1.isBoolean(value)) {
return value.toString();
}
if (!useBlob && utils$1.isBlob(value)) {
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
}
@@ -3498,7 +3501,7 @@
credentials: isCredentialsSupported ? withCredentials : undefined
}));
_context4.next = 20;
return fetch(request);
return fetch(request, fetchOptions);
case 20:
response = _context4.sent;
isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
@@ -3674,7 +3677,7 @@
});
}
var VERSION = "1.9.0";
var VERSION = "1.10.0";
var validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+7 -3
View File
@@ -1,4 +1,4 @@
/*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */
/*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
'use strict';
function bind(fn, thisArg) {
@@ -964,6 +964,10 @@ function toFormData(obj, formData, options) {
return value.toISOString();
}
if (utils$1.isBoolean(value)) {
return value.toString();
}
if (!useBlob && utils$1.isBlob(value)) {
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
}
@@ -2880,7 +2884,7 @@ var fetchAdapter = isFetchSupported && (async (config) => {
credentials: isCredentialsSupported ? withCredentials : undefined
});
let response = await fetch(request);
let response = await fetch(request, fetchOptions);
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
@@ -3086,7 +3090,7 @@ function dispatchRequest(config) {
});
}
const VERSION = "1.9.0";
const VERSION = "1.10.0";
const validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long
+7 -3
View File
@@ -1,4 +1,4 @@
/*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */
/*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
function bind(fn, thisArg) {
return function wrap() {
return fn.apply(thisArg, arguments);
@@ -962,6 +962,10 @@ function toFormData$1(obj, formData, options) {
return value.toISOString();
}
if (utils$1.isBoolean(value)) {
return value.toString();
}
if (!useBlob && utils$1.isBlob(value)) {
throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
}
@@ -2878,7 +2882,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
credentials: isCredentialsSupported ? withCredentials : undefined
});
let response = await fetch(request);
let response = await fetch(request, fetchOptions);
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
@@ -3084,7 +3088,7 @@ function dispatchRequest(config) {
});
}
const VERSION$1 = "1.9.0";
const VERSION$1 = "1.10.0";
const validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+7 -3
View File
@@ -1,4 +1,4 @@
/*! Axios v1.9.0 Copyright (c) 2025 Matt Zabriskie and contributors */
/*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
'use strict';
const FormData$1 = require('form-data');
@@ -986,6 +986,10 @@ function toFormData(obj, formData, options) {
return value.toISOString();
}
if (utils$1.isBoolean(value)) {
return value.toString();
}
if (!useBlob && utils$1.isBlob(value)) {
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
}
@@ -2102,7 +2106,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
return requestedURL;
}
const VERSION = "1.9.0";
const VERSION = "1.10.0";
function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -3939,7 +3943,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
credentials: isCredentialsSupported ? withCredentials : undefined
});
let response = await fetch(request);
let response = await fetch(request, fetchOptions);
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
+1 -1
View File
File diff suppressed because one or more lines are too long