-
Notifications
You must be signed in to change notification settings - Fork 646
Update react-router monorepo to ^6.30.2 #8533
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?
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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| '@backstage-community/plugin-bitbucket-pull-requests': patch | ||
| --- | ||
|
|
||
| Updated dependency `react-router` to `^6.30.2`. | ||
| Updated dependency `react-router-dom` to `~6.30.0`. |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -54,7 +54,7 @@ | |||||
| "peerDependencies": { | ||||||
| "react": "^16.13.1 || ^17.0.0 || ^18.0.0", | ||||||
| "react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0", | ||||||
| "react-router": "6.30.2 ^6.30.2" | ||||||
| "react-router": "^6.30.2" | ||||||
|
||||||
| "react-router": "^6.30.2" | |
| "react-router": "^6.3.0" |
Copilot
AI
Apr 17, 2026
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.
The react-router peerDependency is now ^6.30.2, but this package still lists react-router in dependencies as ^6.3.0. This can lead to confusing installs (consumer may satisfy dependencies via an older pinned react-router, while still failing the peer constraint). Consider aligning the dependency range with the peer range (or loosening the peer range if older 6.x is intended to be supported).
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| '@backstage-community/plugin-bookmarks': patch | ||
| --- | ||
|
|
||
| Updated dependency `react-router` to `^6.30.2`. | ||
| Updated dependency `react-router-dom` to `~6.30.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.
The new peerDependency range for
react-router(^6.30.2) is inconsistent with this package’s direct dependency onreact-router(^6.3.0), which can lead to peer dependency warnings and potentially multiple router versions in consumer installs. Align the dependency and peerDependency ranges (or drop one of them) so they don’t conflict.