rollup
4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed
2.80.0 is the newest release of 2.x.
In short
6 new1 internal
Security
2 advisories affect 2.52.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
2021-06-16
Features
Add
--configPluginCLI option to apply plugins to the config file for e.g. TypeScript configsAdd "safest" and "smallest" presets to tree-shaking options for easier configuration
Add
treeshake.correctVarValueBeforeDeclarationoption to deoptimizevardeclarations
Pull Requests
Add typescript config support
Add presets to the tree-shaking options
Add option to deoptimize var declarations for tree-shaking
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.