[Snyk] Fix for 3 vulnerabilities#21
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-XMLDOM-15869637 - https://snyk.io/vuln/SNYK-JS-LODASH-15869625 - https://snyk.io/vuln/SNYK-JS-LODASH-15869619
⛔ Snyk checks have failed. 5 issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
| "react": "16.13.1", | ||
| "react-coin-icon": "^0.1.19", | ||
| "react-native": "0.63.2", | ||
| "react-native": "0.69.12", |
There was a problem hiding this comment.
🔴 react-native 0.69.12 requires React 18 but React is still pinned to 16.13.1
react-native was bumped from 0.63.2 to 0.69.12, but react remains pinned at 16.13.1 (line 17) and react-test-renderer at 16.13.1 (line 36). React Native 0.69.12 has a peer dependency on react: 18.0.0. This version mismatch will cause peer dependency warnings and likely runtime failures, as React Native 0.69 relies on React 18 internals.
Prompt for agents
In Example/package.json, react-native was upgraded to 0.69.12 which requires react 18.0.0 as a peer dependency. The react version on line 17 needs to be updated from 16.13.1 to 18.0.0, and react-test-renderer on line 36 should also be updated to match (18.0.0). Other dependencies like react-native-reanimated (currently ^2.0.0-alpha.7) may also need version bumps to be compatible with React Native 0.69.
Was this helpful? React with 👍 or 👎 to provide feedback.
Snyk has created this PR to fix 3 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
Example/package.jsonExample/yarn.lockNote 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-XMLDOM-15869637
SNYK-JS-LODASH-15869625
SNYK-JS-LODASH-15869619
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:
🦉 Prototype Pollution
🦉 Arbitrary Code Injection
🦉 XML Injection