[Snyk] Security upgrade react-native from 0.83.0 to 0.84.0#553
[Snyk] Security upgrade react-native from 0.83.0 to 0.84.0#553
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116
There was a problem hiding this comment.
Pull request overview
This Snyk PR aims to remediate a reported yarn dependency vulnerability by upgrading React Native in the example workspace.
Changes:
- Bump
react-nativeinexample/package.jsonfrom0.83.0to0.84.0.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "@react-native/new-app-screen": "0.83.0", | ||
| "react": "19.2.3", | ||
| "react-native": "0.83.0", | ||
| "react-native": "0.84.0", |
There was a problem hiding this comment.
This bumps react-native to 0.84.0 in the workspace manifest, but the repo’s yarn.lock still resolves react-native to 0.83.0 (including for react-native-sensitive-info-example@workspace:example). As-is, CI/builds that rely on the committed lockfile won’t actually pick up 0.84.0 and the vulnerability fix may not apply. Please run yarn install (or the project’s standard install command) and commit the updated yarn.lock so it resolves react-native@0.84.0 for the example workspace (and ensure workspace constraints, e.g. root package.json, don’t keep it pinned to 0.83.x).
| "@react-native/new-app-screen": "0.83.0", | ||
| "react": "19.2.3", | ||
| "react-native": "0.83.0", | ||
| "react-native": "0.84.0", | ||
| "react-native-nitro-modules": "0.31.10", |
There was a problem hiding this comment.
After updating react-native to 0.84.0, this package.json still pins several React Native template/tooling packages to 0.83.0 (e.g. @react-native/new-app-screen here, and @react-native/* devDependencies below). Mixing these versions is likely to cause upgrade/Metro/Babel config inconsistencies. Consider upgrading the associated @react-native/* packages to their 0.84.x counterparts (or re-running the React Native upgrade/template update process) so the example app dependencies stay in sync.
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
example/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-INFLIGHT-6095116
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.