2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +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 # 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.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", "name": "axios",
"main": "./dist/axios.js", "main": "./dist/axios.js",
"version": "1.8.3", "version": "1.8.4",
"homepage": "https://axios-http.com", "homepage": "https://axios-http.com",
"authors": [ "authors": [
"Matt Zabriskie" "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) { (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) : typeof define === 'function' && define.amd ? define(factory) :
@@ -2703,7 +2703,7 @@
*/ */
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) { function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
var isRelativeUrl = !isAbsoluteURL(requestedURL); var isRelativeUrl = !isAbsoluteURL(requestedURL);
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) { if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
return combineURLs(baseURL, requestedURL); return combineURLs(baseURL, requestedURL);
} }
return requestedURL; return requestedURL;
@@ -3658,7 +3658,7 @@
}); });
} }
var VERSION = "1.8.3"; var VERSION = "1.8.4";
var validators$1 = {}; 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'; 'use strict';
function bind(fn, thisArg) { function bind(fn, thisArg) {
@@ -2228,7 +2228,7 @@ function combineURLs(baseURL, relativeURL) {
*/ */
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) { function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
let isRelativeUrl = !isAbsoluteURL(requestedURL); let isRelativeUrl = !isAbsoluteURL(requestedURL);
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) { if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
return combineURLs(baseURL, requestedURL); return combineURLs(baseURL, requestedURL);
} }
return requestedURL; return requestedURL;
@@ -3068,7 +3068,7 @@ function dispatchRequest(config) {
}); });
} }
const VERSION = "1.8.3"; const VERSION = "1.8.4";
const validators$1 = {}; 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) { function bind(fn, thisArg) {
return function wrap() { return function wrap() {
return fn.apply(thisArg, arguments); return fn.apply(thisArg, arguments);
@@ -2226,7 +2226,7 @@ function combineURLs(baseURL, relativeURL) {
*/ */
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) { function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
let isRelativeUrl = !isAbsoluteURL(requestedURL); let isRelativeUrl = !isAbsoluteURL(requestedURL);
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) { if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
return combineURLs(baseURL, requestedURL); return combineURLs(baseURL, requestedURL);
} }
return 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 = {}; 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'; 'use strict';
const FormData$1 = require('form-data'); const FormData$1 = require('form-data');
@@ -2078,13 +2078,13 @@ function combineURLs(baseURL, relativeURL) {
*/ */
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) { function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
let isRelativeUrl = !isAbsoluteURL(requestedURL); let isRelativeUrl = !isAbsoluteURL(requestedURL);
if (baseURL && isRelativeUrl || allowAbsoluteUrls == false) { if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
return combineURLs(baseURL, requestedURL); return combineURLs(baseURL, requestedURL);
} }
return requestedURL; return requestedURL;
} }
const VERSION = "1.8.3"; const VERSION = "1.8.4";
function parseProtocol(url) { function parseProtocol(url) {
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(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", "name": "axios",
"version": "1.8.3", "version": "1.8.4",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "axios", "name": "axios",
"version": "1.8.3", "version": "1.8.4",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"follow-redirects": "^1.15.6", "follow-redirects": "^1.15.6",
+4 -4
View File
@@ -1,6 +1,6 @@
{ {
"name": "axios", "name": "axios",
"version": "1.8.3", "version": "1.8.4",
"description": "Promise based HTTP client for the browser and node.js", "description": "Promise based HTTP client for the browser and node.js",
"main": "index.js", "main": "index.js",
"exports": { "exports": {
@@ -167,10 +167,10 @@
"Justin Beckwith (https://github.com/JustinBeckwith)", "Justin Beckwith (https://github.com/JustinBeckwith)",
"Martti Laine (https://github.com/codeclown)", "Martti Laine (https://github.com/codeclown)",
"Xianming Zhong (https://github.com/chinesedfan)", "Xianming Zhong (https://github.com/chinesedfan)",
"Rikki Gibson (https://github.com/RikkiGibson)",
"Remco Haszing (https://github.com/remcohaszing)", "Remco Haszing (https://github.com/remcohaszing)",
"Yasu Flores (https://github.com/yasuf)", "Rikki Gibson (https://github.com/RikkiGibson)",
"Ben Carp (https://github.com/carpben)" "Ben Carp (https://github.com/carpben)",
"Yasu Flores (https://github.com/yasuf)"
], ],
"sideEffects": false, "sideEffects": false,
"release-it": { "release-it": {