Packages

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

Other targets from 1.21.4Newest 1.x1.32.1Clears its 2 advisories2.80.0Latest4.68.5
  1. 1.21.4yours
  2. 1.22.0target
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

Upgrading to 2.80.0 clears them.

Release by release

  1. 1.22.0

    Migration needed29 Sep 20193 new · 3 fixes
    • 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 --context is observed as a CLI option

    • Fixed

      Do not require specific versions for @types dependencies

5 other lines we could not sort, mostly version bumps
  • 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.22.0

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.