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
6 changes: 3 additions & 3 deletions packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@
"sentry": "^0.44.0"
},
"devDependencies": {
"@react-router/dev": "^7.17.0",
"@react-router/node": "^7.15.0",
"@react-router/dev": "^8.5.0",
"@react-router/node": "^8.5.0",
"@sentry-internal/rollup-utils": "11.9.0",
"@testing-library/react": "^15.0.5",
"@types/node": "^20.19.0",
"@types/react": "17.0.3",
"react": "^18.3.1",
"react-router": "^7.18.0",
"react-router": "^8.5.0",
"vite": "^8.3.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"history-5": "npm:history@4.9.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^7.18.3",
"react-router": "^8.5.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.

React 18 paired with Router 8

Medium Severity

react-router 8.5.0 requires React >=19.2.7 and @types/react >=19.2.0, but both packages still test with React 18.3.1 and @types/react 17.0.3. Unit tests that render MemoryRouter / Routes from react-router now run an unsupported pairing.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8342953. Configure here.

"react-router-3": "npm:react-router@3.2.0",
"react-router-4": "npm:react-router@4.1.0",
"react-router-5": "npm:react-router@5.3.4",
Expand Down
Loading
Loading