apollographql / apollo-link

:link: Interface for fetching and modifying control flow of GraphQL requests
https://www.apollographql.com/docs/link/
MIT License
1.44k stars 344 forks source link

chore(deps): update dependency rollup to v2 #1311

Open renovate[bot] opened 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
rollup (source) devDependencies major 1.32.1 -> 2.22.1

Release Notes

rollup/rollup ### [`v2.22.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2221) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.22.0...v2.22.1) _2020-07-18_ ##### Bug Fixes - Remove unused arguments when calling a conditional expression ([#​3680](https://togithub.com/rollup/rollup/issues/3680)) ##### Pull Requests - [#​3680](https://togithub.com/rollup/rollup/pull/3680): Allow tree-shaking of arguments of functions that are returned by conditional expressions ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.22.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2220) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.21.0...v2.22.0) _2020-07-18_ ##### Features - Allow resolving snythetic named exports via an arbitrary export name ([#​3657](https://togithub.com/rollup/rollup/issues/3657)) - Display a warning when the user does not explicitly select an export mode and would generate a chunk with default export mode when targeting CommonJS ([#​3657](https://togithub.com/rollup/rollup/issues/3657)) ##### Pull Requests - [#​3657](https://togithub.com/rollup/rollup/pull/3657): Add basic support for using a non-default export for syntheticNamedExports ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3659](https://togithub.com/rollup/rollup/pull/3659): Warn when implicitly using default export mode ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.21.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2210) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.20.0...v2.21.0) _2020-07-07_ ##### Features - Allow plugins to disable tree-shaking for individual modules to ensure even empty modules are associated with chunks ([#​3663](https://togithub.com/rollup/rollup/issues/3663)) ##### Pull Requests - [#​3663](https://togithub.com/rollup/rollup/pull/3663): Disable treeshaking per module ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.20.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2200) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.19.0...v2.20.0) _2020-07-06_ ##### Features - Support using a function to generate different chunk and asset naming patterns per chunk or asset ([#​3658](https://togithub.com/rollup/rollup/issues/3658)) - Add `referencedFiles` property to the chunk info in generateBundle to list referenced assets ([#​3661](https://togithub.com/rollup/rollup/issues/3661)) ##### Pull Requests - [#​3658](https://togithub.com/rollup/rollup/pull/3658): Add ability to use a function that returns a pattern string in all places where you could use a pattern string before ([@​frank-dspeed](https://togithub.com/frank-dspeed)) - [#​3661](https://togithub.com/rollup/rollup/pull/3661): Add referenced files to bundle ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.19.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2190) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.18.2...v2.19.0) _2020-07-05_ ##### Features - Allow plugins to return a Promise in the options hook ([#​3660](https://togithub.com/rollup/rollup/issues/3660)) ##### Pull Requests - [#​3660](https://togithub.com/rollup/rollup/pull/3660): Make options hooks async ([@​TomerAberbach](https://togithub.com/TomerAberbach)) ### [`v2.18.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2182) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.18.1...v2.18.2) _2020-07-02_ ##### Bug Fixes - Do not remove spread element args when the corresponding positional parameter is unused ([#​3652](https://togithub.com/rollup/rollup/issues/3652)) ##### Pull Requests - [#​3652](https://togithub.com/rollup/rollup/pull/3652): Do not tree-shake arguments that contain a spread element ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.18.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2181) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.18.0...v2.18.1) _2020-06-26_ ##### Bug Fixes - Make sure synthetic exports are present when a module is imported dynamically ([#​3648](https://togithub.com/rollup/rollup/issues/3648)) - Strip the `rollup-plugin-` prefix off the plugin name when looking for the plugin export in a CLI plugin without a default export ([#​3647](https://togithub.com/rollup/rollup/issues/3647)) - Convert plugin names with dashes to camel case when looking for the plugin export in a CLI plugin without a default export ([#​3647](https://togithub.com/rollup/rollup/issues/3647)) ##### Pull Requests - [#​3647](https://togithub.com/rollup/rollup/pull/3647): Strip rollup-plugin prefix to find named plugin exports, throw when export cannot be found ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3648](https://togithub.com/rollup/rollup/pull/3648): Always create a dynamic namespace object when a module with synthetic named exports is imported dynamically ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.18.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2180) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.17.1...v2.18.0) _2020-06-22_ ##### Features - `inlineDynamicImports`, `manualChunks` and `preserveModules` can now be used as output options ([#​3645](https://togithub.com/rollup/rollup/issues/3645)) - Use sourcemaps for certain warnings that reference source code locations ([#​3645](https://togithub.com/rollup/rollup/issues/3645)) ##### Bug Fixes - `this.getFileName` will now always return the correct file name for chunks when multiple outputs are created ([#​3645](https://togithub.com/rollup/rollup/issues/3645)) ##### Pull Requests - [#​3645](https://togithub.com/rollup/rollup/pull/3645): Per output chunking ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.17.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2171) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.17.0...v2.17.1) _2020-06-19_ ##### Bug Fixes - Properly resolve accessing properties of namespace members again ([#​3643](https://togithub.com/rollup/rollup/issues/3643)) ##### Pull Requests - [#​3643](https://togithub.com/rollup/rollup/pull/3643): Fix accessing nested properties of namespaces ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.17.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2170) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.16.1...v2.17.0) _2020-06-17_ ##### Features - When importing Rollup via package.exports, always fall back to the browser ESM build for non-Node environments ([#​3634](https://togithub.com/rollup/rollup/issues/3634)) - Create more efficient code when handling namespace mutations ([#​3637](https://togithub.com/rollup/rollup/issues/3637)) ##### Bug Fixes - Fix a severe performance regression when the same module is imported by a lot of modules ([#​3641](https://togithub.com/rollup/rollup/issues/3641)) - Properly escape special characters in imports ([#​3638](https://togithub.com/rollup/rollup/issues/3638)) ##### Pull Requests - [#​3634](https://togithub.com/rollup/rollup/pull/3634): Set browser build in exports ([@​guybedford](https://togithub.com/guybedford)) - [#​3637](https://togithub.com/rollup/rollup/pull/3637): Do not include the whole namespace when illegally mutating a namespace ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3638](https://togithub.com/rollup/rollup/pull/3638): Support backslash escaping, retain exact newline escaping ([@​guybedford](https://togithub.com/guybedford)) - [#​3641](https://togithub.com/rollup/rollup/pull/3641): Fix performance regression when a file is imported by many importers ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.16.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2161) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.16.0...v2.16.1) _2020-06-13_ ##### Bug Fixes - Do not produce invalid code when an external or chunk id contain quotes or line-breaks ([#​3632](https://togithub.com/rollup/rollup/issues/3632)) - Do not fail but emit a warning when mutating a namespace object ([#​3633](https://togithub.com/rollup/rollup/issues/3633)) ##### Pull Requests - [#​3632](https://togithub.com/rollup/rollup/pull/3632): Handle single quote escaping in ids ([@​guybedford](https://togithub.com/guybedford)) - [#​3633](https://togithub.com/rollup/rollup/pull/3633): Turn namespace assignment error into a warning ([@​guybedford](https://togithub.com/guybedford)) ### [`v2.16.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2160) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.15.0...v2.16.0) _2020-06-12_ ##### Features - Add support for numeric separators ([#​3626](https://togithub.com/rollup/rollup/issues/3626)) - Switch to finalized ESTree optional chaining AST ([#​3628](https://togithub.com/rollup/rollup/issues/3628)) ##### Pull Requests - [#​3626](https://togithub.com/rollup/rollup/pull/3626): Support numeric separator ([@​TrySound](https://togithub.com/TrySound)) - [#​3628](https://togithub.com/rollup/rollup/pull/3628): Acorn 7.3.0 upgrade ([@​guybedford](https://togithub.com/guybedford)) - [#​3631](https://togithub.com/rollup/rollup/pull/3631): Improve discoverability of `manualChunks` for code splitting ([@​zlamma](https://togithub.com/zlamma)) ### [`v2.15.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2150) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.14.0...v2.15.0) _2020-06-08_ ##### Features - Allow to skip watching some configs via `watch: false` ([#​3620](https://togithub.com/rollup/rollup/issues/3620)) - Provide the resolved sourcemap path to `sourcemapPathTransform` ([#​3617](https://togithub.com/rollup/rollup/issues/3617)) ##### Pull Requests - [#​3617](https://togithub.com/rollup/rollup/pull/3617): Update sourcemapPathTransform to also take the path to the sourcemap file as a second argument ([@​dgoldstein0](https://togithub.com/dgoldstein0)) - [#​3620](https://togithub.com/rollup/rollup/pull/3620): Rollup watch only one config in exported array ([@​luwol03](https://togithub.com/luwol03)) ### [`v2.14.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2140) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.13.1...v2.14.0) _2020-06-07_ ##### Features - Make `this.meta.watchMode` available for plugins to detect watch mode ([#​3616](https://togithub.com/rollup/rollup/issues/3616)) ##### Bug Fixes - Handle exporting the same binding with different names in SystemJS ([#​3575](https://togithub.com/rollup/rollup/issues/3575)) ##### Pull Requests - [#​3575](https://togithub.com/rollup/rollup/pull/3575): Handle some cases of duplicate export bindings ([@​joeljeske](https://togithub.com/joeljeske)) - [#​3616](https://togithub.com/rollup/rollup/pull/3616): Make watch mode available in plugins ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.13.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2131) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.13.0...v2.13.1) _2020-06-04_ ##### Bug Fixes - Prevent conflicts in SystemJS when `module` is used as a top-level variable ([#​3614](https://togithub.com/rollup/rollup/issues/3614)) ##### Pull Requests - [#​3614](https://togithub.com/rollup/rollup/pull/3614): Handle system reserved identifier dedupes ([@​guybedford](https://togithub.com/guybedford)) ### [`v2.13.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2130) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.12.1...v2.13.0) _2020-06-03_ ##### Features - Allow to specify that an emitted chunk is only loaded after a given module has loaded to improve chunking ([#​3606](https://togithub.com/rollup/rollup/issues/3606)) ##### Pull Requests - [#​3606](https://togithub.com/rollup/rollup/pull/3606): Enable specifying implicit dependencies when emitting chunks ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.12.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2121) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.12.0...v2.12.1) _2020-06-02_ ##### Bug Fixes - Render valid imports when chunk names correspond to directory names in virtual setups ([#​3609](https://togithub.com/rollup/rollup/issues/3609)) ##### Pull Requests - [#​3609](https://togithub.com/rollup/rollup/pull/3609): Handle imports from chunks with names that correspond to parent directory names of other chunks ([@​guybedford](https://togithub.com/guybedford)) ### [`v2.12.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2120) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.11.2...v2.12.0) _2020-05-31_ ##### Features - Add an option `--waitForBundleInput` to let the build wait until all entry point files are available before starting ([#​3577](https://togithub.com/rollup/rollup/issues/3577)) ##### Pull Requests - [#​3577](https://togithub.com/rollup/rollup/pull/3577): Wait for bundle input option ([@​Heerschop](https://togithub.com/Heerschop)) ### [`v2.11.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2112) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.11.1...v2.11.2) _2020-05-28_ ##### Bug Fixes - Include side-effects in the second argument of `Array.from` ([#​3604](https://togithub.com/rollup/rollup/issues/3604)) ##### Pull Requests - [#​3604](https://togithub.com/rollup/rollup/pull/3604): Mark `Array.from` as side-effectful, use two-argument Array.from when mapping Sets ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.11.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2111) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.11.0...v2.11.1) _2020-05-28_ ##### Bug Fixes - Also include side-effects in files that are marked as side-effect-free if they contain an included default export that is reexported ([#​3602](https://togithub.com/rollup/rollup/issues/3602)) ##### Pull Requests - [#​3602](https://togithub.com/rollup/rollup/pull/3602): Handle side-effects next to side-effect-free default exports in case the default export is reexported ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.11.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2110) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.9...v2.11.0) _2020-05-27_ ##### Features - Add basic support for optional chaining ([#​3582](https://togithub.com/rollup/rollup/issues/3582)) - Provide a normalized set of options with proper default values to `buildStart` and `renderStart` ([#​3597](https://togithub.com/rollup/rollup/issues/3597)) - Do not count adding properties to the prototype of an unused class as a side-effect ([#​3598](https://togithub.com/rollup/rollup/issues/3598)) - Support providing `null` for empty setters in SystemJS via option ([#​3592](https://togithub.com/rollup/rollup/issues/3592)) ##### Bug Fixes - Do not fail when using a `/*#__PURE__*/` annotation inside a class field ([#​3599](https://togithub.com/rollup/rollup/issues/3599)) - Allow using `--watch` and `--treeshake` together with sub-options such as `--watch.clearScreen` on the command line ([#​3597](https://togithub.com/rollup/rollup/issues/3597)) ##### Pull Requests - [#​3582](https://togithub.com/rollup/rollup/pull/3582): Support optional chaining via acorn fork([@​guybedford](https://togithub.com/guybedford)) - [#​3592](https://togithub.com/rollup/rollup/pull/3592): System format optional setters([@​guybedford](https://togithub.com/guybedford)) - [#​3597](https://togithub.com/rollup/rollup/pull/3597): Provide normalized options ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3598](https://togithub.com/rollup/rollup/pull/3598): Treeshake prototype modifications in classes ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3599](https://togithub.com/rollup/rollup/pull/3599): Retain pure annotations in class fields ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3601](https://togithub.com/rollup/rollup/pull/3601): Fix white-space in docs ([@​tu4mo](https://togithub.com/tu4mo)) ### [`v2.10.9`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2109) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.8...v2.10.9) _2020-05-24_ ##### Bug Fixes - Prevent invalid exports when facades are created ([#​3590](https://togithub.com/rollup/rollup/issues/3590)) ##### Pull Requests - [#​3590](https://togithub.com/rollup/rollup/pull/3590): Prevent unneeded exports when entry facades are created and ensure all exported variables in facades are imported ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.10.8`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2108) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.7...v2.10.8) _2020-05-23_ ##### Bug Fixes - Fix issues when synthetic named exports are reexported as default exports ([#​3586](https://togithub.com/rollup/rollup/issues/3586)) ##### Pull Requests - [#​3584](https://togithub.com/rollup/rollup/pull/3584): Clarify documentation for `output.paths` ([@​jacksteamdev](https://togithub.com/jacksteamdev)) - [#​3585](https://togithub.com/rollup/rollup/pull/3585): Target Node.js v14 instead of v13 in Windows tests ([@​mangs](https://togithub.com/mangs)) - [#​3586](https://togithub.com/rollup/rollup/pull/3586): Handle default reexports of synthetic named exports over several stages ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.10.7`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2107) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.6...v2.10.7) _2020-05-22_ ##### Bug Fixes - Handle modules re-exporting namespaces without further own code ([#​3576](https://togithub.com/rollup/rollup/issues/3576)) ##### Pull Requests - [#​3576](https://togithub.com/rollup/rollup/pull/3576): Fix "cannot read exports of undefined" error ([@​guybedford](https://togithub.com/guybedford)) ### [`v2.10.6`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2106) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.5...v2.10.6) _2020-05-22_ ##### Bug Fixes - Fix some issues around class fields ([#​3580](https://togithub.com/rollup/rollup/issues/3580)) - Prevent a maximum call stack error when a called entity references itself in its declaration ([#​3581](https://togithub.com/rollup/rollup/issues/3581)) ##### Pull Requests - [#​3580](https://togithub.com/rollup/rollup/pull/3580): Update acorn class features ([@​guybedford](https://togithub.com/guybedford)) - [#​3581](https://togithub.com/rollup/rollup/pull/3581): Do not fail when including call arguments of recursively defined variables ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.10.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2105) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.4...v2.10.5) _2020-05-19_ ##### Bug Fixes - Do not remove side-effects that may influence an included default export declaration when side-effects are disabled ([#​3572](https://togithub.com/rollup/rollup/issues/3572)) ##### Pull Requests - [#​3572](https://togithub.com/rollup/rollup/pull/3572): Observe side-effects in files containing a default export declaration that reexports a variable ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.10.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2104) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.3...v2.10.4) _2020-05-19_ ##### Bug Fixes - Tree-shake unused classes with fields unless there are side-effects in the field declaration ([#​3569](https://togithub.com/rollup/rollup/issues/3569)) ##### Pull Requests - [#​3569](https://togithub.com/rollup/rollup/pull/3569): Make sure unused classes with fields are tree-shaken if possible ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.10.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2103) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.2...v2.10.3) _2020-05-18_ ##### Bug Fixes - Validate return value of sourcemapPathTransform option ([#​3561](https://togithub.com/rollup/rollup/issues/3561)) ##### Pull Requests - [#​3561](https://togithub.com/rollup/rollup/pull/3561): Throw error if sourcemapPathTransform-option does not return a string ([@​Simonwep](https://togithub.com/Simonwep)) ### [`v2.10.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2102) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.1...v2.10.2) _2020-05-15_ ##### Bug Fixes - Properly include calls to mutating array methods in certain scenarios ([#​3559](https://togithub.com/rollup/rollup/issues/3559)) ##### Pull Requests - [#​3559](https://togithub.com/rollup/rollup/pull/3559): Make sure UnknownFooExpressions are included when referenced as return values in a MultiExpression ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.10.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2101) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.10.0...v2.10.1) _2020-05-15_ ##### Bug Fixes - Do not throw when "undefined" is used as a default export ([#​3558](https://togithub.com/rollup/rollup/issues/3558)) ##### Pull Requests - [#​3558](https://togithub.com/rollup/rollup/pull/3558): Properly handle default exporting undefined ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.10.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​2100) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.9.1...v2.10.0) _2020-05-13_ ##### Features - Avoid unnecessary empty imports from a facade chunk to the original chunk ([#​3552](https://togithub.com/rollup/rollup/issues/3552)) - Pin facade creation order so that if several user-defined chunks reference the same module, the first always becomes the "actual" chunk while the later ones become facades ([#​3552](https://togithub.com/rollup/rollup/issues/3552)) ##### Bug Fixes - Do not omit reexports from secondary chunks when creating facades for entry points without hoisting transitive dependencies ([#​3552](https://togithub.com/rollup/rollup/issues/3552)) ##### Pull Requests - [#​3552](https://togithub.com/rollup/rollup/pull/3552): Avoid unnecessary facade dependency inlining ([@​guybedford](https://togithub.com/guybedford)) ### [`v2.9.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​291) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.9.0...v2.9.1) _2020-05-11_ ##### Bug Fixes - Do not create unintended live-bindings or invalid reexports when reexporting global variables ([#​3550](https://togithub.com/rollup/rollup/issues/3550)) ##### Pull Requests - [#​3550](https://togithub.com/rollup/rollup/pull/3550): Track updates of globals that are exported as default ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.9.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​290) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.8.2...v2.9.0) _2020-05-10_ ##### Features - Add ids of static and dynamic imports to `this.getModuleInfo` ([#​3542](https://togithub.com/rollup/rollup/issues/3542)) - Provide `getModuleInfo` and `getModuleIds` to `manualChunks` functions ([#​3542](https://togithub.com/rollup/rollup/issues/3542)) - Add nullish coalescing support ([#​3548](https://togithub.com/rollup/rollup/issues/3548)) - Make the rebuild delay in watch mode configurable and set the default to `0` for snappy rebuilds ([#​3502](https://togithub.com/rollup/rollup/issues/3502)) - Add `this.getModuleIds` to the plugin context as future replacement for `this.moduleIds` ([#​3542](https://togithub.com/rollup/rollup/issues/3542)) ##### Pull Requests - [#​3502](https://togithub.com/rollup/rollup/pull/3502): Configurable build delay ([@​mattdesl](https://togithub.com/mattdesl)) - [#​3542](https://togithub.com/rollup/rollup/pull/3542): Extend manualChunks API ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3548](https://togithub.com/rollup/rollup/pull/3548): Support nullish coalescing with tree-shaking ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.8.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​282) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.8.1...v2.8.2) _2020-05-07_ ##### Bug Fixes - Avoid invalid code when simplifying the body of a shorthand arrow function expression ([#​3540](https://togithub.com/rollup/rollup/issues/3540)) ##### Pull Requests - [#​3540](https://togithub.com/rollup/rollup/pull/3540): Wrap object expressions in parentheses if they become children of an arrow function expression ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.8.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​281) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.8.0...v2.8.1) _2020-05-07_ ##### Bug Fixes - Allow using plugins on CLI that are exported as `exports.default` ([#​3529](https://togithub.com/rollup/rollup/issues/3529)) - Do not fail side-effect detection in nested callbacks of builtins ([#​3539](https://togithub.com/rollup/rollup/issues/3539)) ##### Pull Requests - [#​3529](https://togithub.com/rollup/rollup/pull/3529): Use default named export with plugins ([@​NotWoods](https://togithub.com/NotWoods)) - [#​3539](https://togithub.com/rollup/rollup/pull/3539): Track call side-effects both by entity and CallExpression to avoid untracked side-effects in nested calls ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.8.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​280) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.7.6...v2.8.0) _2020-05-06_ ##### Features - When a dynamically imported chunk contains more exports than the imported module namespace, do not create a facade chunk but an inline namespace ([#​3535](https://togithub.com/rollup/rollup/issues/3535)) ##### Bug Fixes - Do not execute dynamically imported code before synchronous code in the importing module when generating CommonJS ([#​3535](https://togithub.com/rollup/rollup/issues/3535)) ##### Pull Requests - [#​3535](https://togithub.com/rollup/rollup/pull/3535): Avoid dynamic facade chunks ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.7.6`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​276) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.7.5...v2.7.6) _2020-04-30_ ##### Bug Fixes - Fix a type issue when a default export references a global variable ([#​3526](https://togithub.com/rollup/rollup/issues/3526)) ##### Pull Requests - [#​3526](https://togithub.com/rollup/rollup/pull/3526): Handles default exporting global variables ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.7.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​275) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.7.4...v2.7.5) _2020-04-29_ ##### Bug Fixes - Prevent infinite loop when default values of function parameters in a default export contain a slash ([#​3522](https://togithub.com/rollup/rollup/issues/3522)) ##### Pull Requests - [#​3522](https://togithub.com/rollup/rollup/pull/3522): Avoid infinite loop when finding position for id insertion in default export ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.7.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​274) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.7.3...v2.7.4) _2020-04-29_ ##### Bug Fixes - Fix an issue where wrong variable names were used when preserving modules ([#​3521](https://togithub.com/rollup/rollup/issues/3521)) ##### Pull Requests - [#​3521](https://togithub.com/rollup/rollup/pull/3521): Fix and improve default export alias logic ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.7.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​273) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.7.2...v2.7.3) _2020-04-27_ ##### Bug Fixes - Do not access `__proto__` when running Rollup ([#​3518](https://togithub.com/rollup/rollup/issues/3518)) ##### Pull Requests - [#​3518](https://togithub.com/rollup/rollup/pull/3518): use acorn-class-fields and acorn-static-class-features from npm ([@​nitsky](https://togithub.com/nitsky)) ### [`v2.7.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​272) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.7.1...v2.7.2) _2020-04-22_ ##### Bug Fixes - Prevent an infinite loop when creating separate manual chunks with circular dependencies ([#​3510](https://togithub.com/rollup/rollup/issues/3510)) - Do not fail if "super" is used in the definition of a class field ([#​3511](https://togithub.com/rollup/rollup/issues/3511)) - Throw if a plugin tries to emit a file with an absolute Windows path ([#​3509](https://togithub.com/rollup/rollup/issues/3509)) ##### Pull Requests - [#​3509](https://togithub.com/rollup/rollup/pull/3509): Ban emitFile via absolute paths on Windows OS ([@​SASUKE40](https://togithub.com/SASUKE40)) - [#​3510](https://togithub.com/rollup/rollup/pull/3510): Do not fail for circular imports between manual chunks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3511](https://togithub.com/rollup/rollup/pull/3511): Support "super" in class fields ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.7.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​271) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.7.0...v2.7.1) _2020-04-21_ ##### Bug Fixes - Use correct path for dynamic imports if `output.paths` is used ([#​3508](https://togithub.com/rollup/rollup/issues/3508)) ##### Pull Requests - [#​3508](https://togithub.com/rollup/rollup/pull/3508): Respect output.paths in dynamic imports ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.7.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​270) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.6.1...v2.7.0) _2020-04-21_ ##### Features - Add `preserveEntrySignatures` option to control how exports of entry points are handled ([#​3498](https://togithub.com/rollup/rollup/issues/3498)) - Add `preserveSignature` flag to `this.emitFile` to control exports of emitted chunks ([#​3498](https://togithub.com/rollup/rollup/issues/3498)) - Add `output.minifyInternalExports` option to control if internal exports are minified ([#​3498](https://togithub.com/rollup/rollup/issues/3498)) ##### Pull Requests - [#​3498](https://togithub.com/rollup/rollup/pull/3498): Add option to configure if entry signatures are preserved ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.6.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​261) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.6.0...v2.6.1) _2020-04-12_ ##### Bug Fixes - Close watch mode when stdin closes in a non-TTY environment ([#​3493](https://togithub.com/rollup/rollup/issues/3493)) ##### Pull Requests - [#​3493](https://togithub.com/rollup/rollup/pull/3493): Ensure --watch mode exits correctly when stdin is closed ([@​jakesgordon](https://togithub.com/jakesgordon)) ### [`v2.6.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​260) [Compare Source](https://togithub.com/rollup/rollup/compare/be22bfbf7252794333b202f5f918ee32faf44182...v2.6.0) _2020-04-10_ ##### Features - Allow regular expressions to declare external modules ([#​3482](https://togithub.com/rollup/rollup/issues/3482)) ##### Pull Requests - [#​3482](https://togithub.com/rollup/rollup/pull/3482): Allow regular expressions in config.external ([@​johannes-z](https://togithub.com/johannes-z)) ### [`v2.5.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​250) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.4.0...be22bfbf7252794333b202f5f918ee32faf44182) This version is identical to 2.4.0 ### [`v2.4.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​240) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.3.5...v2.4.0) _2020-04-09_ ##### Features - Add support for most private and public class field features ([#​3488](https://togithub.com/rollup/rollup/issues/3488)) ##### Bug Fixes - Do not replace `this` with `undefined` in class field definitions ([#​3488](https://togithub.com/rollup/rollup/issues/3488)) ##### Pull Requests - [#​3488](https://togithub.com/rollup/rollup/pull/3488): Rollup class fields support ([@​guybedford](https://togithub.com/guybedford) and [@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.3.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​235) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.3.4...v2.3.5) _2020-04-09_ ##### Bug Fixes - Never remove labels when tree-shaking is disabled ([#​3492](https://togithub.com/rollup/rollup/issues/3492)) ##### Pull Requests - [#​3492](https://togithub.com/rollup/rollup/pull/3492): Always use a new inclusion context when including declarations of variables, always inlcude labels when not treeshaking ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.3.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​234) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.3.3...v2.3.4) _2020-04-07_ ##### Bug Fixes - Handle re-exporting synthetic exports from entry-points ([#​3319](https://togithub.com/rollup/rollup/issues/3319)) - Fix cross-chunk imports of synthetic exports ([#​3319](https://togithub.com/rollup/rollup/issues/3319)) - Handle namespace objects that contain re-exported synthetic namespaces ([#​3319](https://togithub.com/rollup/rollup/issues/3319)) ##### Pull Requests - [#​3319](https://togithub.com/rollup/rollup/pull/3319): Handle re-exports of synthetic named exports ([@​manucorporat](https://togithub.com/manucorporat) and [@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.3.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​233) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.3.2...v2.3.3) _2020-04-04_ ##### Bug Fixes - Add external namespaces to dynamic namespace objects ([#​3474](https://togithub.com/rollup/rollup/issues/3474)) ##### Pull Requests - [#​3474](https://togithub.com/rollup/rollup/pull/3474): Support external star exports on namespace objects ([@​guybedford](https://togithub.com/guybedford)) ### [`v2.3.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​232) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.3.1...v2.3.2) _2020-03-31_ ##### Bug Fixes - Only warn but do not fail build when a namespace is called as a function ([#​3475](https://togithub.com/rollup/rollup/issues/3475)) - Make sure pre-existing sourcemap comments are also removed when rebuilding using the cache ([#​3476](https://togithub.com/rollup/rollup/issues/3476)) ##### Pull Requests - [#​3475](https://togithub.com/rollup/rollup/pull/3475): Call namespace error as a warning ([@​guybedford](https://togithub.com/guybedford)) - [#​3476](https://togithub.com/rollup/rollup/pull/3476): Store locations for removed comments in cache ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.3.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​231) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.3.0...v2.3.1) _2020-03-30_ ##### Bug Fixes - Do not fail if the config file returns an function returning a Promise ([#​3472](https://togithub.com/rollup/rollup/issues/3472)) ##### Pull Requests - [#​3472](https://togithub.com/rollup/rollup/pull/3472): Fix support for async functions as config ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.3.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​230) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.2.0...v2.3.0) _2020-03-29_ ##### Features - Do not transpile config files with `.mjs` extension in Node 13+ or `.cjs` extension in any Node version and load them appropriately ([#​3445](https://togithub.com/rollup/rollup/issues/3445)) - Extract helper to load a config file the way rollup does it via `rollup/dist/loadConfigFile` ([#​3445](https://togithub.com/rollup/rollup/issues/3445)) ##### Bug Fixes - Keep watching the config file if an error occurs during initial load in watch node ([#​3445](https://togithub.com/rollup/rollup/issues/3445)) - Add a helpful error message when using a transpiled config in a repository with "type": "module" ([#​3445](https://togithub.com/rollup/rollup/issues/3445)) ##### Pull Requests - [#​3445](https://togithub.com/rollup/rollup/pull/3445): Support native ESM configs in Node 13, support untranspiled configs ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3468](https://togithub.com/rollup/rollup/pull/3468): Don't use esm output format alias in the documentation ([@​vsn4ik](https://togithub.com/vsn4ik)) ### [`v2.2.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​220) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.1.0...v2.2.0) _2020-03-24_ ##### Features - Add `renderDynamicImport` hook to rewrite dynamic import expressions ([#​3449](https://togithub.com/rollup/rollup/issues/3449)) - Add information about dynamically imported modules to `this.getModuleInfo` ([#​3449](https://togithub.com/rollup/rollup/issues/3449)) ##### Bug Fixes - Make file emission work with Uin8Array sources when using Rollup in the browser ([#​3452](https://togithub.com/rollup/rollup/issues/3452)) - Fix types to allow watch to accept an array of configs ([#​3453](https://togithub.com/rollup/rollup/issues/3453)) - Do not strip `.js` extensions from AMD imports when the import is a user-supplied replacement for a non-resolvable dynamic import target ([#​3453](https://togithub.com/rollup/rollup/issues/3453)) ##### Pull Requests - [#​3449](https://togithub.com/rollup/rollup/pull/3449): Add hook to rewrite dynamic import expressions ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3452](https://togithub.com/rollup/rollup/pull/3452): Avoid the assumption of Buffer in browser envs ([@​JoviDeCroock](https://togithub.com/JoviDeCroock)) - [#​3453](https://togithub.com/rollup/rollup/pull/3453): fix types since watch accepts single or array config ([@​lukeed](https://togithub.com/lukeed)) - [#​3456](https://togithub.com/rollup/rollup/pull/3456): fix SystemJS url in tutorial ([@​guybedford](https://togithub.com/guybedford)) ### [`v2.1.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​210) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.6...v2.1.0) _2020-03-18_ ##### Features - Allow specifying an importer when emitting files to resolve relative ids ([#​3442](https://togithub.com/rollup/rollup/issues/3442)) ##### Pull Requests - [#​3442](https://togithub.com/rollup/rollup/pull/3442): Add optional `importer` parameter to `this.emitFile` ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.6`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​206) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.5...v2.0.6) _2020-03-13_ ##### Bug Fixes - Do not use file names from different outputs when generating sourcemaps using the `dir` option ([#​3440](https://togithub.com/rollup/rollup/issues/3440)) ##### Pull Requests - [#​3440](https://togithub.com/rollup/rollup/pull/3440): Use correct file names when writing sourcemaps for multiple outputs ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​205) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.4...v2.0.5) _2020-03-12_ ##### Bug Fixes - Fix an issue where conditional statements would assume they have the wrong test value ([#​3438](https://togithub.com/rollup/rollup/issues/3438)) ##### Pull Requests - [#​3438](https://togithub.com/rollup/rollup/pull/3438): Make sure logical expressions always check the left argument for side-effects ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​204) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.3...v2.0.4) _2020-03-12_ ##### Bug Fixes - Avoid conflicts between namespace imports when preserving modules ([#​3435](https://togithub.com/rollup/rollup/issues/3435)) ##### Pull Requests - [#​3435](https://togithub.com/rollup/rollup/pull/3435): Deconflict multiple `index` imports for ES format using nested export star statements ([@​kamranayub](https://togithub.com/kamranayub)) ### [`v2.0.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​203) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.2...v2.0.3) _2020-03-10_ ##### Bug Fixes - Add type for this.getCombinedSourcemap to transform context ([#​3431](https://togithub.com/rollup/rollup/issues/3431)) ##### Pull Requests - [#​3377](https://togithub.com/rollup/rollup/pull/3377): Switch to yargs-parser lib ([@​jamesgeorge007](https://togithub.com/jamesgeorge007)) - [#​3426](https://togithub.com/rollup/rollup/pull/3426): Use strict types with PluginDriver ([@​NotWoods](https://togithub.com/NotWoods)) - [#​3431](https://togithub.com/rollup/rollup/pull/3431): Add missing type declaration for getCombinedSourcemap ([@​Anidetrix](https://togithub.com/Anidetrix)) - [#​3432](https://togithub.com/rollup/rollup/pull/3432): Detail how return values from `augmentChunkHash` are used ([@​jakearchibald](https://togithub.com/jakearchibald)) ### [`v2.0.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​202) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.1...v2.0.2) _2020-03-07_ ##### Bug Fixes - Make sure the ESM import still works ([#​3430](https://togithub.com/rollup/rollup/issues/3430)) ##### Pull Requests - [#​3430](https://togithub.com/rollup/rollup/pull/3430): Fix conditional exports again ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​201) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.0.0...v2.0.1) _2020-03-07_ ##### Bug Fixes - Reenable importing rollup in Node 13.0 - 13.7 ([#​3428](https://togithub.com/rollup/rollup/issues/3428)) ##### Pull Requests - [#​3428](https://togithub.com/rollup/rollup/pull/3428): Fix conditional exports in Node 13.0 - 13.7 ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.0.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#​200) [Compare Source](https://togithub.com/rollup/rollup/compare/v1.32.1...v2.0.0) _2020-03-06_ ##### Breaking Changes - Rollup now requires at least Node 10 to run, or a sufficiently modern browser ([#​3346](https://togithub.com/rollup/rollup/issues/3346)) - The file structure of Rollup's ESM builds has changed: - The main ESM entry point is now at `rollup/dist/es/rollup.js` instead of `rollup/dist/rollup.es.js` - The ESM browser build is at `rollup/dist/es/rollup.browser.js` instead of `rollup/dist/rollup.browser.es.js` In general, the ESM builds now follow the same naming scheme as the CJS builds but are located in the `rollup/dist/es` subfolder instead of `rollup/dist` ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - The "watch.chokidar" option no longer accepts a `boolean` value but only an object of parameters that is passed to the bundled Chokidar instance. Chokidar installations by the user will be ignored in favour of the bundled instance ([#​3331](https://togithub.com/rollup/rollup/issues/3331)) - Modules that are completely tree-shaken will no longer be listed as part of any chunks in `generateBundle` - The `experimentalOptimizeChunks` and `chunkGroupingSize` options have been removed - [acorn](https://togithub.com/acornjs/acorn) plugins can only be used if they accept a passed-in acorn instance instead of importing it themselves. See [acornjs/acorn#​870 (comment)](https://togithub.com/acornjs/acorn/pull/870#issuecomment-527339830) for what needs to be done to make plugins compatible that do not support this yet ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - Emitted chunks now have the TypeScript type `Uint8Array` instead of `Buffer`. A `Buffer` can still be used, though ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - The TypeScript types no longer use ESTree types for AST nodes but a very generic type that does not contain information specific to certain node types ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - The signature of the `writeBundle` plugin hook has been changed to match `generateBundle`: The bundle object is now passed as second parameter instead of first and the first parameter is the output options ([#​3361](https://togithub.com/rollup/rollup/issues/3361)) - The following plugin hooks have been removed: - ongenerate: use `generateBundle` instead - onwrite: use `writeBundle` instead - transformBundle: use `renderChunk` instead - transformChunk: use `renderChunk` instead - You can no longer access `this.watcher` on the plugin context. - The `transform` hook can no longer return `dependencies`. - The `treeshake.pureExternalModules` option will now show a deprecation warning when used: use `treeshake.moduleSideEffects: 'no-external'` instead - Using `import.meta.ROLLUP_ASSET_URL_<..>` and `import.meta.ROLLUP_CHUNK_URL_<..>` in code will now show warnings: use `import.meta.ROLLUP_FILE_URL_<..>` instead - The `resolveAssetUrl` hook will now show a deprecation warning when used: use `resolveFileUrl` instead - The following plugin context functions will show warnings when used: - `this.emitAsset`: use `this.emitFile` - `this.emitChunk`: use `this.emitFile` - `this.getAssetFileName`: use `this.getFileName` - `this.getChunkFileName`: use `this.getFileName` - `this.isExternal`: use `this.resolve` - `this.resolveId`: use `this.resolve` - Directly adding properties to the bundle object in the `generateBundle` is deprecated will show a warning (removing properties is allowed, though): Use `this.emitFile` - Accessing `chunk.isAsset` on the bundle is deprecated: Use `chunk.type === 'asset'` instead - The error code for a missing `name` property when targeting UMD has been changed to `MISSING_NAME_OPTION_FOR_IIFE_EXPORT` to emphasize this is needed for the IIFE part of UMD ([#​3393](https://togithub.com/rollup/rollup/issues/3393)) ##### Features - Rollup now bundles [Chokidar](https://togithub.com/paulmillr/chokidar) for a better watch experience ([#​3331](https://togithub.com/rollup/rollup/issues/3331)) - Rollup now bundles [acorn](https://togithub.com/acornjs/acorn) again, removing its only external dependency ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - Do not consider empty imports from side-effect-free modules for chunking and hoist side-effect imports if necessary ([#​3369](https://togithub.com/rollup/rollup/issues/3369)) - Rollup can now be imported as an ES module in Node via `import {rollup} from 'rollup'`. Note that this relies on Node's experimental [conditional package exports](https://nodejs.org/dist/latest-v13.x/docs/api/esm.html#esm_conditional_exports) feature and is therefore itself experimental ([#​3391](https://togithub.com/rollup/rollup/issues/3391)) - `systemjs` can be used as format alias for `system` ([#​3381](https://togithub.com/rollup/rollup/issues/3381)) ##### Bug Fixes - Unknown output options now trigger a warning when using the JavaScript API ([#​3352](https://togithub.com/rollup/rollup/issues/3352)) - Rollup will no longer introduce Node types into TypeScript projects that do not use them ([#​3395](https://togithub.com/rollup/rollup/issues/3395)) - Generate correct sourcemaps when tree-shaking occurs in a multi-file bundle ([#​3423](https://togithub.com/rollup/rollup/issues/3423)) ##### Pull Requests - [#​3331](https://togithub.com/rollup/rollup/pull/3331): Bundle Chokidar ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3343](https://togithub.com/rollup/rollup/pull/3343): Remove experimentalOptimizeChunks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3346](https://togithub.com/rollup/rollup/pull/3346): Update minimum required Node version to 10 ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3352](https://togithub.com/rollup/rollup/pull/3352): Remove active deprecations ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3361](https://togithub.com/rollup/rollup/pull/3361): Change writeBundle signature to match generateBundle ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3369](https://togithub.com/rollup/rollup/pull/3369): Avoid empty imports from side-effect-free chunks ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3381](https://togithub.com/rollup/rollup/pull/3381): Rename esm to es everywhere, add systemjs alias ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3391](https://togithub.com/rollup/rollup/pull/3391): Bundle acorn, allow importing Rollup as Node ES module, update dependencies ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3393](https://togithub.com/rollup/rollup/pull/3393): Better error code for name-less umd bundle ([@​rail44](https://togithub.com/rail44)) - [#​3395](https://togithub.com/rollup/rollup/pull/3395): Remove `@types` dependencies ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​3423](https://togithub.com/rollup/rollup/pull/3423): Update magic-string and fix sourcemaps ([@​lukastaegert](https://togithub.com/lukastaegert))

Renovate configuration

:date: Schedule: "after 10pm every weekday,before 5am every weekday" in timezone America/Los_Angeles.

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.