-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Upgrade axios from 1.6.4 to 1.12.2 #689
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: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| "version": "0.1.0", | ||
| "private": true, | ||
| "dependencies": { | ||
| "axios": "^1.6.4", | ||
| "axios": "^1.12.2", | ||
| "dateformat": "^3.0.3", | ||
| "immutability-helper": "^3.0.0", | ||
| "react": "^17.0.2", | ||
|
|
@@ -23,7 +23,7 @@ | |
| "@types/react-router-dom": "^5.1.8", | ||
| "@types/styled-components": "^5.1.11", | ||
| "auth0-js": "^9.16.2", | ||
| "axios": "^1.6.4", | ||
| "axios": "^1.12.2", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The According to npm documentation, Please remove the |
||
| "typescript": ">=3.8.0" | ||
| }, | ||
| "scripts": { | ||
|
|
||
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.
This pull request is missing the update to
package-lock.json. After changing a dependency version inpackage.json, it's crucial to runnpm installto update the lock file and commit it.Without the updated
package-lock.json, environments that usenpm ci(which is common in CI/CD pipelines) will not install the new version ofaxios. This would mean the security vulnerabilities this PR aims to fix will persist in those environments.Action required: Please run
npm installand commit the updatedpackage-lock.jsonfile to this PR.