This repository was 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.1Release Notes
rollup/rollup
v2.22.1Compare Source
2020-07-18
Bug Fixes
Pull Requests
v2.22.0Compare Source
2020-07-18
Features
Pull Requests
v2.21.0Compare Source
2020-07-07
Features
Pull Requests
v2.20.0Compare Source
2020-07-06
Features
referencedFilesproperty to the chunk info in generateBundle to list referenced assets (#3661)Pull Requests
v2.19.0Compare Source
2020-07-05
Features
Pull Requests
v2.18.2Compare Source
2020-07-02
Bug Fixes
Pull Requests
v2.18.1Compare 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.0Compare Source
2020-06-22
Features
inlineDynamicImports,manualChunksandpreserveModulescan now be used as output options (#3645)Bug Fixes
this.getFileNamewill now always return the correct file name for chunks when multiple outputs are created (#3645)Pull Requests
v2.17.1Compare Source
2020-06-19
Bug Fixes
Pull Requests
v2.17.0Compare Source
2020-06-17
Features
Bug Fixes
Pull Requests
v2.16.1Compare Source
2020-06-13
Bug Fixes
Pull Requests
v2.16.0Compare Source
2020-06-12
Features
Pull Requests
manualChunksfor code splitting (@zlamma)v2.15.0Compare Source
2020-06-08
Features
watch: false(#3620)sourcemapPathTransform(#3617)Pull Requests
v2.14.0Compare Source
2020-06-07
Features
this.meta.watchModeavailable for plugins to detect watch mode (#3616)Bug Fixes
Pull Requests
v2.13.1Compare Source
2020-06-04
Bug Fixes
moduleis used as a top-level variable (#3614)Pull Requests
v2.13.0Compare Source
2020-06-03
Features
Pull Requests
v2.12.1Compare Source
2020-06-02
Bug Fixes
Pull Requests
v2.12.0Compare Source
2020-05-31
Features
--waitForBundleInputto let the build wait until all entry point files are available before starting (#3577)Pull Requests
v2.11.2Compare Source
2020-05-28
Bug Fixes
Array.from(#3604)Pull Requests
Array.fromas side-effectful, use two-argument Array.from when mapping Sets (@lukastaegert)v2.11.1Compare Source
2020-05-28
Bug Fixes
Pull Requests
v2.11.0Compare Source
2020-05-27
Features
buildStartandrenderStart(#3597)nullfor empty setters in SystemJS via option (#3592)Bug Fixes
/*#__PURE__*/annotation inside a class field (#3599)--watchand--treeshaketogether with sub-options such as--watch.clearScreenon the command line (#3597)Pull Requests
v2.10.9Compare Source
2020-05-24
Bug Fixes
Pull Requests
v2.10.8Compare Source
2020-05-23
Bug Fixes
Pull Requests
output.paths(@jacksteamdev)v2.10.7Compare Source
2020-05-22
Bug Fixes
Pull Requests
v2.10.6Compare Source
2020-05-22
Bug Fixes
Pull Requests
v2.10.5Compare Source
2020-05-19
Bug Fixes
Pull Requests
v2.10.4Compare Source
2020-05-19
Bug Fixes
Pull Requests
v2.10.3Compare Source
2020-05-18
Bug Fixes
Pull Requests
v2.10.2Compare Source
2020-05-15
Bug Fixes
Pull Requests
v2.10.1Compare Source
2020-05-15
Bug Fixes
Pull Requests
v2.10.0Compare Source
2020-05-13
Features
Bug Fixes
Pull Requests
v2.9.1Compare Source
2020-05-11
Bug Fixes
Pull Requests
v2.9.0Compare Source
2020-05-10
Features
this.getModuleInfo(#3542)getModuleInfoandgetModuleIdstomanualChunksfunctions (#3542)0for snappy rebuilds (#3502)this.getModuleIdsto the plugin context as future replacement forthis.moduleIds(#3542)Pull Requests
v2.8.2Compare Source
2020-05-07
Bug Fixes
Pull Requests
v2.8.1Compare Source
2020-05-07
Bug Fixes
exports.default(#3529)Pull Requests
v2.8.0Compare Source
2020-05-06
Features
Bug Fixes
Pull Requests
v2.7.6Compare Source
2020-04-30
Bug Fixes
Pull Requests
v2.7.5Compare Source
2020-04-29
Bug Fixes
Pull Requests
v2.7.4Compare Source
2020-04-29
Bug Fixes
Pull Requests
v2.7.3Compare Source
2020-04-27
Bug Fixes
__proto__when running Rollup (#3518)Pull Requests
v2.7.2Compare Source
2020-04-22
Bug Fixes
Pull Requests
v2.7.1Compare Source
2020-04-21
Bug Fixes
output.pathsis used (#3508)Pull Requests
v2.7.0Compare Source
2020-04-21
Features
preserveEntrySignaturesoption to control how exports of entry points are handled (#3498)preserveSignatureflag tothis.emitFileto control exports of emitted chunks (#3498)output.minifyInternalExportsoption to control if internal exports are minified (#3498)Pull Requests
v2.6.1Compare Source
2020-04-12
Bug Fixes
Pull Requests
v2.6.0Compare Source
2020-04-10
Features
Pull Requests
v2.5.0Compare Source
This version is identical to 2.4.0
v2.4.0Compare Source
2020-04-09
Features
Bug Fixes
thiswithundefinedin class field definitions (#3488)Pull Requests
v2.3.5Compare Source
2020-04-09
Bug Fixes
Pull Requests
v2.3.4Compare Source
2020-04-07
Bug Fixes
Pull Requests
v2.3.3Compare Source
2020-04-04
Bug Fixes
Pull Requests
v2.3.2Compare Source
2020-03-31
Bug Fixes
Pull Requests
v2.3.1Compare Source
2020-03-30
Bug Fixes
Pull Requests
v2.3.0Compare Source
2020-03-29
Features
.mjsextension in Node 13+ or.cjsextension in any Node version and load them appropriately (#3445)rollup/dist/loadConfigFile(#3445)Bug Fixes
Pull Requests
v2.2.0Compare Source
2020-03-24
Features
renderDynamicImporthook to rewrite dynamic import expressions (#3449)this.getModuleInfo(#3449)Bug Fixes
.jsextensions from AMD imports when the import is a user-supplied replacement for a non-resolvable dynamic import target (#3453)Pull Requests
v2.1.0Compare Source
2020-03-18
Features
Pull Requests
importerparameter tothis.emitFile(@lukastaegert)v2.0.6Compare Source
2020-03-13
Bug Fixes
diroption (#3440)Pull Requests
v2.0.5Compare Source
2020-03-12
Bug Fixes
Pull Requests
v2.0.4Compare Source
2020-03-12
Bug Fixes
Pull Requests
indeximports for ES format using nested export star statements (@kamranayub)v2.0.3Compare Source
2020-03-10
Bug Fixes
Pull Requests
augmentChunkHashare used (@jakearchibald)v2.0.2Compare Source
2020-03-07
Bug Fixes
Pull Requests
v2.0.1Compare Source
2020-03-07
Bug Fixes
Pull Requests
v2.0.0Compare 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.jsinstead ofrollup/dist/rollup.es.jsrollup/dist/es/rollup.browser.jsinstead ofrollup/dist/rollup.browser.es.jsIn general, the ESM builds now follow the same naming scheme as the CJS builds but are located in the
rollup/dist/essubfolder instead ofrollup/dist(#3391)The "watch.chokidar" option no longer accepts a
booleanvalue 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
generateBundleThe
experimentalOptimizeChunksandchunkGroupingSizeoptions 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
Uint8Arrayinstead ofBuffer. ABuffercan 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
writeBundleplugin 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:
generateBundleinsteadwriteBundleinsteadrenderChunkinsteadrenderChunkinsteadYou can no longer access
this.watcheron the plugin context.The
transformhook can no longer returndependencies.The
treeshake.pureExternalModulesoption 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
resolveAssetUrlhook will now show a deprecation warning when used: useresolveFileUrlinsteadThe following plugin context functions will show warnings when used:
this.emitAsset: usethis.emitFilethis.emitChunk: usethis.emitFilethis.getAssetFileName: usethis.getFileNamethis.getChunkFileName: usethis.getFileNamethis.isExternal: usethis.resolvethis.resolveId: usethis.resolveDirectly adding properties to the bundle object in the
generateBundleis deprecated will show a warning (removing properties is allowed, though): Usethis.emitFileAccessing
chunk.isAsseton the bundle is deprecated: Usechunk.type === 'asset'insteadThe error code for a missing
nameproperty when targeting UMD has been changed toMISSING_NAME_OPTION_FOR_IIFE_EXPORTto 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)systemjscan be used as format alias forsystem(#3381)Bug Fixes
Pull Requests
@typesdependencies (@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.