Skip to content

[Snyk] Upgrade rollup from 4.22.4 to 4.40.0 #277

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented May 10, 2025

snyk-top-banner

Snyk has created this PR to upgrade rollup from 4.22.4 to 4.40.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 53 versions ahead of your current version.

  • The recommended version was released a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
169 Proof of Concept
Release notes
Package name: rollup
  • 4.40.0 - 2025-04-12

    4.40.0

    2025-04-12

    Features

    • Only show eval warnings on first render and only when the call is not tree-shaken (#5892)
    • Tree-shake non-included dynamic import members when the handler just maps to one named export (#5898)

    Bug Fixes

    • Consider dynamic imports nested within top-level-awaited dynamic import expressions to be awaited as well (#5900)
    • Fix namespace rendering when tree-shaking is disabled (#5908)
    • When using multiple transform hook filters, all of them need to be satisfied together (#5909)

    Pull Requests

  • 4.39.0 - 2025-04-02

    4.39.0

    2025-04-02

    Features

    • Do not create separate facade chunks if a chunk would contain several entry modules that allow export extension if there are no export name conflicts (#5891)

    Bug Fixes

    • Mark the id property as optional in the filter for the resolveId hook (#5896)

    Pull Requests

  • 4.38.0 - 2025-03-29

    4.38.0

    2025-03-29

    Features

    • Support .filter option in resolveId, load and transform hooks (#5882)

    Pull Requests

  • 4.37.0 - 2025-03-23

    4.37.0

    2025-03-23

    Features

    • Support Musl Linux on Riscv64 architectures (#5726)
    • Handles class decorators placed before the export keyword (#5871)

    Bug Fixes

    • Log Rust panic messages to the console when using the WASM build (#5875)

    Pull Requests

  • 4.36.0 - 2025-03-17

    4.36.0

    2025-03-17

    Features

    • Extend renderDynamicImport hook to provide information about static dependencies of the imported module (#5870)
    • Export several additional types used by Vite (#5879)

    Bug Fixes

    • Do not merge chunks if that would create a top-level await cycle between chunks (#5843)

    Pull Requests

  • 4.35.0 - 2025-03-08

    4.35.0

    2025-03-08

    Features

    • Pass build errors to the closeBundle hook (#5867)

    Pull Requests

  • 4.34.9 - 2025-03-01

    4.34.9

    2025-03-01

    Bug Fixes

    • Support JSX modes in WASM (#5866)
    • Allow the CustomPluginOptions to be extended (#5850)

    Pull Requests

  • 4.34.8 - 2025-02-17

    4.34.8

    2025-02-17

    Bug Fixes

    • Do not make assumptions about the value of nested paths in logical expressions if the expression cannot be simplified (#5846)

    Pull Requests

    • #5846: return UnknownValue if the usedbranch is unkown and the path is not empty (@ TrickyPi)
  • 4.34.7 - 2025-02-14

    4.34.7

    2025-02-14

    Bug Fixes

    • Ensure that calls to parameters are included correctly when using try-catch deoptimization (#5842)

    Pull Requests

  • 4.34.6 - 2025-02-07

    4.34.6

    2025-02-07

    Bug Fixes

    • Retain "void 0" in the output for smaller output and fewer surprises (#5838)

    Pull Requests

  • 4.34.5 - 2025-02-07
  • 4.34.4 - 2025-02-05
  • 4.34.3 - 2025-02-05
  • 4.34.2 - 2025-02-04
  • 4.34.1 - 2025-02-03
  • 4.34.0 - 2025-02-01
  • 4.33.0 - 2025-02-01
  • 4.33.0-0 - 2025-01-28
  • 4.32.1 - 2025-01-28
  • 4.32.0 - 2025-01-24
  • 4.31.0 - 2025-01-19
  • 4.31.0-0 - 2025-01-14
  • 4.30.1 - 2025-01-07
  • 4.30.0 - 2025-01-06
  • 4.30.0-1 - 2024-12-30
  • 4.30.0-0 - 2024-12-21
  • 4.29.2 - 2025-01-05
  • 4.29.1 - 2024-12-21
  • 4.29.0 - 2024-12-20
  • 4.29.0-2 - 2024-12-20
  • 4.29.0-1 - 2024-12-19
  • 4.29.0-0 - 2024-12-16
  • 4.28.1 - 2024-12-06
  • 4.28.0 - 2024-11-30
  • 4.27.4 - 2024-11-23
  • 4.27.3 - 2024-11-18
  • 4.27.2 - 2024-11-15
  • 4.27.1 - 2024-11-15
  • 4.27.1-1 - 2024-11-15
  • 4.27.1-0 - 2024-11-15
  • 4.27.0 - 2024-11-15
  • 4.27.0-1 - 2024-11-14
  • 4.27.0-0 - 2024-11-13
  • 4.26.0 - 2024-11-13
  • 4.25.0 - 2024-11-09
  • 4.25.0-0 - 2024-10-29
  • 4.24.4 - 2024-11-04
  • 4.24.3 - 2024-10-29
  • 4.24.2 - 2024-10-27
  • 4.24.1 - 2024-10-27
  • 4.24.0 - 2024-10-02
  • 4.23.0 - 2024-10-01
  • 4.22.5 - 2024-09-27
  • 4.22.4 - 2024-09-21
from rollup GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Bug Fixes:

  • Fixes a Regular Expression Denial of Service (ReDoS) vulnerability in cross-spawn

Snyk has created this PR to upgrade rollup from 4.22.4 to 4.40.0.

See this package in npm:
rollup

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/cff36355-d877-492a-a8fd-40687822fe66?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented May 10, 2025

Reviewer's Guide

This pull request upgrades the rollup dependency from version 4.22.4 to 4.40.0 in tools/lint-md/package.json. The update addresses a Regular Expression Denial of Service (ReDoS) vulnerability (SNYK-JS-CROSSSPAWN-8303230) and brings in features and bug fixes from 53 intermediate versions.

File-Level Changes

Change Details Files
Upgraded rollup dependency to address a security vulnerability and incorporate new features and bug fixes.
  • Updated rollup version from 4.22.4 to 4.40.0.
  • Resolved SNYK-JS-CROSSSPAWN-8303230 (Regular Expression Denial of Service vulnerability).
  • Incorporated multiple new features such as improved tree-shaking for dynamic imports and enhanced hook functionalities (resolveId, load, transform).
  • Included various bug fixes related to dynamic imports, namespace rendering, and transform hook filters.
tools/lint-md/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

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