Skip to content

fix: examples/SampleRN20/package.json to reduce vulnerabilities

1d651f4
Select commit
Loading
Failed to load commit list.
Open

[Snyk] Security upgrade react-native from 0.20.0 to 0.69.12 #21

fix: examples/SampleRN20/package.json to reduce vulnerabilities
1d651f4
Select commit
Loading
Failed to load commit list.
Cursor / Cursor BugBot completed Jul 20, 2025 in 1m 8s

BugBot Review

BugBot Analysis Progress (1m 10s elapsed)

✅ Gathered PR context (1s)
✅ Analyzed code changes (1s)
✅ Completed bug detection — 1 potential bug found (1m 6s)
✅ Validation and filtering completed (0s)
✅ Posted analysis results — 1 bug reported (1s)
✅ Analysis completed successfully (0s)

Final Result: BugBot completed review and found 1 potential issue

Request ID: serverGenReqId_b918621e-d958-49b7-a233-624fb256f63c

Details

Bug: React Native CLI Path Update Needed

The start script in package.json references the deprecated React Native CLI path node_modules/react-native/local-cli/cli.js. This path was removed in React Native 0.60+ and is incompatible with version 0.69.12, causing the script to fail. The CLI was restructured and moved to a separate package, and should be updated to use npx react-native start.

examples/SampleRN20/package.json#L5-L9

"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"react-native": "0.69.12",

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎