Skip to content
This repository was archived by the owner on Oct 17, 2020. It is now read-only.

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 6, 2020

This PR contains the following updates:

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

Release Notes

rollup/rollup

v2.32.0

Compare Source

2020-10-16

Features
  • Extend preserveEntrySignatures with a value "exports-only" to allow extension only if an entry does not have exports (#​3823)
Pull Requests

v2.31.0

Compare Source

2020-10-15

Features
  • When using the output.moduleToStringTag option, also add the tag to entries with exports and simulated external namespaces (#​3822)
  • Add the __esModule interop marker to IIFE global variables unless output.esModule is turned off (#​3822)
Pull Requests

v2.30.0

Compare Source

2020-10-13

Features
  • Add moduleParsed hook that is called for each module once code and AST are available (#​3813)
  • Include code and AST in this.getModuleInfo (#​3813)
Bug Fixes
  • Provide the original Acorn AST instead of the internal one when resolving dynamic imports that contain non-trivial expressions (#​3813)
Pull Requests

v2.29.0

Compare Source

2020-10-08

Features
  • Allow passing custom options to other plugins via this.resolve (#​3807)
  • Allow attaching custom meta information to modules when resolving, loading or transforming (#​3807)
  • Do not throw but return null when using this.getModuleInfo for an unknown id (#​3807)
Bug Fixes
  • Trigger build in watch mode when files are added to a watched directory (#​3812)
  • Make code optional when transforming modules (#​3807)
Pull Requests

v2.28.2

Compare Source

2020-09-24

Bug Fixes
  • Fix a source of possible variable name conflicts when using preserveModules with SystemJS (#​3796)
Pull Requests

v2.28.1

Compare Source

2020-09-21

Bug Fixes
  • Fix a path slash issue when using the preserveModulesRoot option on Windows (#​3791)
Pull Requests

v2.28.0

Compare Source

2020-09-21

Features
  • Add an option to treat modules at a given path as located at root when preserving modules (#​3786)
Pull Requests

v2.27.1

Compare Source

2020-09-17

Bug Fixes
  • Do not fail when using ES module imports in symlinked config files (#​3783)
Pull Requests

v2.27.0

Compare Source

2020-09-16

Features
  • Support specifying a file extension when reading from stdin (#​3775)
Bug Fixes
  • Do not break logic if a branch with hoisted variables is tree-shaken in an else-if statement (#​3782)
Pull Requests

v2.26.11

Compare Source

2020-09-08

Bug Fixes
  • Do not fail for unknown nodes as if statement branches (#​3769)
Pull Requests

v2.26.10

Compare Source

2020-09-04

Bug Fixes
  • Do not create invalid code when simplifying expressions in return statements that contain line comments (#​3762)
Pull Requests

v2.26.9

Compare Source

2020-09-01

Bug Fixes
  • Add regular expression support to watch include/exclude types (#​3754)
Pull Requests
  • #​3754: Add RegExp to the include and exclude fields of the WatcherOptions type (@​dagda1)
  • #​3756: Update FAQ: I think it was meant "external" instead of "other-entry.js" (@​madacol)

v2.26.8

Compare Source

2020-08-29

Bug Fixes
  • Make sure that both unresolved and resolved ids are passed to the external option in all cases (#​3753)
Pull Requests

v2.26.7

Compare Source

2020-08-28

Bug Fixes
  • Avoid invalid code when rendering hoisted variable declarations from dead branches (#​3752)
  • Mark the options parameter of this.parse as optional for TypeScript plugins (#​3750)
Pull Requests

v2.26.6

Compare Source

2020-08-27

Bug Fixes
  • Avoid conflicts between the namespace of synthetic named exports and local variables (#​3747)
Pull Requests

v2.26.5

Compare Source

2020-08-22

Bug Fixes
  • Use correctly deconflicted variable names for reexported namespaces in ES formats (#​3742)
Pull Requests

v2.26.4

Compare Source

2020-08-19

Bug Fixes
  • Fix a situation where invalid code was rendered when dynamically importing a module with synthetic named exports when preserving modules (#​3738)
  • Create a proper namespace object when in a non-es format, a namespace is imported from a chunk with default export mode (#​3738)
  • Use the same variable when in a chunk, a namespace is both imported and reexported as a binding (#​3738)
  • Do not include the synthetic namespace in static entry points unless it is actually used (#​3738)
  • Make sure the chunking of one output does not interfere with the namespace objects of another output (#​3738)
Pull Requests

v2.26.3

Compare Source

2020-08-16

Bug Fixes
  • Fix a situation where line-breaks in a nested simplified conditional expression could result in broken code (#​3734)
Pull Requests

v2.26.2

Compare Source

2020-08-16

Bug Fixes
  • Fix a situation where line-breaks in a simplified conditional expression could result in broken code (#​3732)
Pull Requests

v2.26.1

Compare Source

2020-09-08

Bug Fixes
  • Do not fail for unknown nodes as if statement branches (#​3769)
Pull Requests

v2.26.0

Compare Source

2020-08-15

Features
  • Add a new entry importedBindings to the bundle information to list bindings per dependency (#​3722)
Bug Fixes
  • Do not render an invalid UMD wrapper when no bindings are imported from a dependency (#​3724)
  • Avoid situations where removing the else branch from an if statement might catch the else branch from another one (#​3725)
Pull Requests

v2.25.0

Compare Source

2020-08-14

Features
  • Add --failAfterWarnings CLI flag that will complete builds with warnings but return an error at the end (#​3712)
Pull Requests

v2.24.0

Compare Source

2020-08-13

Features
  • Allow defining interop per dependency via a function (#​3710)
  • Support interop "auto" as a more compatible version of "true" (#​3710)
  • Support interop "default" and "esModule" to avoid unnecessary interop helpers (#​3710)
  • Support interop "defaultOnly" for simplified helpers and Node ESM interop compatible output (#​3710)
  • Respect interop option for external dynamic imports (#​3710)
  • Support live-bindings for external default imports in non-ES formats unless "externalLiveBindings" is "false" (#​3710)
  • Use shared default interop helpers for AMD, UMD and IIFE formats (#​3710)
  • Avoid unnecessarily deconflicted module variables in non-ES formats (#​3710)
  • Freeze generated interop namespace objects (#​3710)
  • Always mark interop helpers as pure (#​3710)
  • Avoid default export interop if there is already an interop namespace object (#​3710)
  • Sort all require statements to the top in CommonJS output for easier back-transpilation to ES modules by other tools (#​3710)
Bug Fixes
  • Handle accessing super in static class fields (#​3720)
  • Deconflict the names of helper variables introduced for interop (#​3710)
  • Generate proper namespace objects for static namespace imports in non-ES formats (#​3710)
  • Do not add unused interop helpers when using the renderDynamicImport hook (#​3710)
Pull Requests

v2.23.1

Compare Source

2020-08-07

Bug Fixes
  • Fix an issue where dynamically importing an entry point could return a malformed namespace for CJS and AMD formats (#​3709)
Pull Requests
  • #​3709: Properly construct namespace when dynamically importing chunks with facades in default export mode (@​lukastaegert)

v2.23.0

Compare Source

2020-07-23

Features
  • Handle environments with only globalThis in UMD output (#​3691)
Pull Requests

v2.22.2

Compare Source

2020-07-21

Bug Fixes
  • Always generate correct exports when an implicit entry is reexporting from another module (#​3688)
Pull Requests

v2.22.1

Compare Source

2020-07-18

Bug Fixes
  • Remove unused arguments when calling a conditional expression (#​3680)
Pull Requests
  • #​3680: Allow tree-shaking of arguments of functions that are returned by conditional expressions (@​lukastaegert)

v2.22.0

Compare Source

2020-07-18

Features
  • Allow resolving synthetic named exports via an arbitrary export name (#​3657)
  • Display a warning when the user does not explicitly select an export mode and would generate a chunk with default export mode when targeting CommonJS (#​3657)
Pull Requests

v2.21.0

Compare Source

2020-07-07

Features
  • Allow plugins to disable tree-shaking for individual modules to ensure even empty modules are associated with chunks (#​3663)
Pull Requests

v2.20.0

Compare Source

2020-07-06

Features
  • Support using a function to generate different chunk and asset naming patterns per chunk or asset (#​3658)
  • Add referencedFiles property to the chunk info in generateBundle to list referenced assets (#​3661)
Pull Requests

v2.19.0

Compare Source

2020-07-05

Features
  • Allow plugins to return a Promise in the options hook (#​3660)
Pull Requests

v2.18.2

Compare Source

2020-07-02

Bug Fixes
  • Do not remove spread element args when the corresponding positional parameter is unused (#​3652)
Pull Requests

v2.18.1

Compare Source

2020-06-26

Bug Fixes
  • Make sure synthetic exports are present when a module is imported dynamically (#​3648)
  • Strip the rollup-plugin- prefix off the plugin name when looking for the plugin export in a CLI plugin without a default export (#​3647)
  • Convert plugin names with dashes to camel case when looking for the plugin export in a CLI plugin without a default export (#​3647)
Pull Requests
  • #​3647: Strip rollup-plugin prefix to find named plugin exports, throw when export cannot be found (@​lukastaegert)
  • #​3648: Always create a dynamic namespace object when a module with synthetic named exports is imported dynamically (@​lukastaegert)

v2.18.0

Compare Source

2020-06-22

Features
  • inlineDynamicImports, manualChunks and preserveModules can now be used as output options (#​3645)
  • Use sourcemaps for certain warnings that reference source code locations (#​3645)
Bug Fixes
  • this.getFileName will now always return the correct file name for chunks when multiple outputs are created (#​3645)
Pull Requests

v2.17.1

Compare Source

2020-06-19

Bug Fixes
  • Properly resolve accessing properties of namespace members again (#​3643)
Pull Requests

v2.17.0

Compare Source

2020-06-17

Features
  • When importing Rollup via package.exports, always fall back to the browser ESM build for non-Node environments (#​3634)
  • Create more efficient code when handling namespace mutations (#​3637)
Bug Fixes
  • Fix a severe performance regression when the same module is imported by a lot of modules (#​3641)
  • Properly escape special characters in imports (#​3638)
Pull Requests

v2.16.1

Compare Source

2020-06-13

Bug Fixes
  • Do not produce invalid code when an external or chunk id contain quotes or line-breaks (#​3632)
  • Do not fail but emit a warning when mutating a namespace object (#​3633)
Pull Requests

v2.16.0

Compare Source

2020-06-12

Features
  • Add support for numeric separators (#​3626)
  • Switch to finalized ESTree optional chaining AST (#​3628)
Pull Requests

v2.15.0

Compare Source

2020-06-08

Features
  • Allow to skip watching some configs via watch: false (#​3620)
  • Provide the resolved sourcemap path to sourcemapPathTransform (#​3617)
Pull Requests

v2.14.0

Compare Source

2020-06-07

Features
  • Make this.meta.watchMode available for plugins to detect watch mode (#​3616)
Bug Fixes
  • Handle exporting the same binding with different names in SystemJS (#​3575)
Pull Requests

v2.13.1

Compare Source

2020-06-04

Bug Fixes
  • Prevent conflicts in SystemJS when module is used as a top-level variable (#​3614)
Pull Requests

v2.13.0

Compare Source

2020-06-03

Features
  • Allow to specify that an emitted chunk is only loaded after a given module has loaded to improve chunking (#​3606)
Pull Requests

v2.12.1

Compare Source

2020-06-02

Bug Fixes
  • Render valid imports when chunk names correspond to directory names in virtual setups (#​3609)
Pull Requests
  • #​3609: Handle imports from chunks with names that correspond to parent directory names of other chunks (@​guybedford)

v2.12.0

Compare Source

2020-05-31

Features
  • Add an option --waitForBundleInput to let the build wait until all entry point files are available before starting (#​3577)
Pull Requests

v2.11.2

Compare Source

2020-05-28

Bug Fixes
  • Include side-effects in the second argument of Array.from (#​3604)
Pull Requests

v2.11.1

Compare Source

2020-05-28

Bug Fixes
  • Also include side-effects in files that are marked as side-effect-free if they contain an included default export that is reexported (#​3602)
Pull Requests
  • #​3602: Handle side-effects next to side-effect-free default exports in case the default export is reexported (@​lukastaegert)

v2.11.0

Compare Source

2020-05-27

Features
  • Add basic support for optional chaining (#​3582)
  • Provide a normalized set of options with proper default values to buildStart and renderStart (#​3597)
  • Do not count adding properties to the prototype of an unused class as a side-effect (#​3598)
  • Support providing null for empty setters in SystemJS via option (#​3592)
Bug Fixes
  • Do not fail when using a /*#__PURE__*/ annotation inside a class field (#​3599)
  • Allow using --watch and --treeshake together with sub-options such as --watch.clearScreen on the command line (#​3597)
Pull Requests

v2.10.9

Compare Source

2020-05-24

Bug Fixes
  • Prevent invalid exports when facades are created (#​3590)
Pull Requests
  • #​3590: Prevent unneeded exports when entry facades are created and ensure all exported variables in facades are imported (@​lukastaegert)

v2.10.8

Compare Source

2020-05-23

Bug Fixes
  • Fix issues when synthetic named exports are reexported as default exports (#​3586)
Pull Requests

v2.10.7

Compare Source

2020-05-22

Bug Fixes
  • Handle modules re-exporting namespaces without further own code (#​3576)
Pull Requests

v2.10.6

Compare Source

2020-05-22

Bug Fixes
  • Fix some issues around class fields (#​3580)
  • Prevent a maximum call stack error when a called entity references itself in its declaration (#​3581)
Pull Requests

v2.10.5

Compare Source

2020-05-19

Bug Fixes
  • Do not remove side-effects that may influence an included default export declaration when side-effects are disabled (#​3572)
Pull Requests
  • #​3572: Observe side-effects in files containing a default export declaration that reexports a variable (@​lukastaegert)

v2.10.4

Compare Source

2020-05-19

Bug Fixes
  • Tree-shake unused classes with fields unless there are side-effects in the field declaration (#​3569)
Pull Requests

v2.10.3

Compare Source

2020-05-18

Bug Fixes
  • Validate return value of sourcemapPathTransform option (#​3561)
Pull Requests

v2.10.2

Compare Source

2020-05-15

Bug Fixes
  • Properly include calls to mutating array methods in certain scenarios (#​3559)
Pull Requests
  • #​3559: Make sure UnknownFooExpressions are included when referenced as return values in a MultiExpression (@​lukastaegert)

v2.10.1

Compare Source

2020-05-15

Bug Fixes
  • Do not throw when "undefined" is used as a default export (#​3558)
Pull Requests

v2.10.0

Compare Source

2020-05-13

Features
  • Avoid unnecessary empty imports from a facade chunk to the original chunk (#​3552)
  • Pin facade creation order so that if several user-defined chunks reference the same module, the first always becomes the "actual" chunk while the later ones become facades (#​3552)
Bug Fixes
  • Do not omit reexports from secondary chunks when creating facades for entry points without hoisting transitive dependencies (#​3552)
Pull Requests

v2.9.1

Compare Source

2020-05-11

Bug Fixes
  • Do not create unintended live-bindings or invalid reexports when reexporting global variables (#​3550)
Pull Requests

v2.9.0

Compare Source

2020-05-10

Features
  • Add ids of static and dynamic imports to this.getModuleInfo (#​3542)
  • Provide getModuleInfo and getModuleIds to manualChunks functions (#​3542)
  • Add nullish coalescing support (#​3548)
  • Make the rebuild delay in watch mode configurable and set the default to 0 for snappy rebuilds (#​3502)
  • Add this.getModuleIds to the plugin context as future replacement for this.moduleIds (#​3542)
Pull Requests

v2.8.2

Compare Source

2020-05-07

Bug Fixes
  • Avoid invalid code when simplifying the body of a shorthand arrow function expression (#​3540)
Pull Requests
  • #​3540: Wrap object expressions in parentheses if they become children of an arrow function expression (@​lukastaegert)

v2.8.1

Compare Source

2020-05-07

Bug Fixes
  • Allow using plugins on CLI that are exported as exports.default (#​3529)
  • Do not fail side-effect detection in nested callbacks of builtins (#​3539)
Pull Requests

v2.8.0

Compare Source

2020-05-06

Features
  • When a dynamically imported chunk contains more exports than the imported module namespace, do not create a facade chunk but an inline namespace (#​3535)
Bug Fixes
  • Do not execute dynamically imported code before synchronous code in the importing module when generating CommonJS (#​3535)
Pull Requests

v2.7.6

Compare Source

2020-04-30

Bug Fixes
  • Fix a type issue when a default export references a global variable (#​3526)
Pull Requests

v2.7.5

Compare Source

2020-04-29

Bug Fixes
  • Prevent infinite loop when default values of function parameters in a default export contain a slash (#​3522)
Pull Requests

v2.7.4

Compare Source

2020-04-29

Bug Fixes
  • Fix an issue where wrong variable names were used when preserving modules (#​3521)
Pull Requests

v2.7.3

Compare Source

2020-04-27

Bug Fixes
  • Do not access __proto__ when running Rollup (#​3518)
Pull Requests

v2.7.2

Compare Source

2020-04-22

Bug Fixes
  • Prevent an infinite loop when creating separate manual chunks with circular dependencies (#​3510)
  • Do not fail if "super" is used in the definition of a class field (#​3511)
  • Throw if a plugin tries to emit a file with an absolute Windows path (#​3509)
Pull Requests

v2.7.1

Compare Source

2020-04-21

Bug Fixes
  • Use correct path for dynamic imports if output.paths is used (#​3508)
Pull Requests

v2.7.0

Compare Source

2020-04-21

Features
  • Add preserveEntrySignatures option to control how exports of entry points are handled (#​3498)
  • Add preserveSignature flag to this.emitFile to control exports of emitted chunks (#​3498)
  • Add output.minifyInternalExports option to control if internal exports are minified (#​3498)
Pull Requests

v2.6.1

Compare Source

2020-04-12

Bug Fixes
  • Close watch mode when stdin closes in a non-TTY environment (#​3493)
Pull Requests

v2.6.0

Compare Source

2020-04-10

Features
  • Allow regular expressions to declare external modules (#​3482)
Pull Requests

v2.5.0

Compare Source

This version is identical to 2.4.0

v2.4.0

Compare Source

2020-04-09

Features
  • Add support for most private and public class field features (#​3488)
Bug Fixes
  • Do not replace this with undefined in class field definitions (#​3488)
Pull Requests

v2.3.5

Compare Source

2020-04-09

Bug Fixes
  • Never remove labels when tree-shaking is disabled (#​3492)
Pull Requests
  • #​3492: Always use a new inclusion context when including declarations of variables, always inlcude labels when not treeshaking (@​lukastaegert)

v2.3.4

Compare Source

2020-04-07

Bug Fixes
  • Handle re-exporting synthetic exports from entry-points (#​3319)
  • Fix cross-chunk imports of synthetic exports (#​3319)
  • Handle namespace objects that contain re-exported synthetic namespaces (#​3319)
Pull Requests

v2.3.3

Compare Source

2020-04-04

Bug Fixes
  • Add external namespaces to dynamic namespace objects (#​3474)
Pull Requests

v2.3.2

Compare Source

2020-03-31

Bug Fixes
  • Only warn but do not fail build when a namespace is called as a function (#​3475)
  • Make sure pre-existing sourcemap comments are also removed when rebuilding using the cache (#​3476)
Pull Requests

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 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, check this box

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

@renovate renovate bot force-pushed the renovate/rollup-2.x branch 7 times, most recently from 6c53d8b to a29c66c Compare March 13, 2020 05:34
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 2 times, most recently from 8e3f797 to 26507b3 Compare March 24, 2020 16:08
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 4 times, most recently from 70c8c94 to 711115a Compare April 4, 2020 22:35
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 6 times, most recently from ba7bb49 to 8dba867 Compare April 12, 2020 21:42
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 4 times, most recently from 89aaae3 to 14653df Compare April 27, 2020 18:43
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 4 times, most recently from 9ec378f to b0d0e3c Compare May 6, 2020 05:47
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 3 times, most recently from fa37f14 to 9fe8963 Compare May 10, 2020 11:43
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 4 times, most recently from e186e8c to 1ff2540 Compare July 23, 2020 19:02
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 3 times, most recently from 616ea3b to 547436f Compare August 14, 2020 04:41
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 5 times, most recently from dbb36c1 to 69a32d4 Compare August 19, 2020 05:22
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 3 times, most recently from 8db4a4a to bbf5f65 Compare August 28, 2020 15:17
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 4 times, most recently from c6ad821 to 9f9f9c8 Compare September 4, 2020 17:53
@renovate renovate bot force-pushed the renovate/rollup-2.x branch from 9f9f9c8 to 891a0b5 Compare September 8, 2020 05:58
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 4 times, most recently from baf7f5c to 4ba38ae Compare September 21, 2020 07:39
@renovate renovate bot force-pushed the renovate/rollup-2.x branch from 4ba38ae to f09f15c Compare September 24, 2020 16:43
@renovate renovate bot force-pushed the renovate/rollup-2.x branch 2 times, most recently from f4eed9b to 9788930 Compare October 13, 2020 18:17
@renovate renovate bot force-pushed the renovate/rollup-2.x branch from 9788930 to d29576e Compare October 15, 2020 17:32
@renovate renovate bot force-pushed the renovate/rollup-2.x branch from d29576e to 25fed15 Compare October 16, 2020 19:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants