2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-14 18:42:33 +03:00

chore(release): v1.8.2 (#6812)

Co-authored-by: jasonsaayman <4814473+jasonsaayman@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2025-03-07 09:40:33 +02:00
committed by GitHub
parent fb8eec214c
commit a9f7689b0c
17 changed files with 35 additions and 24 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
/*! Axios v1.8.1 Copyright (c) 2025 Matt Zabriskie and contributors */
/*! Axios v1.8.2 Copyright (c) 2025 Matt Zabriskie and contributors */
'use strict';
const FormData$1 = require('form-data');
@@ -2084,7 +2084,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
return requestedURL;
}
const VERSION = "1.8.1";
const VERSION = "1.8.2";
function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
@@ -2779,7 +2779,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
}
// Parse url
const fullPath = buildFullPath(config.baseURL, config.url);
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
const protocol = parsed.protocol || supportedProtocols[0];
+1 -1
View File
File diff suppressed because one or more lines are too long