Bump react-router from 6.30.3 to 7.13.1#2860
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
| "react-number-format": "5.4.3", | ||
| "react-redux": "8.1.2", | ||
| "react-router": "6.30.3", | ||
| "react-router": "7.13.1", |
There was a problem hiding this comment.
Incompatible react-router v7 with react-router-dom v6
High Severity
react-router was bumped from v6 to v7 (a major version change), but react-router-dom remains at 6.30.3 across all three packages. react-router-dom v6 depends on and expects react-router v6 — these two packages are incompatible when mixed across major versions. In v7, react-router-dom was effectively merged into react-router, making the v6 react-router-dom fundamentally incompatible with react-router v7. This will cause runtime errors in routing throughout the application. The codebase imports from both react-router and react-router-dom extensively.
Additional Locations (2)
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 6.30.3 to 7.13.1. - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@7.13.1/packages/react-router) --- updated-dependencies: - dependency-name: react-router dependency-version: 7.13.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
802a9cf to
81578e2
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| "react-dom": "^18.2.0", | ||
| "react-hook-form": "^7.45.4", | ||
| "react-router": "^6.30.3", | ||
| "react-router": "^7.13.1", |
There was a problem hiding this comment.
Lockfile peerDependencies out of sync with package.json
Medium Severity
The package-lock.json shows "react-router": "^7.13.1" in the peerDependencies sections for packages/core and packages/wallets, but the actual package.json files still have "react-router": "^6.30.3" in their peerDependencies. Dependabot updated the lockfile's peerDependencies entries without updating the corresponding package.json peerDependencies, creating a lockfile that is out of sync with the source of truth. This will cause peer dependency resolution mismatches on fresh installs.


Bumps react-router from 6.30.3 to 7.13.1.
Release notes
Sourced from react-router's releases.
... (truncated)
Changelog
Sourced from react-router's changelog.
... (truncated)
Commits
aa3f078chore: Update version for release (#14829)3207a5cchore: Update version for release (pre) (#14814)aa93af3Merge branch 'main' into release-nextdb7eb57Fix manifest version mismatch reload losing query parameters and hash (#14813)2994019Add support for <Link unstable_mask> (#14716)6dda561fix: clear timeout when turbo-stream encoding completes (#14735) (#14810)407d885Revert "fix: clear timeout when turbo-stream encoding completes (#14735)" (#1...11a1600Fix meta function API reference URL (#14808)44991a9fix: clear timeout when turbo-stream encoding completes (#14735)b66e632Fix hydrate fallback rendering during initial lazy route discovery (#14740)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Note
Medium Risk
This is a major-version routing library upgrade that can introduce runtime/navigation regressions, especially with
react-router-domand peer dependency ranges remaining on v6.Overview
Bumps
react-routerfrom6.30.3to7.13.1inpackages/core,packages/gui, andpackages/wallets.Updates
package-lock.jsonaccordingly, adding new transitive deps (cookie,set-cookie-parser) required byreact-router@7, whilereact-router-domremains on6.30.3(and package peer dependency ranges forreact-routerstill reference^6.30.3).Written by Cursor Bugbot for commit 81578e2. This will update automatically on new commits. Configure here.