rollup
4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed
2.80.0 is the newest release of 2.x.
In short
3 new2 fixed4 changed2 internal
Security
2 advisories affect 2.69.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
2022-03-02
Features
Introduce new
output.generatedCode.symbolsto control the usage of Symbols in Rollup-generated codesoft-deprecate
output.namespaceToStringTagin favor ofoutput.generatedCode.symbols
Bug Fixes
Properly handle
./and../as external dependenciesMake generated "Module" namespace toStringTag non-enumerable for correct Object.assign/spread behaviour
Add file name to error when top-level-await is used in disallowed formats
Pull Requests
Make namespace @@toStringTag "Module" non-enumerable (@dnalborczyk and @lukastaegert)
Properly handle upper directories as external dependencies
Improve the error prompt and output the error file name
Update 999-big-list-of-options.md
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.