Skip to content

Conversation

@snyk-io
Copy link

@snyk-io snyk-io bot commented Dec 6, 2025

snyk-top-banner

Snyk has created this PR to fix 5 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • example/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.

Merge Risk: High

This upgrade introduces significant breaking changes, primarily from the React Native 0.72 update. Key changes include the removal of core components, a required Node.js version bump, and the renaming of several core and babel-related packages.

Top Breaking Changes:

  • react-native 0.71.0 → 0.72.0 (High): This update removes deprecated components and requires configuration changes.

    • Highlights:
      • Core components Slider, DatePickerIOS, and ProgressViewIOS have been removed. Developers must migrate to community packages like @react-native-community/slider.
      • The metro.config.js file format has been updated and requires modification.
    • Recommendation: Audit code for removed components and update the Metro configuration file before merging.
  • metro-react-native-babel-preset 0.73.5 → 0.77.0 (Medium): This package is now deprecated and has been renamed.

    • Summary: The package metro-react-native-babel-preset has been replaced by @react-native/babel-preset to align with other scope changes in React Native 0.72.
    • Recommendation: Update your babel.config.js to use module:@react-native/babel-preset instead of the old package name.
  • babel-plugin-module-resolver 4.1.0 → 5.0.1 (Medium): This major version bump drops support for older Node.js versions.

    • Summary: Version 5.0.0 requires Node.js 16 or newer, which is consistent with the requirement from React Native 0.72.
    • Recommendation: Ensure the development and CI/CD environments are running Node.js v16 or higher.

Additional Upgrades:

  • @babel/runtime 7.21.0 → 7.26.10 (low): No breaking changes identified in this minor update.

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


Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
  690  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BABELHELPERS-9397697
  570  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BABELRUNTIME-10044504
  570  
medium severity Missing Release of Resource after Effective Lifetime
SNYK-JS-INFLIGHT-6095116
  535  
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
  340  

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:

🦉 Regular Expression Denial of Service (ReDoS)

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.

0 participants