chore(deps): update dependency rollup to v4 #905
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.27.2
->^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
v3.29.4
Compare Source
2023-09-28
Bug Fixes
Pull Requests
v3.29.3
Compare Source
2023-09-24
Bug Fixes
Pull Requests
v3.29.2
Compare Source
2023-09-15
Bug Fixes
TreeshakingPreset
type (#5131)Pull Requests
TreeshakingPreset
(@moltar)v3.29.1
Compare Source
2023-09-10
Bug Fixes
Pull Requests
v3.29.0
Compare Source
2023-09-06
Features
api
to Plugin type (#5112)Bug Fixes
Pull Requests
v3.28.1
Compare Source
2023-08-22
Bug Fixes
Pull Requests
v3.28.0
Compare Source
2023-08-09
Features
preliminaryFileName
to generated chunks containing the file name placeholder (#5086)Bug Fixes
code
property of rendered modules in the output readonly (#5091)Pull Requests
preliminaryFileName
toOutputChunk
(@lsdsjy)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.