Packages

rollup

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

Your version

2.57.0

22 Sep 2021Where it was published

2.80.0 is the newest release of 2.x.

In short

3 new7 fixed2 changed3 internal

Security

2 advisories affect 2.57.0; 2.80.0 fixes them

Release note

2021-09-22

Features

  • Add generatedCode option to allow Rollup to use es2015 features for smaller output and more efficient helpers

  • Improve AMD and SystemJS parsing performance by wrapping relevant functions in parentheses

  • Using preferConst will now show a warning with strictDeprecations: true

Bug Fixes

  • Improve ES3 syntax compatibility by more consequently quoting reserved words as props in generated code

  • Do not use Object.assign in generated code to ensure ES5 compatibility without the need for polyfills

  • Support live-bindings in dynamic namespace objects that contain reexported external or synthetic namespaces

  • Use correct "this" binding in dynamic import expressions for CommonJS and AMD

  • Properly handle shimMissingExports for exports that are only used internally

  • Prevent unhandled rejection for failed module parsing

Pull Requests

  • Use ES2015 features in generated code snippets

  • Prepare for useDefineForClassFields

  • Prevent UnhandledPromiseRejectionWarning when module resolution/parsing fails

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.