Packages

rollup

4.68.5 · 17 Nov 2026MIT170.6M / weekRepositoryHomepagenpmAtom feed

Your version

4.22.0

19 Sep 2024Where it was published

4.68.8 is the newest release of 4.x.

In short

2 new4 fixed1 changed4 internal

Security

2 advisories affect 4.22.0; 4.59.0 fixes them

Release note

2024-09-19

Features

  • Add additional known global values to avoid access side effects

Bug Fixes

  • Ensure deterministic chunk hash generation despite async renderChunk hook

  • Improve side effect detection when using "smallest" treeshaking preset when imports are optimized away

Pull Requests

  • Apply final hashes deterministically with stable placeholders set (@mattkubej, @lukastaegert)

  • Add AggregateError, FinalizationRegistry, WeakRef to knownGlobals

  • Fix example selection in REPL

  • Detect variable reassignments in modules without side effects

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.