Skip to content

[Snyk] Security upgrade react-native from 0.44.0 to 0.69.12#18

Open
revan-zhang wants to merge 1 commit into
masterfrom
snyk-fix-a3d93899e65e5853e9b1c945b51a480b
Open

[Snyk] Security upgrade react-native from 0.44.0 to 0.69.12#18
revan-zhang wants to merge 1 commit into
masterfrom
snyk-fix-a3d93899e65e5853e9b1c945b51a480b

Conversation

@revan-zhang

Copy link
Copy Markdown

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):

  • measure/package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Inefficient Algorithmic Complexity
SNYK-JS-SHELLQUOTE-17457810
  710  

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


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.

@revan-zhang

Copy link
Copy Markdown
Author

Merge Risk: High

Upgrading from React Native 0.44.0 to 0.69.12 is a massive undertaking that involves significant breaking changes across the entire framework, build systems, and dependencies. This is not a simple version bump; it is a major project migration that will require extensive refactoring and testing.

Key Breaking Changes:

  • Build System & Autolinking (v0.60+): The manual react-native link command is deprecated. The upgrade introduces autolinking, which relies on CocoaPods for iOS and Gradle for Android to automatically link native dependencies. All existing manually linked libraries must be unlinked and projects must be reconfigured to use this new system.
  • AndroidX Migration (v0.60+): React Native has migrated from the Android Support Library to AndroidX. This is a mandatory and breaking change for all Android projects. All native code and third-party dependencies must also be migrated to AndroidX. A tool called jetifier can help automate parts of this for dependencies.
  • Core Component Extraction (v0.60+): Many APIs and components have been removed from the core library and extracted into community-managed packages. This includes WebView, NetInfo, and Geolocation. You will need to add these as separate dependencies and update your code to import them from their new locations.
  • React 18 & New Architecture (v0.69+): Version 0.69 introduces support for React 18 and the New Architecture (Fabric renderer and TurboModules). While the New Architecture is opt-in, React 18 is enabled by default and brings its own set of changes and improvements.
  • CLI Command Changes (v0.69+): The React Native CLI removed several commands, including link, unlink, install, and uninstall, in favor of autolinking and standard package manager workflows.

Recommendation:

A direct, in-place upgrade across this many versions is extremely high-risk and likely to fail. The recommended approach is:

  1. Use the React Native Upgrade Helper web tool to see the code-level changes between versions. However, it's best used for smaller increments.
  2. The most practical strategy is to create a new project using the target version (0.69.12) and systematically migrate your application source code, assets, and dependencies into the new project structure. This ensures you start with a clean, modern build configuration.
  3. Thoroughly audit all third-party dependencies for compatibility with React Native 0.69 and AndroidX.

Source: React Native 0.60 Release Notes, React Native 0.69 Release Notes, React Native Upgrade Helper

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@revan-zhang

revan-zhang commented Jun 26, 2026

Copy link
Copy Markdown
Author

Snyk checks have failed. 5 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (5)
Open Source Security 0 3 2 0 5 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​react-native@​0.44.0 ⏵ 0.69.1298 +110099 +21100 +50100

View full report

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