axios 1.6.2 → 1.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of axios might be problematic. Click here for more details.

package/dist/esm/axios.js CHANGED
@@ -1,4 +1,4 @@
1
- // Axios v1.6.2 Copyright (c) 2023 Matt Zabriskie and contributors
1
+ // Axios v1.6.3 Copyright (c) 2023 Matt Zabriskie and contributors
2
2
  function bind(fn, thisArg) {
3
3
  return function wrap() {
4
4
  return fn.apply(thisArg, arguments);
@@ -2019,7 +2019,7 @@ function isAbsoluteURL(url) {
2019
2019
  */
2020
2020
  function combineURLs(baseURL, relativeURL) {
2021
2021
  return relativeURL
2022
- ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
2022
+ ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
2023
2023
  : baseURL;
2024
2024
  }
2025
2025
 
@@ -2653,7 +2653,7 @@ function mergeConfig$1(config1, config2) {
2653
2653
  return config;
2654
2654
  }
2655
2655
 
2656
- const VERSION$1 = "1.6.2";
2656
+ const VERSION$1 = "1.6.3";
2657
2657
 
2658
2658
  const validators$1 = {};
2659
2659