rollup
4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed
1.32.1 is the newest release of 1.x.
In short
4 new5 fixed1 changed
Security
2 advisories affect 1.25.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
2019-10-18
Features
Remove try-catch if there is no side-effect in the try-block
Omit side-effect-free trailing cases in switch-statements
Remove unused labels
Bug Fixes
Do not remove code after labeled statements that contain a throw or return if the label is used
Prevent invalid code when expressions are simplified that do not follow a white-space character
Do not remove continue statements inside switch statements
Prevent trailing empty lines when tree-shaking inside switch statements
Pull Requests
Better try statement tree shaking
Handle optional control flow in labeled statements, remove unused labels
Add missing spaces in certain statements and expressions to avoid invalid code
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.