2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-30 15:24:11 +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
+11
View File
@@ -1,5 +1,16 @@
# Changelog
## [1.8.4](https://github.com/axios/axios/compare/v1.8.3...v1.8.4) (2025-03-19)
### Bug Fixes
* **buildFullPath:** handle `allowAbsoluteUrls: false` without `baseURL` ([#6833](https://github.com/axios/axios/issues/6833)) ([f10c2e0](https://github.com/axios/axios/commit/f10c2e0de7fde0051f848609a29c2906d0caa1d9))
### Contributors to this release
- <img src="https://avatars.githubusercontent.com/u/8029107?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Marc Hassan](https://github.com/mhassan1 "+5/-1 (#6833 )")
## [1.8.3](https://github.com/axios/axios/compare/v1.8.2...v1.8.3) (2025-03-10)
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "axios",
"main": "./dist/axios.js",
"version": "1.8.3",
"version": "1.8.4",
"homepage": "https://axios-http.com",
"authors": [
"Matt Zabriskie"
+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 */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
@@ -2703,7 +2703,7 @@
*/
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
var isRelativeUrl = !isAbsoluteURL(requestedURL);
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) {
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
return combineURLs(baseURL, requestedURL);
}
return requestedURL;
@@ -3658,7 +3658,7 @@
});
}
var VERSION = "1.8.3";
var VERSION = "1.8.4";
var validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+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';
function bind(fn, thisArg) {
@@ -2228,7 +2228,7 @@ 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;
@@ -3068,7 +3068,7 @@ function dispatchRequest(config) {
});
}
const VERSION = "1.8.3";
const VERSION = "1.8.4";
const validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long
+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 */
function bind(fn, thisArg) {
return function wrap() {
return fn.apply(thisArg, arguments);
@@ -2226,7 +2226,7 @@ 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;
@@ -3066,7 +3066,7 @@ function dispatchRequest(config) {
});
}
const VERSION$1 = "1.8.3";
const VERSION$1 = "1.8.4";
const validators$1 = {};
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+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
+1 -1
View File
@@ -1 +1 @@
export const VERSION = "1.8.3";
export const VERSION = "1.8.4";
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "axios",
"version": "1.8.3",
"version": "1.8.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "axios",
"version": "1.8.3",
"version": "1.8.4",
"license": "MIT",
"dependencies": {
"follow-redirects": "^1.15.6",
+4 -4
View File
@@ -1,6 +1,6 @@
{
"name": "axios",
"version": "1.8.3",
"version": "1.8.4",
"description": "Promise based HTTP client for the browser and node.js",
"main": "index.js",
"exports": {
@@ -167,10 +167,10 @@
"Justin Beckwith (https://github.com/JustinBeckwith)",
"Martti Laine (https://github.com/codeclown)",
"Xianming Zhong (https://github.com/chinesedfan)",
"Rikki Gibson (https://github.com/RikkiGibson)",
"Remco Haszing (https://github.com/remcohaszing)",
"Yasu Flores (https://github.com/yasuf)",
"Ben Carp (https://github.com/carpben)"
"Rikki Gibson (https://github.com/RikkiGibson)",
"Ben Carp (https://github.com/carpben)",
"Yasu Flores (https://github.com/yasuf)"
],
"sideEffects": false,
"release-it": {