axios 1.6.3 → 1.6.4

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,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.6.4](https://github.com/axios/axios/compare/v1.6.3...v1.6.4) (2024-01-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **security:** fixed formToJSON prototype pollution vulnerability; ([#6167](https://github.com/axios/axios/issues/6167)) ([3c0c11c](https://github.com/axios/axios/commit/3c0c11cade045c4412c242b5727308cff9897a0e))
9
+ * **security:** fixed security vulnerability in follow-redirects ([#6163](https://github.com/axios/axios/issues/6163)) ([75af1cd](https://github.com/axios/axios/commit/75af1cdff5b3a6ca3766d3d3afbc3115bb0811b8))
10
+
11
+ ### Contributors to this release
12
+
13
+ - <img src="https://avatars.githubusercontent.com/u/4814473?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+34/-6 ()")
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 "+34/-3 (#6172 #6167 )")
15
+ - <img src="https://avatars.githubusercontent.com/u/1402060?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Guy Nesher](https://github.com/gnesher "+10/-10 (#6163 )")
16
+
3
17
  ## [1.6.3](https://github.com/axios/axios/compare/v1.6.2...v1.6.3) (2023-12-26)
4
18
 
5
19
 
package/README.md CHANGED
@@ -1,17 +1,45 @@
1
+ <h3 align="center">
2
+ Platinum sponsors
3
+ <br>
4
+ </h3>
5
+
1
6
  <div align="center">
2
- <a href="https://axios-http.com"><img src="https://axios-http.com/assets/logo.svg" /></a><br>
7
+ <a href="https://runalloy.com?utm_source=github&utm_medium=referral&utm_campaign=121423_axios">
8
+ <picture>
9
+ <source width="400px" media="(prefers-color-scheme: dark)" srcset="https://github.com/axios/axios/assets/4814473/f6067247-7eba-4069-852a-ab1bb85b1780">
10
+ <source width="400px" media="(prefers-color-scheme: light)" srcset="https://github.com/axios/axios/assets/4814473/75c37f4d-36e6-44f5-a068-3edd77c00a10">
11
+ <img width="400px" src="https://github.com/axios/axios/assets/4814473/75c37f4d-36e6-44f5-a068-3edd77c00a10" />
12
+ </picture>
13
+ </a>
14
+ <p>Alloy is the integration development platform that makes it simple and <br>fast for SaaS companies to launch critical user-facing integrations.</p>
15
+ <br><br>
3
16
  </div>
4
17
 
5
18
  <h3 align="center">
6
- A special thanks to your headline sponsors
19
+ Gold sponsors
7
20
  <br><br>
8
21
  </h3>
9
22
 
10
23
  <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>
24
+ <a href="https://stytch.com?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=logo&utm_campaign=axios-http">
25
+ <picture>
26
+ <source width="200px" media="(prefers-color-scheme: dark)" srcset="https://github.com/axios/axios/assets/4814473/538d715a-13c7-4668-ae7d-37a4548423f4">
27
+ <source width="200px" media="(prefers-color-scheme: light)" srcset="https://github.com/axios/axios/assets/4814473/b6a9a7bc-9fb1-4b9b-909f-1b4bee1fd142">
28
+ <img width="200px" src="https://github.com/axios/axios/assets/4814473/b6a9a7bc-9fb1-4b9b-909f-1b4bee1fd142" />
29
+ </picture>
30
+ </a>
31
+ <p align="center">API-first authentication, authorization, and fraud prevention</p>
32
+ <p align="center">
33
+ <a href="https://stytch.com?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=website-link&utm_campaign=axios-http"><b>Website</b></a> •
34
+ <a href="https://stytch.com/docs?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=docs-link&utm_campaign=axios-http"><b>Documentation</b></a> • <a href="https://github.com/stytchauth/stytch-node?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=node-sdk&utm_campaign=axios-http"><b>Node.js Backend SDK</b></a>
35
+ </p>
13
36
  </div>
37
+
14
38
 
39
+ <br><br>
40
+ <div align="center">
41
+ <a href="https://axios-http.com"><img src="https://axios-http.com/assets/logo.svg" /></a><br>
42
+ </div>
15
43
 
16
44
  <p align="center">Promise based HTTP client for the browser and node.js</p>
17
45
 
package/dist/axios.js CHANGED
@@ -1,4 +1,4 @@
1
- // Axios v1.6.3 Copyright (c) 2023 Matt Zabriskie and contributors
1
+ // Axios v1.6.4 Copyright (c) 2024 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) :
@@ -1387,6 +1387,7 @@
1387
1387
  function formDataToJSON(formData) {
1388
1388
  function buildPath(path, value, target, index) {
1389
1389
  var name = path[index++];
1390
+ if (name === '__proto__') return true;
1390
1391
  var isNumericKey = Number.isFinite(+name);
1391
1392
  var isLast = index >= path.length;
1392
1393
  name = !name && utils$1.isArray(target) ? target.length : name;
@@ -2519,7 +2520,7 @@
2519
2520
  return config;
2520
2521
  }
2521
2522
 
2522
- var VERSION = "1.6.3";
2523
+ var VERSION = "1.6.4";
2523
2524
 
2524
2525
  var validators$1 = {};
2525
2526