Skip to content

Conversation

@shivpathak-teg
Copy link

snyk-top-banner

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

Snyk changed the following file(s):

  • example/package.json
  • example/yarn.lock

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.


Merge Risk: High

This major upgrade from v3.4.0 to v5.0.0 includes breaking changes from two major versions (v4 and v5) of react-scripts. It introduces significant updates to core build-tooling, including Webpack 5, which requires careful dependency review.

Highlights:

  • Webpack 5 Polyfills Removed: Webpack 5 no longer automatically includes polyfills for Node.js core modules. Dependencies that rely on modules like buffer, crypto, or stream for browser usage will cause the build to fail. [1, 7] You must replace these dependencies with browser-compatible alternatives.
  • Dependency & Environment Upgrades: Support for Node.js versions 10 and 12 is dropped. [1, 2] The upgrade also includes major version bumps for Jest (v24 to v27), ESLint (v6 to v8), and PostCSS. [1, 4, 11]

Source: Package documentation
Recommendation: Audit all dependencies for usage of Node.js core modules. Update or replace incompatible packages and ensure your development and CI/CD environments are running a supported version of Node.js before merging.

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
high severity Uncontrolled Recursion
SNYK-JS-NODEFORGE-14125745
  721  
medium severity Integer Overflow or Wraparound
SNYK-JS-NODEFORGE-14125097
  601  

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.

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.

3 participants