[Snyk] Security upgrade react-native from 0.40.0 to 0.69.12#42
[Snyk] Security upgrade react-native from 0.40.0 to 0.69.12#42MHxGH-ServiceAccount wants to merge 1 commit intomasterfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MINIMATCH-15309438
|
Upgrading from Key Breaking Changes & Architectural Shifts:
Recommendation:
This upgrade should be treated as a full project rewrite or a major migration effort, not a routine dependency update. Source: React Native Upgrade Helper, React Native 0.69 Release Notes
|
✅ Snyk checks have passed. No 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.1.0", | ||
| "react-native": "^0.40.0", | ||
| "react-native": "^0.69.12", |
There was a problem hiding this comment.
Incompatible React version with upgraded React Native
High Severity
react-native was upgraded to ^0.69.12 which requires react 18.0.0, but the react dependency remains at ^15.1.0. These versions are fundamentally incompatible — React Native 0.69 depends on React 18 APIs that don't exist in React 15. Installation will fail due to peer dependency conflicts, or if forced, the app will crash at runtime.
| "dependencies": { | ||
| "react": "^15.1.0", | ||
| "react-native": "^0.40.0", | ||
| "react-native": "^0.69.12", |
There was a problem hiding this comment.
Start script references nonexistent CLI path
Medium Severity
The start script references react-native/local-cli/cli.js, a path that was removed in newer React Native versions. With the upgrade to ^0.69.12, this path no longer exists — the CLI was moved to @react-native-community/cli. Running npm start or yarn start will fail with a "module not found" error.


Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
examples/TouchIDExample/package.jsonNote for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the
.yarn/cache/directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to runyarnto update the contents of the./yarn/cachedirectory.If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:
SNYK-JS-MINIMATCH-15309438
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:
🦉 Regular Expression Denial of Service (ReDoS)
Note
Medium Risk
Large version jump for a core framework dependency in the example app may introduce breaking changes or require lockfile/native config updates to build and run successfully.
Overview
Updates the
examples/TouchIDExamplesample app to usereact-native^0.69.12instead of^0.40.0to address a reported dependency vulnerability.Written by Cursor Bugbot for commit 63118b6. This will update automatically on new commits. Configure here.