Packages

rollup

4.68.5 · 17 Nov 2026MIT169.3M / weekRepositoryHomepagenpmAtom feed

Your version

1.25.0

18 Oct 2019Where it was published

1.32.1 is the newest release of 1.x.

In short

4 new5 fixed1 changed

Security

2 advisories affect 1.25.0; 2.80.0 fixes them

Release note

2019-10-18

Features

  • Remove try-catch if there is no side-effect in the try-block

  • Omit side-effect-free trailing cases in switch-statements

  • Remove unused labels

Bug Fixes

  • Do not remove code after labeled statements that contain a throw or return if the label is used

  • Prevent invalid code when expressions are simplified that do not follow a white-space character

  • Do not remove continue statements inside switch statements

  • Prevent trailing empty lines when tree-shaking inside switch statements

Pull Requests

  • Better try statement tree shaking

  • Handle optional control flow in labeled statements, remove unused labels

  • Add missing spaces in certain statements and expressions to avoid invalid code

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.