Skip to content

[Snyk] Security upgrade react-native from 0.59.9 to 0.69.12#790

Open
gastonmorixe wants to merge 1 commit intomasterfrom
snyk-fix-c94968aaeaf4ed1f0e7276e8d073ba64
Open

[Snyk] Security upgrade react-native from 0.59.9 to 0.69.12#790
gastonmorixe wants to merge 1 commit intomasterfrom
snyk-fix-c94968aaeaf4ed1f0e7276e8d073ba64

Conversation

@gastonmorixe
Copy link
Copy Markdown
Member

snyk-top-banner

Snyk has created this PR to fix 2 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • Example/package.json

Note 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 run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Improper Handling of Unicode Encoding
SNYK-JS-TAR-15038581
  210  
medium severity Prototype Pollution
SNYK-JS-LODASH-15053838
  88  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

🦉 Prototype Pollution

Copilot AI review requested due to automatic review settings January 23, 2026 10:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades React Native from version 0.59.9 to 0.69.12 in the Example app to address security vulnerabilities related to lodash (Prototype Pollution) and tar (Improper Handling of Unicode Encoding). This represents a jump of approximately 10 major versions spanning over 3 years of development.

Changes:

  • React Native dependency upgraded from 0.59.9 to 0.69.12 in Example/package.json

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"dependencies": {
"react": "16.8.3",
"react-native": "0.59.9"
"react-native": "0.69.12"
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The react-test-renderer version (16.8.3) must match the React version. When React is upgraded to version 18.x to be compatible with React Native 0.69.12, react-test-renderer should also be updated to the same 18.x version.

Copilot uses AI. Check for mistakes.
"dependencies": {
"react": "16.8.3",
"react-native": "0.59.9"
"react-native": "0.69.12"
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The metro-react-native-babel-preset version (^0.51.1) is incompatible with React Native 0.69.12. This package should be updated to a version compatible with React Native 0.69, which would be around ^0.72.x or higher. Using an outdated babel preset will cause build failures.

Copilot uses AI. Check for mistakes.
Comment on lines 10 to +11
"react": "16.8.3",
"react-native": "0.59.9"
"react-native": "0.69.12"
Copy link

Copilot AI Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading React Native from 0.59.9 to 0.69.12 requires updating the React version from 16.8.3 to 18.x. React Native 0.69.x has a peer dependency on React 18.0.0 or higher. The current React version (16.8.3) is incompatible and will cause runtime errors.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants