rollup
4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed
Upgrading rollup From 1.30.0 to 1.32.1
5 releases in betweenevery note read
Security
2 advisories still affect 1.32.1
- 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
Add code to warning for missing output.name of IIFE bundles
- New
Add warning code for missing output.name of IIFE bundle that has export
- Fixed
Handle default export detection for AMD and IIFE externals that do not have a prototype
- Fixed
Handle missing whitespace when the else branch of an if-statement is simplified
- Fixed
Mention the importing module when reporting errors for missing named exports
- Fixed
Avoid invalid code when "else" branch is simplified
- New
- New
Allow adding plugins on the command line via
--plugin <plugin> - New
Introduce CLI --plugin support
- New
- Fixed
Make sure errored files are always re-evaluated in watch mode to avoid an issue in the typescript plugin
- Fixed
- New
Always disable tree-shaking for asm.js functions to maintain semantics
- New
- Fixed
Do not mistreat static entgry points as dynamic ones when chunking
- Fixed
Resolve a crash when chunking circular dynamic imports
- Fixed
8 other lines we could not sort, mostly version bumps
- 1.32.1
Missing exports errors now print the importing module
- 1.32.1
Structure lifecycle hooks, add links to build time hooks
- 1.32.1
Update generated code of getInteropBlock() to work with null prototype objects
- 1.32.0
Update resolveFileUrl docs
- 1.31.1
Adjust bug template to mention REPL.it
- 1.31.1
Run transform hooks again in watch mode on files that errored
- 1.31.0
Preserve asm.js code
- 1.30.1
#3357:Resolve issues with circular dynamic entries
3 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.