mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
[Release] v1.7.0 (#6408)
Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
This commit is contained in:
committed by
GitHub
parent
18b13cbaef
commit
3041c61ada
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Axios v1.7.0-beta.2 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||
// Axios v1.7.0 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
||||
typeof define === 'function' && define.amd ? define(factory) :
|
||||
@@ -3390,7 +3390,7 @@
|
||||
return fetch(request);
|
||||
case 19:
|
||||
response = _context3.sent;
|
||||
isStreamResponse = responseType === 'stream' || responseType === 'response';
|
||||
isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
||||
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
||||
options = {};
|
||||
['status', 'statusText', 'headers'].forEach(function (prop) {
|
||||
@@ -3560,7 +3560,7 @@
|
||||
});
|
||||
}
|
||||
|
||||
var VERSION = "1.7.0-beta.2";
|
||||
var VERSION = "1.7.0";
|
||||
|
||||
var validators$1 = {};
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Axios v1.7.0-beta.2 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||
// Axios v1.7.0 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||
'use strict';
|
||||
|
||||
function bind(fn, thisArg) {
|
||||
@@ -2827,7 +2827,7 @@ var fetchAdapter = isFetchSupported && (async (config) => {
|
||||
|
||||
let response = await fetch(request);
|
||||
|
||||
const isStreamResponse = responseType === 'stream' || responseType === 'response';
|
||||
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
||||
|
||||
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
||||
const options = {};
|
||||
@@ -3028,7 +3028,7 @@ function dispatchRequest(config) {
|
||||
});
|
||||
}
|
||||
|
||||
const VERSION = "1.7.0-beta.2";
|
||||
const VERSION = "1.7.0";
|
||||
|
||||
const validators$1 = {};
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Axios v1.7.0-beta.2 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||
// Axios v1.7.0 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||
function bind(fn, thisArg) {
|
||||
return function wrap() {
|
||||
return fn.apply(thisArg, arguments);
|
||||
@@ -2825,7 +2825,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
||||
|
||||
let response = await fetch(request);
|
||||
|
||||
const isStreamResponse = responseType === 'stream' || responseType === 'response';
|
||||
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
||||
|
||||
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
||||
const options = {};
|
||||
@@ -3026,7 +3026,7 @@ function dispatchRequest(config) {
|
||||
});
|
||||
}
|
||||
|
||||
const VERSION$1 = "1.7.0-beta.2";
|
||||
const VERSION$1 = "1.7.0";
|
||||
|
||||
const validators$1 = {};
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
||||
// Axios v1.7.0-beta.2 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||
// Axios v1.7.0 Copyright (c) 2024 Matt Zabriskie and contributors
|
||||
'use strict';
|
||||
|
||||
const FormData$1 = require('form-data');
|
||||
@@ -2035,7 +2035,7 @@ function buildFullPath(baseURL, requestedURL) {
|
||||
return requestedURL;
|
||||
}
|
||||
|
||||
const VERSION = "1.7.0-beta.2";
|
||||
const VERSION = "1.7.0";
|
||||
|
||||
function parseProtocol(url) {
|
||||
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
||||
@@ -3896,7 +3896,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
||||
|
||||
let response = await fetch(request);
|
||||
|
||||
const isStreamResponse = responseType === 'stream' || responseType === 'response';
|
||||
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
||||
|
||||
if (supportsResponseStream && (onDownloadProgress || isStreamResponse)) {
|
||||
const options = {};
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user