Skip to content
Open
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-tests/react-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"dependencies": {
"@builder.io/react": "workspace:*",
"@builder.io/widgets": "^1.2.24",
"@remix-run/node": "^1.14.3",
"@remix-run/node": "^2.17.2",
Copy link

Choose a reason for hiding this comment

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

Major version mismatch between Remix packages causes incompatibility

High Severity

This update creates a major version mismatch by bumping @remix-run/node to v2.x while keeping @remix-run/react, @remix-run/serve, and @remix-run/dev at v1.x. Remix packages must all be at the same major version. The codebase uses v1 APIs (MetaFunction returning an object, useCatch, CatchBoundary) that have breaking changes in v2, where MetaFunction must return an array and useCatch/CatchBoundary were removed in favor of ErrorBoundary/useRouteError. This will cause build or runtime failures.

Additional Locations (1)

Fix in Cursor Fix in Web

"@remix-run/react": "^1.14.3",
"@remix-run/serve": "^1.14.3",
"@sdk/tests": "workspace:*",
Expand Down
51 changes: 49 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7826,7 +7826,7 @@ __metadata:
"@builder.io/widgets": ^1.2.24
"@remix-run/dev": ^1.14.3
"@remix-run/eslint-config": ^1.19.1
"@remix-run/node": ^1.14.3
"@remix-run/node": ^2.17.2
"@remix-run/react": ^1.14.3
"@remix-run/serve": ^1.14.3
"@sdk/tests": "workspace:*"
Expand Down Expand Up @@ -17836,7 +17836,7 @@ __metadata:
languageName: node
linkType: hard

"@remix-run/node@npm:1.19.3, @remix-run/node@npm:^1.14.3":
"@remix-run/node@npm:1.19.3":
version: 1.19.3
resolution: "@remix-run/node@npm:1.19.3"
dependencies:
Expand Down Expand Up @@ -17913,6 +17913,26 @@ __metadata:
languageName: node
linkType: hard

"@remix-run/node@npm:^2.17.2":
version: 2.17.3
resolution: "@remix-run/node@npm:2.17.3"
dependencies:
"@remix-run/server-runtime": 2.17.3
"@remix-run/web-fetch": ^4.4.2
"@web3-storage/multipart-parser": ^1.0.0
cookie-signature: ^1.1.0
source-map-support: ^0.5.21
stream-slice: ^0.1.2
undici: ^6.21.2
peerDependencies:
typescript: ^5.1.0
peerDependenciesMeta:
typescript:
optional: true
checksum: e146077e5afb0f01c62ec7223af9b19c318daab5871323c2668230a42654701940d9093f5c5ac6318415676f24392cabe0450ba65d62908b54559f424aff11bd
languageName: node
linkType: hard

"@remix-run/react@npm:^1.14.3":
version: 1.19.3
resolution: "@remix-run/react@npm:1.19.3"
Expand Down Expand Up @@ -18107,6 +18127,26 @@ __metadata:
languageName: node
linkType: hard

"@remix-run/server-runtime@npm:2.17.3":
version: 2.17.3
resolution: "@remix-run/server-runtime@npm:2.17.3"
dependencies:
"@remix-run/router": 1.23.0
"@types/cookie": ^0.6.0
"@web3-storage/multipart-parser": ^1.0.0
cookie: ^0.7.2
set-cookie-parser: ^2.4.8
source-map: ^0.7.3
turbo-stream: 2.4.1
peerDependencies:
typescript: ^5.1.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 40f67d129c366d39561d80bd054bdbcb2b17b9516bb56cd3949af51fb20ed524c92bda86c1c8c8c399acfea52d93170bcd9fc7ab0a65abfa2146f09962d2ca95
languageName: node
linkType: hard

"@remix-run/server-runtime@npm:2.9.2, @remix-run/server-runtime@npm:^2.8.0":
version: 2.9.2
resolution: "@remix-run/server-runtime@npm:2.9.2"
Expand Down Expand Up @@ -60765,6 +60805,13 @@ __metadata:
languageName: node
linkType: hard

"turbo-stream@npm:2.4.1":
version: 2.4.1
resolution: "turbo-stream@npm:2.4.1"
checksum: e2c0aa1d4796af0089a1b8b46b3b4b5e95c118eb8168f25572bd7fe7bd70d118aaa64e8207b6fe3a90e6f88dcf84f5a2ccfd2d0d067c2032ea62d7edfc3b0d3c
languageName: node
linkType: hard

"turbo-stream@npm:^2.0.0":
version: 2.1.0
resolution: "turbo-stream@npm:2.1.0"
Expand Down
Loading