[Snyk] Security upgrade react-native from 0.42.3 to 0.69.12#27
[Snyk] Security upgrade react-native from 0.42.3 to 0.69.12#27MHxGH-ServiceAccount wants to merge 1 commit intomasterfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AJV-15274295
|
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 1 potential issue.
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.
Legacy CLI script breaks app startup
Medium Severity
Upgrading react-native to 0.69.12 leaves scripts.start pointing to node_modules/react-native/local-cli/cli.js, but modern React Native no longer ships local-cli. Running npm start in examples/SampleRN42/package.json will fail before Metro starts, so the sample cannot be launched.


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-AJV-15274295
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:
🦉 Regular Expression Denial of Service (ReDoS)
Note
Medium Risk
Large React Native major-version jump in an example app; likely to introduce build/runtime incompatibilities even though the change is dependency-only and limited in scope.
Overview
Updates the
examples/SampleRN42example app dependency onreact-nativefrom0.42.3to0.69.12to address a reported security vulnerability (via Snyk).Written by Cursor Bugbot for commit 62b69a2. This will update automatically on new commits. Configure here.