Skip to content

[Snyk] Security upgrade react-native from 0.48.4 to 0.69.12 - #14

Open
ukn wants to merge 1 commit into
masterfrom
snyk-fix-dd3c3893b70911fd01cbd101be946f96
Open

ukn wants to merge 1 commit into
masterfrom
snyk-fix-dd3c3893b70911fd01cbd101be946f96

Conversation

@ukn

@ukn ukn commented Jul 20, 2025

Copy link
Copy Markdown

snyk-top-banner

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.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
critical severity Predictable Value Range from Previous Values
SNYK-JS-FORMDATA-10841150
  251  

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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: React Native Upgrade Breaks Compatibility

The upgrade of react-native to 0.69.12 introduces two issues:

  1. React Version Incompatibility: The react dependency remains at 16.0.0-alpha.12, which is incompatible with react-native 0.69.12 (requiring react 18.x). This will lead to build or runtime errors.
  2. Broken Start Script: The start script uses the deprecated node_modules/react-native/local-cli/cli.js path. This CLI path was removed in React Native 0.60+ (replaced by @react-native-community/cli), causing the start command to fail.

examples/SafariViewExample/package.json#L6-L11

"postinstall": "rm -rf node_modules/react-native-safari-view/{node_modules,examples}",
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"react": "16.0.0-alpha.12",
"react-native": "0.69.12",

Fix in CursorFix in Web


Was this report helpful? Give feedback by reacting with 👍 or 👎

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.

2 participants