rollup
4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed
2.80.0 is the newest release of 2.x.
In short
1 deprecated4 new3 fixed1 changed5 internal
- Deprecated
Deprecate hasModuleSideEffects in favor of moduleSideEffects and ensure it is mutable on ModuleInfo
Security
2 advisories affect 2.67.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-02-02
Features
Improve side effect detection when using Array.prototype.groupBy/groupByToMap
Allow changing
moduleSideEffectsat any time during the buildSoft-deprecate
ModuleInfo.hasModuleSideEffectsin favour ofModuleInfo.moduleSideEffects
Bug Fixes
Do not include queries and hashes in generated file names when preserving modules
Pull Requests
Add Array.prototype.groupBy/groupByToMap
More types
Remove acorn-walk patch
Ignore queries and hashes in file names when preserving modules
- Deprecated
Deprecate hasModuleSideEffects in favor of moduleSideEffects and ensure it is mutable on ModuleInfo
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.