rollup/rollup
### [`v2.73.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2730)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.72.1...v2.73.0)
*2022-05-13*
##### Features
- Do not treat Object.defineProperty/ies as side effect when called on an unused object ([#4493](https://togithub.com/rollup/rollup/issues/4493))
- Do not assume that assigning a property can create a getter with side effects ([#4493](https://togithub.com/rollup/rollup/issues/4493))
- Do not treat string.prototype.replace(All) as side effect when used with two literals ([#4493](https://togithub.com/rollup/rollup/issues/4493))
##### Bug Fixes
- Detect side effects when manually declaring getters on functions ([#4493](https://togithub.com/rollup/rollup/issues/4493))
##### Pull Requests
- [#4493](https://togithub.com/rollup/rollup/pull/4493): Handle getters on functions and improve property deoptimization ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4494](https://togithub.com/rollup/rollup/pull/4494): Do not treat string.replace as side effect when used with a literal ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4495](https://togithub.com/rollup/rollup/pull/4495): Update docs for --configPlugin using typescript ([@Jimmydalecleveland](https://togithub.com/Jimmydalecleveland))
### [`v2.72.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2721)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.72.0...v2.72.1)
*2022-05-07*
##### Bug Fixes
- Improve tree-shaking of classes with super classes in certain scenarios ([#4489](https://togithub.com/rollup/rollup/issues/4489))
##### Pull Requests
- [#4489](https://togithub.com/rollup/rollup/pull/4489): Do not deoptimize entire super class when adding a property ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.72.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2720)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.71.1...v2.72.0)
*2022-05-05*
##### Features
- Add CLI hooks to run external commands at certain points in watch mode ([#4457](https://togithub.com/rollup/rollup/issues/4457))
##### Bug Fixes
- Fix an issue that could accidentally treat relevant assignments as side effect free ([#4486](https://togithub.com/rollup/rollup/issues/4486))
##### Pull Requests
- [#4457](https://togithub.com/rollup/rollup/pull/4457): feat: CLI event hook flags ([@Harris-Miller](https://togithub.com/Harris-Miller))
- [#4486](https://togithub.com/rollup/rollup/pull/4486): Fix reassignment tracking ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.71.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2711)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.71.0...v2.71.1)
*2022-04-30*
##### Bug Fixes
- Allow importing loadConfigFile without extension ([#4483](https://togithub.com/rollup/rollup/issues/4483))
##### Pull Requests
- [#4483](https://togithub.com/rollup/rollup/pull/4483): Add exports exception for loadConfigFile ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.71.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2710)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.70.2...v2.71.0)
*2022-04-30*
### [`v2.70.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2702)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.70.1...v2.70.2)
*2022-04-15*
##### Bug Fixes
- Do not enforce undefined return values in TypeScript types ([#4463](https://togithub.com/rollup/rollup/issues/4463))
##### Pull Requests
- [#4463](https://togithub.com/rollup/rollup/pull/4463): use void for options hook instead of undefined ([@ycmjason](https://togithub.com/ycmjason))
### [`v2.70.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2701)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.70.0...v2.70.1)
*2022-03-14*
##### Bug Fixes
- Handle unfinished hook action errors as regular errors and avoid console logging ([#4434](https://togithub.com/rollup/rollup/issues/4434))
- Allow access to "dist" folder in a Node 17 compatible way ([#4436](https://togithub.com/rollup/rollup/issues/4436))
##### Pull Requests
- [#4434](https://togithub.com/rollup/rollup/pull/4434): Track unfinished hook actions as regular errors ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4436](https://togithub.com/rollup/rollup/pull/4436): Update package.json ([@frank-dspeed](https://togithub.com/frank-dspeed))
### [`v2.70.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2700)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.69.2...v2.70.0)
*2022-03-07*
##### Features
- Make the `watchChange` and `closeWatcher` hooks asynchronous and make Rollup wait for these hooks before continuing ([#4427](https://togithub.com/rollup/rollup/issues/4427))
##### Bug Fixes
- Do not abort watch mode for errors in `watchChange` but display them properly ([#4427](https://togithub.com/rollup/rollup/issues/4427))
##### Pull Requests
- [#4427](https://togithub.com/rollup/rollup/pull/4427): Do not abort watch mode on errors in watchChange ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.69.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2692)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.69.1...v2.69.2)
*2022-03-06*
##### Bug Fixes
- Mark `Object.entries` and `Object.fromEntries` as pure ([#4429](https://togithub.com/rollup/rollup/issues/4429))
- Make sure new properties on Array.prototype and Object.prototype are not evaluated as "undefined" ([#4428](https://togithub.com/rollup/rollup/issues/4428))
##### Pull Requests
- [#4428](https://togithub.com/rollup/rollup/pull/4428): Treat unknown prototype props as unknown ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4429](https://togithub.com/rollup/rollup/pull/4429): Treat unknown prototype props as unknown ([@869288142](https://togithub.com/869288142))
### [`v2.69.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2691)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.69.0...v2.69.1)
*2022-03-04*
##### Bug Fixes
- Approximate source position instead of ignoring it when using a low-resolution source map in a transform hook ([#4334](https://togithub.com/rollup/rollup/issues/4334))
##### Pull Requests
- [#4334](https://togithub.com/rollup/rollup/pull/4334): fix(sourcemap): fall back to low-resolution line mapping ([@aleclarson](https://togithub.com/aleclarson) and [@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.69.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2690)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.68.0...v2.69.0)
*2022-03-02*
##### Features
- Introduce new `output.generatedCode.symbols` to control the usage of Symbols in Rollup-generated code ([#4378](https://togithub.com/rollup/rollup/issues/4378))
- soft-deprecate `output.namespaceToStringTag` in favor of `output.generatedCode.symbols` ([#4378](https://togithub.com/rollup/rollup/issues/4378))
##### Bug Fixes
- Properly handle `./` and `../` as external dependencies ([#4419](https://togithub.com/rollup/rollup/issues/4419))
- Make generated "Module" namespace toStringTag non-enumerable for correct Object.assign/spread behaviour ([#4378](https://togithub.com/rollup/rollup/issues/4378))
- Add file name to error when top-level-await is used in disallowed formats ([#4421](https://togithub.com/rollup/rollup/issues/4421))
##### Pull Requests
- [#4378](https://togithub.com/rollup/rollup/pull/4378): Make namespace @[@toStringTag](https://togithub.com/toStringTag) "Module" non-enumerable ([@dnalborczyk](https://togithub.com/dnalborczyk) and [@lukastaegert](https://togithub.com/lukastaegert))
- [#4413](https://togithub.com/rollup/rollup/pull/4413): refactor: some code and type fixes ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4418](https://togithub.com/rollup/rollup/pull/4418): chore: bump deps ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4419](https://togithub.com/rollup/rollup/pull/4419): Properly handle upper directories as external dependencies ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4421](https://togithub.com/rollup/rollup/pull/4421): Improve the error prompt and output the error file name ([@caoxiemeihao](https://togithub.com/caoxiemeihao))
- [#4423](https://togithub.com/rollup/rollup/pull/4423): Update 999-big-list-of-options.md ([@leoj3n](https://togithub.com/leoj3n))
### [`v2.68.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2680)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.67.3...v2.68.0)
*2022-02-22*
##### Features
- provide information about cached import resolutions in `shouldTransformCachedModule` ([#4414](https://togithub.com/rollup/rollup/issues/4414))
- Add "types" field to Rollup's package exports ([#4416](https://togithub.com/rollup/rollup/issues/4416))
##### Pull Requests
- [#4410](https://togithub.com/rollup/rollup/pull/4410): refactor: use map for declarations and name suggestions ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4411](https://togithub.com/rollup/rollup/pull/4411): refactor: use map for namespace reexports by name ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4412](https://togithub.com/rollup/rollup/pull/4412): refactor: use includes where appropriate ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4414](https://togithub.com/rollup/rollup/pull/4414): Add resolved sources to shouldTransformCachedModule ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4416](https://togithub.com/rollup/rollup/pull/4416): Add Typescript 4.5 nodenext node12 module resolution support ([@frank-dspeed](https://togithub.com/frank-dspeed))
### [`v2.67.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2673)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.67.2...v2.67.3)
*2022-02-18*
##### Bug Fixes
- Do not swallow other errors when unfinished hook actions are detected ([#4409](https://togithub.com/rollup/rollup/issues/4409))
- Add additional information to output when there are unfinished hook actions ([#4409](https://togithub.com/rollup/rollup/issues/4409))
##### Pull Requests
- [#4399](https://togithub.com/rollup/rollup/pull/4399): docs: remove const ([@TrickyPi](https://togithub.com/TrickyPi))
- [#4401](https://togithub.com/rollup/rollup/pull/4401): Improve test stability by getting independent of module id ordering in more places ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4403](https://togithub.com/rollup/rollup/pull/4403): fix: remove unnecessary property descriptor spread ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4404](https://togithub.com/rollup/rollup/pull/4404): refactor: use map for import descriptions + re-export descriptions ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4405](https://togithub.com/rollup/rollup/pull/4405): refactor: module exports to map ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4406](https://togithub.com/rollup/rollup/pull/4406): Fix a typo in 'Direct plugin communication' code example ([@younesmln](https://togithub.com/younesmln))
- [#4407](https://togithub.com/rollup/rollup/pull/4407): Document how resolveId is cached ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4409](https://togithub.com/rollup/rollup/pull/4409): Print ids for unfinished moduleParsed and shouldTransformCachedModule hooks ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.67.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2672)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.67.1...v2.67.2)
*2022-02-10*
##### Bug Fixes
- Ensure consistent order between manual chunks to fix hashing issues ([#4397](https://togithub.com/rollup/rollup/issues/4397))
##### Pull Requests
- [#4390](https://togithub.com/rollup/rollup/pull/4390): refactor: add [@types/estree](https://togithub.com/types/estree) explicitly, fix dynamic type imports ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4391](https://togithub.com/rollup/rollup/pull/4391): chore: remove acorn-walk ambient type definitions ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4397](https://togithub.com/rollup/rollup/pull/4397): Sort manual chunks generated via a function by name ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.67.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2671)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.67.0...v2.67.1)
*2022-02-07*
##### Bug Fixes
- Make chunk file and variable names more deterministic when emitting chunks ([#4386](https://togithub.com/rollup/rollup/issues/4386))
- Improve default module resolver performance by using non-blocking IO ([#4386](https://togithub.com/rollup/rollup/issues/4386))
##### Pull Requests
- [#4373](https://togithub.com/rollup/rollup/pull/4373): fix: even more types ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4382](https://togithub.com/rollup/rollup/pull/4382): Update contribution tut link desc ([@lemredd](https://togithub.com/lemredd))
- [#4383](https://togithub.com/rollup/rollup/pull/4383): chore: bump deps ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4384](https://togithub.com/rollup/rollup/pull/4384): chore: move "wait" to utils + re-use ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4385](https://togithub.com/rollup/rollup/pull/4385): refactor: convert watch tests to async functions ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4386](https://togithub.com/rollup/rollup/pull/4386): refactor: use fs.promises in resolve id, Part 4 ([@dnalborczyk](https://togithub.com/dnalborczyk) and [@lukastaegert](https://togithub.com/lukastaegert))
- [#4389](https://togithub.com/rollup/rollup/pull/4389): refactor: use fs.promises in generate license file, rollup config, Part 5 ([@dnalborczyk](https://togithub.com/dnalborczyk))
### [`v2.67.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2670)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.66.1...v2.67.0)
*2022-02-02*
##### Features
- Improve side effect detection when using Array.prototype.groupBy/groupByToMap ([#4360](https://togithub.com/rollup/rollup/issues/4360))
- Allow changing `moduleSideEffects` at any time during the build ([#4379](https://togithub.com/rollup/rollup/issues/4379))
- Soft-deprecate `ModuleInfo.hasModuleSideEffects` in favour of `ModuleInfo.moduleSideEffects` ([#4379](https://togithub.com/rollup/rollup/issues/4379))
##### Bug Fixes
- Do not include queries and hashes in generated file names when preserving modules ([#4374](https://togithub.com/rollup/rollup/issues/4374))
##### Pull Requests
- [#4319](https://togithub.com/rollup/rollup/pull/4319): refactor: use fs, fs-extra, remove sander ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4360](https://togithub.com/rollup/rollup/pull/4360): feat: add Array.prototype.groupBy/groupByToMap ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4361](https://togithub.com/rollup/rollup/pull/4361): fix: more types ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4369](https://togithub.com/rollup/rollup/pull/4369): fix: remove acorn-walk patch ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4371](https://togithub.com/rollup/rollup/pull/4371): refactor: use fs.promises in cli/run ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4372](https://togithub.com/rollup/rollup/pull/4372): refactor: use fs.promises in module loader ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4374](https://togithub.com/rollup/rollup/pull/4374): Ignore queries and hashes in file names when preserving modules ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4375](https://togithub.com/rollup/rollup/pull/4375): Fix typo in \_config.js ([@eltociear](https://togithub.com/eltociear))
- [#4376](https://togithub.com/rollup/rollup/pull/4376): refactor: fs.promises, move mkdir to writeoutputfile, Part 3 ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4379](https://togithub.com/rollup/rollup/pull/4379): Deprecate hasModuleSideEffects in favor of moduleSideEffects and ensure it is mutable on ModuleInfo ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.66.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2661)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.66.0...v2.66.1)
*2022-01-25*
##### Bug Fixes
- Only warn for conflicting names in namespace reexports if it actually causes problems ([#4363](https://togithub.com/rollup/rollup/issues/4363))
- Only allow explicit exports or reexports as synthetic namespaces and hide them from namespace reexports ([#4364](https://togithub.com/rollup/rollup/issues/4364))
##### Pull Requests
- [#4362](https://togithub.com/rollup/rollup/pull/4362): refactor: convert exportsByName object to map ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4363](https://togithub.com/rollup/rollup/pull/4363): Do not warn unnecessarily for namespace conflicts ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4364](https://togithub.com/rollup/rollup/pull/4364): Do not expose synthetic namespace export in entries and namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.66.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2660)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.65.0...v2.66.0)
*2022-01-22*
##### Features
- Note if a module has a default export in ModuleInfo to allow writing better proxy modules ([#4356](https://togithub.com/rollup/rollup/issues/4356))
- Add option to wait until all imported ids have been resolved when awaiting `this.load` ([#4358](https://togithub.com/rollup/rollup/issues/4358))
##### Pull Requests
- [#4356](https://togithub.com/rollup/rollup/pull/4356): Add hasDefaultExport to ModuleInfo ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4358](https://togithub.com/rollup/rollup/pull/4358): Add "resolveDependencies" option to "this.load" ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.65.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2650)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.64.0...v2.65.0)
*2022-01-21*
##### Features
- Add complete import resolution objects to ModuleInfo for use in `this.load` ([#4354](https://togithub.com/rollup/rollup/issues/4354))
##### Bug Fixes
- Use correct context in plugin hooks with `perf: true` ([#4357](https://togithub.com/rollup/rollup/issues/4357))
##### Pull Requests
- [#4351](https://togithub.com/rollup/rollup/pull/4351): refactor: re-use source mapping url ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4352](https://togithub.com/rollup/rollup/pull/4352): refactor: replace require-relative with built-in require.resolve ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4353](https://togithub.com/rollup/rollup/pull/4353): chore: bump deps ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4354](https://togithub.com/rollup/rollup/pull/4354): Add importedIdResolutions to moduleInfo ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4355](https://togithub.com/rollup/rollup/pull/4355): chore: remove external from config ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4357](https://togithub.com/rollup/rollup/pull/4357): fix: timed plugin context ([@dnalborczyk](https://togithub.com/dnalborczyk))
### [`v2.64.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2640)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.63.0...v2.64.0)
*2022-01-14*
##### Features
- Allow inspecting cached modules and forcing them to be transformed again via shouldTransformCachedModule ([#4320](https://togithub.com/rollup/rollup/issues/4320))
- Do not wait for the config file to be parsed in watch mode if it is updated before that ([#4344](https://togithub.com/rollup/rollup/issues/4344))
##### Bug Fixes
- Do not mutate objects returned as `meta` from the resolveId hook ([#4347](https://togithub.com/rollup/rollup/issues/4347))
##### Pull Requests
- [#4326](https://togithub.com/rollup/rollup/pull/4326): refactor: type fixes ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4339](https://togithub.com/rollup/rollup/pull/4339): More watch test stabilization ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4340](https://togithub.com/rollup/rollup/pull/4340): refactor: performance timers for node.js and browser ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4341](https://togithub.com/rollup/rollup/pull/4341): Implement shouldTransformCachedModule hook ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4344](https://togithub.com/rollup/rollup/pull/4344): Directly restart Rollup when config file change is detected in watch mode ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4347](https://togithub.com/rollup/rollup/pull/4347): Create a shallow copy when returning meta from resolveId ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.63.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2630)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.62.0...v2.63.0)
*2022-01-04*
##### Features
- Report a helpful error if rollup exits due to an empty event loop when using `this.load` ([#4320](https://togithub.com/rollup/rollup/issues/4320))
- Allow directly mutating ModuleInfo.meta for modules and never replace this object ([#4328](https://togithub.com/rollup/rollup/issues/4328))
- Detect additional side effect free array prototype methods ([#4332](https://togithub.com/rollup/rollup/issues/4332))
##### Bug Fixes
- Do not watch if CLI watch options are specified but `--watch` is missing ([#4335](https://togithub.com/rollup/rollup/issues/4335))
##### Pull Requests
- [#4320](https://togithub.com/rollup/rollup/pull/4320): Detect unfulfilled async hook actions and report error on exit ([@kzc](https://togithub.com/kzc))
- [#4328](https://togithub.com/rollup/rollup/pull/4328): Make initial ModuleInfo.meta mutable and maintain object identity ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4318](https://togithub.com/rollup/rollup/pull/4318): Stabilize watch tests ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4331](https://togithub.com/rollup/rollup/pull/4331): Improve JS docs example ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4332](https://togithub.com/rollup/rollup/pull/4332): add support for Array.prototype.findLast,findLastIndex ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4333](https://togithub.com/rollup/rollup/pull/4333): convert utils.transform to async function ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4335](https://togithub.com/rollup/rollup/pull/4335): Do not watch unless --watch is specified explicitly ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4338](https://togithub.com/rollup/rollup/pull/4338): Add build delay for plugin event test ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.62.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2620)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.61.1...v2.62.0)
*2021-12-24*
##### Features
- Mark additional string prototype methods as side-effect-free and correct typings of existing ones ([#4299](https://togithub.com/rollup/rollup/issues/4299))
- Mark additional array prototype methods as side-effect-free and correct typings of existing ones ([#4309](https://togithub.com/rollup/rollup/issues/4309))
- Expose if a module is included after tree-shaking in its ModuleInfo ([#4305](https://togithub.com/rollup/rollup/issues/4305))
##### Bug Fixes
- Fix how fsevents is included to improve watch mode on MacOS ([#4312](https://togithub.com/rollup/rollup/issues/4312))
##### Pull Requests
- [#4299](https://togithub.com/rollup/rollup/pull/4299): Add additional string prototype methods ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4300](https://togithub.com/rollup/rollup/pull/4300): Bump deps, fix expected test result for core-js ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4302](https://togithub.com/rollup/rollup/pull/4302): Replace type assertion with type guard ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4304](https://togithub.com/rollup/rollup/pull/4304): Re-use reserved names set ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4305](https://togithub.com/rollup/rollup/pull/4305): Expose isIncluded in module info ([@william57m](https://togithub.com/william57m))
- [#4306](https://togithub.com/rollup/rollup/pull/4306): Fix git line breaks on windows ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4307](https://togithub.com/rollup/rollup/pull/4307): Add macos to pipeline ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4309](https://togithub.com/rollup/rollup/pull/4309): Add additional array prototype methods ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4311](https://togithub.com/rollup/rollup/pull/4311): Add Deno instructions to docs ([@jespertheend](https://togithub.com/jespertheend))
- [#4312](https://togithub.com/rollup/rollup/pull/4312): fsevents integration ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4313](https://togithub.com/rollup/rollup/pull/4313): Remove non-existing static functions from known globals ([@dnalborczyk](https://togithub.com/dnalborczyk))
### [`v2.61.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2611)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.61.0...v2.61.1)
*2021-12-11*
##### Bug Fixes
- Only resolve this.load once the code of the module is available ([#4296](https://togithub.com/rollup/rollup/issues/4296))
##### Pull Requests
- [#4296](https://togithub.com/rollup/rollup/pull/4296): Make sure this.load waits for modules that are already loading ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4298](https://togithub.com/rollup/rollup/pull/4298): use set for reserved words ([@dnalborczyk](https://togithub.com/dnalborczyk))
### [`v2.61.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2610)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.60.2...v2.61.0)
*2021-12-09*
##### Features
- Support ergonomic brand checks for private fields ([#4293](https://togithub.com/rollup/rollup/issues/4293))
##### Bug Fixes
- Improve handling of directory creation on systems with restrictive open files limit ([#4288](https://togithub.com/rollup/rollup/issues/4288))
##### Pull Requests
- [#4288](https://togithub.com/rollup/rollup/pull/4288): modifymkdirpath ([@mgrabowski84](https://togithub.com/mgrabowski84))
- [#4293](https://togithub.com/rollup/rollup/pull/4293): bump deps ([@dnalborczyk](https://togithub.com/dnalborczyk))
### [`v2.60.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2602)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.60.1...v2.60.2)
*2021-11-30*
##### Bug Fixes
- Produce correct output when dynamic import paths contain quotes ([#4286](https://togithub.com/rollup/rollup/issues/4286))
##### Pull Requests
- [#4286](https://togithub.com/rollup/rollup/pull/4286): Escape dynamic import paths ([@danielroe](https://togithub.com/danielroe))
### [`v2.60.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2601)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.60.0...v2.60.1)
*2021-11-22*
##### Bug Fixes
- Make sure virtual files have proper file extensions when preserving modules ([#4270](https://togithub.com/rollup/rollup/issues/4270))
##### Pull Requests
- [#4270](https://togithub.com/rollup/rollup/pull/4270): Use entryFileNames when generating filenames for virtual modules ([@BPScott](https://togithub.com/BPScott))
### [`v2.60.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2600)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.59.0...v2.60.0)
*2021-11-11*
##### Features
- Add `this.load` context function to load, transform and parse modules without adding them to the graph ([#4234](https://togithub.com/rollup/rollup/issues/4234))
- Sanitize non-url-safe characters in generated chunk names by default ([#4262](https://togithub.com/rollup/rollup/issues/4262))
- Support ESM plugins via command line ([#4265](https://togithub.com/rollup/rollup/issues/4265))
##### Pull Requests
- [#4234](https://togithub.com/rollup/rollup/pull/4234): Plugin context function for pre-loading modules ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4262](https://togithub.com/rollup/rollup/pull/4262): exclude invalid URL chars ([@danielroe](https://togithub.com/danielroe))
- [#4265](https://togithub.com/rollup/rollup/pull/4265): support loading ESM plugins from the CLI via --plugin ([@kzc](https://togithub.com/kzc))
### [`v2.59.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2590)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.58.3...v2.59.0)
*2021-11-01*
##### Features
- Support static class initialization blocks ([#4249](https://togithub.com/rollup/rollup/issues/4249))
##### Bug Fixes
- Fix an issue with the CommonJS plugin when module.exports has inherited properties ([#4256](https://togithub.com/rollup/rollup/issues/4256))
##### Pull Requests
- [#4236](https://togithub.com/rollup/rollup/pull/4236): typescript bug class field initialization order ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4249](https://togithub.com/rollup/rollup/pull/4249): Support for class static initialization block ([@dnalborczyk](https://togithub.com/dnalborczyk) and [@lukastaegert](https://togithub.com/lukastaegert))
- [#4256](https://togithub.com/rollup/rollup/pull/4256): Skip inherited properties in synthetic namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.58.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2583)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.58.2...v2.58.3)
*2021-10-25*
##### Bug Fixes
- Republish 2.58.1 with npm 6 as files were missing
### [`v2.58.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2582)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.58.1...v2.58.2)
*2021-10-25*
##### Bug Fixes
- Republish 2.58.1 as files were missing
### [`v2.58.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2581)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.58.0...v2.58.1)
*2021-10-25*
##### Bug Fixes
- Fix an issue with the CommonJS plugin when module.exports is falsy ([#4247](https://togithub.com/rollup/rollup/issues/4247))
##### Pull Requests
- [#4247](https://togithub.com/rollup/rollup/pull/4247): Handle falsy synthetic namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.58.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2580)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.57.0...v2.58.0)
*2021-10-01*
##### Features
- Add a flag to more reliably identify entry points in the `resolveId` hook ([#4230](https://togithub.com/rollup/rollup/issues/4230))
##### Pull Requests
- [#4230](https://togithub.com/rollup/rollup/pull/4230): Add isEntry flag to resolveId and this.resolve ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4233](https://togithub.com/rollup/rollup/pull/4233): Remove unused rollup-plugin-typescript ambient module types ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4235](https://togithub.com/rollup/rollup/pull/4235): Update dependencies ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.57.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2570)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.56.3...v2.57.0)
*2021-09-22*
##### Features
- Add `generatedCode` option to allow Rollup to use es2015 features for smaller output and more efficient helpers ([#4215](https://togithub.com/rollup/rollup/issues/4215))
- Improve AMD and SystemJS parsing performance by wrapping relevant functions in parentheses ([#4215](https://togithub.com/rollup/rollup/issues/4215))
- Using `preferConst` will now show a warning with `strictDeprecations: true` ([#4215](https://togithub.com/rollup/rollup/issues/4215))
##### Bug Fixes
- Improve ES3 syntax compatibility by more consequently quoting reserved words as props in generated code ([#4215](https://togithub.com/rollup/rollup/issues/4215))
- Do not use `Object.assign` in generated code to ensure ES5 compatibility without the need for polyfills ([#4215](https://togithub.com/rollup/rollup/issues/4215))
- Support live-bindings in dynamic namespace objects that contain reexported external or synthetic namespaces ([#4215](https://togithub.com/rollup/rollup/issues/4215))
- Use correct "this" binding in dynamic import expressions for CommonJS and AMD ([#4215](https://togithub.com/rollup/rollup/issues/4215))
- Properly handle `shimMissingExports` for exports that are only used internally ([#4215](https://togithub.com/rollup/rollup/issues/4215))
- Prevent unhandled rejection for failed module parsing ([#4228](https://togithub.com/rollup/rollup/issues/4228))
##### Pull Requests
- [#4212](https://togithub.com/rollup/rollup/pull/4212): chore: remove unused ambient types ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4215](https://togithub.com/rollup/rollup/pull/4215): Use ES2015 features in generated code snippets ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4219](https://togithub.com/rollup/rollup/pull/4219): chore: bump rollup typescript, remove unused micromatch ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4220](https://togithub.com/rollup/rollup/pull/4220): chore: use forceConsistentCasingInFileNames in ts-config ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4224](https://togithub.com/rollup/rollup/pull/4224): prepare for useDefineForClassFields ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4228](https://togithub.com/rollup/rollup/pull/4228): fix: prevent UnhandledPromiseRejectionWarning when module resolution/parsing fails ([@kherock](https://togithub.com/kherock))
### [`v2.56.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2563)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.56.2...v2.56.3)
*2021-08-23*
##### Bug Fixes
- Make sure moduleInfo contains complete information about imported ids in the moduleParsed hook ([#4208](https://togithub.com/rollup/rollup/issues/4208))
##### Pull Requests
- [#4208](https://togithub.com/rollup/rollup/pull/4208): `ModuleInfo.importedIds` will return null if `resolvedIds[source]` is undefined ([@FoxDaxian](https://togithub.com/FoxDaxian) and [@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.56.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2562)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.56.1...v2.56.2)
*2021-08-10*
##### Bug Fixes
- Check if after simplification, an object pattern would become an expression statement or arrow function return value ([#4204](https://togithub.com/rollup/rollup/issues/4204))
##### Pull Requests
- [#4204](https://togithub.com/rollup/rollup/pull/4204): Do not create invalid code when simplifying object pattern assignments ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.56.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2561)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.56.0...v2.56.1)
*2021-08-08*
##### Bug Fixes
- Fix rendering of SystemJS export declarations initialized with a simplifiable expression ([#4202](https://togithub.com/rollup/rollup/issues/4202))
##### Pull Requests
- [#4202](https://togithub.com/rollup/rollup/pull/4202): Fix incorrect rendering of export declarations in SystemJS ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.56.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2560)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.55.1...v2.56.0)
*2021-08-05*
##### Features
- Create more efficient code for SystemJS exports ([#4199](https://togithub.com/rollup/rollup/issues/4199))
- Extend `maxParallelFileReads` option to also throttle plugin load hooks ([#4200](https://togithub.com/rollup/rollup/issues/4200))
##### Bug Fixes
- Return correct value for postfix update expressions of exported variables ([#4194](https://togithub.com/rollup/rollup/issues/4194))
##### Pull Requests
- [#4199](https://togithub.com/rollup/rollup/pull/4199): Refine SystemJS export rendering ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4200](https://togithub.com/rollup/rollup/pull/4200): Restrict parallel execution of load hook ([@schummar](https://togithub.com/schummar))
### [`v2.55.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2551)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.55.0...v2.55.1)
*2021-07-29*
##### Bug Fixes
- Improve CLI warning message for unused external imports ([#4194](https://togithub.com/rollup/rollup/issues/4194))
##### Pull Requests
- [#4194](https://togithub.com/rollup/rollup/pull/4194): Align batch warning for UNUSED_EXTERNAL_IMPORT to individual warning ([@benmccann](https://togithub.com/benmccann))
### [`v2.55.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2550)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.54.0...v2.55.0)
*2021-07-28*
##### Features
- Support default export live-bindings when generating ESM output ([#4182](https://togithub.com/rollup/rollup/issues/4182))
##### Bug Fixes
- Always write `["default"]` as computed property when used as named export ([#4182](https://togithub.com/rollup/rollup/issues/4182))
- Do not mask default export TDZ errors ([#4182](https://togithub.com/rollup/rollup/issues/4182))
##### Pull Requests
- [#4182](https://togithub.com/rollup/rollup/pull/4182): Use mutable bindings for default exports ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.54.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2540)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.53.3...v2.54.0)
*2021-07-25*
##### Features
- Extend UMD import.meta.url polyfill to support web workers ([#4186](https://togithub.com/rollup/rollup/issues/4186))
##### Bug Fixes
- Resolve an issue where certain uses of classes could lead to an infinite recursion ([#4189](https://togithub.com/rollup/rollup/issues/4189))
##### Pull Requests
- [#4186](https://togithub.com/rollup/rollup/pull/4186): Fix UMD import.meta.url inside web workers ([@ceifa](https://togithub.com/ceifa))
- [#4188](https://togithub.com/rollup/rollup/pull/4188): Fix typo in renderHelpers.ts ([@eltociear](https://togithub.com/eltociear))
- [#4189](https://togithub.com/rollup/rollup/pull/4189): Move long path recursion prevention to MemberExpression ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4190](https://togithub.com/rollup/rollup/pull/4190): Stop recommending node-builtins ([@curran](https://togithub.com/curran))
### [`v2.53.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2533)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.53.2...v2.53.3)
*2021-07-21*
##### Bug Fixes
- Solve an issue that could lead to severe memory issues and crashes when there are a lot of hoisted variables ([#4183](https://togithub.com/rollup/rollup/issues/4183))
##### Pull Requests
- [#4183](https://togithub.com/rollup/rollup/pull/4183): Avoid memory issues with hoisted variables ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.53.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2532)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.53.1...v2.53.2)
*2021-07-15*
##### Bug Fixes
- Identify additional TDZ situations in functions that are run more than once ([#4177](https://togithub.com/rollup/rollup/issues/4177))
- Fix a scoping issue when a variable inside a catch scope matches the scope parameter's name ([#4178](https://togithub.com/rollup/rollup/issues/4178))
##### Pull Requests
- [#4177](https://togithub.com/rollup/rollup/pull/4177): Fix additional let/var init bugs ([@kzc](https://togithub.com/kzc))
- [#4178](https://togithub.com/rollup/rollup/pull/4178): Correctly create outside variable when shadowed by catch parameter ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.53.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2531)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.53.0...v2.53.1)
*2021-07-11*
##### Bug Fixes
- Do not omit namespace reexports when `treeshake` is `false` ([#4175](https://togithub.com/rollup/rollup/issues/4175))
##### Pull Requests
- [#4175](https://togithub.com/rollup/rollup/pull/4175): Generate namespace objects when not tree-shaking ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.53.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2530)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.8...v2.53.0)
*2021-07-09*
##### Features
- Add `maxParallelFileReads` option to limit read operations with a default of 20 ([#4170](https://togithub.com/rollup/rollup/issues/4170))
##### Pull Requests
- [#4170](https://togithub.com/rollup/rollup/pull/4170): Limit parallel file reads to prevent "EMFILE: too many open files" error ([@schummar](https://togithub.com/schummar))
### [`v2.52.8`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2528)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.7...v2.52.8)
*2021-07-07*
##### Bug Fixes
- Automatically handle many use `var` before declaration and TDZ access scenarios correctly without the need for `treeshake.correctVarValueBeforeDeclaration` ([#4148](https://togithub.com/rollup/rollup/issues/4148))
##### Pull Requests
- [#4148](https://togithub.com/rollup/rollup/pull/4148): Fix var/const/let variable use before declaration ([@kzc](https://togithub.com/kzc) and [@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.52.7`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2527)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.6...v2.52.7)
*2021-07-02*
##### Bug Fixes
- Fix an issue where reassignments where not tracked through async function returns ([#4163](https://togithub.com/rollup/rollup/issues/4163))
##### Pull Requests
- [#4163](https://togithub.com/rollup/rollup/pull/4163): Deoptimize return values of async functions ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.52.6`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2526)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.5...v2.52.6)
*2021-07-01*
##### Bug Fixes
- Fix an issue where reassignments where not tracked through an await expression ([#4162](https://togithub.com/rollup/rollup/issues/4162))
##### Pull Requests
- [#4162](https://togithub.com/rollup/rollup/pull/4162): doptimize awaited expressions ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.52.5`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2525)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.4...v2.52.5)
*2021-07-01*
##### Bug Fixes
- Properly display parser errors not tied to a code location ([#4160](https://togithub.com/rollup/rollup/issues/4160))
##### Pull Requests
- [#4160](https://togithub.com/rollup/rollup/pull/4160): fix: max stack call error is caught on locate ([@semoal](https://togithub.com/semoal))
### [`v2.52.4`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2524)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.3...v2.52.4)
*2021-06-30*
##### Bug Fixes
- Fix an error when external namespaces are reexported across several files ([#4159](https://togithub.com/rollup/rollup/issues/4159))
##### Pull Requests
- [#4159](https://togithub.com/rollup/rollup/pull/4159): Properly handle double reexports from external namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.52.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2523)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.2...v2.52.3)
*2021-06-25*
##### Bug Fixes
- Fix an issue where code was wrongly removed when using vars in nested scopes ([#4149](https://togithub.com/rollup/rollup/issues/4149))
##### Pull Requests
- [#4149](https://togithub.com/rollup/rollup/pull/4149): Make sure the initializer of hoisted variables is deoptimized ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.52.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2522)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.1...v2.52.2)
*2021-06-21*
##### Bug Fixes
- Support falsy plugins in types ([#4144](https://togithub.com/rollup/rollup/issues/4144))
- Do not require return value in renderChunkHook type ([#4144](https://togithub.com/rollup/rollup/issues/4144))
##### Pull Requests
- [#4144](https://togithub.com/rollup/rollup/pull/4144): Use TypeScript config and improve some types ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.52.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2521)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.0...v2.52.1)
*2021-06-17*
##### Bug Fixes
- Fix a memory leak in watch mode ([#4142](https://togithub.com/rollup/rollup/issues/4142))
##### Pull Requests
- [#4142](https://togithub.com/rollup/rollup/pull/4142): Make array and object prototype singletons immutable for now ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.52.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2520)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.51.2...v2.52.0)
*2021-06-16*
##### Features
- Add `--configPlugin` CLI option to apply plugins to the config file for e.g. TypeScript configs ([#3835](https://togithub.com/rollup/rollup/issues/3835))
- Add "safest" and "smallest" presets to tree-shaking options for easier configuration ([#4131](https://togithub.com/rollup/rollup/issues/4131))
- Add `treeshake.correctVarValueBeforeDeclaration` option to deoptimize `var` declarations ([#4139](https://togithub.com/rollup/rollup/issues/4139))
##### Pull Requests
- [#3835](https://togithub.com/rollup/rollup/pull/3835): Add typescript config support ([@TheRealSyler](https://togithub.com/TheRealSyler))
- [#4131](https://togithub.com/rollup/rollup/pull/4131): Add presets to the tree-shaking options ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4139](https://togithub.com/rollup/rollup/pull/4139): Add option to deoptimize var declarations for tree-shaking ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4141](https://togithub.com/rollup/rollup/pull/4141): Update dependencies ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.51.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2512)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.51.1...v2.51.2)
*2021-06-11*
##### Bug Fixes
- Include modules imported from no-treeshake modules even if they would be empty ([#4138](https://togithub.com/rollup/rollup/issues/4138))
##### Pull Requests
- [#4138](https://togithub.com/rollup/rollup/pull/4138): Include all dependencies from modules with no-treeshake ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.51.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2511)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.51.0...v2.51.1)
*2021-06-08*
##### Bug Fixes
- Fix error when using `defineConfig` ([#4134](https://togithub.com/rollup/rollup/issues/4134))
##### Pull Requests
- [#4134](https://togithub.com/rollup/rollup/pull/4134): export `rollup.defineConfig` at runtime ([@mshrtsr](https://togithub.com/mshrtsr))
### [`v2.51.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2510)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.6...v2.51.0)
*2021-06-06*
##### Features
- Add a helper for IntelliSense support in config files ([#4127](https://togithub.com/rollup/rollup/issues/4127))
##### Bug Fixes
- Improve performance when generating source maps ([#4122](https://togithub.com/rollup/rollup/issues/4122))
##### Pull Requests
- [#4122](https://togithub.com/rollup/rollup/pull/4122): User Map to optimize performance ([@izevo](https://togithub.com/izevo))
- [#4127](https://togithub.com/rollup/rollup/pull/4127): Export defineConfig defines the auxiliary function of the configuration ([@rxliuli](https://togithub.com/rxliuli))
### [`v2.50.6`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2506)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.5...v2.50.6)
*2021-06-03*
##### Bug Fixes
- Do not consider the object spread operator as side effect when `propertyReadSideEffects` are false ([#4119](https://togithub.com/rollup/rollup/issues/4119))
- Detect side effects when returning thenables from async arrow functions ([#4120](https://togithub.com/rollup/rollup/issues/4120))
##### Pull Requests
- [#4119](https://togithub.com/rollup/rollup/pull/4119): Respect propertyReadSideEffects in spread elements ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4120](https://togithub.com/rollup/rollup/pull/4120): Detect async arrow thenable side effects ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.5`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2505)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.4...v2.50.5)
*2021-05-30*
##### Bug Fixes
- Detect side effects when accessing thenables ([#4115](https://togithub.com/rollup/rollup/issues/4115))
##### Pull Requests
- [#4114](https://togithub.com/rollup/rollup/pull/4114): use `colorette` instead of `turbocolor` ([@ryuever](https://togithub.com/ryuever))
- [#4115](https://togithub.com/rollup/rollup/pull/4115): Tracks side effects of thenables ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.4`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2504)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.3...v2.50.4)
*2021-05-29*
##### Bug Fixes
- Fix a situation where tree-shaking would stop including nodes prematurely ([#4111](https://togithub.com/rollup/rollup/issues/4111))
- Track mutations and accessor side effects when using `__proto__` in an object literal ([#4112](https://togithub.com/rollup/rollup/issues/4112))
- Check for getter effects when spreading an object ([#4113](https://togithub.com/rollup/rollup/issues/4113))
##### Pull Requests
- [#4111](https://togithub.com/rollup/rollup/pull/4111): Always request a new tree-shaking pass when deoptimizations of a node are first included ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4112](https://togithub.com/rollup/rollup/pull/4112): Actually set the prototype when using a **proto** property ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4113](https://togithub.com/rollup/rollup/pull/4113): Track access side effects when using object spread operator ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2503)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.2...v2.50.3)
*2021-05-28*
##### Bug Fixes
- Wrap parentheses around leading elements in simplified sequence expressions if this would otherwise lead to invalid code ([#4110](https://togithub.com/rollup/rollup/issues/4110))
- Do not associate block soped variables in catch clauses with the clause parameter ([#4108](https://togithub.com/rollup/rollup/issues/4108))
- Do not associate hoisted variables in catch clauses with outside variables if they match the parameter ([#4108](https://togithub.com/rollup/rollup/issues/4108))
- Use correct "this" context for tagged template literal member expressions in simplified sequences ([#4110](https://togithub.com/rollup/rollup/issues/4110))
##### Pull Requests
- [#4108](https://togithub.com/rollup/rollup/pull/4108): Correctly handle catch declarations ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4110](https://togithub.com/rollup/rollup/pull/4110): Invalid sequence expression simplification ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2502)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.1...v2.50.2)
*2021-05-27*
##### Bug Fixes
- Avoid unnecessary side effects when using methods like `.filter` and `.map` ([#4103](https://togithub.com/rollup/rollup/issues/4103))
- Avoid crash when a module with moduleSideEffects no-treeshake imports a tree-shaken module ([#4104](https://togithub.com/rollup/rollup/issues/4104))
##### Pull Requests
- [#4103](https://togithub.com/rollup/rollup/pull/4103): Do not track side-effect-free array methods as side effects ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4104](https://togithub.com/rollup/rollup/pull/4104): Fix crash when using inlineDynamicImports with no-treeshake ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2501)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.0...v2.50.1)
*2021-05-26*
##### Bug Fixes
- Do not associate pure annotations in simplified expressions with wrong elements ([#4095](https://togithub.com/rollup/rollup/issues/4095))
- Prevent invalid code when simplified conditionals start with an IIFE function expression ([#4099](https://togithub.com/rollup/rollup/issues/4099))
##### Pull Requests
- [#4095](https://togithub.com/rollup/rollup/pull/4095): Correctly associate pure annotations and remove invalid ones ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4099](https://togithub.com/rollup/rollup/pull/4099): Wrap leading function expression iifes in conditionals ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.50.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2500)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.49.0...v2.50.0)
*2021-05-25*
#####
Configuration
📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^2.38.0
->^2.73.0
Release Notes
rollup/rollup
### [`v2.73.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2730) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.72.1...v2.73.0) *2022-05-13* ##### Features - Do not treat Object.defineProperty/ies as side effect when called on an unused object ([#4493](https://togithub.com/rollup/rollup/issues/4493)) - Do not assume that assigning a property can create a getter with side effects ([#4493](https://togithub.com/rollup/rollup/issues/4493)) - Do not treat string.prototype.replace(All) as side effect when used with two literals ([#4493](https://togithub.com/rollup/rollup/issues/4493)) ##### Bug Fixes - Detect side effects when manually declaring getters on functions ([#4493](https://togithub.com/rollup/rollup/issues/4493)) ##### Pull Requests - [#4493](https://togithub.com/rollup/rollup/pull/4493): Handle getters on functions and improve property deoptimization ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4494](https://togithub.com/rollup/rollup/pull/4494): Do not treat string.replace as side effect when used with a literal ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4495](https://togithub.com/rollup/rollup/pull/4495): Update docs for --configPlugin using typescript ([@Jimmydalecleveland](https://togithub.com/Jimmydalecleveland)) ### [`v2.72.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2721) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.72.0...v2.72.1) *2022-05-07* ##### Bug Fixes - Improve tree-shaking of classes with super classes in certain scenarios ([#4489](https://togithub.com/rollup/rollup/issues/4489)) ##### Pull Requests - [#4489](https://togithub.com/rollup/rollup/pull/4489): Do not deoptimize entire super class when adding a property ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.72.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2720) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.71.1...v2.72.0) *2022-05-05* ##### Features - Add CLI hooks to run external commands at certain points in watch mode ([#4457](https://togithub.com/rollup/rollup/issues/4457)) ##### Bug Fixes - Fix an issue that could accidentally treat relevant assignments as side effect free ([#4486](https://togithub.com/rollup/rollup/issues/4486)) ##### Pull Requests - [#4457](https://togithub.com/rollup/rollup/pull/4457): feat: CLI event hook flags ([@Harris-Miller](https://togithub.com/Harris-Miller)) - [#4486](https://togithub.com/rollup/rollup/pull/4486): Fix reassignment tracking ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.71.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2711) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.71.0...v2.71.1) *2022-04-30* ##### Bug Fixes - Allow importing loadConfigFile without extension ([#4483](https://togithub.com/rollup/rollup/issues/4483)) ##### Pull Requests - [#4483](https://togithub.com/rollup/rollup/pull/4483): Add exports exception for loadConfigFile ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.71.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2710) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.70.2...v2.71.0) *2022-04-30* ### [`v2.70.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2702) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.70.1...v2.70.2) *2022-04-15* ##### Bug Fixes - Do not enforce undefined return values in TypeScript types ([#4463](https://togithub.com/rollup/rollup/issues/4463)) ##### Pull Requests - [#4463](https://togithub.com/rollup/rollup/pull/4463): use void for options hook instead of undefined ([@ycmjason](https://togithub.com/ycmjason)) ### [`v2.70.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2701) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.70.0...v2.70.1) *2022-03-14* ##### Bug Fixes - Handle unfinished hook action errors as regular errors and avoid console logging ([#4434](https://togithub.com/rollup/rollup/issues/4434)) - Allow access to "dist" folder in a Node 17 compatible way ([#4436](https://togithub.com/rollup/rollup/issues/4436)) ##### Pull Requests - [#4434](https://togithub.com/rollup/rollup/pull/4434): Track unfinished hook actions as regular errors ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4436](https://togithub.com/rollup/rollup/pull/4436): Update package.json ([@frank-dspeed](https://togithub.com/frank-dspeed)) ### [`v2.70.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2700) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.69.2...v2.70.0) *2022-03-07* ##### Features - Make the `watchChange` and `closeWatcher` hooks asynchronous and make Rollup wait for these hooks before continuing ([#4427](https://togithub.com/rollup/rollup/issues/4427)) ##### Bug Fixes - Do not abort watch mode for errors in `watchChange` but display them properly ([#4427](https://togithub.com/rollup/rollup/issues/4427)) ##### Pull Requests - [#4427](https://togithub.com/rollup/rollup/pull/4427): Do not abort watch mode on errors in watchChange ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.69.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2692) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.69.1...v2.69.2) *2022-03-06* ##### Bug Fixes - Mark `Object.entries` and `Object.fromEntries` as pure ([#4429](https://togithub.com/rollup/rollup/issues/4429)) - Make sure new properties on Array.prototype and Object.prototype are not evaluated as "undefined" ([#4428](https://togithub.com/rollup/rollup/issues/4428)) ##### Pull Requests - [#4428](https://togithub.com/rollup/rollup/pull/4428): Treat unknown prototype props as unknown ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4429](https://togithub.com/rollup/rollup/pull/4429): Treat unknown prototype props as unknown ([@869288142](https://togithub.com/869288142)) ### [`v2.69.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2691) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.69.0...v2.69.1) *2022-03-04* ##### Bug Fixes - Approximate source position instead of ignoring it when using a low-resolution source map in a transform hook ([#4334](https://togithub.com/rollup/rollup/issues/4334)) ##### Pull Requests - [#4334](https://togithub.com/rollup/rollup/pull/4334): fix(sourcemap): fall back to low-resolution line mapping ([@aleclarson](https://togithub.com/aleclarson) and [@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.69.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2690) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.68.0...v2.69.0) *2022-03-02* ##### Features - Introduce new `output.generatedCode.symbols` to control the usage of Symbols in Rollup-generated code ([#4378](https://togithub.com/rollup/rollup/issues/4378)) - soft-deprecate `output.namespaceToStringTag` in favor of `output.generatedCode.symbols` ([#4378](https://togithub.com/rollup/rollup/issues/4378)) ##### Bug Fixes - Properly handle `./` and `../` as external dependencies ([#4419](https://togithub.com/rollup/rollup/issues/4419)) - Make generated "Module" namespace toStringTag non-enumerable for correct Object.assign/spread behaviour ([#4378](https://togithub.com/rollup/rollup/issues/4378)) - Add file name to error when top-level-await is used in disallowed formats ([#4421](https://togithub.com/rollup/rollup/issues/4421)) ##### Pull Requests - [#4378](https://togithub.com/rollup/rollup/pull/4378): Make namespace @[@toStringTag](https://togithub.com/toStringTag) "Module" non-enumerable ([@dnalborczyk](https://togithub.com/dnalborczyk) and [@lukastaegert](https://togithub.com/lukastaegert)) - [#4413](https://togithub.com/rollup/rollup/pull/4413): refactor: some code and type fixes ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4418](https://togithub.com/rollup/rollup/pull/4418): chore: bump deps ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4419](https://togithub.com/rollup/rollup/pull/4419): Properly handle upper directories as external dependencies ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4421](https://togithub.com/rollup/rollup/pull/4421): Improve the error prompt and output the error file name ([@caoxiemeihao](https://togithub.com/caoxiemeihao)) - [#4423](https://togithub.com/rollup/rollup/pull/4423): Update 999-big-list-of-options.md ([@leoj3n](https://togithub.com/leoj3n)) ### [`v2.68.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2680) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.67.3...v2.68.0) *2022-02-22* ##### Features - provide information about cached import resolutions in `shouldTransformCachedModule` ([#4414](https://togithub.com/rollup/rollup/issues/4414)) - Add "types" field to Rollup's package exports ([#4416](https://togithub.com/rollup/rollup/issues/4416)) ##### Pull Requests - [#4410](https://togithub.com/rollup/rollup/pull/4410): refactor: use map for declarations and name suggestions ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4411](https://togithub.com/rollup/rollup/pull/4411): refactor: use map for namespace reexports by name ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4412](https://togithub.com/rollup/rollup/pull/4412): refactor: use includes where appropriate ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4414](https://togithub.com/rollup/rollup/pull/4414): Add resolved sources to shouldTransformCachedModule ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4416](https://togithub.com/rollup/rollup/pull/4416): Add Typescript 4.5 nodenext node12 module resolution support ([@frank-dspeed](https://togithub.com/frank-dspeed)) ### [`v2.67.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2673) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.67.2...v2.67.3) *2022-02-18* ##### Bug Fixes - Do not swallow other errors when unfinished hook actions are detected ([#4409](https://togithub.com/rollup/rollup/issues/4409)) - Add additional information to output when there are unfinished hook actions ([#4409](https://togithub.com/rollup/rollup/issues/4409)) ##### Pull Requests - [#4399](https://togithub.com/rollup/rollup/pull/4399): docs: remove const ([@TrickyPi](https://togithub.com/TrickyPi)) - [#4401](https://togithub.com/rollup/rollup/pull/4401): Improve test stability by getting independent of module id ordering in more places ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4403](https://togithub.com/rollup/rollup/pull/4403): fix: remove unnecessary property descriptor spread ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4404](https://togithub.com/rollup/rollup/pull/4404): refactor: use map for import descriptions + re-export descriptions ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4405](https://togithub.com/rollup/rollup/pull/4405): refactor: module exports to map ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4406](https://togithub.com/rollup/rollup/pull/4406): Fix a typo in 'Direct plugin communication' code example ([@younesmln](https://togithub.com/younesmln)) - [#4407](https://togithub.com/rollup/rollup/pull/4407): Document how resolveId is cached ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4409](https://togithub.com/rollup/rollup/pull/4409): Print ids for unfinished moduleParsed and shouldTransformCachedModule hooks ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.67.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2672) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.67.1...v2.67.2) *2022-02-10* ##### Bug Fixes - Ensure consistent order between manual chunks to fix hashing issues ([#4397](https://togithub.com/rollup/rollup/issues/4397)) ##### Pull Requests - [#4390](https://togithub.com/rollup/rollup/pull/4390): refactor: add [@types/estree](https://togithub.com/types/estree) explicitly, fix dynamic type imports ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4391](https://togithub.com/rollup/rollup/pull/4391): chore: remove acorn-walk ambient type definitions ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4397](https://togithub.com/rollup/rollup/pull/4397): Sort manual chunks generated via a function by name ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.67.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2671) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.67.0...v2.67.1) *2022-02-07* ##### Bug Fixes - Make chunk file and variable names more deterministic when emitting chunks ([#4386](https://togithub.com/rollup/rollup/issues/4386)) - Improve default module resolver performance by using non-blocking IO ([#4386](https://togithub.com/rollup/rollup/issues/4386)) ##### Pull Requests - [#4373](https://togithub.com/rollup/rollup/pull/4373): fix: even more types ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4382](https://togithub.com/rollup/rollup/pull/4382): Update contribution tut link desc ([@lemredd](https://togithub.com/lemredd)) - [#4383](https://togithub.com/rollup/rollup/pull/4383): chore: bump deps ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4384](https://togithub.com/rollup/rollup/pull/4384): chore: move "wait" to utils + re-use ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4385](https://togithub.com/rollup/rollup/pull/4385): refactor: convert watch tests to async functions ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4386](https://togithub.com/rollup/rollup/pull/4386): refactor: use fs.promises in resolve id, Part 4 ([@dnalborczyk](https://togithub.com/dnalborczyk) and [@lukastaegert](https://togithub.com/lukastaegert)) - [#4389](https://togithub.com/rollup/rollup/pull/4389): refactor: use fs.promises in generate license file, rollup config, Part 5 ([@dnalborczyk](https://togithub.com/dnalborczyk)) ### [`v2.67.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2670) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.66.1...v2.67.0) *2022-02-02* ##### Features - Improve side effect detection when using Array.prototype.groupBy/groupByToMap ([#4360](https://togithub.com/rollup/rollup/issues/4360)) - Allow changing `moduleSideEffects` at any time during the build ([#4379](https://togithub.com/rollup/rollup/issues/4379)) - Soft-deprecate `ModuleInfo.hasModuleSideEffects` in favour of `ModuleInfo.moduleSideEffects` ([#4379](https://togithub.com/rollup/rollup/issues/4379)) ##### Bug Fixes - Do not include queries and hashes in generated file names when preserving modules ([#4374](https://togithub.com/rollup/rollup/issues/4374)) ##### Pull Requests - [#4319](https://togithub.com/rollup/rollup/pull/4319): refactor: use fs, fs-extra, remove sander ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4360](https://togithub.com/rollup/rollup/pull/4360): feat: add Array.prototype.groupBy/groupByToMap ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4361](https://togithub.com/rollup/rollup/pull/4361): fix: more types ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4369](https://togithub.com/rollup/rollup/pull/4369): fix: remove acorn-walk patch ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4371](https://togithub.com/rollup/rollup/pull/4371): refactor: use fs.promises in cli/run ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4372](https://togithub.com/rollup/rollup/pull/4372): refactor: use fs.promises in module loader ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4374](https://togithub.com/rollup/rollup/pull/4374): Ignore queries and hashes in file names when preserving modules ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4375](https://togithub.com/rollup/rollup/pull/4375): Fix typo in \_config.js ([@eltociear](https://togithub.com/eltociear)) - [#4376](https://togithub.com/rollup/rollup/pull/4376): refactor: fs.promises, move mkdir to writeoutputfile, Part 3 ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4379](https://togithub.com/rollup/rollup/pull/4379): Deprecate hasModuleSideEffects in favor of moduleSideEffects and ensure it is mutable on ModuleInfo ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.66.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2661) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.66.0...v2.66.1) *2022-01-25* ##### Bug Fixes - Only warn for conflicting names in namespace reexports if it actually causes problems ([#4363](https://togithub.com/rollup/rollup/issues/4363)) - Only allow explicit exports or reexports as synthetic namespaces and hide them from namespace reexports ([#4364](https://togithub.com/rollup/rollup/issues/4364)) ##### Pull Requests - [#4362](https://togithub.com/rollup/rollup/pull/4362): refactor: convert exportsByName object to map ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4363](https://togithub.com/rollup/rollup/pull/4363): Do not warn unnecessarily for namespace conflicts ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4364](https://togithub.com/rollup/rollup/pull/4364): Do not expose synthetic namespace export in entries and namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.66.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2660) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.65.0...v2.66.0) *2022-01-22* ##### Features - Note if a module has a default export in ModuleInfo to allow writing better proxy modules ([#4356](https://togithub.com/rollup/rollup/issues/4356)) - Add option to wait until all imported ids have been resolved when awaiting `this.load` ([#4358](https://togithub.com/rollup/rollup/issues/4358)) ##### Pull Requests - [#4356](https://togithub.com/rollup/rollup/pull/4356): Add hasDefaultExport to ModuleInfo ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4358](https://togithub.com/rollup/rollup/pull/4358): Add "resolveDependencies" option to "this.load" ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.65.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2650) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.64.0...v2.65.0) *2022-01-21* ##### Features - Add complete import resolution objects to ModuleInfo for use in `this.load` ([#4354](https://togithub.com/rollup/rollup/issues/4354)) ##### Bug Fixes - Use correct context in plugin hooks with `perf: true` ([#4357](https://togithub.com/rollup/rollup/issues/4357)) ##### Pull Requests - [#4351](https://togithub.com/rollup/rollup/pull/4351): refactor: re-use source mapping url ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4352](https://togithub.com/rollup/rollup/pull/4352): refactor: replace require-relative with built-in require.resolve ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4353](https://togithub.com/rollup/rollup/pull/4353): chore: bump deps ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4354](https://togithub.com/rollup/rollup/pull/4354): Add importedIdResolutions to moduleInfo ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4355](https://togithub.com/rollup/rollup/pull/4355): chore: remove external from config ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4357](https://togithub.com/rollup/rollup/pull/4357): fix: timed plugin context ([@dnalborczyk](https://togithub.com/dnalborczyk)) ### [`v2.64.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2640) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.63.0...v2.64.0) *2022-01-14* ##### Features - Allow inspecting cached modules and forcing them to be transformed again via shouldTransformCachedModule ([#4320](https://togithub.com/rollup/rollup/issues/4320)) - Do not wait for the config file to be parsed in watch mode if it is updated before that ([#4344](https://togithub.com/rollup/rollup/issues/4344)) ##### Bug Fixes - Do not mutate objects returned as `meta` from the resolveId hook ([#4347](https://togithub.com/rollup/rollup/issues/4347)) ##### Pull Requests - [#4326](https://togithub.com/rollup/rollup/pull/4326): refactor: type fixes ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4339](https://togithub.com/rollup/rollup/pull/4339): More watch test stabilization ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4340](https://togithub.com/rollup/rollup/pull/4340): refactor: performance timers for node.js and browser ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4341](https://togithub.com/rollup/rollup/pull/4341): Implement shouldTransformCachedModule hook ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4344](https://togithub.com/rollup/rollup/pull/4344): Directly restart Rollup when config file change is detected in watch mode ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4347](https://togithub.com/rollup/rollup/pull/4347): Create a shallow copy when returning meta from resolveId ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.63.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2630) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.62.0...v2.63.0) *2022-01-04* ##### Features - Report a helpful error if rollup exits due to an empty event loop when using `this.load` ([#4320](https://togithub.com/rollup/rollup/issues/4320)) - Allow directly mutating ModuleInfo.meta for modules and never replace this object ([#4328](https://togithub.com/rollup/rollup/issues/4328)) - Detect additional side effect free array prototype methods ([#4332](https://togithub.com/rollup/rollup/issues/4332)) ##### Bug Fixes - Do not watch if CLI watch options are specified but `--watch` is missing ([#4335](https://togithub.com/rollup/rollup/issues/4335)) ##### Pull Requests - [#4320](https://togithub.com/rollup/rollup/pull/4320): Detect unfulfilled async hook actions and report error on exit ([@kzc](https://togithub.com/kzc)) - [#4328](https://togithub.com/rollup/rollup/pull/4328): Make initial ModuleInfo.meta mutable and maintain object identity ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4318](https://togithub.com/rollup/rollup/pull/4318): Stabilize watch tests ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4331](https://togithub.com/rollup/rollup/pull/4331): Improve JS docs example ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4332](https://togithub.com/rollup/rollup/pull/4332): add support for Array.prototype.findLast,findLastIndex ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4333](https://togithub.com/rollup/rollup/pull/4333): convert utils.transform to async function ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4335](https://togithub.com/rollup/rollup/pull/4335): Do not watch unless --watch is specified explicitly ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4338](https://togithub.com/rollup/rollup/pull/4338): Add build delay for plugin event test ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.62.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2620) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.61.1...v2.62.0) *2021-12-24* ##### Features - Mark additional string prototype methods as side-effect-free and correct typings of existing ones ([#4299](https://togithub.com/rollup/rollup/issues/4299)) - Mark additional array prototype methods as side-effect-free and correct typings of existing ones ([#4309](https://togithub.com/rollup/rollup/issues/4309)) - Expose if a module is included after tree-shaking in its ModuleInfo ([#4305](https://togithub.com/rollup/rollup/issues/4305)) ##### Bug Fixes - Fix how fsevents is included to improve watch mode on MacOS ([#4312](https://togithub.com/rollup/rollup/issues/4312)) ##### Pull Requests - [#4299](https://togithub.com/rollup/rollup/pull/4299): Add additional string prototype methods ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4300](https://togithub.com/rollup/rollup/pull/4300): Bump deps, fix expected test result for core-js ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4302](https://togithub.com/rollup/rollup/pull/4302): Replace type assertion with type guard ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4304](https://togithub.com/rollup/rollup/pull/4304): Re-use reserved names set ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4305](https://togithub.com/rollup/rollup/pull/4305): Expose isIncluded in module info ([@william57m](https://togithub.com/william57m)) - [#4306](https://togithub.com/rollup/rollup/pull/4306): Fix git line breaks on windows ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4307](https://togithub.com/rollup/rollup/pull/4307): Add macos to pipeline ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4309](https://togithub.com/rollup/rollup/pull/4309): Add additional array prototype methods ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4311](https://togithub.com/rollup/rollup/pull/4311): Add Deno instructions to docs ([@jespertheend](https://togithub.com/jespertheend)) - [#4312](https://togithub.com/rollup/rollup/pull/4312): fsevents integration ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4313](https://togithub.com/rollup/rollup/pull/4313): Remove non-existing static functions from known globals ([@dnalborczyk](https://togithub.com/dnalborczyk)) ### [`v2.61.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2611) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.61.0...v2.61.1) *2021-12-11* ##### Bug Fixes - Only resolve this.load once the code of the module is available ([#4296](https://togithub.com/rollup/rollup/issues/4296)) ##### Pull Requests - [#4296](https://togithub.com/rollup/rollup/pull/4296): Make sure this.load waits for modules that are already loading ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4298](https://togithub.com/rollup/rollup/pull/4298): use set for reserved words ([@dnalborczyk](https://togithub.com/dnalborczyk)) ### [`v2.61.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2610) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.60.2...v2.61.0) *2021-12-09* ##### Features - Support ergonomic brand checks for private fields ([#4293](https://togithub.com/rollup/rollup/issues/4293)) ##### Bug Fixes - Improve handling of directory creation on systems with restrictive open files limit ([#4288](https://togithub.com/rollup/rollup/issues/4288)) ##### Pull Requests - [#4288](https://togithub.com/rollup/rollup/pull/4288): modifymkdirpath ([@mgrabowski84](https://togithub.com/mgrabowski84)) - [#4293](https://togithub.com/rollup/rollup/pull/4293): bump deps ([@dnalborczyk](https://togithub.com/dnalborczyk)) ### [`v2.60.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2602) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.60.1...v2.60.2) *2021-11-30* ##### Bug Fixes - Produce correct output when dynamic import paths contain quotes ([#4286](https://togithub.com/rollup/rollup/issues/4286)) ##### Pull Requests - [#4286](https://togithub.com/rollup/rollup/pull/4286): Escape dynamic import paths ([@danielroe](https://togithub.com/danielroe)) ### [`v2.60.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2601) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.60.0...v2.60.1) *2021-11-22* ##### Bug Fixes - Make sure virtual files have proper file extensions when preserving modules ([#4270](https://togithub.com/rollup/rollup/issues/4270)) ##### Pull Requests - [#4270](https://togithub.com/rollup/rollup/pull/4270): Use entryFileNames when generating filenames for virtual modules ([@BPScott](https://togithub.com/BPScott)) ### [`v2.60.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2600) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.59.0...v2.60.0) *2021-11-11* ##### Features - Add `this.load` context function to load, transform and parse modules without adding them to the graph ([#4234](https://togithub.com/rollup/rollup/issues/4234)) - Sanitize non-url-safe characters in generated chunk names by default ([#4262](https://togithub.com/rollup/rollup/issues/4262)) - Support ESM plugins via command line ([#4265](https://togithub.com/rollup/rollup/issues/4265)) ##### Pull Requests - [#4234](https://togithub.com/rollup/rollup/pull/4234): Plugin context function for pre-loading modules ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4262](https://togithub.com/rollup/rollup/pull/4262): exclude invalid URL chars ([@danielroe](https://togithub.com/danielroe)) - [#4265](https://togithub.com/rollup/rollup/pull/4265): support loading ESM plugins from the CLI via --plugin ([@kzc](https://togithub.com/kzc)) ### [`v2.59.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2590) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.58.3...v2.59.0) *2021-11-01* ##### Features - Support static class initialization blocks ([#4249](https://togithub.com/rollup/rollup/issues/4249)) ##### Bug Fixes - Fix an issue with the CommonJS plugin when module.exports has inherited properties ([#4256](https://togithub.com/rollup/rollup/issues/4256)) ##### Pull Requests - [#4236](https://togithub.com/rollup/rollup/pull/4236): typescript bug class field initialization order ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4249](https://togithub.com/rollup/rollup/pull/4249): Support for class static initialization block ([@dnalborczyk](https://togithub.com/dnalborczyk) and [@lukastaegert](https://togithub.com/lukastaegert)) - [#4256](https://togithub.com/rollup/rollup/pull/4256): Skip inherited properties in synthetic namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.58.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2583) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.58.2...v2.58.3) *2021-10-25* ##### Bug Fixes - Republish 2.58.1 with npm 6 as files were missing ### [`v2.58.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2582) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.58.1...v2.58.2) *2021-10-25* ##### Bug Fixes - Republish 2.58.1 as files were missing ### [`v2.58.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2581) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.58.0...v2.58.1) *2021-10-25* ##### Bug Fixes - Fix an issue with the CommonJS plugin when module.exports is falsy ([#4247](https://togithub.com/rollup/rollup/issues/4247)) ##### Pull Requests - [#4247](https://togithub.com/rollup/rollup/pull/4247): Handle falsy synthetic namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.58.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2580) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.57.0...v2.58.0) *2021-10-01* ##### Features - Add a flag to more reliably identify entry points in the `resolveId` hook ([#4230](https://togithub.com/rollup/rollup/issues/4230)) ##### Pull Requests - [#4230](https://togithub.com/rollup/rollup/pull/4230): Add isEntry flag to resolveId and this.resolve ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4233](https://togithub.com/rollup/rollup/pull/4233): Remove unused rollup-plugin-typescript ambient module types ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4235](https://togithub.com/rollup/rollup/pull/4235): Update dependencies ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.57.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2570) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.56.3...v2.57.0) *2021-09-22* ##### Features - Add `generatedCode` option to allow Rollup to use es2015 features for smaller output and more efficient helpers ([#4215](https://togithub.com/rollup/rollup/issues/4215)) - Improve AMD and SystemJS parsing performance by wrapping relevant functions in parentheses ([#4215](https://togithub.com/rollup/rollup/issues/4215)) - Using `preferConst` will now show a warning with `strictDeprecations: true` ([#4215](https://togithub.com/rollup/rollup/issues/4215)) ##### Bug Fixes - Improve ES3 syntax compatibility by more consequently quoting reserved words as props in generated code ([#4215](https://togithub.com/rollup/rollup/issues/4215)) - Do not use `Object.assign` in generated code to ensure ES5 compatibility without the need for polyfills ([#4215](https://togithub.com/rollup/rollup/issues/4215)) - Support live-bindings in dynamic namespace objects that contain reexported external or synthetic namespaces ([#4215](https://togithub.com/rollup/rollup/issues/4215)) - Use correct "this" binding in dynamic import expressions for CommonJS and AMD ([#4215](https://togithub.com/rollup/rollup/issues/4215)) - Properly handle `shimMissingExports` for exports that are only used internally ([#4215](https://togithub.com/rollup/rollup/issues/4215)) - Prevent unhandled rejection for failed module parsing ([#4228](https://togithub.com/rollup/rollup/issues/4228)) ##### Pull Requests - [#4212](https://togithub.com/rollup/rollup/pull/4212): chore: remove unused ambient types ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4215](https://togithub.com/rollup/rollup/pull/4215): Use ES2015 features in generated code snippets ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4219](https://togithub.com/rollup/rollup/pull/4219): chore: bump rollup typescript, remove unused micromatch ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4220](https://togithub.com/rollup/rollup/pull/4220): chore: use forceConsistentCasingInFileNames in ts-config ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4224](https://togithub.com/rollup/rollup/pull/4224): prepare for useDefineForClassFields ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4228](https://togithub.com/rollup/rollup/pull/4228): fix: prevent UnhandledPromiseRejectionWarning when module resolution/parsing fails ([@kherock](https://togithub.com/kherock)) ### [`v2.56.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2563) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.56.2...v2.56.3) *2021-08-23* ##### Bug Fixes - Make sure moduleInfo contains complete information about imported ids in the moduleParsed hook ([#4208](https://togithub.com/rollup/rollup/issues/4208)) ##### Pull Requests - [#4208](https://togithub.com/rollup/rollup/pull/4208): `ModuleInfo.importedIds` will return null if `resolvedIds[source]` is undefined ([@FoxDaxian](https://togithub.com/FoxDaxian) and [@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.56.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2562) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.56.1...v2.56.2) *2021-08-10* ##### Bug Fixes - Check if after simplification, an object pattern would become an expression statement or arrow function return value ([#4204](https://togithub.com/rollup/rollup/issues/4204)) ##### Pull Requests - [#4204](https://togithub.com/rollup/rollup/pull/4204): Do not create invalid code when simplifying object pattern assignments ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.56.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2561) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.56.0...v2.56.1) *2021-08-08* ##### Bug Fixes - Fix rendering of SystemJS export declarations initialized with a simplifiable expression ([#4202](https://togithub.com/rollup/rollup/issues/4202)) ##### Pull Requests - [#4202](https://togithub.com/rollup/rollup/pull/4202): Fix incorrect rendering of export declarations in SystemJS ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.56.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2560) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.55.1...v2.56.0) *2021-08-05* ##### Features - Create more efficient code for SystemJS exports ([#4199](https://togithub.com/rollup/rollup/issues/4199)) - Extend `maxParallelFileReads` option to also throttle plugin load hooks ([#4200](https://togithub.com/rollup/rollup/issues/4200)) ##### Bug Fixes - Return correct value for postfix update expressions of exported variables ([#4194](https://togithub.com/rollup/rollup/issues/4194)) ##### Pull Requests - [#4199](https://togithub.com/rollup/rollup/pull/4199): Refine SystemJS export rendering ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4200](https://togithub.com/rollup/rollup/pull/4200): Restrict parallel execution of load hook ([@schummar](https://togithub.com/schummar)) ### [`v2.55.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2551) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.55.0...v2.55.1) *2021-07-29* ##### Bug Fixes - Improve CLI warning message for unused external imports ([#4194](https://togithub.com/rollup/rollup/issues/4194)) ##### Pull Requests - [#4194](https://togithub.com/rollup/rollup/pull/4194): Align batch warning for UNUSED_EXTERNAL_IMPORT to individual warning ([@benmccann](https://togithub.com/benmccann)) ### [`v2.55.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2550) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.54.0...v2.55.0) *2021-07-28* ##### Features - Support default export live-bindings when generating ESM output ([#4182](https://togithub.com/rollup/rollup/issues/4182)) ##### Bug Fixes - Always write `["default"]` as computed property when used as named export ([#4182](https://togithub.com/rollup/rollup/issues/4182)) - Do not mask default export TDZ errors ([#4182](https://togithub.com/rollup/rollup/issues/4182)) ##### Pull Requests - [#4182](https://togithub.com/rollup/rollup/pull/4182): Use mutable bindings for default exports ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.54.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2540) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.53.3...v2.54.0) *2021-07-25* ##### Features - Extend UMD import.meta.url polyfill to support web workers ([#4186](https://togithub.com/rollup/rollup/issues/4186)) ##### Bug Fixes - Resolve an issue where certain uses of classes could lead to an infinite recursion ([#4189](https://togithub.com/rollup/rollup/issues/4189)) ##### Pull Requests - [#4186](https://togithub.com/rollup/rollup/pull/4186): Fix UMD import.meta.url inside web workers ([@ceifa](https://togithub.com/ceifa)) - [#4188](https://togithub.com/rollup/rollup/pull/4188): Fix typo in renderHelpers.ts ([@eltociear](https://togithub.com/eltociear)) - [#4189](https://togithub.com/rollup/rollup/pull/4189): Move long path recursion prevention to MemberExpression ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4190](https://togithub.com/rollup/rollup/pull/4190): Stop recommending node-builtins ([@curran](https://togithub.com/curran)) ### [`v2.53.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2533) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.53.2...v2.53.3) *2021-07-21* ##### Bug Fixes - Solve an issue that could lead to severe memory issues and crashes when there are a lot of hoisted variables ([#4183](https://togithub.com/rollup/rollup/issues/4183)) ##### Pull Requests - [#4183](https://togithub.com/rollup/rollup/pull/4183): Avoid memory issues with hoisted variables ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.53.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2532) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.53.1...v2.53.2) *2021-07-15* ##### Bug Fixes - Identify additional TDZ situations in functions that are run more than once ([#4177](https://togithub.com/rollup/rollup/issues/4177)) - Fix a scoping issue when a variable inside a catch scope matches the scope parameter's name ([#4178](https://togithub.com/rollup/rollup/issues/4178)) ##### Pull Requests - [#4177](https://togithub.com/rollup/rollup/pull/4177): Fix additional let/var init bugs ([@kzc](https://togithub.com/kzc)) - [#4178](https://togithub.com/rollup/rollup/pull/4178): Correctly create outside variable when shadowed by catch parameter ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.53.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2531) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.53.0...v2.53.1) *2021-07-11* ##### Bug Fixes - Do not omit namespace reexports when `treeshake` is `false` ([#4175](https://togithub.com/rollup/rollup/issues/4175)) ##### Pull Requests - [#4175](https://togithub.com/rollup/rollup/pull/4175): Generate namespace objects when not tree-shaking ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.53.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2530) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.8...v2.53.0) *2021-07-09* ##### Features - Add `maxParallelFileReads` option to limit read operations with a default of 20 ([#4170](https://togithub.com/rollup/rollup/issues/4170)) ##### Pull Requests - [#4170](https://togithub.com/rollup/rollup/pull/4170): Limit parallel file reads to prevent "EMFILE: too many open files" error ([@schummar](https://togithub.com/schummar)) ### [`v2.52.8`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2528) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.7...v2.52.8) *2021-07-07* ##### Bug Fixes - Automatically handle many use `var` before declaration and TDZ access scenarios correctly without the need for `treeshake.correctVarValueBeforeDeclaration` ([#4148](https://togithub.com/rollup/rollup/issues/4148)) ##### Pull Requests - [#4148](https://togithub.com/rollup/rollup/pull/4148): Fix var/const/let variable use before declaration ([@kzc](https://togithub.com/kzc) and [@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.52.7`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2527) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.6...v2.52.7) *2021-07-02* ##### Bug Fixes - Fix an issue where reassignments where not tracked through async function returns ([#4163](https://togithub.com/rollup/rollup/issues/4163)) ##### Pull Requests - [#4163](https://togithub.com/rollup/rollup/pull/4163): Deoptimize return values of async functions ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.52.6`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2526) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.5...v2.52.6) *2021-07-01* ##### Bug Fixes - Fix an issue where reassignments where not tracked through an await expression ([#4162](https://togithub.com/rollup/rollup/issues/4162)) ##### Pull Requests - [#4162](https://togithub.com/rollup/rollup/pull/4162): doptimize awaited expressions ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.52.5`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2525) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.4...v2.52.5) *2021-07-01* ##### Bug Fixes - Properly display parser errors not tied to a code location ([#4160](https://togithub.com/rollup/rollup/issues/4160)) ##### Pull Requests - [#4160](https://togithub.com/rollup/rollup/pull/4160): fix: max stack call error is caught on locate ([@semoal](https://togithub.com/semoal)) ### [`v2.52.4`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2524) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.3...v2.52.4) *2021-06-30* ##### Bug Fixes - Fix an error when external namespaces are reexported across several files ([#4159](https://togithub.com/rollup/rollup/issues/4159)) ##### Pull Requests - [#4159](https://togithub.com/rollup/rollup/pull/4159): Properly handle double reexports from external namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.52.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2523) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.2...v2.52.3) *2021-06-25* ##### Bug Fixes - Fix an issue where code was wrongly removed when using vars in nested scopes ([#4149](https://togithub.com/rollup/rollup/issues/4149)) ##### Pull Requests - [#4149](https://togithub.com/rollup/rollup/pull/4149): Make sure the initializer of hoisted variables is deoptimized ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.52.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2522) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.1...v2.52.2) *2021-06-21* ##### Bug Fixes - Support falsy plugins in types ([#4144](https://togithub.com/rollup/rollup/issues/4144)) - Do not require return value in renderChunkHook type ([#4144](https://togithub.com/rollup/rollup/issues/4144)) ##### Pull Requests - [#4144](https://togithub.com/rollup/rollup/pull/4144): Use TypeScript config and improve some types ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.52.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2521) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.52.0...v2.52.1) *2021-06-17* ##### Bug Fixes - Fix a memory leak in watch mode ([#4142](https://togithub.com/rollup/rollup/issues/4142)) ##### Pull Requests - [#4142](https://togithub.com/rollup/rollup/pull/4142): Make array and object prototype singletons immutable for now ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.52.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2520) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.51.2...v2.52.0) *2021-06-16* ##### Features - Add `--configPlugin` CLI option to apply plugins to the config file for e.g. TypeScript configs ([#3835](https://togithub.com/rollup/rollup/issues/3835)) - Add "safest" and "smallest" presets to tree-shaking options for easier configuration ([#4131](https://togithub.com/rollup/rollup/issues/4131)) - Add `treeshake.correctVarValueBeforeDeclaration` option to deoptimize `var` declarations ([#4139](https://togithub.com/rollup/rollup/issues/4139)) ##### Pull Requests - [#3835](https://togithub.com/rollup/rollup/pull/3835): Add typescript config support ([@TheRealSyler](https://togithub.com/TheRealSyler)) - [#4131](https://togithub.com/rollup/rollup/pull/4131): Add presets to the tree-shaking options ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4139](https://togithub.com/rollup/rollup/pull/4139): Add option to deoptimize var declarations for tree-shaking ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4141](https://togithub.com/rollup/rollup/pull/4141): Update dependencies ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.51.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2512) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.51.1...v2.51.2) *2021-06-11* ##### Bug Fixes - Include modules imported from no-treeshake modules even if they would be empty ([#4138](https://togithub.com/rollup/rollup/issues/4138)) ##### Pull Requests - [#4138](https://togithub.com/rollup/rollup/pull/4138): Include all dependencies from modules with no-treeshake ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.51.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2511) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.51.0...v2.51.1) *2021-06-08* ##### Bug Fixes - Fix error when using `defineConfig` ([#4134](https://togithub.com/rollup/rollup/issues/4134)) ##### Pull Requests - [#4134](https://togithub.com/rollup/rollup/pull/4134): export `rollup.defineConfig` at runtime ([@mshrtsr](https://togithub.com/mshrtsr)) ### [`v2.51.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2510) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.6...v2.51.0) *2021-06-06* ##### Features - Add a helper for IntelliSense support in config files ([#4127](https://togithub.com/rollup/rollup/issues/4127)) ##### Bug Fixes - Improve performance when generating source maps ([#4122](https://togithub.com/rollup/rollup/issues/4122)) ##### Pull Requests - [#4122](https://togithub.com/rollup/rollup/pull/4122): User Map to optimize performance ([@izevo](https://togithub.com/izevo)) - [#4127](https://togithub.com/rollup/rollup/pull/4127): Export defineConfig defines the auxiliary function of the configuration ([@rxliuli](https://togithub.com/rxliuli)) ### [`v2.50.6`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2506) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.5...v2.50.6) *2021-06-03* ##### Bug Fixes - Do not consider the object spread operator as side effect when `propertyReadSideEffects` are false ([#4119](https://togithub.com/rollup/rollup/issues/4119)) - Detect side effects when returning thenables from async arrow functions ([#4120](https://togithub.com/rollup/rollup/issues/4120)) ##### Pull Requests - [#4119](https://togithub.com/rollup/rollup/pull/4119): Respect propertyReadSideEffects in spread elements ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4120](https://togithub.com/rollup/rollup/pull/4120): Detect async arrow thenable side effects ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.5`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2505) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.4...v2.50.5) *2021-05-30* ##### Bug Fixes - Detect side effects when accessing thenables ([#4115](https://togithub.com/rollup/rollup/issues/4115)) ##### Pull Requests - [#4114](https://togithub.com/rollup/rollup/pull/4114): use `colorette` instead of `turbocolor` ([@ryuever](https://togithub.com/ryuever)) - [#4115](https://togithub.com/rollup/rollup/pull/4115): Tracks side effects of thenables ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.4`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2504) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.3...v2.50.4) *2021-05-29* ##### Bug Fixes - Fix a situation where tree-shaking would stop including nodes prematurely ([#4111](https://togithub.com/rollup/rollup/issues/4111)) - Track mutations and accessor side effects when using `__proto__` in an object literal ([#4112](https://togithub.com/rollup/rollup/issues/4112)) - Check for getter effects when spreading an object ([#4113](https://togithub.com/rollup/rollup/issues/4113)) ##### Pull Requests - [#4111](https://togithub.com/rollup/rollup/pull/4111): Always request a new tree-shaking pass when deoptimizations of a node are first included ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4112](https://togithub.com/rollup/rollup/pull/4112): Actually set the prototype when using a **proto** property ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4113](https://togithub.com/rollup/rollup/pull/4113): Track access side effects when using object spread operator ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2503) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.2...v2.50.3) *2021-05-28* ##### Bug Fixes - Wrap parentheses around leading elements in simplified sequence expressions if this would otherwise lead to invalid code ([#4110](https://togithub.com/rollup/rollup/issues/4110)) - Do not associate block soped variables in catch clauses with the clause parameter ([#4108](https://togithub.com/rollup/rollup/issues/4108)) - Do not associate hoisted variables in catch clauses with outside variables if they match the parameter ([#4108](https://togithub.com/rollup/rollup/issues/4108)) - Use correct "this" context for tagged template literal member expressions in simplified sequences ([#4110](https://togithub.com/rollup/rollup/issues/4110)) ##### Pull Requests - [#4108](https://togithub.com/rollup/rollup/pull/4108): Correctly handle catch declarations ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4110](https://togithub.com/rollup/rollup/pull/4110): Invalid sequence expression simplification ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.2`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2502) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.1...v2.50.2) *2021-05-27* ##### Bug Fixes - Avoid unnecessary side effects when using methods like `.filter` and `.map` ([#4103](https://togithub.com/rollup/rollup/issues/4103)) - Avoid crash when a module with moduleSideEffects no-treeshake imports a tree-shaken module ([#4104](https://togithub.com/rollup/rollup/issues/4104)) ##### Pull Requests - [#4103](https://togithub.com/rollup/rollup/pull/4103): Do not track side-effect-free array methods as side effects ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4104](https://togithub.com/rollup/rollup/pull/4104): Fix crash when using inlineDynamicImports with no-treeshake ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.1`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2501) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.50.0...v2.50.1) *2021-05-26* ##### Bug Fixes - Do not associate pure annotations in simplified expressions with wrong elements ([#4095](https://togithub.com/rollup/rollup/issues/4095)) - Prevent invalid code when simplified conditionals start with an IIFE function expression ([#4099](https://togithub.com/rollup/rollup/issues/4099)) ##### Pull Requests - [#4095](https://togithub.com/rollup/rollup/pull/4095): Correctly associate pure annotations and remove invalid ones ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4099](https://togithub.com/rollup/rollup/pull/4099): Wrap leading function expression iifes in conditionals ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.50.0`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#2500) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.49.0...v2.50.0) *2021-05-25* #####Configuration
📅 Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 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.