[Snyk] Security upgrade react-native from 0.40.0 to 0.69.12#45
[Snyk] Security upgrade react-native from 0.40.0 to 0.69.12#45MHxGH-ServiceAccount wants to merge 1 commit intomasterfrom
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-MINIMATCH-15353389
|
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 after React Native upgrade
High Severity
Upgrading react-native to ^0.69.12 without updating react from ^15.1.0 creates an incompatible dependency combination. React Native 0.69.x requires react 18.x as a peer dependency. React 15 is entirely incompatible, causing installation peer dependency conflicts and runtime failures. The react version needs to be updated to 18.0.0 to match the new react-native version.
| "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 removed CLI path
Medium Severity
The start script still references node_modules/react-native/local-cli/cli.js, which was removed when the React Native CLI was extracted to @react-native-community/cli (around RN 0.59). With react-native now at ^0.69.12, this path no longer exists and npm start/yarn start will fail. The standard start script for RN 0.69+ uses npx react-native start.


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-15353389
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:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.
Note
Medium Risk
Large React Native version jump in the example app may break builds/Metro configuration, and the
yarn.lockis not updated to reflect the new version.Overview
Updates
examples/TouchIDExample/package.jsonto upgradereact-nativefrom0.40.0to0.69.12for the TouchID example app.No corresponding lockfile update is included, so installs may still resolve the previous dependency set until
yarn.lockis regenerated.Written by Cursor Bugbot for commit e425783. This will update automatically on new commits. Configure here.