[Snyk] Security upgrade react-native from 0.48.4 to 0.69.12 - #17
MHxGH-ServiceAccount wants to merge 1 commit into
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-QS-14724253
✅ 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. |
|
This is a massive upgrade across more than 20 major versions, representing a fundamental migration rather than a simple update. The most significant breaking changes were introduced in version 0.60. Key Breaking Changes:
Source: React Native Blog: Announcing Version 0.60
|
| "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 for React Native 0.69
The react-native upgrade from 0.48.4 to 0.69.12 creates a peer dependency conflict. React Native 0.69 requires React 18.x, but the react dependency remains at 16.0.0-alpha.12. This version mismatch will cause installation failures due to unmet peer dependencies and runtime errors if installation proceeds. The react version needs to be upgraded to 18.0.0 or later to be compatible with react-native 0.69.12.
| "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 uses outdated CLI path
The start script references node_modules/react-native/local-cli/cli.js, but this path no longer exists in react-native 0.69.12. The CLI was extracted to @react-native-community/cli as part of the "Lean Core" initiative, and the 0.69.12 package exposes the CLI at ./cli.js in the package root, not in local-cli/. Running npm start or yarn start will fail with a "module not found" error after this upgrade.
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-QS-14724253
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:
🦉 Allocation of Resources Without Limits or Throttling
Note
Updates dependency in the example app.
react-nativeinexamples/SafariViewExample/package.jsonfrom0.48.4to0.69.12Written by Cursor Bugbot for commit f0cc424. This will update automatically on new commits. Configure here.