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.

@@ -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
  'use strict';
3
3
 
4
4
  function bind(fn, thisArg) {
@@ -2021,7 +2021,7 @@ function isAbsoluteURL(url) {
2021
2021
  */
2022
2022
  function combineURLs(baseURL, relativeURL) {
2023
2023
  return relativeURL
2024
- ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
2024
+ ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
2025
2025
  : baseURL;
2026
2026
  }
2027
2027
 
@@ -2655,7 +2655,7 @@ function mergeConfig(config1, config2) {
2655
2655
  return config;
2656
2656
  }
2657
2657
 
2658
- const VERSION = "1.6.2";
2658
+ const VERSION = "1.6.3";
2659
2659
 
2660
2660
  const validators$1 = {};
2661
2661