...**/!(*.map|*.min.js)Size
Gzip
Dependencies
Publish
Install
Publish
Install
Released without provenance
@@ -1,4 +1,4 @@ | |||
| 1 | /*! Axios v1.13.3 Copyright (c) 2026 Matt Zabriskie and contributors */ | 1 | /*! Axios v1.13.4 Copyright (c) 2026 Matt Zabriskie and contributors */ |
| 2 | 'use strict'; | 2 | 'use strict'; |
| 3 | 3 | ||
| 4 | /** | 4 | /** |
@@ -3244,7 +3244,7 @@ | |||
| 3244 | }); | 3244 | }); |
| 3245 | } | 3245 | } |
| 3246 | 3246 | ||
| 3247 | const VERSION = "1.13.3"; | 3247 | const VERSION = "1.13.4"; |
| 3248 | 3248 | ||
| 3249 | const validators$1 = {}; | 3249 | const validators$1 = {}; |
| 3250 | 3250 | ||
@@ -3489,13 +3489,8 @@ | |||
| 3489 | 3489 | ||
| 3490 | promise = Promise.resolve(config); | 3490 | promise = Promise.resolve(config); |
| 3491 | 3491 | ||
| 3492 | let prevResult = config; | ||
| 3493 | while (i < len) { | 3492 | while (i < len) { |
| 3494 | promise = promise | ||
| 3495 | .then(chain[i++]) | ||
| 3496 | .then(result => { prevResult = result !== undefined ? result : prevResult; }) | ||
| 3497 | .catch(chain[i++]) | ||
| 3498 | .then(() => prevResult); | 3493 | promise = promise.then(chain[i++], chain[i++]); |
| 3499 | } | 3494 | } |
| 3500 | 3495 | ||
| 3501 | return promise; | 3496 | return promise; |
@@ -3526,7 +3521,7 @@ | |||
| 3526 | len = responseInterceptorChain.length; | 3521 | len = responseInterceptorChain.length; |
| 3527 | 3522 | ||
| 3528 | while (i < len) { | 3523 | while (i < len) { |
| 3529 | promise = promise.then(responseInterceptorChain[i++]).catch(responseInterceptorChain[i++]); | 3524 | promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); |
| 3530 | } | 3525 | } |
| 3531 | 3526 | ||
| 3532 | return promise; | 3527 | return promise; |
@@ -1,4 +1,4 @@ | |||
| 1 | /*! Axios v1.13.3 Copyright (c) 2026 Matt Zabriskie and contributors */ | 1 | /*! Axios v1.13.4 Copyright (c) 2026 Matt Zabriskie and contributors */ |
| 2 | 'use strict'; | 2 | 'use strict'; |
| 3 | 3 | ||
| 4 | const FormData$1 = require('form-data'); | 4 | const FormData$1 = require('form-data'); |
@@ -2139,7 +2139,7 @@ | |||
| 2139 | return requestedURL; | 2139 | return requestedURL; |
| 2140 | } | 2140 | } |
| 2141 | 2141 | ||
| 2142 | const VERSION = "1.13.3"; | 2142 | const VERSION = "1.13.4"; |
| 2143 | 2143 | ||
| 2144 | function parseProtocol(url) { | 2144 | function parseProtocol(url) { |
| 2145 | const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url); | 2145 | const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url); |
@@ -4825,13 +4825,8 @@ | |||
| 4825 | 4825 | ||
| 4826 | promise = Promise.resolve(config); | 4826 | promise = Promise.resolve(config); |
| 4827 | 4827 | ||
| 4828 | let prevResult = config; | ||
| 4829 | while (i < len) { | 4828 | while (i < len) { |
| 4830 | promise = promise | ||
| 4831 | .then(chain[i++]) | ||
| 4832 | .then(result => { prevResult = result !== undefined ? result : prevResult; }) | ||
| 4833 | .catch(chain[i++]) | ||
| 4834 | .then(() => prevResult); | 4829 | promise = promise.then(chain[i++], chain[i++]); |
| 4835 | } | 4830 | } |
| 4836 | 4831 | ||
| 4837 | return promise; | 4832 | return promise; |
@@ -4862,7 +4857,7 @@ | |||
| 4862 | len = responseInterceptorChain.length; | 4857 | len = responseInterceptorChain.length; |
| 4863 | 4858 | ||
| 4864 | while (i < len) { | 4859 | while (i < len) { |
| 4865 | promise = promise.then(responseInterceptorChain[i++]).catch(responseInterceptorChain[i++]); | 4860 | promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); |
| 4866 | } | 4861 | } |
| 4867 | 4862 | ||
| 4868 | return promise; | 4863 | return promise; |
@@ -1,4 +1,4 @@ | |||
| 1 | /*! Axios v1.13.3 Copyright (c) 2026 Matt Zabriskie and contributors */ | 1 | /*! Axios v1.13.4 Copyright (c) 2026 Matt Zabriskie and contributors */ |
| 2 | (function (global, factory) { | 2 | (function (global, factory) { |
| 3 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : | 3 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
| 4 | typeof define === 'function' && define.amd ? define(factory) : | 4 | typeof define === 'function' && define.amd ? define(factory) : |
@@ -3945,7 +3945,7 @@ | |||
| 3945 | }); | 3945 | }); |
| 3946 | } | 3946 | } |
| 3947 | 3947 | ||
| 3948 | var VERSION = "1.13.3"; | 3948 | var VERSION = "1.13.4"; |
| 3949 | 3949 | ||
| 3950 | var validators$1 = {}; | 3950 | var validators$1 = {}; |
| 3951 | 3951 | ||
@@ -4181,13 +4181,8 @@ | |||
| 4181 | chain.push.apply(chain, responseInterceptorChain); | 4181 | chain.push.apply(chain, responseInterceptorChain); |
| 4182 | len = chain.length; | 4182 | len = chain.length; |
| 4183 | promise = Promise.resolve(config); | 4183 | promise = Promise.resolve(config); |
| 4184 | var prevResult = config; | ||
| 4185 | while (i < len) { | 4184 | while (i < len) { |
| 4186 | promise = promise.then(chain[i++]).then(function (result) { | ||
| 4187 | prevResult = result !== undefined ? result : prevResult; | ||
| 4188 | })["catch"](chain[i++]).then(function () { | ||
| 4189 | return prevResult; | ||
| 4190 | }); | 4185 | promise = promise.then(chain[i++], chain[i++]); |
| 4191 | } | 4186 | } |
| 4192 | return promise; | 4187 | return promise; |
| 4193 | } | 4188 | } |
@@ -4211,7 +4206,7 @@ | |||
| 4211 | i = 0; | 4206 | i = 0; |
| 4212 | len = responseInterceptorChain.length; | 4207 | len = responseInterceptorChain.length; |
| 4213 | while (i < len) { | 4208 | while (i < len) { |
| 4214 | promise = promise.then(responseInterceptorChain[i++])["catch"](responseInterceptorChain[i++]); | 4209 | promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); |
| 4215 | } | 4210 | } |
| 4216 | return promise; | 4211 | return promise; |
| 4217 | } | 4212 | } |
@@ -1,4 +1,4 @@ | |||
| 1 | /*! Axios v1.13.3 Copyright (c) 2026 Matt Zabriskie and contributors */ | 1 | /*! Axios v1.13.4 Copyright (c) 2026 Matt Zabriskie and contributors */ |
| 2 | /** | 2 | /** |
| 3 | * Create a bound version of a function with a specified `this` context | 3 | * Create a bound version of a function with a specified `this` context |
| 4 | * | 4 | * |
@@ -3242,7 +3242,7 @@ | |||
| 3242 | }); | 3242 | }); |
| 3243 | } | 3243 | } |
| 3244 | 3244 | ||
| 3245 | const VERSION$1 = "1.13.3"; | 3245 | const VERSION$1 = "1.13.4"; |
| 3246 | 3246 | ||
| 3247 | const validators$1 = {}; | 3247 | const validators$1 = {}; |
| 3248 | 3248 | ||
@@ -3487,13 +3487,8 @@ | |||
| 3487 | 3487 | ||
| 3488 | promise = Promise.resolve(config); | 3488 | promise = Promise.resolve(config); |
| 3489 | 3489 | ||
| 3490 | let prevResult = config; | ||
| 3491 | while (i < len) { | 3490 | while (i < len) { |
| 3492 | promise = promise | ||
| 3493 | .then(chain[i++]) | ||
| 3494 | .then(result => { prevResult = result !== undefined ? result : prevResult; }) | ||
| 3495 | .catch(chain[i++]) | ||
| 3496 | .then(() => prevResult); | 3491 | promise = promise.then(chain[i++], chain[i++]); |
| 3497 | } | 3492 | } |
| 3498 | 3493 | ||
| 3499 | return promise; | 3494 | return promise; |
@@ -3524,7 +3519,7 @@ | |||
| 3524 | len = responseInterceptorChain.length; | 3519 | len = responseInterceptorChain.length; |
| 3525 | 3520 | ||
| 3526 | while (i < len) { | 3521 | while (i < len) { |
| 3527 | promise = promise.then(responseInterceptorChain[i++]).catch(responseInterceptorChain[i++]); | 3522 | promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); |
| 3528 | } | 3523 | } |
| 3529 | 3524 | ||
| 3530 | return promise; | 3525 | return promise; |
@@ -159,13 +159,8 @@ | |||
| 159 | 159 | ||
| 160 | promise = Promise.resolve(config); | 160 | promise = Promise.resolve(config); |
| 161 | 161 | ||
| 162 | let prevResult = config; | ||
| 163 | while (i < len) { | 162 | while (i < len) { |
| 164 | promise = promise | ||
| 165 | .then(chain[i++]) | ||
| 166 | .then(result => { prevResult = result !== undefined ? result : prevResult }) | ||
| 167 | .catch(chain[i++]) | ||
| 168 | .then(() => prevResult); | 163 | promise = promise.then(chain[i++], chain[i++]); |
| 169 | } | 164 | } |
| 170 | 165 | ||
| 171 | return promise; | 166 | return promise; |
@@ -196,7 +191,7 @@ | |||
| 196 | len = responseInterceptorChain.length; | 191 | len = responseInterceptorChain.length; |
| 197 | 192 | ||
| 198 | while (i < len) { | 193 | while (i < len) { |
| 199 | promise = promise.then(responseInterceptorChain[i++]).catch(responseInterceptorChain[i++]); | 194 | promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]); |
| 200 | } | 195 | } |
| 201 | 196 | ||
| 202 | return promise; | 197 | return promise; |
@@ -1,6 +1,6 @@ | |||
| 1 | { | 1 | { |
| 2 | "name": "axios", | 2 | "name": "axios", |
| 3 | "version": "1.13.3", | 3 | "version": "1.13.4", |
| 4 | "description": "Promise based HTTP client for the browser and node.js", | 4 | "description": "Promise based HTTP client for the browser and node.js", |
| 5 | "main": "./dist/node/axios.cjs", | 5 | "main": "./dist/node/axios.cjs", |
| 6 | "module": "./index.js", | 6 | "module": "./index.js", |