-
Notifications
You must be signed in to change notification settings - Fork 1
[Snyk] Upgrade axios from 1.4.0 to 1.12.2 #194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade axios from 1.4.0 to 1.12.2. See this package in npm: axios See this project in Snyk: https://app.snyk.io/org/codingdud/project/fbe45036-7a9d-4ede-9cf4-9331e0bb4a97?utm_source=github&utm_medium=referral&page=upgrade-pr
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary of ChangesHello @codingdud, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request, automatically generated by Snyk, updates the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request, automatically generated by Snyk, upgrades the axios dependency from version 1.4.0 to 1.12.2. This is a crucial update that resolves multiple high and medium severity security vulnerabilities, including Cross-site Request Forgery (CSRF), Prototype Pollution, and Server-side Request Forgery (SSRF). The change is correct and necessary. I've added one suggestion to consider a stricter version constraint for axios to enhance future stability. Given the significant version jump, it is highly recommended to perform thorough regression testing on a staging environment before merging this into the main branch to ensure no breaking changes affect the application's functionality.
| "@testing-library/react": "^13.4.0", | ||
| "@testing-library/user-event": "^13.5.0", | ||
| "axios": "^1.4.0", | ||
| "axios": "^1.12.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For better stability and to avoid potential breaking changes from minor version updates, consider using a tilde ~ instead of a caret ^ for the axios version. This will lock the version to patch releases (1.12.x) instead of allowing any minor update (1.x.x), reducing the risk of unexpected issues in this critical dependency.
| "axios": "^1.12.2", | |
| "axios": "~1.12.2", |
Snyk has created this PR to upgrade axios from 1.4.0 to 1.12.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 35 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-AXIOS-6032459
SNYK-JS-AXIOS-6144788
SNYK-JS-AXIOS-7361793
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-AXIOS-12613773
SNYK-JS-AXIOS-6124857
SNYK-JS-AXIOS-9292519
SNYK-JS-AXIOS-9403194
SNYK-JS-FOLLOWREDIRECTS-6444610
Release notes
Package name: axios
-
1.12.2 - 2025-09-14
- fetch: use current global fetch instead of cached one when env fetch is not specified to keep MSW support; (#7030) (cf78825)
Dmitriy Mozgovoy
Noritaka Kobayashi
-
1.12.1 - 2025-09-12
- types: fixed env config types; (#7020) (b5f26b7)
Dmitriy Mozgovoy
-
1.12.0 - 2025-09-11
- adding build artifacts (9ec86de)
- dont add dist on release (a2edc36)
- fetch-adapter: set correct Content-Type for Node FormData (#6998) (a9f47af)
- node: enforce maxContentLength for data: URLs (#7011) (945435f)
- package exports (#5627) (aa78ac2)
- params: removing '[' and ']' from URL encode exclude characters (#3316) (#5715) (6d84189)
- release pr run (fd7f404)
- types: change the type guard on isCancel (#5595) (0dbb7fd)
- adapter: surface low‑level network error details; attach original error via cause (#6982) (78b290c)
- fetch: add fetch, Request, Response env config variables for the adapter; (#7003) (c959ff2)
- support reviver on JSON.parse (#5926) (2a97634), closes #5924
- types: extend AxiosResponse interface to include custom headers type (#6782) (7960d34)
Willian Agostini
Dmitriy Mozgovoy
khani
Ameer Assadi
Emiedonmokumo Dick-Boro
Zeroday BYTE
Jason Saayman
최예찬
Gligor Kotushevski
Aleksandar Dimitrov
-
1.11.0 - 2025-07-23
- form-data npm pakcage (#6970) (e72c193)
- prevent RangeError when using large Buffers (#6961) (a2214ca)
- types: resolve type discrepancies between ESM and CJS TypeScript declaration files (#6956) (8517aa1)
izzy goldman
Manish Sahani
Noritaka Kobayashi
James Nail
Tejaswi1305
-
1.10.0 - 2025-06-14
- adapter: pass fetchOptions to fetch function (#6883) (0f50af8)
- form-data: convert boolean values to strings in FormData serialization (#6917) (5064b10)
- package: add module entry point for React Native; (#6933) (3d343b8)
- types: improved fetchOptions interface (#6867) (63f1fce)
Dmitriy Mozgovoy
Noritaka Kobayashi
Dimitrios Lazanas
Adrian Knapp
Howie Zhao
Uhyeon Park
Sampo Silvennoinen
-
1.9.0 - 2025-04-24
- core: fix the Axios constructor implementation to treat the config argument as optional; (#6881) (6c5d4cd)
- fetch: fixed ERR_NETWORK mapping for Safari browsers; (#6767) (dfe8411)
- headers: allow iterable objects to be a data source for the set method; (#6873) (1b1f9cc)
- headers: fix
- headers: fixed support for setting multiple header values from an iterated source; (#6885) (f7a3b5e)
- http: send minimal end multipart boundary (#6661) (987d2e2)
- types: fix autocomplete for adapter config (#6855) (e61a893)
- AxiosHeaders: add getSetCookie method to retrieve set-cookie headers values (#5707) (80ea756)
Dmitriy Mozgovoy
Jay
Willian Agostini
George Cheng
FatahChan
Ionuț G. Stan
-
1.8.4 - 2025-03-19
- buildFullPath: handle
Marc Hassan
-
1.8.3 - 2025-03-12
- add missing type for allowAbsoluteUrls (#6818) (10fa70e)
- xhr/fetch: pass
Ashcon Partovi
StefanBRas
Marc Hassan
-
1.8.2 - 2025-03-07
-
1.8.1 - 2025-02-26
-
1.8.0 - 2025-02-26
-
1.7.9 - 2024-12-04
-
1.7.8 - 2024-11-25
-
1.7.7 - 2024-08-31
-
1.7.6 - 2024-08-30
-
1.7.5 - 2024-08-23
-
1.7.4 - 2024-08-13
-
1.7.3 - 2024-08-01
-
1.7.2 - 2024-05-21
-
1.7.1 - 2024-05-20
-
1.7.0 - 2024-05-19
-
1.7.0-beta.2 - 2024-05-19
-
1.7.0-beta.1 - 2024-05-07
-
1.7.0-beta.0 - 2024-04-28
-
1.6.8 - 2024-03-15
-
1.6.7 - 2024-01-25
-
1.6.6 - 2024-01-24
-
1.6.5 - 2024-01-05
-
1.6.4 - 2024-01-03
-
1.6.3 - 2023-12-26
-
1.6.2 - 2023-11-14
-
1.6.1 - 2023-11-08
-
1.6.0 - 2023-10-26
-
1.5.1 - 2023-09-26
-
1.5.0 - 2023-08-26
-
1.4.0 - 2023-04-27
from axios GitHub release notesRelease notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Features
Contributors to this release
Release notes:
Bug Fixes
Contributors to this release
Release notes:
Bug Fixes
Features
Contributors to this release
Release notes:
Bug Fixes
getSetCookieby using 'get' method for caseless access; (#6874) (d4f7df4)Features
Contributors to this release
Release notes:
Bug Fixes
allowAbsoluteUrls: falsewithoutbaseURL(#6833) (f10c2e0)Contributors to this release
Release notes:
Bug Fixes
allowAbsoluteUrlstobuildFullPathinxhrandfetchadapters (#6814) (ec159e5)Contributors to this release
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: