Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"isbot": "^5.1.27",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "7.9.6"
"react-router": "7.12.0"
Copy link

Choose a reason for hiding this comment

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

Version mismatch between react-router and @react-router/* packages

Medium Severity

The react-router package is updated to 7.12.0 while @react-router/node, @react-router/serve, and @react-router/dev remain at 7.9.6. The React Router ecosystem packages are released in sync and designed to work together at matching versions. All other similar test applications in this repository (react-router-7-framework-node-20-18, hydrogen-react-router-7, react-router-7-framework-custom) keep these package versions aligned. This mismatch can cause API incompatibilities, type mismatches, or runtime errors in the E2E tests.

🔬 Verification Test

Test code:

# Check that all react-router-7-framework-spa-node-20-18 packages match
cat dev-packages/e2e-tests/test-applications/react-router-7-framework-spa-node-20-18/package.json | grep -E '"(react-router|@react-router)'

Command run:

grep -E '"(react-router|@react-router)' dev-packages/e2e-tests/test-applications/react-router-7-framework-spa-node-20-18/package.json

Output:

    "@react-router/node": "7.9.6",
    "@react-router/serve": "7.9.6",
    "react-router": "7.12.0"
    "@react-router/dev": "7.9.6",

Why this proves the bug: The output shows react-router at version 7.12.0 while all @react-router/* packages remain at 7.9.6, confirming the version mismatch between packages that should be synchronized.

Additional Locations (2)

Fix in Cursor Fix in Web

},
"devDependencies": {
"@playwright/test": "~1.56.0",
Expand Down
Loading