[Snyk] Security upgrade react-native from 0.73.7 to 0.74.0#709
[Snyk] Security upgrade react-native from 0.73.7 to 0.74.0#709revan-zhang wants to merge 1 commit intoonekeyfrom
Conversation
…lnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-FASTXMLPARSER-15699647
✅ Snyk checks have passed. No 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.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| "react-dom": "18.2.0", | ||
| "react-intl": "^6.6.2", | ||
| "react-native": "0.73.7", | ||
| "react-native": "0.74.0", |
There was a problem hiding this comment.
React Native 0.74 incompatible with Expo SDK 50
High Severity
Upgrading react-native to 0.74.0 while expo remains at ^50.0.20 will break the build. Expo SDK 50 only supports React Native 0.73.x; React Native 0.74 requires Expo SDK 51. Additionally, react-native-reanimated at ~3.6.2 does not support React Native 0.74 — its compatibility range tops out at 0.73. These version mismatches will cause build or runtime failures.
Additional Locations (1)
| "react-dom": "18.2.0", | ||
| "react-intl": "^6.6.2", | ||
| "react-native": "0.73.7", | ||
| "react-native": "0.74.0", |
There was a problem hiding this comment.
🟡 @types/react-native not updated to match new react-native version
The PR bumps react-native from 0.73.7 to 0.74.0 (line 68) but does not update @types/react-native which remains at ~0.73.0 (line 95). This version mismatch means the type definitions will correspond to the 0.73.x API surface rather than 0.74.x, potentially causing incorrect type checking — either missing new APIs or referencing removed/changed ones.
Prompt for agents
In packages/connect-examples/expo-example/package.json, update the @types/react-native version in devDependencies (line 95) from ~0.73.0 to ~0.74.0 to match the react-native runtime version being bumped to 0.74.0 on line 68. Note: React Native 0.74 may ship its own types, in which case the @types/react-native dependency may no longer be needed at all — check whether the built-in types from react-native 0.74.0 are sufficient and remove the @types/react-native devDependency if so.
Was this helpful? React with 👍 or 👎 to provide feedback.


Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):
packages/connect-examples/expo-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-FASTXMLPARSER-15699647
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.
Note
Medium Risk
Dependency upgrade in a React Native/Expo app can introduce runtime or native build regressions, but the diff is limited to a single version bump in
package.json.Overview
Updates the
expo-exampleapp dependency onreact-nativefrom0.73.7to0.74.0to address a reported vulnerability via a security upgrade.Written by Cursor Bugbot for commit 61a9708. This will update automatically on new commits. Configure here.