Packages

rollup

4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed

Your version

2.24.0

13 Aug 2020Where it was published

2.80.0 is the newest release of 2.x.

In short

12 new5 fixed1 changed

Security

2 advisories affect 2.24.0; 2.80.0 fixes them

Release note

2020-08-13

Features

  • Allow defining interop per dependency via a function

  • Support interop "auto" as a more compatible version of "true"

  • Support interop "default" and "esModule" to avoid unnecessary interop helpers

  • Support interop "defaultOnly" for simplified helpers and Node ESM interop compatible output

  • Respect interop option for external dynamic imports

  • Support live-bindings for external default imports in non-ES formats unless "externalLiveBindings" is "false"

  • Use shared default interop helpers for AMD, UMD and IIFE formats

  • Avoid unnecessarily deconflicted module variables in non-ES formats

  • Freeze generated interop namespace objects

  • Always mark interop helpers as pure

  • Avoid default export interop if there is already an interop namespace object

  • Sort all require statements to the top in CommonJS output for easier back-transpilation to ES modules by other tools

Bug Fixes

  • Handle accessing super in static class fields

  • Deconflict the names of helper variables introduced for interop

  • Generate proper namespace objects for static namespace imports in non-ES formats

  • Do not add unused interop helpers when using the renderDynamicImport hook

Pull Requests

  • Rework interop handling

  • Handle super in static class fields

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.