rollup
4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed
Upgrading rollup From 3.9.1 to 3.10.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 4
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking3.10.0
Security
2 advisories still affect 3.10.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 3.30.0 clears them.
Release by release
- Breaking
Remove default acorn options + other fixes
- New
Add information about the resolving plugin to resolved ids
- New
Improve treeshaking for optional chaining when the root is nullish
- New
Add
resolvedByfield toResolvedId - New
Treeshake for optional chaining
- Fixed
Remove unnecessary internal defaults for acorn options
- Fixed
Import can be shortened
- Breaking
1 other line we could not sort, mostly version bumps
- 3.10.0
Use @jridgewell/sourcemap-codec
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.