2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-11 18:02:32 +03:00

[Release] v1.7.0 (#6408)

Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
This commit is contained in:
github-actions[bot]
2024-05-19 23:24:05 +03:00
committed by GitHub
parent 18b13cbaef
commit 3041c61ada
17 changed files with 882 additions and 865 deletions
+3 -3
View File
@@ -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 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long