Skip to content

[Snyk] Security upgrade react-native from 0.20.0 to 0.69.12#21

Open
Ingridaceg wants to merge 1 commit intomasterfrom
snyk-fix-4b38ec3f56bee0e811dd36fa2a7ce636
Open

[Snyk] Security upgrade react-native from 0.20.0 to 0.69.12#21
Ingridaceg wants to merge 1 commit intomasterfrom
snyk-fix-4b38ec3f56bee0e811dd36fa2a7ce636

Conversation

@Ingridaceg
Copy link

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • examples/SampleRN20/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Improper Handling of Unexpected Data Type
SNYK-JS-ONHEADERS-10773729
  516  

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.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Bug: React Native CLI Path Update Needed

The start script in package.json references the deprecated React Native CLI path node_modules/react-native/local-cli/cli.js. This path was removed in React Native 0.60+ and is incompatible with version 0.69.12, causing the script to fail. The CLI was restructured and moved to a separate package, and should be updated to use npx react-native start.

examples/SampleRN20/package.json#L5-L9

"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"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