[Snyk] Security upgrade react-native from 0.48.4 to 0.69.12 - #21
MHxGH-ServiceAccount wants to merge 1 commit into
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-TAR-15416075
|
Upgrading from Key Architectural Breaking Changes:
Recommendation: Due to the scale of these changes, the recommended approach is to create a new project using the target React Native version ( Use the React Native Upgrade Helper web tool to see a file-by-file comparison between your starting and target versions. This will provide a detailed checklist of configuration changes, but it will not handle the logic or dependency migrations automatically.
|
✅ 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": "16.0.0-alpha.12", | ||
| "react-native": "0.48.4", | ||
| "react-native": "0.69.12", |
There was a problem hiding this comment.
Incompatible React version kept with react-native upgrade
High Severity
react-native 0.69.12 requires react 18.0.0 as a peer dependency, but react is still pinned to 16.0.0-alpha.12. This version mismatch will cause peer dependency errors during install and likely runtime failures, since React Native 0.69 relies on React 18 APIs and internals that don't exist in React 16.
| "dependencies": { | ||
| "react": "16.0.0-alpha.12", | ||
| "react-native": "0.48.4", | ||
| "react-native": "0.69.12", |
There was a problem hiding this comment.
Start script references removed local-cli path
High Severity
The start script references node_modules/react-native/local-cli/cli.js, but the local-cli directory was removed from react-native in version 0.69. The CLI was moved to the @react-native-community/cli package, so this script will fail with a "module not found" error. The script needs updating to work with the new CLI structure.


Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
examples/SafariViewExample/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-TAR-15416075
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:
🦉 Symlink Attack
Note
Medium Risk
Large
react-nativeversion jump in the example app may introduce build/runtime incompatibilities and likely requires related dependency/lockfile updates not included in this PR.Overview
Updates the
SafariViewExampleexample app to usereact-native0.69.12(from0.48.4) to address a reported dependency vulnerability.Written by Cursor Bugbot for commit 8fb8ee3. This will update automatically on new commits. Configure here.