rollup
4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed
2.80.0 is the newest release of 2.x.
In short
3 new7 fixed2 changed3 internal
Security
2 advisories affect 2.57.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
2021-09-22
Features
Add
generatedCodeoption to allow Rollup to use es2015 features for smaller output and more efficient helpersImprove AMD and SystemJS parsing performance by wrapping relevant functions in parentheses
Using
preferConstwill now show a warning withstrictDeprecations: true
Bug Fixes
Improve ES3 syntax compatibility by more consequently quoting reserved words as props in generated code
Do not use
Object.assignin generated code to ensure ES5 compatibility without the need for polyfillsSupport live-bindings in dynamic namespace objects that contain reexported external or synthetic namespaces
Use correct "this" binding in dynamic import expressions for CommonJS and AMD
Properly handle
shimMissingExportsfor exports that are only used internallyPrevent unhandled rejection for failed module parsing
Pull Requests
Use ES2015 features in generated code snippets
Prepare for useDefineForClassFields
Prevent UnhandledPromiseRejectionWarning when module resolution/parsing fails
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.