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
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@react-native-async-storage/async-storage": "^2.0.0",
"expo": "52.0.14",
"expo-status-bar": "~1.11.1",
"react": "18.3.1",
"react": "19.3.1",

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 19 incompatible with React Native

High Severity

react was bumped to 19.3.1 while react-native remains 0.76.3 (and 0.74.5 in the Jest example) with Expo still on SDK 52/51. Those RN and Expo lines only support React 18, so the contract-test entity, examples, and Detox/Jest runs will not boot.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fd2a761. Configure here.

"react-native": "0.76.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/react-native/example-fdv2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@react-native-async-storage/async-storage": "^2.0.0",
"expo": "52.0.14",
"expo-status-bar": "~1.11.1",
"react": "18.3.1",
"react": "19.3.1",
"react-native": "0.76.3",
"react-native-dotenv": "^3.4.9"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/react-native/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@react-native-async-storage/async-storage": "^2.0.0",
"expo": "52.0.14",
"expo-status-bar": "~1.11.1",
"react": "18.3.1",
"react": "19.3.1",
"react-native": "0.76.3",
"react-native-dotenv": "^3.4.9"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/react/contract-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@launchdarkly/js-contract-test-utils": "workspace:^",
"@launchdarkly/react-sdk": "workspace:^",
"next": "16.4.3",
"react": "19.2.3",
"react": "19.3.1",

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 and react-dom versions

High Severity

react was bumped to 19.3.1 while react-dom stayed behind (19.2.3 in contract-tests, 18.2.0 in several examples). React 19 requires these packages to share the exact same version and throws at module init when they differ, so contract tests and those examples will fail to start.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit fd2a761. Configure here.

"react-dom": "19.2.3"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"@launchdarkly/react-sdk": "4.1.29",
"react": "^18.2.0",
"react": "^19.3.1",
"react-dom": "^18.2.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/react/examples/hello-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"@launchdarkly/react-sdk": "4.1.29",
"react": "^18.2.0",
"react": "^19.3.1",
"react-dom": "^18.2.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/vercel/examples/complete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"launchdarkly-js-client-sdk": "^3.1.3",
"launchdarkly-react-client-sdk": "^3.0.6",
"next": "16.4.3",
"react": "18.2.0",
"react": "19.3.1",
"react-dom": "18.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/vercel/examples/route-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@launchdarkly/vercel-server-sdk": "workspace:^",
"@vercel/edge-config": "^1.5.0",
"next": "16.4.3",
"react": "^18.2.0",
"react": "^19.3.1",
"react-dom": "18.2.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"expo": "^51.0.26",
"expo-status-bar": "~1.12.1",
"find-yarn-workspace-root": "^2.0.0",
"react": "^18.2.0",
"react": "^19.3.1",
"react-native": "0.74.5"
},
"devDependencies": {
Expand Down
Loading