Packages

rollup

4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed

Your version

4.40.0

12 Apr 2025Where it was published

4.68.8 is the newest release of 4.x.

In short

3 new5 fixed2 changed6 internal

Security

1 advisory affects 4.40.0; 4.59.0 fixes them

Release note

2025-04-12

Features

  • Only show eval warnings on first render and only when the call is not tree-shaken

  • Tree-shake non-included dynamic import members when the handler just maps to one named export

Bug Fixes

  • Consider dynamic imports nested within top-level-awaited dynamic import expressions to be awaited as well

  • Fix namespace rendering when tree-shaking is disabled

  • When using multiple transform hook filters, all of them need to be satisfied together

Pull Requests

  • Warn when eval or namespace calls are rendered, not when they are parsed (@SunsetFi, @lukastaegert)

  • Treeshake dynamic import chained member expression (@privatenumber, @lukastaegert)

  • Consider the dynamic import within a TLA call expression as a TLA import

  • Fix treeshake: false breaking destructured namespace imports

  • Correct the behavior when multiple transform filter options are specified

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.