rollup
4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed
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
- HighRollup 4 has Arbitrary File Write via Path TraversalGHSA-mw96-cpmx-2vgc · 25 Feb 2026Fixed in 2.80.0
- HighDOM Clobbering Gadget found in rollup bundled scripts that leads to XSSGHSA-gcx4-mw62-g8wm · 23 Sep 2024Fixed in 2.79.2
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
requirestatements to the top in CommonJS output for easier back-transpilation to ES modules by other tools
Bug Fixes
Handle accessing
superin static class fieldsDeconflict 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.