rollup
4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed
Upgrading rollup From 4.21.3 to 4.22.0
1 release in betweenevery note read
Security
2 advisories still affect 4.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 4.59.0 clears them.
Release by release
- New
Add additional known global values to avoid access side effects
- New
Add
AggregateError,FinalizationRegistry,WeakRefto knownGlobals - Fixed
Ensure deterministic chunk hash generation despite async renderChunk hook
- Fixed
Improve side effect detection when using "smallest" treeshaking preset when imports are optimized away
- Fixed
Apply final hashes deterministically with stable placeholders set (@mattkubej, @lukastaegert)
- Fixed
Fix example selection in REPL
- New
1 other line we could not sort, mostly version bumps
- 4.22.0
Detect variable reassignments in modules without side effects
4 internal lines (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.