chore(deps): update dependency rollup to v4 #180
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:
2.79.1
->4.6.1
Release Notes
rollup/rollup (rollup)
v4.6.1
Compare Source
2023-11-30
Bug Fixes
var
several times was considered a conflict (#https://github.com/rollup/rollup/issues/5276s/5276))Pull Requests
v4.6.0
Compare Source
2023-11-26
Features
this.addWatchFile
in all plugin hooks (#https://github.com/rollup/rollup/issues/5270s/5270))Bug Fixes
npm
issue (#https://github.com/rollup/rollup/issues/5267s/5267))this
context inthis.addWatchFile
so it does not need to be bound when passed around (#https://github.com/rollup/rollup/issues/5270s/5270))Pull Requests
v4.5.2
Compare Source
2023-11-24
Bug Fixes
Pull Requests
v4.5.1
Compare Source
2023-11-21
Bug Fixes
Pull Requests
v4.5.0
Compare Source
2023-11-18
Bug Fixes
Pull Requests
v4.4.1
Compare Source
2023-11-14
Bug Fixes
Pull Requests
v4.4.0
Compare Source
2023-11-12
Features
Bug Fixes
Pull Requests
v4.3.1
Compare Source
2023-11-11
Bug Fixes
--forceExit
(#https://github.com/rollup/rollup/issues/5245s/5245))Pull Requests
v4.3.0
Compare Source
2023-11-03
Features
forceExit
CLI flag for situations where the CLI does not exit gracefully (#https://github.com/rollup/rollup/issues/5195s/5195))Bug Fixes
Pull Requests
forceExit
CLI flag (@raphael-theriault-swi)ENOENT
error on temp config removal (@jzempel)v4.2.0
Compare Source
2023-10-31
Features
parseAstAsync
helper function (#https://github.com/rollup/rollup/issues/5202s/5202))Pull Requests
parseAstAsync
and parallelize parsing AST (@sapphi-red)v4.1.6
Compare Source
2023-10-31
Bug Fixes
Pull Requests
v4.1.5
Compare Source
2023-10-28
Bug Fixes
Pull Requests
v4.1.4
Compare Source
2023-10-16
Bug Fixes
Pull Requests
v4.1.3
Compare Source
2023-10-15
Bug Fixes
Pull Requests
v4.1.1
Compare Source
2023-10-15
Bug Fixes
Pull Requests
v4.1.0
Compare Source
2023-10-14
Features
Pull Requests
onLog
(@tjenkinson)v4.0.2
Compare Source
2023-10-06
Bug Fixes
Pull Requests
v4.0.1
Compare Source
2023-10-06
Bug Fixes
Pull Requests
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 (#https://github.com/rollup/rollup/issues/5073s/5073))INVALID_IMPORT_ASSERTION
error code has been replaced withINVALID_IMPORT_ATTRIBUTE
(#https://github.com/rollup/rollup/issues/5073s/5073))@__PURE__
and@__NO_SIDE_EFFECTS__
annotations in invalid locations (#https://github.com/rollup/rollup/issues/5165s/5165))#!...
, this comment will be prepended to the output fores
andcjs
formats (#https://github.com/rollup/rollup/issues/5163s/5163))RollupWarning
type has been removed in favor of theRollupLog
type (#https://github.com/rollup/rollup/issues/5147s/5147))Changes to Rollup Options
acornInjectPlugins
option has been removed (#https://github.com/rollup/rollup/issues/5073s/5073))acorn
option has been removed (#https://github.com/rollup/rollup/issues/5073s/5073))output.externalImportAssertions
has been deprecated in favor ofoutput.externalImportAttributes
(#https://github.com/rollup/rollup/issues/5073s/5073))inlineDynamicImports
,manualChunks
andpreserveModules
have been removed on input option level: Please use the corresponding output options of the same names (#https://github.com/rollup/rollup/issues/5143s/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
(#https://github.com/rollup/rollup/issues/5142s/5142))this.parse
now only supports theallowReturnOutsideFunction
option for now (#https://github.com/rollup/rollup/issues/5073s/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 (#https://github.com/rollup/rollup/issues/5150s/5150))buildStart
and other hooks no longer contain anonwarn
handler; plugins should useonLog
instead (#https://github.com/rollup/rollup/issues/5147s/5147))this.moduleIds
has been removed from the plugin context: Usethis.getModuleIds()
instead (#https://github.com/rollup/rollup/issues/5143s/5143))hasModuleSideEffects
flag has been removed from theModuleInfo
returned bythis.getModuleInfo()
: UsemoduleSideEffects
on theModuleInfo
instead (#https://github.com/rollup/rollup/issues/5143s/5143))Features
@__PURE__
and@__NO_SIDE_EFFECTS__
annotations in invalid locations (#https://github.com/rollup/rollup/issues/5165s/5165))parseAst
(#https://github.com/rollup/rollup/issues/5169s/5169))Bug Fixes
this.addWatchFile()
(#https://github.com/rollup/rollup/issues/5150s/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 (#https://github.com/rollup/rollup/issues/5131s/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 (#https://github.com/rollup/rollup/issues/5112s/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 (#https://github.com/rollup/rollup/issues/5086s/5086))Bug Fixes
code
property of rendered modules in the output readonly (#https://github.com/rollup/rollup/issues/5091s/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 (#https://github.com/rollup/rollup/issues/5072s/5072))Pull Requests
v3.26.3
Compare Source
2023-07-17
Bug Fixes
manualChunks
to avoid breaking existing configs (#https://github.com/rollup/rollup/issues/5068s/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 (#https://github.com/rollup/rollup/issues/5010s/5010))Pull Requests
v3.26.0
Compare Source
2023-06-30
Features
--filterLogs
CLI flag andROLLUP_FILTER_LOGS
environment variable for log filtering (#https://github.com/rollup/rollup/issues/5035s/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 (#https://github.com/rollup/rollup/issues/5042s/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 (#https://github.com/rollup/rollup/issues/5031s/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 (#https://github.com/rollup/rollup/issues/5026s/5026))onLog
option to read, map and filter logs (#https://github.com/rollup/rollup/issues/5026s/5026))logLevel
option to fully suppress logs by level (#https://github.com/rollup/rollup/issues/5026s/5026))this.warn
,this.info
andthis.debug
to avoid heavy computations based on log level (#https://github.com/rollup/rollup/issues/5026s/5026))onLog
plugin hook to read, filter and map logs from plugins (#https://github.com/rollup/rollup/issues/5026s/5026))Pull Requests
v3.24.1
Compare Source
2023-06-10
Bug Fixes
@rollup/plugin-commonjs
were missing internal dependencies when code-splitting (#https://github.com/rollup/rollup/issues/5029s/5029))process.exit(0)
in watch mode to avoid issues in embedded scenarios (#https://github.com/rollup/rollup/issues/5027s/5027))Pull Requests
v3.24.0
Compare Source
2023-06-07
Features
/* #__NO_SIDE_EFFECTS__ */
to mark function declarations as side effect free (#https://github.com/rollup/rollup/issues/5024s/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 (#https://github.com/rollup/rollup/issues/4989s/4989))Bug Fixes
experimentalMinChunkSize
(#https://github.com/rollup/rollup/issues/4989s/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
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 8am and before 4pm on tuesday" in timezone Etc/UTC.
🚦 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 Renovate Bot.