rollup
4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed
Upgrading rollup From 1.20.3 to 1.21.0
1 release in betweenevery note read
Security
2 advisories still affect 1.21.0
- DOM Clobbering Gadget found in rollup bundled scripts that leads to XSShigh · GHSA-gcx4-mw62-g8wm
- Rollup 4 has Arbitrary File Write via Path Traversalhigh · GHSA-mw96-cpmx-2vgc
Upgrading to 2.80.0 clears them.
Release by release
- New
Respect
output.entryFileNameswhen preserving modules - New
Make accessing unknown globals a side-effect unless this is deactivated via
treeshake.unknownGlobalSideEffects - New
Respect global objects when checking for pure global functions
- New
Introduce a
typeto more easily distinguish chunks and assets in the output bundle - New
Add support for entryFileNames pattern used in combination with preserveModules option
- Fixed
Recover in watch mode when the initial build fails
- Fixed
Make sure
output.strictis respected for SystemJS output
- New
4 other lines we could not sort, mostly version bumps
- 1.21.0
Make accessing unknown globals a side-effect
- 1.21.0
OutputBundle Tagged union with 'type = chunk|asset'
- 1.21.0
Watch files onbuild, even if build fails
- 1.21.0
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.