-
Notifications
You must be signed in to change notification settings - Fork 4
[Snyk] Security upgrade react-router-dom from 5.1.2 to 6.30.2 #100
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 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -27,7 +27,7 @@ | |||||||||||||
| "react-loadable": "^5.5.0", | ||||||||||||||
| "react-moment": "^0.9.7", | ||||||||||||||
| "react-redux": "^7.2.0", | ||||||||||||||
| "react-router-dom": "^5.1.2", | ||||||||||||||
| "react-router-dom": "^6.30.2", | ||||||||||||||
| "react-simple-code-editor": "^0.11.0", | ||||||||||||||
| "react-vis-network": "^1.0.0", | ||||||||||||||
|
Comment on lines
+30
to
32
|
||||||||||||||
| "react-router-dom": "^6.30.2", | |
| "react-simple-code-editor": "^0.11.0", | |
| "react-vis-network": "^1.0.0", | |
| "react-router-dom": "^6.30.3", | |
| "react-simple-code-editor": "^0.11.0", | |
| "react-vis-network": "^1.0.0", |
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 PR upgrades react-router-dom from version 5.1.2 to 6.30.3, which is a major version upgrade with significant breaking changes. However, no corresponding code changes are included to handle these breaking changes. The codebase extensively uses React Router v5 APIs that have been removed or changed in v6:
This upgrade will break the application at runtime. The PR needs to include migration code for all affected files including:
Before merging, all imports and usages of Switch, Route, and Redirect need to be updated to the v6 API.