Skip to content

[Snyk] Security upgrade rimraf from 3.0.2 to 6.1.1#359

Open
anaconda-security-bot wants to merge 1 commit into
mainfrom
snyk-fix-9703d708cea7919323d8fd07d60fcab7
Open

[Snyk] Security upgrade rimraf from 3.0.2 to 6.1.1#359
anaconda-security-bot wants to merge 1 commit into
mainfrom
snyk-fix-9703d708cea7919323d8fd07d60fcab7

Conversation

@anaconda-security-bot

Copy link
Copy Markdown

snyk-top-banner

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

Snyk changed the following file(s):

  • ui-tests/package.json
  • ui-tests/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.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Infinite loop
SNYK-JS-BRACEEXPANSION-15789759
  713  

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.

@anaconda-security-bot

Copy link
Copy Markdown
Author

Merge Risk: High

This is a major version upgrade from v3 to v6, which includes multiple significant breaking changes.

Key Breaking Changes:

  • v6.0: The package is now ESM-only. Projects using require('rimraf') must be updated to use import { rimraf } from 'rimraf'. Additionally, the default export has been removed in favor of named exports.
  • v6.0: Drops support for Node.js versions below 18.
  • v5.0: Drops support for Node.js versions below 16. The return value for rimraf() and rimraf.sync() is now a boolean indicating success.
  • v4.0: The asynchronous function now returns a Promise instead of accepting a callback. Glob patterns are no longer enabled by default and require the glob: true option. Support for Node.js versions below 14 was dropped.

Recommendation: This upgrade requires significant code modifications. You must update your module loading from require to import. You should also verify any usage of glob patterns to ensure the { glob: true } option is specified, and check code that relies on the function's return value or callback behavior. Finally, ensure your environment is running Node.js v18 or newer.

Source: Package documentation

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

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