[Snyk] Security upgrade react-native from 0.42.3 to 0.69.12#32
[Snyk] Security upgrade react-native from 0.42.3 to 0.69.12#32MHxGH-ServiceAccount wants to merge 1 commit intomasterfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-IMMUTABLE-15423650
|
Upgrading Key Breaking Changes:
Recommendation: This upgrade cannot be performed with a simple version change. It requires a careful, step-by-step migration. Use the official React Native Upgrade Helper web tool to generate a diff between your current version and the target version. It is strongly advised to upgrade incrementally between major versions (e.g., 0.42 → 0.59, then 0.59 → 0.60, etc.) to isolate and address breaking changes systematically. This upgrade will touch almost every part of the application and requires extensive testing.
|
⛔ Snyk checks have failed. 4 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| "dependencies": { | ||
| "react": "15.4.2", | ||
| "react-native": "0.42.3", | ||
| "react-native": "0.69.12", |
There was a problem hiding this comment.
Incompatible React version with upgraded React Native
High Severity
react-native 0.69.12 requires react 18.0.0 as a peer dependency, but react remains pinned at 15.4.2. This version mismatch will cause installation failures (peer dependency errors) or runtime crashes. The react-test-renderer at 15.4.2 is similarly incompatible and needs to match the react version.
| "dependencies": { | ||
| "react": "15.4.2", | ||
| "react-native": "0.42.3", | ||
| "react-native": "0.69.12", |
There was a problem hiding this comment.
Start script references removed CLI path
High Severity
The start script references node_modules/react-native/local-cli/cli.js, which was removed in React Native 0.60+ when CLI functionality moved to @react-native-community/cli. With react-native now at 0.69.12, running npm start will fail with a "module not found" error since that file no longer exists.


Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
examples/SampleRN42/package.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-IMMUTABLE-15423650
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Prototype Pollution
Note
High Risk
Large React Native major-version jump in an example app; likely to introduce breaking changes and require follow-on updates to tooling, native projects, or JS APIs.
Overview
Updates the
examples/SampleRN42example app to upgradereact-nativefrom0.42.3to0.69.12to address a reported dependency vulnerability.Written by Cursor Bugbot for commit 81c9685. This will update automatically on new commits. Configure here.