Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@react-router/dev": "^7.17.0",
"@react-router/node": "^7.15.0",
"react": "^18.3.1",
"react-router": "^7.18.0",
"react-router": "^8.3.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mismatched React Router package majors

Medium Severity

Only react-router was bumped to ^8.3.0 while @react-router/dev and @react-router/node remain on v7. These packages are released in lockstep; the repo’s own react-router-8-framework e2e app upgrades all three together. Mixing majors risks peer-dependency failures and incompatible types/APIs during development and tests.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 725c5f1. Configure here.

"vite": "^6.4.3"
},
"peerDependencies": {
Expand Down
13 changes: 6 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13591,7 +13591,7 @@ cookie-es@^2.0.0, cookie-es@^2.0.1:
resolved "https://registry.yarnpkg.com/cookie-es/-/cookie-es-2.0.1.tgz#b113706a7bd1504ffb3740c2d84b86310119142a"
integrity sha512-aVf4A4hI2w70LnF7GG+7xDQUkliwiXWXFvTjkip4+b64ygDQ2sJPRSKFDHbxn8o0xu9QzPkMuuiWIXyFSE2slA==

cookie-es@^3.0.0, cookie-es@^3.0.1:
cookie-es@^3.0.0, cookie-es@^3.0.1, cookie-es@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/cookie-es/-/cookie-es-3.1.1.tgz#c4a8a16cf88cb5a185b23f4a61d6e9a85eb53287"
integrity sha512-UaXxwISYJPTr9hwQxMFYZ7kNhSXboMXP+Z3TRX6f1/NyaGPfuNUZOWP1pUEb75B2HjfklIYLVRfWiFZJyC6Npg==
Expand Down Expand Up @@ -25691,13 +25691,12 @@ react-router@6.30.4:
dependencies:
"@remix-run/router" "1.23.3"

react-router@^7.18.0:
version "7.18.0"
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.18.0.tgz#e7d94b54745277aabe3cf93fac938cbebc9c1c5e"
integrity sha512-pTTGt8J+ji1NOmYnjzT+bAJy/1zD+Jp4ziO6cL7T3ZLvXKtusO7BpFqlRXitqpcPVqllsIXFHRMt+2/k3Xn6HQ==
react-router@^8.3.0:
version "8.3.0"
resolved "https://registry.yarnpkg.com/react-router/-/react-router-8.3.0.tgz#b7bc69c3e3833ba79ebf892aef03d62b649508f8"
integrity sha512-qyPMvW83jGIct3yiieisxdk9M745anqhpIMKN5m1t6yBMfgVPpt77aHOqs5fUlEJRMCGffg9BaQLH9oPVOL7xQ==
dependencies:
cookie "^1.0.1"
set-cookie-parser "^2.6.0"
cookie-es "^3.1.1"

react@^18.3.1:
version "18.3.1"
Expand Down
Loading