2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

chore(release): v1.8.4 (#6844)

Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-03-19 21:26:49 +02:00
committed by GitHub
parent f10c2e0de7
commit 9f6f97bcfb
17 changed files with 41 additions and 30 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
/*! Axios v1.8.3 Copyright (c) 2025 Matt Zabriskie and contributors */
/*! Axios v1.8.4 Copyright (c) 2025 Matt Zabriskie and contributors */
'use strict';
const FormData$1 = require('form-data');
@@ -2078,13 +2078,13 @@ function combineURLs(baseURL, relativeURL) {
*/
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
let isRelativeUrl = !isAbsoluteURL(requestedURL);
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
return combineURLs(baseURL, requestedURL);
}
return requestedURL;
}
const VERSION = "1.8.3";
const VERSION = "1.8.4";
function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
+1 -1
View File
File diff suppressed because one or more lines are too long