rollup
4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed
4.68.8 is the newest release of 4.x.
In short
5 fixed2 changed2 internal
Security
2 advisories affect 4.21.1; 4.59.0 fixes them
- HighRollup 4 has Arbitrary File Write via Path TraversalGHSA-mw96-cpmx-2vgc · 25 Feb 2026Fixed in 4.59.0
- HighDOM Clobbering Gadget found in rollup bundled scripts that leads to XSSGHSA-gcx4-mw62-g8wm · 23 Sep 2024Fixed in 4.22.4
Release note
2024-08-26
Bug Fixes
Ensure
closeWatcherhook is called when watch mode is aborted via Ctrl+CDo not produce invalid code for
import.meta.urlin compact modeDo not throw when generating chunk names when preserving modules in Windows
Pull Requests
Preload the WASM file even though the version is undefined.
Call and await closeWatcher hooks on exit signals
Add space for DOCUMENT_CURRENT_SCRIPT template
Get the right chunk name for preserve modules in Windows (@TrickyPi, @lukastaegert)
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.