chore: update dependency rollup to v4 #831
Closed
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.0.0
->^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)v3.27.2
Compare Source
2023-08-04
Bug Fixes
Pull Requests
v3.27.1
Compare Source
2023-08-03
Bug Fixes
Pull Requests
v3.27.0
Compare Source
2023-07-28
Features
Object.values
andObject.entries
as pure if their argument does not contain getters (#5072)Pull Requests
v3.26.3
Compare Source
2023-07-17
Bug Fixes
manualChunks
to avoid breaking existing configs (#5068)Pull Requests
v3.26.2
Compare Source
2023-07-06
Bug Fixes
Pull Requests
v3.26.1
Compare Source
2023-07-05
Bug Fixes
hasOwnProperty
as exported name in CommonJS (#5010)Pull Requests
v3.26.0
Compare Source
2023-06-30
Features
--filterLogs
CLI flag andROLLUP_FILTER_LOGS
environment variable for log filtering (#5035)Pull Requests
v3.25.3
Compare Source
2023-06-26
Bug Fixes
Pull Requests
v3.25.2
Compare Source
2023-06-24
Bug Fixes
code
is not a string (#5042)Pull Requests
this.error
withpos
intransform
hook (@sapphi-red)v3.25.1
Compare Source
2023-06-12
Bug Fixes
__NO_SIDE_EFFECTS__
for async functions (#5031)Pull Requests
__NO_SIDE_EFFECTS__
annotation for async function (@antfu)v3.25.0
Compare Source
2023-06-11
Features
this.info
andthis.debug
plugin context logging functions (#5026)onLog
option to read, map and filter logs (#5026)logLevel
option to fully suppress logs by level (#5026)this.warn
,this.info
andthis.debug
to avoid heavy computations based on log level (#5026)onLog
plugin hook to read, filter and map logs from plugins (#5026)Pull Requests
v3.24.1
Compare Source
2023-06-10
Bug Fixes
@rollup/plugin-commonjs
were missing internal dependencies when code-splitting (#5029)process.exit(0)
in watch mode to avoid issues in embedded scenarios (#5027)Pull Requests
v3.24.0
Compare Source
2023-06-07
Features
/* #__NO_SIDE_EFFECTS__ */
to mark function declarations as side effect free (#5024)Pull Requests
#__NO_SIDE_EFFECTS__
annotation for function declaration (@antfu)v3.23.1
Compare Source
2023-06-04
Bug Fixes
Pull Requests
v3.23.0
Compare Source
2023-05-22
Features
Bug Fixes
Pull Requests
v3.22.1
Compare Source
2023-05-21
Bug Fixes
Pull Requests
v3.22.0
Compare Source
2023-05-17
Features
experimentalMinChunkSize
to take tree-shaking into account (#4989)Bug Fixes
experimentalMinChunkSize
(#4989)Pull Requests
v3.21.8
Compare Source
2023-05-16
Bug Fixes
Pull Requests
v3.21.7
Compare Source
2023-05-13
Bug Fixes
Pull Requests
v3.21.6
Compare Source
2023-05-09
Bug Fixes
Pull Requests
v3.21.5
Compare Source
2023-05-05
Bug Fixes
Pull Requests
v3.21.4
Compare Source
2023-05-03
Bug Fixes
Pull Requests
v3.21.3
Compare Source
2023-05-02
Bug Fixes
process.exit()
when Rollup CLI finishes successfully to solve issues on some systems (#4969)Pull Requests
v3.21.2
Compare Source
2023-04-30
Bug Fixes
Pull Requests
v3.21.1
Compare Source
2023-04-29
Bug Fixes
arguments
variable (#4965)Pull Requests
Configuration
📅 Schedule: Branch creation - "after 10pm,before 5:00am" (UTC), 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.