chore(deps): update dependency rollup to v4.54.0
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| rollup (source) | 4.40.0 -> 4.54.0 |
Release Notes
rollup/rollup (rollup)
v4.54.0
2025-12-20
Features
- Enable tree-shaking for
Symbol.hasInstance,Symbol.disposeandSymbol.asyncDisposeproperties if unused (#6046)
Bug Fixes
- Ensure that well-known-Symbol-valued properties are not tree-shaken except in select cases (#6046)
- Ensure namespace properties are included when referenced only from a try-catch (#6216)
Pull Requests
- #6046: fix: correctly handle wellknown protocols (@cyyynthia, @lukastaegert)
- #6201: chore(deps): update dependency lru-cache to v11 (@renovate[bot], @lukastaegert)
- #6211: chore(deps): update msys2/setup-msys2 digest to
4f806de(@renovate[bot], @lukastaegert) - #6212: chore(deps): update actions/cache action to v5 (@renovate[bot])
- #6213: chore(deps): update github artifact actions (major) (@renovate[bot])
- #6214: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6215: chore(deps): lock file maintenance (@renovate[bot])
- #6216: fix: include namespace variable paths during try-catch deoptimization (@schwing)
v4.53.5
2025-12-16
Bug Fixes
- Fix wrong semicolon insertion position when using JSX (#6206)
- Generate spec-compliant sourcemaps when sources content is excluded (#6196)
Pull Requests
- #6196: fix: set sourcesContent to undefined instead of null when excluding sources content (@TrickyPi)
- #6206: Fix semicolon order in JSX (@TrickyPi)
v4.53.4
2025-12-15
Bug Fixes
- Ensure
Symbol.disposeandSymbol.asyncDisposeproperties are never removed with(await) usingdeclarations. (#6209)
Pull Requests
- #6185: chore(deps): update dependency @inquirer/prompts to v8 (@renovate[bot], @lukastaegert)
- #6186: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6187: chore(deps): lock file maintenance (@renovate[bot])
- #6188: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6190: Fix syntax error in manualChunks example (@jonnyeom)
- #6194: chore(deps): update actions/checkout action to v6 (@renovate[bot])
- #6195: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6202: fix(deps): update swc monorepo (major) (@renovate[bot])
- #6203: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6209: Do not tree-shake handlers for "using" (@lukastaegert)
v4.53.3
2025-11-19
Bug Fixes
- Fix an error where too many modules where flagged for having an unused external import (#6182)
- Fix an error where an assignment was wrongly tree-shaken when mutating it (#6183)
Pull Requests
- #6171: Add test-install CI job to test packaging, installation and importing of rollup package (@antoninkriz, @lukastaegert)
- #6174: Re-enable TypeScript test (@lukastaegert)
- #6180: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6182: Tracing the importers chain for exported variables in external module (@TrickyPi, @lukastaegert)
- #6183: Check if left side is included when checking if assigning to an assignment has side effects (@lukastaegert)
v4.53.2
2025-11-10
Bug Fixes
- Do not throw when using invalid escape sequences in template literals (#6177)
Pull Requests
- #6177: handle TemplateElement with null cooked value (@TrickyPi)
v4.53.1
2025-11-07
Bug Fixes
- Fix install script (#6172)
Pull Requests
v4.53.0
2025-11-07
Features
- Improve rendering performance by caching generated variable names (#5947)
Pull Requests
- #5947: refactor: store safe variable names in cache for subsequent usage (@Aslemammad, @lukastaegert, @Service account user)
- #6149: chore(deps): update dependency vite to v7.1.11 [security] (@renovate[bot], @Service account user)
- #6151: fix(deps): update swc monorepo (major) (@renovate[bot], @Service account user)
- #6152: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @Service account user)
- #6153: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @Service account user)
- #6155: Fix tests: Do not swallow warnings for multi-format tests (@lukastaegert, @Service account user)
- #6159: chore(deps): update dependency eslint-plugin-unicorn to v62 (@renovate[bot])
- #6160: chore(deps): update github artifact actions (major) (@renovate[bot])
- #6161: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6164: chore(deps): update dependency @rollup/plugin-alias to v6 (@renovate[bot])
- #6165: chore(deps): update dependency @rollup/plugin-commonjs to v29 (@renovate[bot])
- #6166: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #6167: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
v4.52.5
2025-10-18
Bug Fixes
- Always produce valid UUIDs as debugIds in sourcemaps (#6144)
Pull Requests
- #6135: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6140: chore(deps): update peter-evans/create-or-update-comment action to v5 (@renovate[bot])
- #6141: chore(deps): update peter-evans/find-comment action to v4 (@renovate[bot])
- #6142: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6143: chore: eslint enable concurrency option (@btea)
- #6144: fix: generation of debugIDs with invalid length (@pablomatiasgomez, @lukastaegert)
- #6146: chore(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6147: chore(deps): update actions/setup-node action to v6 (@renovate[bot])
v4.52.4
2025-10-03
Bug Fixes
- Fix an issue where the wrong branch of nullish coalescing was picked (#6133)
Pull Requests
- #6128: Enable npm OIDC publishing (@lukastaegert)
- #6133: Correct nullish coalescing branch resolution for symbol left value (@TrickyPi)
- #6134: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
v4.52.3
2025-09-27
Bug Fixes
- Fix check in native loader for environments that do not support reports (#6123)
Pull Requests
- #6123: fix(native-loader): safely handle report.getReport() on Termux/Android (@Jobians, @lukastaegert)
- #6124: chore(deps): pin msys2/setup-msys2 action to
fb197b7(@renovate[bot]) - #6125: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6126: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
v4.52.2
2025-09-23
Bug Fixes
- Fix Android build crashing due to failed dlopen (#6109)
Pull Requests
- #6109: fix(rust): use prebuilt std when it is available (@cyyynthia)
v4.52.1
2025-09-23
Bug Fixes
- Opt-out of dynamic import optimization when using top-level await to effectively prevent deadlocks (#6121)
Pull Requests
- #6121: Simplify top-level await deadlock prevention (@lukastaegert)
v4.52.0
2025-09-19
Features
- Add option
output.onlyExplicitManualChunksto turn off merging additional dependencies into manual chunks (#6087) - Add support for x86_64-pc-windows-gnu platform (#6110)
Pull Requests
- #6087: fix: manualChunks and non manualChunks shared dependencies are merged with the first manualChunk encountered alphabetically (@maiieul)
- #6110: Add support x86_64-pc-windows-gnu (@lsq, @lukastaegert)
- #6118: Automatically remove REPL artefacts label from PRs (@lukastaegert)
v4.51.0
2025-09-19
Features
- Support ROLLUP_FILE_URL_OBJ placeholder to inject file URLs into the generated code (#6108)
Bug Fixes
- Improve OpenHarmony build to work in more situations (#6115)
Pull Requests
- #6108: feat: support ROLLUP_FILE_URL_OBJ for URL object instead of string (@guybedford, @lukastaegert)
- #6112: Disable Cargo cache for Android (@lukastaegert)
- #6113: fix(deps): update rust crate swc_compiler_base to v35 (@renovate[bot])
- #6114: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6115: Disable local_dynamic_tls for OpenHarmony (@hqzing)
- #6116: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6117: chore(deps): lock file maintenance (@renovate[bot])
v4.50.2
2025-09-15
Bug Fixes
- Resolve an issue where unused destructured array pattern declarations would conflict with included variables (#6100)
Pull Requests
- #6100: Tree-shake un-included elements in array pattern (@TrickyPi)
- #6102: chore(deps): update actions/setup-node action to v5 (@renovate[bot])
- #6103: chore(deps): update dependency eslint-plugin-unicorn to v61 (@renovate[bot])
- #6104: fix(deps): update swc monorepo (major) (@renovate[bot])
- #6105: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6107: Improve CI stability (@lukastaegert)
v4.50.1
2025-09-07
Bug Fixes
- Resolve a situation where a destructuring default value was removed (#6090)
Pull Requests
- #6088: feat(www): shorter repl shareables (@cyyynthia, @lukastaegert)
- #6090: Call includeNode for self or children nodes in includeDestructuredIfNecessary (@TrickyPi)
- #6091: fix(deps): update rust crate swc_compiler_base to v33 (@renovate[bot])
- #6092: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6094: perf: replace startsWith with strict equality (@btea)
v4.50.0
2025-08-31
Features
- Support openharmony-arm64 platform (#6081)
Bug Fixes
- Fix loading of extensionless imports in config files (#6084)
Pull Requests
- #6081: Add support for openharmony-arm64 platform (@hqzing, @lukastaegert)
- #6084: Return null to defer to the default resolution behavior (@TrickyPi)
v4.49.0
2025-08-27
Features
- Allow config plugins to resolve imports first before deciding whether to treat them as external (#6038)
Pull Requests
- #6038: feat: Run external check in
cli/run/loadConfigFile.tsas last in order to allow handling of e.g. workspace package imports in TS monorepos correctly (@stazz, @TrickyPi) - #6082: Improve build pipeline performance (@lukastaegert)
v4.48.1
2025-08-25
Bug Fixes
- Correctly ignore white-space in JSX strings around line-breaks (#6051)
Pull Requests
- #6051: fix: handle whitespace according to JSX common practice (@cyyynthia)
- #6078: build: optimize pipeline take two (@cyyynthia)
v4.48.0
2025-08-23
Features
- If configured, also keep unparseable import attributes of external dynamic imports in the output(#6071)
Bug Fixes
- Ensure variables referenced in non-removed import attributes are included (#6071)
Pull Requests
- #6071: Keep attributes for external dynamic imports (@TrickyPi)
- #6079: fix(deps): update swc monorepo (major) (@renovate[bot])
- #6080: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
v4.47.1
2025-08-21
Bug Fixes
- Revert build process changes to investigate issues (#6077)
Pull Requests
- #6077: Revert "build: aggressively optimize wasm build, improve pipeline (#6053)" (@lukastaegert)
v4.47.0
2025-08-21
Features
- Aggressively reduce WASM build size (#6053)
Bug Fixes
- Fix illegal instruction error on Android ARM platforms (#6072)
- Allow to pass explicit
undefinedfor optional fields in Rollup types (#6061)
Pull Requests
- #6053: build: aggressively optimize wasm build, improve pipeline (@cyyynthia)
- #6061: fix(types): add support for exactOptionalPropertyTypes (@remcohaszing, @lukastaegert)
- #6072: build(rust): mimalloc-safe/no_opt_arch on aarch64 (@cyyynthia)
v4.46.4
2025-08-20
Bug Fixes
- Do not omit synthetic namespaces when only accessed via
inoperator (#6052)
Pull Requests
- #6052: fix: don't optimize
inwithsyntheticNamedExports(@hi-ogawa) - #6074: Update transitive dependency to fix audit (@lukastaegert)
v4.46.3
2025-08-18
Bug Fixes
- Resolve illegal instruction error on arm64 architectures (#6055)
- Resolve sourcemap generation performance regression (#6057)
Pull Requests
- #6043: Avoid
generated bycomment diff on Windows (@sapphi-red) - #6048: chore(deps): update dependency cross-env to v10 (@renovate[bot], @lukastaegert)
- #6049: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #6055: Fix illegal instruction error on arm64 by enabling
no_opt_archfeature for mimalloc-safe (@sapphi-red) - #6057: fix: tweak the fallback logic for tracing segment (@TrickyPi, @lukastaegert)
- #6062: docs: update Rust toolchain instructions (@situ2001, @lukastaegert)
- #6063: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6067: chore(deps): update actions/checkout action to v5 (@renovate[bot], @lukastaegert)
- #6068: chore(deps): update actions/download-artifact action to v5 (@renovate[bot])
- #6069: fix(deps): update rust crate swc_compiler_base to v31 (@renovate[bot], @lukastaegert)
v4.46.2
2025-07-29
Bug Fixes
- Fix in-operator handling for external namespace and when the left side cannot be analyzed (#6041)
Pull Requests
- #6041: Correct the logic of include in BinaryExpression and don't optimize external references away (@TrickyPi, @cyyynthia, @lukastaegert)
v4.46.1
2025-07-28
Bug Fixes
- Do not fail when using the
inoperator on external namespaces (#6036)
Pull Requests
- #6036: disables optimization for external namespace when using the in operator (@TrickyPi)
v4.46.0
2025-07-27
Features
- Optimize
inchecks on namespaces to keep them treeshake-able (#6029)
Pull Requests
- #5991: feat: update linux-loongarch64-gnu (@wojiushixiaobai, @lukastaegert)
- #6029: feat: optimize
inchecks on namespaces to keep them treeshake-able (@cyyynthia, @lukastaegert) - #6033: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
v4.45.3
2025-07-26
Bug Fixes
- Do not fail build if a const is reassigned but warn instead (#6020)
- Fail with a helpful error message if an exported binding is not defined (#6023)
Pull Requests
- #6014: chore(deps): update dependency @vue/language-server to v3 (@renovate[bot])
- #6015: chore(deps): update dependency vue-tsc to v3 (@renovate[bot], @lukastaegert)
- #6016: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #6017: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #6020: Make const reassignments only a warning (@lukastaegert)
- #6023: Throw descriptive error message for used export is not defined (@TrickyPi)
- #6027: feat: upgrade to NAPI-RS 3 stable (@Brooooooklyn)
- #6028: Update eslint-plugin-unicorn to resolve vulnerability (@lukastaegert)
- #6034: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
v4.45.1
2025-07-15
Bug Fixes
- Resolve crash when using certain conditional expressions (#6009)
Pull Requests
- #6009: Add hasDeoptimizedCache flag for ConditionalExpression (@TrickyPi)
v4.45.0
2025-07-12
Features
- Improve tree-shaking when both branches of a conditional expression return the same boolean value (#6000)
- In environments that support both CJS and ESM, prefer the ESM build of Rollup (#6005)
Bug Fixes
- Ensure static blocks do not prevent tree-shaking if they access
this(#6001)
Pull Requests
- #6000: feat: improve get literal value for conditional expression (@ahabhgk, @lukastaegert)
- #6001: Correct the parent scope for static blocks (@TrickyPi, @lukastaegert)
- #6005: fix: export field order prefer esm (@DylanPiercey)
v4.44.2
2025-07-04
Bug Fixes
- Correctly handle
@__PURE__annotations afternewkeyword (#5998) - Generate correct source mapping for closing braces of block statements (#5999)
Pull Requests
- #5998: Support
@__PURE__when nested after new in constructor invocations (@TrickyPi) - #5999: Add location info for closing brace of block statement (@TrickyPi)
- #6002: chore(deps): update dependency vite to v7 (@renovate[bot], @lukastaegert)
- #6004: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
v4.44.1
2025-06-26
Bug Fixes
- Reinstate maxParallelFileOps limit of 1000 to resolve the issue for some (#5992)
Pull Requests
- #5988: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5992: Set maxParallelFileOps to 1000 (@lukastaegert)
v4.44.0
2025-06-19
Features
- Remove limit on
maxParallelFileOpsas this could break watch mode with the commonjs plugin (#5986)
Bug Fixes
- Provide better source mappings when coarse intermediate maps are used (#5985)
Pull Requests
- #5984: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5985: Improve approximation of coarse sourcemap segments (@TrickyPi)
- #5986: Remove limit on max parallel file ops (@lukastaegert)
v4.43.0
2025-06-11
Features
- Provide new
fsoption andthis.fsAPI to replace file system (#5944)
Pull Requests
- #5944: feat(options): Add an option for overriding the file system module in the JS API (@EggDice, @lukastaegert)
v4.42.0
2025-06-06
Features
- Add option to allow the input to be located in the output in watch mode (#5966)
Pull Requests
- #5966: feat: watch mode add
allowInputInsideOutputPathoption (@btea, @lukastaegert)
v4.41.2
2025-06-06
Bug Fixes
- Detect named export usages in dynamic imports with
thenand non-arrow function expressions (#5977) - Do not replace usages of constant variables with their values for readability (#5968)
Pull Requests
- #5968: fix: preserve constant identifiers in unary expressions instead of magic numbers (@OmkarJ13, @lukastaegert)
- #5969: chore(deps): update dependency yargs-parser to v22 (@renovate[bot], @lukastaegert)
- #5970: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5971: chore(deps): lock file maintenance (@renovate[bot])
- #5976: Update README.md (@ftlno, @lukastaegert)
- #5977: fix: consider function expression in thenable when tree-shaking dynamic imports (@TrickyPi)
- #5981: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5982: Debug/fix watch pipeline (@lukastaegert)
v4.41.1
2025-05-24
Bug Fixes
- If a plugin calls
this.resolvewithskipSelf: true, subsequent calls when handling this by the same plugin with same parameters will returnnullto avoid infinite recursions (#5945)
Pull Requests
- #5945: Avoid recursively calling a plugin's resolveId hook with same id and importer (@younggglcy, @lukastaegert)
- #5963: fix(deps): update swc monorepo (major) (@renovate[bot])
- #5964: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
v4.41.0
2025-05-18
Features
- Detect named exports in more dynamic import scenarios (#5954)
Pull Requests
- #5949: ci: use node 24 (@btea, @lukastaegert)
- #5951: chore(deps): update dependency pretty-bytes to v7 (@renovate[bot])
- #5952: fix(deps): update swc monorepo (major) (@renovate[bot], @lukastaegert)
- #5953: chore(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5954: enhance tree-shaking for dynamic imports (@TrickyPi, @renovate[bot], @lukastaegert)
- #5957: chore(deps): update dependency lint-staged to v16 (@renovate[bot], @lukastaegert)
- #5958: fix(deps): update rust crate swc_compiler_base to v20 (@renovate[bot], @lukastaegert)
- #5959: fix(deps): lock file maintenance minor/patch updates (@renovate[bot], @lukastaegert)
- #5960: Use spawn to run CLI tests (@lukastaegert)
v4.40.2
2025-05-06
Bug Fixes
- Create correct IIFE/AMD/UMD bundles when using a mutable default export (#5934)
- Fix execution order when using top-level await for dynamic imports with inlineDynamicImports (#5937)
- Throw when the output is watched in watch mode (#5939)
Pull Requests
- #5934: fix(exports): avoid "exports is not defined"
ReferenceError(@dasa) - #5937: consider TLA imports have higher execution priority (@TrickyPi)
- #5939: fix: watch mode input should not be an output subpath (@btea)
- #5940: chore(deps): update dependency vite to v6.3.4 [security] (@renovate[bot])
- #5941: chore(deps): update dependency eslint-plugin-unicorn to v59 (@renovate[bot])
- #5942: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5943: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
v4.40.1
2025-04-28
Bug Fixes
- Limit hash size for asset file names to the supported 21 (#5921)
- Do not inline user-defined entry chunks or chunks with explicit file name (#5923)
- Avoid top-level-await cycles when non-entry chunks use top-level await (#5930)
- Expose package.json via exports (#5931)
Pull Requests
- #5921: fix(assetFileNames): reduce max hash size to 21 (@shulaoda)
- #5923: fix: generate the separate chunk for the entry module with explicated chunk filename or name (@TrickyPi)
- #5926: fix(deps): update rust crate swc_compiler_base to v18 (@renovate[bot])
- #5927: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5928: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
- #5930: Avoid chunks TLA dynamic import circular when TLA dynamic import used in non-entry modules (@TrickyPi)
- #5931: chore: add new
./package.jsonentry (@JounQin, @lukastaegert) - #5936: fix(deps): lock file maintenance minor/patch updates (@renovate[bot])
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.