This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
chore(deps): update dependency rollup to v2 #1311
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.32.1
->2.22.1
Release Notes
rollup/rollup
v2.22.1
Compare Source
2020-07-18
Bug Fixes
Pull Requests
v2.22.0
Compare Source
2020-07-18
Features
Pull Requests
v2.21.0
Compare Source
2020-07-07
Features
Pull Requests
v2.20.0
Compare Source
2020-07-06
Features
referencedFiles
property to the chunk info in generateBundle to list referenced assets (#3661)Pull Requests
v2.19.0
Compare Source
2020-07-05
Features
Pull Requests
v2.18.2
Compare Source
2020-07-02
Bug Fixes
Pull Requests
v2.18.1
Compare Source
2020-06-26
Bug Fixes
rollup-plugin-
prefix off the plugin name when looking for the plugin export in a CLI plugin without a default export (#3647)Pull Requests
v2.18.0
Compare Source
2020-06-22
Features
inlineDynamicImports
,manualChunks
andpreserveModules
can now be used as output options (#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
Pull Requests
v2.17.0
Compare Source
2020-06-17
Features
Bug Fixes
Pull Requests
v2.16.1
Compare Source
2020-06-13
Bug Fixes
Pull Requests
v2.16.0
Compare Source
2020-06-12
Features
Pull Requests
manualChunks
for code splitting (@zlamma)v2.15.0
Compare Source
2020-06-08
Features
watch: false
(#3620)sourcemapPathTransform
(#3617)Pull Requests
v2.14.0
Compare Source
2020-06-07
Features
this.meta.watchMode
available for plugins to detect watch mode (#3616)Bug Fixes
Pull Requests
v2.13.1
Compare Source
2020-06-04
Bug Fixes
module
is used as a top-level variable (#3614)Pull Requests
v2.13.0
Compare Source
2020-06-03
Features
Pull Requests
v2.12.1
Compare Source
2020-06-02
Bug Fixes
Pull Requests
v2.12.0
Compare Source
2020-05-31
Features
--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
Array.from
(#3604)Pull Requests
Array.from
as side-effectful, use two-argument Array.from when mapping Sets (@lukastaegert)v2.11.1
Compare Source
2020-05-28
Bug Fixes
Pull Requests
v2.11.0
Compare Source
2020-05-27
Features
buildStart
andrenderStart
(#3597)null
for empty setters in SystemJS via option (#3592)Bug Fixes
/*#__PURE__*/
annotation inside a class field (#3599)--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
Pull Requests
v2.10.8
Compare Source
2020-05-23
Bug Fixes
Pull Requests
output.paths
(@jacksteamdev)v2.10.7
Compare Source
2020-05-22
Bug Fixes
Pull Requests
v2.10.6
Compare Source
2020-05-22
Bug Fixes
Pull Requests
v2.10.5
Compare Source
2020-05-19
Bug Fixes
Pull Requests
v2.10.4
Compare Source
2020-05-19
Bug Fixes
Pull Requests
v2.10.3
Compare Source
2020-05-18
Bug Fixes
Pull Requests
v2.10.2
Compare Source
2020-05-15
Bug Fixes
Pull Requests
v2.10.1
Compare Source
2020-05-15
Bug Fixes
Pull Requests
v2.10.0
Compare Source
2020-05-13
Features
Bug Fixes
Pull Requests
v2.9.1
Compare Source
2020-05-11
Bug Fixes
Pull Requests
v2.9.0
Compare Source
2020-05-10
Features
this.getModuleInfo
(#3542)getModuleInfo
andgetModuleIds
tomanualChunks
functions (#3542)0
for snappy rebuilds (#3502)this.getModuleIds
to the plugin context as future replacement forthis.moduleIds
(#3542)Pull Requests
v2.8.2
Compare Source
2020-05-07
Bug Fixes
Pull Requests
v2.8.1
Compare Source
2020-05-07
Bug Fixes
exports.default
(#3529)Pull Requests
v2.8.0
Compare Source
2020-05-06
Features
Bug Fixes
Pull Requests
v2.7.6
Compare Source
2020-04-30
Bug Fixes
Pull Requests
v2.7.5
Compare Source
2020-04-29
Bug Fixes
Pull Requests
v2.7.4
Compare Source
2020-04-29
Bug Fixes
Pull Requests
v2.7.3
Compare Source
2020-04-27
Bug Fixes
__proto__
when running Rollup (#3518)Pull Requests
v2.7.2
Compare Source
2020-04-22
Bug Fixes
Pull Requests
v2.7.1
Compare Source
2020-04-21
Bug Fixes
output.paths
is used (#3508)Pull Requests
v2.7.0
Compare Source
2020-04-21
Features
preserveEntrySignatures
option to control how exports of entry points are handled (#3498)preserveSignature
flag tothis.emitFile
to control exports of emitted chunks (#3498)output.minifyInternalExports
option to control if internal exports are minified (#3498)Pull Requests
v2.6.1
Compare Source
2020-04-12
Bug Fixes
Pull Requests
v2.6.0
Compare Source
2020-04-10
Features
Pull Requests
v2.5.0
Compare Source
This version is identical to 2.4.0
v2.4.0
Compare Source
2020-04-09
Features
Bug Fixes
this
withundefined
in class field definitions (#3488)Pull Requests
v2.3.5
Compare Source
2020-04-09
Bug Fixes
Pull Requests
v2.3.4
Compare Source
2020-04-07
Bug Fixes
Pull Requests
v2.3.3
Compare Source
2020-04-04
Bug Fixes
Pull Requests
v2.3.2
Compare Source
2020-03-31
Bug Fixes
Pull Requests
v2.3.1
Compare Source
2020-03-30
Bug Fixes
Pull Requests
v2.3.0
Compare Source
2020-03-29
Features
.mjs
extension in Node 13+ or.cjs
extension in any Node version and load them appropriately (#3445)rollup/dist/loadConfigFile
(#3445)Bug Fixes
Pull Requests
v2.2.0
Compare Source
2020-03-24
Features
renderDynamicImport
hook to rewrite dynamic import expressions (#3449)this.getModuleInfo
(#3449)Bug Fixes
.js
extensions from AMD imports when the import is a user-supplied replacement for a non-resolvable dynamic import target (#3453)Pull Requests
v2.1.0
Compare Source
2020-03-18
Features
Pull Requests
importer
parameter tothis.emitFile
(@lukastaegert)v2.0.6
Compare Source
2020-03-13
Bug Fixes
dir
option (#3440)Pull Requests
v2.0.5
Compare Source
2020-03-12
Bug Fixes
Pull Requests
v2.0.4
Compare Source
2020-03-12
Bug Fixes
Pull Requests
index
imports for ES format using nested export star statements (@kamranayub)v2.0.3
Compare Source
2020-03-10
Bug Fixes
Pull Requests
augmentChunkHash
are used (@jakearchibald)v2.0.2
Compare Source
2020-03-07
Bug Fixes
Pull Requests
v2.0.1
Compare Source
2020-03-07
Bug Fixes
Pull Requests
v2.0.0
Compare Source
2020-03-06
Breaking Changes
Rollup now requires at least Node 10 to run, or a sufficiently modern browser (#3346)
The file structure of Rollup's ESM builds has changed:
rollup/dist/es/rollup.js
instead ofrollup/dist/rollup.es.js
rollup/dist/es/rollup.browser.js
instead ofrollup/dist/rollup.browser.es.js
In general, the ESM builds now follow the same naming scheme as the CJS builds but are located in the
rollup/dist/es
subfolder instead ofrollup/dist
(#3391)The "watch.chokidar" option no longer accepts a
boolean
value but only an object of parameters that is passed to the bundled Chokidar instance. Chokidar installations by the user will be ignored in favour of the bundled instance (#3331)Modules that are completely tree-shaken will no longer be listed as part of any chunks in
generateBundle
The
experimentalOptimizeChunks
andchunkGroupingSize
options have been removedacorn plugins can only be used if they accept a passed-in acorn instance instead of importing it themselves. See acornjs/acorn#870 (comment) for what needs to be done to make plugins compatible that do not support this yet (#3391)
Emitted chunks now have the TypeScript type
Uint8Array
instead ofBuffer
. ABuffer
can still be used, though (#3395)The TypeScript types no longer use ESTree types for AST nodes but a very generic type that does not contain information specific to certain node types (#3395)
The signature of the
writeBundle
plugin hook has been changed to matchgenerateBundle
: The bundle object is now passed as second parameter instead of first and the first parameter is the output options (#3361)The following plugin hooks have been removed:
generateBundle
insteadwriteBundle
insteadrenderChunk
insteadrenderChunk
insteadYou can no longer access
this.watcher
on the plugin context.The
transform
hook can no longer returndependencies
.The
treeshake.pureExternalModules
option will now show a deprecation warning when used: usetreeshake.moduleSideEffects: 'no-external'
insteadUsing
import.meta.ROLLUP_ASSET_URL_<..>
andimport.meta.ROLLUP_CHUNK_URL_<..>
in code will now show warnings: useimport.meta.ROLLUP_FILE_URL_<..>
insteadThe
resolveAssetUrl
hook will now show a deprecation warning when used: useresolveFileUrl
insteadThe following plugin context functions will show warnings when used:
this.emitAsset
: usethis.emitFile
this.emitChunk
: usethis.emitFile
this.getAssetFileName
: usethis.getFileName
this.getChunkFileName
: usethis.getFileName
this.isExternal
: usethis.resolve
this.resolveId
: usethis.resolve
Directly adding properties to the bundle object in the
generateBundle
is deprecated will show a warning (removing properties is allowed, though): Usethis.emitFile
Accessing
chunk.isAsset
on the bundle is deprecated: Usechunk.type === 'asset'
insteadThe error code for a missing
name
property when targeting UMD has been changed toMISSING_NAME_OPTION_FOR_IIFE_EXPORT
to emphasize this is needed for the IIFE part of UMD (#3393)Features
import {rollup} from 'rollup'
. Note that this relies on Node's experimental conditional package exports feature and is therefore itself experimental (#3391)systemjs
can be used as format alias forsystem
(#3381)Bug Fixes
Pull Requests
@types
dependencies (@lukastaegert)Renovate configuration
📅 Schedule: "after 10pm every weekday,before 5am every weekday" in timezone America/Los_Angeles.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR is behind base branch, 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.