[Snyk] Security upgrade react-native from 0.48.4 to 0.69.12#18
[Snyk] Security upgrade react-native from 0.48.4 to 0.69.12#18MHxGH-ServiceAccount wants to merge 1 commit into
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AJV-15274295
✅ 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. |
|
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.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 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.
React Native and React versions are incompatible
Medium Severity
react-native was upgraded to 0.69.12 but react remains 16.0.0-alpha.12. react-native@0.69 expects a React 18 peer, so this dependency set is inconsistent and can break install resolution or runtime behavior in examples/SafariViewExample/package.json.
Additional Locations (1)
| "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 targets removed React Native CLI
Medium Severity
After upgrading to react-native@0.69.12, the start script still executes node_modules/react-native/local-cli/cli.js. That legacy CLI path is no longer used in newer React Native, so yarn start in examples/SafariViewExample/package.json can fail immediately.
Additional Locations (1)
| "dependencies": { | ||
| "react": "16.0.0-alpha.12", | ||
| "react-native": "0.48.4", | ||
| "react-native": "0.69.12", |
There was a problem hiding this comment.
Lockfile still pins old React Native
Medium Severity
package.json now requests react-native@0.69.12, but examples/SafariViewExample/yarn.lock still resolves react-native@0.48.4. In lockfile-driven installs, the vulnerable version can remain in use or installs can fail under frozen lock settings, so the security upgrade is not reliably applied.


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-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 version jump in a core framework dependency (React Native) may break the example app/build tooling even though the change is confined to an example project.
Overview
Updates the
examples/SafariViewExampleapp’spackage.jsonto bumpreact-nativefrom0.48.4to0.69.12to address a dependency security finding.Written by Cursor Bugbot for commit 271bfb0. This will update automatically on new commits. Configure here.