chore(devdeps): update dependency rollup to v4 #1592
Merged
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:
3.29.4->4.0.1Release Notes
rollup/rollup (rollup)
v4.0.1Compare Source
2023-10-06
Bug Fixes
Pull Requests
v4.0.0Compare Source
2023-10-05
BREAKING CHANGES
General Changes
@rollup/wasm-nodepackage that has the same interface as Rollup but relies on WASM artifacts (#5073)INVALID_IMPORT_ASSERTIONerror code has been replaced withINVALID_IMPORT_ATTRIBUTE(#5073)@__PURE__and@__NO_SIDE_EFFECTS__annotations in invalid locations (#5165)#!..., this comment will be prepended to the output foresandcjsformats (#5163)RollupWarningtype has been removed in favor of theRollupLogtype (#5147)Changes to Rollup Options
acornInjectPluginsoption has been removed (#5073)acornoption has been removed (#5073)output.externalImportAssertionshas been deprecated in favor ofoutput.externalImportAttributes(#5073)inlineDynamicImports,manualChunksandpreserveModuleshave been removed on input option level: Please use the corresponding output options of the same names (#5143)output.experimentalDeepDynamicChunkOptimization: This option is no longer needed as Rollup now always runs the full chunking algorithmoutput.dynamicImportFunction: Use therenderDynamicImportplugin hook insteadoutput.namespaceToStringTag: Useoutput.generatedCode.symbolsinsteadoutput.preferConst: Useoutput.generatedCode.constBindingsinsteadPlugin API Changes
this.resolve, the default of theskipSelfoption is nowtrue(#5142)this.parsenow only supports theallowReturnOutsideFunctionoption for now (#5073)loadhook of a plugin,rollup.watchno longer watches the actual file if the module id corresponds to a real path; if this is intended, then the plugin is responsible for callingthis.addWatchFilefor any dependency files (#5150)buildStartand other hooks no longer contain anonwarnhandler; plugins should useonLoginstead (#5147)this.moduleIdshas been removed from the plugin context: Usethis.getModuleIds()instead (#5143)hasModuleSideEffectsflag has been removed from theModuleInforeturned bythis.getModuleInfo(): UsemoduleSideEffectson theModuleInfoinstead (#5143)Features
@__PURE__and@__NO_SIDE_EFFECTS__annotations in invalid locations (#5165)parseAst(#5169)Bug Fixes
this.addWatchFile()(#5150)Pull Requests
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
This PR has been generated by Mend Renovate. View repository job log here.