Fix/deps/upgrade axios#185
Open
goyaljiiiiii wants to merge 3 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the RestroHub frontend dependency set to address reported security/deprecation issues, primarily by upgrading axios and refreshing the npm lockfile.
Changes:
- Upgraded
axiosto^1.16.1. - Added npm
overridesforthree-mesh-bvhandmeshoptimizer. - Regenerated
package-lock.json, resulting in additional dependency version shifts (e.g., React Router and Vite plugin updates).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| RestroHub-FrontEnd/package.json | Bumps axios and adds overrides for 3D-related transitive dependencies. |
| RestroHub-FrontEnd/package-lock.json | Lockfile refresh reflecting the axios upgrade and additional dependency tree/version changes. |
Files not reviewed (1)
- RestroHub-FrontEnd/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+50
to
+53
| "overrides": { | ||
| "three-mesh-bvh": "^0.9.10", | ||
| "meshoptimizer": "^1.1.1" | ||
| }, |
Comment on lines
24
to
28
| "react-icons": "^5.5.0", | ||
| "react-qr-code": "^2.0.18", | ||
| "react-router-dom": "^7.13.0", | ||
| "react-router-dom": "^6.30.1", | ||
| "recharts": "^3.7.0", | ||
| "three": "^0.182.0", |
Comment on lines
33
to
36
| "@types/react": "^18.2.0", | ||
| "@types/react-dom": "^18.2.0", | ||
| "@vitejs/plugin-react": "^4.0.0", | ||
| "@vitejs/plugin-react": "^5.0.0", | ||
| "autoprefixer": "^10.4.24", |
| }, | ||
| "engines": { | ||
| "node": "^14.18.0 || >=16.0.0" | ||
| "node": "^20.19.0 || >=22.12.0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrade axios to ^1.16.1 and update the lockfile to address several security advisories (prototype pollution, NO_PROXY/SSRF-related issues).
Files changed
package.json
package-lock.json
Details
Fixes high/medium severity axios advisories reported by npm audit.
No functional API changes expected, but verify any custom validateStatus, transformRequest, or adapter logic.
How to test
cd RestroHub-FrontEnd
npm install
npm audit
npm run dev
Author: @goyaljiiiiii
Reference issue #184