rollup
4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed
Upgrading rollup From 1.21.4 to 1.22.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 3
- new
- 3
- fixes
Before you upgrade
Tick each one off as you go- Breaking1.22.0
Security
2 advisories still affect 1.22.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
- Breaking
Remove Symbol polyfill in module namespaces
- New
Add a new "hidden" sourcemap type that generates the map files but omits the sourcemap comment
- New
Generate more efficient code when using
namespaceToStringTag: true - New
Make sure namespace objects do not have a prototype
- Fixed
Do not ignore side-effectful iterators by always preserving for..of loops for now
- Fixed
Make sure
--contextis observed as a CLI option - Fixed
Do not require specific versions for @types dependencies
- Breaking
5 other lines we could not sort, mostly version bumps
- 1.22.0
Generate sourcemaps but omit the comment
- 1.22.0
Use asterisk for @types/* dependencies
- 1.22.0
Preserve empty for...of loops
- 1.22.0
Wire up --context CLI flag
- 1.22.0
Set null prototype on namespace objects
1 internal line (docs, tests, tooling) left out.
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.