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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.6.3](https://github.com/axios/axios/compare/v1.6.2...v1.6.3) (2023-12-26)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Regular Expression Denial of Service (ReDoS) ([#6132](https://github.com/axios/axios/issues/6132)) ([5e7ad38](https://github.com/axios/axios/commit/5e7ad38fb0f819fceb19fb2ee5d5d38f56aa837d))
9
+
10
+ ### Contributors to this release
11
+
12
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+15/-6 (#6145 )")
13
+ - <img src="https://avatars.githubusercontent.com/u/22686401?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Willian Agostini](https://github.com/WillianAgostini "+17/-2 (#6132 )")
14
+ - <img src="https://avatars.githubusercontent.com/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+3/-0 (#6084 )")
15
+
3
16
  ## [1.6.2](https://github.com/axios/axios/compare/v1.6.1...v1.6.2) (2023-11-14)
4
17
 
5
18
 
package/README.md CHANGED
@@ -1,8 +1,17 @@
1
- <h1 align="center">
2
- <b>
3
- <a href="https://axios-http.com"><img src="https://axios-http.com/assets/logo.svg" /></a><br>
4
- </b>
5
- </h1>
1
+ <div align="center">
2
+ <a href="https://axios-http.com"><img src="https://axios-http.com/assets/logo.svg" /></a><br>
3
+ </div>
4
+
5
+ <h3 align="center">
6
+ A special thanks to your headline sponsors
7
+ <br><br>
8
+ </h3>
9
+
10
+ <div align="center">
11
+ <a href="https://runalloy.com?utm_source=github&utm_medium=referral&utm_campaign=121423_axios"><img style="width:20rem" src="https://github.com/axios/axios/assets/4814473/d50a6cbb-bbe7-4e70-9e1a-f698c6cdc437" /></a>
12
+ <br><br>
13
+ </div>
14
+
6
15
 
7
16
  <p align="center">Promise based HTTP client for the browser and node.js</p>
8
17
 
package/dist/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 (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -1959,7 +1959,7 @@
1959
1959
  * @returns {string} The combined URL
1960
1960
  */
1961
1961
  function combineURLs(baseURL, relativeURL) {
1962
- return relativeURL ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
1962
+ return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
1963
1963
  }
1964
1964
 
1965
1965
  /**
@@ -2519,7 +2519,7 @@
2519
2519
  return config;
2520
2520
  }
2521
2521
 
2522
- var VERSION = "1.6.2";
2522
+ var VERSION = "1.6.3";
2523
2523
 
2524
2524
  var validators$1 = {};
2525
2525