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

chore(release): v1.7.4 (#6544)

Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-08-13 21:32:20 +02:00
committed by GitHub
parent 6b6b605eaf
commit abd24a7367
17 changed files with 35 additions and 22 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
// Axios v1.7.3 Copyright (c) 2024 Matt Zabriskie and contributors
// Axios v1.7.4 Copyright (c) 2024 Matt Zabriskie and contributors
'use strict';
const FormData$1 = require('form-data');
@@ -2067,7 +2067,7 @@ function buildFullPath(baseURL, requestedURL) {
return requestedURL;
}
const VERSION = "1.7.3";
const VERSION = "1.7.4";
function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -2763,7 +2763,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
// Parse url
const fullPath = buildFullPath(config.baseURL, config.url);
const parsed = new URL(fullPath, 'http://localhost');
const parsed = new URL(fullPath, utils$1.hasBrowserEnv ? platform.origin : undefined);
const protocol = parsed.protocol || supportedProtocols[0];
if (protocol === 'data:') {
+1 -1
View File
File diff suppressed because one or more lines are too long