chore(deps): update dependency rollup to v4 #1105
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.0
Release Notes
rollup/rollup (rollup)
v4.0.0
Compare Source
2023-10-05
BREAKING CHANGES
General Changes
@rollup/wasm-node
package that has the same interface as Rollup but relies on WASM artifacts (#5073)INVALID_IMPORT_ASSERTION
error 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 fores
andcjs
formats (#5163)RollupWarning
type has been removed in favor of theRollupLog
type (#5147)Changes to Rollup Options
acornInjectPlugins
option has been removed (#5073)acorn
option has been removed (#5073)output.externalImportAssertions
has been deprecated in favor ofoutput.externalImportAttributes
(#5073)inlineDynamicImports
,manualChunks
andpreserveModules
have 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 therenderDynamicImport
plugin hook insteadoutput.namespaceToStringTag
: Useoutput.generatedCode.symbols
insteadoutput.preferConst
: Useoutput.generatedCode.constBindings
insteadPlugin API Changes
this.resolve
, the default of theskipSelf
option is nowtrue
(#5142)this.parse
now only supports theallowReturnOutsideFunction
option for now (#5073)load
hook of a plugin,rollup.watch
no 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.addWatchFile
for any dependency files (#5150)buildStart
and other hooks no longer contain anonwarn
handler; plugins should useonLog
instead (#5147)this.moduleIds
has been removed from the plugin context: Usethis.getModuleIds()
instead (#5143)hasModuleSideEffects
flag has been removed from theModuleInfo
returned bythi s.getModuleInfo()
: UsemoduleSideEffects
on theModuleInfo
instead (#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: Enabled.
♻ 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.