rollup
4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed
1.32.1 is the newest release of 1.x.
In short
5 new2 fixed4 changed
Security
2 advisories affect 1.21.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-09-08
Features
Respect
output.entryFileNameswhen preserving modulesMake accessing unknown globals a side-effect unless this is deactivated via
treeshake.unknownGlobalSideEffectsRespect global objects when checking for pure global functions
Introduce a
typeto more easily distinguish chunks and assets in the output bundle
Bug Fixes
Recover in watch mode when the initial build fails
Make sure
output.strictis respected for SystemJS output
Pull Requests
Make accessing unknown globals a side-effect
OutputBundle Tagged union with 'type = chunk|asset'
Watch files onbuild, even if build fails
Add support for entryFileNames pattern used in combination with preserveModules option
Remove 'use strict'; from systemjs when strict=false
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.