Skip to content

Commit 2a0ac87

Browse files
chore(deps): update dependency rollup to v4.52.4 (#2202)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [rollup](https://rollupjs.org/) ([source](https://redirect.github.com/rollup/rollup)) | [`4.40.2` -> `4.52.4`](https://renovatebot.com/diffs/npm/rollup/4.40.2/4.52.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rollup/4.52.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/rollup/4.40.2/4.52.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>rollup/rollup (rollup)</summary> ### [`v4.52.4`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4524) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.52.3...v4.52.4) *2025-10-03* ##### Bug Fixes - Fix an issue where the wrong branch of nullish coalescing was picked ([#&#8203;6133](https://redirect.github.com/rollup/rollup/issues/6133)) ##### Pull Requests - [#&#8203;6128](https://redirect.github.com/rollup/rollup/pull/6128): Enable npm OIDC publishing ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6133](https://redirect.github.com/rollup/rollup/pull/6133): Correct nullish coalescing branch resolution for symbol left value ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;6134](https://redirect.github.com/rollup/rollup/pull/6134): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.52.3`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4523) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.52.2...v4.52.3) *2025-09-27* ##### Bug Fixes - Fix check in native loader for environments that do not support reports ([#&#8203;6123](https://redirect.github.com/rollup/rollup/issues/6123)) ##### Pull Requests - [#&#8203;6123](https://redirect.github.com/rollup/rollup/pull/6123): fix(native-loader): safely handle report.getReport() on Termux/Android ([@&#8203;Jobians](https://redirect.github.com/Jobians), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6124](https://redirect.github.com/rollup/rollup/pull/6124): chore(deps): pin msys2/setup-msys2 action to [`fb197b7`](https://redirect.github.com/rollup/rollup/commit/fb197b7) ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6125](https://redirect.github.com/rollup/rollup/pull/6125): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6126](https://redirect.github.com/rollup/rollup/pull/6126): chore(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) ### [`v4.52.2`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4522) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.52.1...v4.52.2) *2025-09-23* ##### Bug Fixes - Fix Android build crashing due to failed dlopen ([#&#8203;6109](https://redirect.github.com/rollup/rollup/issues/6109)) ##### Pull Requests - [#&#8203;6109](https://redirect.github.com/rollup/rollup/pull/6109): fix(rust): use prebuilt std when it is available ([@&#8203;cyyynthia](https://redirect.github.com/cyyynthia)) ### [`v4.52.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4521) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.52.0...v4.52.1) *2025-09-23* ##### Bug Fixes - Opt-out of dynamic import optimization when using top-level await to effectively prevent deadlocks ([#&#8203;6121](https://redirect.github.com/rollup/rollup/issues/6121)) ##### Pull Requests - [#&#8203;6121](https://redirect.github.com/rollup/rollup/pull/6121): Simplify top-level await deadlock prevention ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.52.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4520) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.51.0...v4.52.0) *2025-09-19* ##### Features - Add option `output.onlyExplicitManualChunks` to turn off merging additional dependencies into manual chunks ([#&#8203;6087](https://redirect.github.com/rollup/rollup/issues/6087)) - Add support for x86\_64-pc-windows-gnu platform ([#&#8203;6110](https://redirect.github.com/rollup/rollup/issues/6110)) ##### Pull Requests - [#&#8203;6087](https://redirect.github.com/rollup/rollup/pull/6087): fix: manualChunks and non manualChunks shared dependencies are merged with the first manualChunk encountered alphabetically ([@&#8203;maiieul](https://redirect.github.com/maiieul)) - [#&#8203;6110](https://redirect.github.com/rollup/rollup/pull/6110): Add support x86\_64-pc-windows-gnu ([@&#8203;lsq](https://redirect.github.com/lsq), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6118](https://redirect.github.com/rollup/rollup/pull/6118): Automatically remove REPL artefacts label from PRs ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.51.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4510) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.50.2...v4.51.0) *2025-09-19* ##### Features - Support ROLLUP\_FILE\_URL\_OBJ placeholder to inject file URLs into the generated code ([#&#8203;6108](https://redirect.github.com/rollup/rollup/issues/6108)) ##### Bug Fixes - Improve OpenHarmony build to work in more situations ([#&#8203;6115](https://redirect.github.com/rollup/rollup/issues/6115)) ##### Pull Requests - [#&#8203;6108](https://redirect.github.com/rollup/rollup/pull/6108): feat: support ROLLUP\_FILE\_URL\_OBJ for URL object instead of string ([@&#8203;guybedford](https://redirect.github.com/guybedford), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6112](https://redirect.github.com/rollup/rollup/pull/6112): Disable Cargo cache for Android ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6113](https://redirect.github.com/rollup/rollup/pull/6113): fix(deps): update rust crate swc\_compiler\_base to v35 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6114](https://redirect.github.com/rollup/rollup/pull/6114): chore(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6115](https://redirect.github.com/rollup/rollup/pull/6115): Disable local\_dynamic\_tls for OpenHarmony ([@&#8203;hqzing](https://redirect.github.com/hqzing)) - [#&#8203;6116](https://redirect.github.com/rollup/rollup/pull/6116): chore(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6117](https://redirect.github.com/rollup/rollup/pull/6117): chore(deps): lock file maintenance ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) ### [`v4.50.2`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4502) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.50.1...v4.50.2) *2025-09-15* ##### Bug Fixes - Resolve an issue where unused destructured array pattern declarations would conflict with included variables ([#&#8203;6100](https://redirect.github.com/rollup/rollup/issues/6100)) ##### Pull Requests - [#&#8203;6100](https://redirect.github.com/rollup/rollup/pull/6100): Tree-shake un-included elements in array pattern ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;6102](https://redirect.github.com/rollup/rollup/pull/6102): chore(deps): update actions/setup-node action to v5 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6103](https://redirect.github.com/rollup/rollup/pull/6103): chore(deps): update dependency eslint-plugin-unicorn to v61 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6104](https://redirect.github.com/rollup/rollup/pull/6104): fix(deps): update swc monorepo (major) ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6105](https://redirect.github.com/rollup/rollup/pull/6105): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6107](https://redirect.github.com/rollup/rollup/pull/6107): Improve CI stability ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.50.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4501) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.50.0...v4.50.1) *2025-09-07* ##### Bug Fixes - Resolve a situation where a destructuring default value was removed ([#&#8203;6090](https://redirect.github.com/rollup/rollup/issues/6090)) ##### Pull Requests - [#&#8203;6088](https://redirect.github.com/rollup/rollup/pull/6088): feat(www): shorter repl shareables ([@&#8203;cyyynthia](https://redirect.github.com/cyyynthia), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6090](https://redirect.github.com/rollup/rollup/pull/6090): Call includeNode for self or children nodes in includeDestructuredIfNecessary ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;6091](https://redirect.github.com/rollup/rollup/pull/6091): fix(deps): update rust crate swc\_compiler\_base to v33 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6092](https://redirect.github.com/rollup/rollup/pull/6092): chore(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6094](https://redirect.github.com/rollup/rollup/pull/6094): perf: replace startsWith with strict equality ([@&#8203;btea](https://redirect.github.com/btea)) ### [`v4.50.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4500) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.49.0...v4.50.0) *2025-08-31* ##### Features - Support openharmony-arm64 platform ([#&#8203;6081](https://redirect.github.com/rollup/rollup/issues/6081)) ##### Bug Fixes - Fix loading of extensionless imports in config files ([#&#8203;6084](https://redirect.github.com/rollup/rollup/issues/6084)) ##### Pull Requests - [#&#8203;6081](https://redirect.github.com/rollup/rollup/pull/6081): Add support for openharmony-arm64 platform ([@&#8203;hqzing](https://redirect.github.com/hqzing), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6084](https://redirect.github.com/rollup/rollup/pull/6084): Return null to defer to the default resolution behavior ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) ### [`v4.49.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4490) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.48.1...v4.49.0) *2025-08-27* ##### Features - Allow config plugins to resolve imports first before deciding whether to treat them as external ([#&#8203;6038](https://redirect.github.com/rollup/rollup/issues/6038)) ##### Pull Requests - [#&#8203;6038](https://redirect.github.com/rollup/rollup/pull/6038): feat: Run external check in `cli/run/loadConfigFile.ts` as last in order to allow handling of e.g. workspace package imports in TS monorepos correctly ([@&#8203;stazz](https://redirect.github.com/stazz), [@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;6082](https://redirect.github.com/rollup/rollup/pull/6082): Improve build pipeline performance ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.48.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4481) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.48.0...v4.48.1) *2025-08-25* ##### Bug Fixes - Correctly ignore white-space in JSX strings around line-breaks ([#&#8203;6051](https://redirect.github.com/rollup/rollup/issues/6051)) ##### Pull Requests - [#&#8203;6051](https://redirect.github.com/rollup/rollup/pull/6051): fix: handle whitespace according to JSX common practice ([@&#8203;cyyynthia](https://redirect.github.com/cyyynthia)) - [#&#8203;6078](https://redirect.github.com/rollup/rollup/pull/6078): build: optimize pipeline take two ([@&#8203;cyyynthia](https://redirect.github.com/cyyynthia)) ### [`v4.48.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4480) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.47.1...v4.48.0) *2025-08-23* ##### Features - If configured, also keep unparseable import attributes of external dynamic imports in the output([#&#8203;6071](https://redirect.github.com/rollup/rollup/issues/6071)) ##### Bug Fixes - Ensure variables referenced in non-removed import attributes are included ([#&#8203;6071](https://redirect.github.com/rollup/rollup/issues/6071)) ##### Pull Requests - [#&#8203;6071](https://redirect.github.com/rollup/rollup/pull/6071): Keep attributes for external dynamic imports ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;6079](https://redirect.github.com/rollup/rollup/pull/6079): fix(deps): update swc monorepo (major) ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6080](https://redirect.github.com/rollup/rollup/pull/6080): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) ### [`v4.47.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4471) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.47.0...v4.47.1) *2025-08-21* ##### Bug Fixes - Revert build process changes to investigate issues ([#&#8203;6077](https://redirect.github.com/rollup/rollup/issues/6077)) ##### Pull Requests - [#&#8203;6077](https://redirect.github.com/rollup/rollup/pull/6077): Revert "build: aggressively optimize wasm build, improve pipeline ([#&#8203;6053](https://redirect.github.com/rollup/rollup/issues/6053))" ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.47.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4470) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.46.4...v4.47.0) *2025-08-21* ##### Features - Aggressively reduce WASM build size ([#&#8203;6053](https://redirect.github.com/rollup/rollup/issues/6053)) ##### Bug Fixes - Fix illegal instruction error on Android ARM platforms ([#&#8203;6072](https://redirect.github.com/rollup/rollup/issues/6072)) - Allow to pass explicit `undefined` for optional fields in Rollup types ([#&#8203;6061](https://redirect.github.com/rollup/rollup/issues/6061)) ##### Pull Requests - [#&#8203;6053](https://redirect.github.com/rollup/rollup/pull/6053): build: aggressively optimize wasm build, improve pipeline ([@&#8203;cyyynthia](https://redirect.github.com/cyyynthia)) - [#&#8203;6061](https://redirect.github.com/rollup/rollup/pull/6061): fix(types): add support for exactOptionalPropertyTypes ([@&#8203;remcohaszing](https://redirect.github.com/remcohaszing), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6072](https://redirect.github.com/rollup/rollup/pull/6072): build(rust): mimalloc-safe/no\_opt\_arch on aarch64 ([@&#8203;cyyynthia](https://redirect.github.com/cyyynthia)) ### [`v4.46.4`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4464) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.46.3...v4.46.4) *2025-08-20* ##### Bug Fixes - Do not omit synthetic namespaces when only accessed via `in` operator ([#&#8203;6052](https://redirect.github.com/rollup/rollup/issues/6052)) ##### Pull Requests - [#&#8203;6052](https://redirect.github.com/rollup/rollup/pull/6052): fix: don't optimize `in` with `syntheticNamedExports` ([@&#8203;hi-ogawa](https://redirect.github.com/hi-ogawa)) - [#&#8203;6074](https://redirect.github.com/rollup/rollup/pull/6074): Update transitive dependency to fix audit ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.46.3`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4463) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.46.2...v4.46.3) *2025-08-18* ##### Bug Fixes - Resolve illegal instruction error on arm64 architectures ([#&#8203;6055](https://redirect.github.com/rollup/rollup/issues/6055)) - Resolve sourcemap generation performance regression ([#&#8203;6057](https://redirect.github.com/rollup/rollup/issues/6057)) ##### Pull Requests - [#&#8203;6043](https://redirect.github.com/rollup/rollup/pull/6043): Avoid `generated by` comment diff on Windows ([@&#8203;sapphi-red](https://redirect.github.com/sapphi-red)) - [#&#8203;6048](https://redirect.github.com/rollup/rollup/pull/6048): chore(deps): update dependency cross-env to v10 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6049](https://redirect.github.com/rollup/rollup/pull/6049): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6055](https://redirect.github.com/rollup/rollup/pull/6055): Fix illegal instruction error on arm64 by enabling `no_opt_arch` feature for mimalloc-safe ([@&#8203;sapphi-red](https://redirect.github.com/sapphi-red)) - [#&#8203;6057](https://redirect.github.com/rollup/rollup/pull/6057): fix: tweak the fallback logic for tracing segment ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6062](https://redirect.github.com/rollup/rollup/pull/6062): docs: update Rust toolchain instructions ([@&#8203;situ2001](https://redirect.github.com/situ2001), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6063](https://redirect.github.com/rollup/rollup/pull/6063): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6067](https://redirect.github.com/rollup/rollup/pull/6067): chore(deps): update actions/checkout action to v5 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6068](https://redirect.github.com/rollup/rollup/pull/6068): chore(deps): update actions/download-artifact action to v5 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6069](https://redirect.github.com/rollup/rollup/pull/6069): fix(deps): update rust crate swc\_compiler\_base to v31 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.46.2`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4462) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.46.1...v4.46.2) *2025-07-29* ##### Bug Fixes - Fix in-operator handling for external namespace and when the left side cannot be analyzed ([#&#8203;6041](https://redirect.github.com/rollup/rollup/issues/6041)) ##### Pull Requests - [#&#8203;6041](https://redirect.github.com/rollup/rollup/pull/6041): Correct the logic of include in BinaryExpression and don't optimize external references away ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi), [@&#8203;cyyynthia](https://redirect.github.com/cyyynthia), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.46.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4461) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.46.0...v4.46.1) *2025-07-28* ##### Bug Fixes - Do not fail when using the `in` operator on external namespaces ([#&#8203;6036](https://redirect.github.com/rollup/rollup/issues/6036)) ##### Pull Requests - [#&#8203;6036](https://redirect.github.com/rollup/rollup/pull/6036): disables optimization for external namespace when using the in operator ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) ### [`v4.46.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4460) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.45.3...v4.46.0) *2025-07-27* ##### Features - Optimize `in` checks on namespaces to keep them treeshake-able ([#&#8203;6029](https://redirect.github.com/rollup/rollup/issues/6029)) ##### Pull Requests - [#&#8203;5991](https://redirect.github.com/rollup/rollup/pull/5991): feat: update linux-loongarch64-gnu ([@&#8203;wojiushixiaobai](https://redirect.github.com/wojiushixiaobai), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6029](https://redirect.github.com/rollup/rollup/pull/6029): feat: optimize `in` checks on namespaces to keep them treeshake-able ([@&#8203;cyyynthia](https://redirect.github.com/cyyynthia), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6033](https://redirect.github.com/rollup/rollup/pull/6033): fix(deps): update swc monorepo (major) ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.45.3`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4453) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.45.1...v4.45.3) *2025-07-26* ##### Bug Fixes - Do not fail build if a const is reassigned but warn instead ([#&#8203;6020](https://redirect.github.com/rollup/rollup/issues/6020)) - Fail with a helpful error message if an exported binding is not defined ([#&#8203;6023](https://redirect.github.com/rollup/rollup/issues/6023)) ##### Pull Requests - [#&#8203;6014](https://redirect.github.com/rollup/rollup/pull/6014): chore(deps): update dependency [@&#8203;vue/language-server](https://redirect.github.com/vue/language-server) to v3 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;6015](https://redirect.github.com/rollup/rollup/pull/6015): chore(deps): update dependency vue-tsc to v3 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6016](https://redirect.github.com/rollup/rollup/pull/6016): fix(deps): update swc monorepo (major) ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6017](https://redirect.github.com/rollup/rollup/pull/6017): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6020](https://redirect.github.com/rollup/rollup/pull/6020): Make const reassignments only a warning ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6023](https://redirect.github.com/rollup/rollup/pull/6023): Throw descriptive error message for used export is not defined ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;6027](https://redirect.github.com/rollup/rollup/pull/6027): feat: upgrade to NAPI-RS 3 stable ([@&#8203;Brooooooklyn](https://redirect.github.com/Brooooooklyn)) - [#&#8203;6028](https://redirect.github.com/rollup/rollup/pull/6028): Update eslint-plugin-unicorn to resolve vulnerability ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6034](https://redirect.github.com/rollup/rollup/pull/6034): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.45.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4451) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.45.0...v4.45.1) *2025-07-15* ##### Bug Fixes - Resolve crash when using certain conditional expressions ([#&#8203;6009](https://redirect.github.com/rollup/rollup/issues/6009)) ##### Pull Requests - [#&#8203;6009](https://redirect.github.com/rollup/rollup/pull/6009): Add hasDeoptimizedCache flag for ConditionalExpression ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) ### [`v4.45.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4450) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.44.2...v4.45.0) *2025-07-12* ##### Features - Improve tree-shaking when both branches of a conditional expression return the same boolean value ([#&#8203;6000](https://redirect.github.com/rollup/rollup/issues/6000)) - In environments that support both CJS and ESM, prefer the ESM build of Rollup ([#&#8203;6005](https://redirect.github.com/rollup/rollup/issues/6005)) ##### Bug Fixes - Ensure static blocks do not prevent tree-shaking if they access `this` ([#&#8203;6001](https://redirect.github.com/rollup/rollup/issues/6001)) ##### Pull Requests - [#&#8203;6000](https://redirect.github.com/rollup/rollup/pull/6000): feat: improve get literal value for conditional expression ([@&#8203;ahabhgk](https://redirect.github.com/ahabhgk), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6001](https://redirect.github.com/rollup/rollup/pull/6001): Correct the parent scope for static blocks ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6005](https://redirect.github.com/rollup/rollup/pull/6005): fix: export field order prefer esm ([@&#8203;DylanPiercey](https://redirect.github.com/DylanPiercey)) ### [`v4.44.2`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4442) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.44.1...v4.44.2) *2025-07-04* ##### Bug Fixes - Correctly handle `@__PURE__` annotations after `new` keyword ([#&#8203;5998](https://redirect.github.com/rollup/rollup/issues/5998)) - Generate correct source mapping for closing braces of block statements ([#&#8203;5999](https://redirect.github.com/rollup/rollup/issues/5999)) ##### Pull Requests - [#&#8203;5998](https://redirect.github.com/rollup/rollup/pull/5998): Support `@__PURE__` when nested after new in constructor invocations ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;5999](https://redirect.github.com/rollup/rollup/pull/5999): Add location info for closing brace of block statement ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;6002](https://redirect.github.com/rollup/rollup/pull/6002): chore(deps): update dependency vite to v7 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;6004](https://redirect.github.com/rollup/rollup/pull/6004): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.44.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4441) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.44.0...v4.44.1) *2025-06-26* ##### Bug Fixes - Reinstate maxParallelFileOps limit of 1000 to resolve the issue for some ([#&#8203;5992](https://redirect.github.com/rollup/rollup/issues/5992)) ##### Pull Requests - [#&#8203;5988](https://redirect.github.com/rollup/rollup/pull/5988): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5992](https://redirect.github.com/rollup/rollup/pull/5992): Set maxParallelFileOps to 1000 ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.44.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4440) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.43.0...v4.44.0) *2025-06-19* ##### Features - Remove limit on `maxParallelFileOps` as this could break watch mode with the commonjs plugin ([#&#8203;5986](https://redirect.github.com/rollup/rollup/issues/5986)) ##### Bug Fixes - Provide better source mappings when coarse intermediate maps are used ([#&#8203;5985](https://redirect.github.com/rollup/rollup/issues/5985)) ##### Pull Requests - [#&#8203;5984](https://redirect.github.com/rollup/rollup/pull/5984): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5985](https://redirect.github.com/rollup/rollup/pull/5985): Improve approximation of coarse sourcemap segments ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;5986](https://redirect.github.com/rollup/rollup/pull/5986): Remove limit on max parallel file ops ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.43.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4430) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.42.0...v4.43.0) *2025-06-11* ##### Features - Provide new `fs` option and `this.fs` API to replace file system ([#&#8203;5944](https://redirect.github.com/rollup/rollup/issues/5944)) ##### Pull Requests - [#&#8203;5944](https://redirect.github.com/rollup/rollup/pull/5944): feat(options): Add an option for overriding the file system module in the JS API ([@&#8203;EggDice](https://redirect.github.com/EggDice), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.42.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4420) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.41.2...v4.42.0) *2025-06-06* ##### Features - Add option to allow the input to be located in the output in watch mode ([#&#8203;5966](https://redirect.github.com/rollup/rollup/issues/5966)) ##### Pull Requests - [#&#8203;5966](https://redirect.github.com/rollup/rollup/pull/5966): feat: watch mode add `allowInputInsideOutputPath` option ([@&#8203;btea](https://redirect.github.com/btea), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.41.2`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4412) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.41.1...v4.41.2) *2025-06-06* ##### Bug Fixes - Detect named export usages in dynamic imports with `then` and non-arrow function expressions ([#&#8203;5977](https://redirect.github.com/rollup/rollup/issues/5977)) - Do not replace usages of constant variables with their values for readability ([#&#8203;5968](https://redirect.github.com/rollup/rollup/issues/5968)) ##### Pull Requests - [#&#8203;5968](https://redirect.github.com/rollup/rollup/pull/5968): fix: preserve constant identifiers in unary expressions instead of magic numbers ([@&#8203;OmkarJ13](https://redirect.github.com/OmkarJ13), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5969](https://redirect.github.com/rollup/rollup/pull/5969): chore(deps): update dependency yargs-parser to v22 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5970](https://redirect.github.com/rollup/rollup/pull/5970): chore(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;5971](https://redirect.github.com/rollup/rollup/pull/5971): chore(deps): lock file maintenance ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;5976](https://redirect.github.com/rollup/rollup/pull/5976): Update README.md ([@&#8203;ftlno](https://redirect.github.com/ftlno), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5977](https://redirect.github.com/rollup/rollup/pull/5977): fix: consider function expression in thenable when tree-shaking dynamic imports ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi)) - [#&#8203;5981](https://redirect.github.com/rollup/rollup/pull/5981): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;5982](https://redirect.github.com/rollup/rollup/pull/5982): Debug/fix watch pipeline ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) ### [`v4.41.1`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4411) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.41.0...v4.41.1) *2025-05-24* ##### Bug Fixes - If a plugin calls `this.resolve` with `skipSelf: true`, subsequent calls when handling this by the same plugin with same parameters will return `null` to avoid infinite recursions ([#&#8203;5945](https://redirect.github.com/rollup/rollup/issues/5945)) ##### Pull Requests - [#&#8203;5945](https://redirect.github.com/rollup/rollup/pull/5945): Avoid recursively calling a plugin's resolveId hook with same id and importer ([@&#8203;younggglcy](https://redirect.github.com/younggglcy), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5963](https://redirect.github.com/rollup/rollup/pull/5963): fix(deps): update swc monorepo (major) ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;5964](https://redirect.github.com/rollup/rollup/pull/5964): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) ### [`v4.41.0`](https://redirect.github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#4410) [Compare Source](https://redirect.github.com/rollup/rollup/compare/v4.40.2...v4.41.0) *2025-05-18* ##### Features - Detect named exports in more dynamic import scenarios ([#&#8203;5954](https://redirect.github.com/rollup/rollup/issues/5954)) ##### Pull Requests - [#&#8203;5949](https://redirect.github.com/rollup/rollup/pull/5949): ci: use node 24 ([@&#8203;btea](https://redirect.github.com/btea), [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5951](https://redirect.github.com/rollup/rollup/pull/5951): chore(deps): update dependency pretty-bytes to v7 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;5952](https://redirect.github.com/rollup/rollup/pull/5952): fix(deps): update swc monorepo (major) ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5953](https://redirect.github.com/rollup/rollup/pull/5953): chore(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot]) - [#&#8203;5954](https://redirect.github.com/rollup/rollup/pull/5954): enhance tree-shaking for dynamic imports ([@&#8203;TrickyPi](https://redirect.github.com/TrickyPi), [@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5957](https://redirect.github.com/rollup/rollup/pull/5957): chore(deps): update dependency lint-staged to v16 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5958](https://redirect.github.com/rollup/rollup/pull/5958): fix(deps): update rust crate swc\_compiler\_base to v20 ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5959](https://redirect.github.com/rollup/rollup/pull/5959): fix(deps): lock file maintenance minor/patch updates ([@&#8203;renovate](https://redirect.github.com/renovate)\[bot], [@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) - [#&#8203;5960](https://redirect.github.com/rollup/rollup/pull/5960): Use spawn to run CLI tests ([@&#8203;lukastaegert](https://redirect.github.com/lukastaegert)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/runtime-env/import-meta-env). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent d0b5fdf commit 2a0ac87

File tree

8 files changed

+784
-629
lines changed

8 files changed

+784
-629
lines changed

packages/examples/rollup-plugin-babel-example/package-lock.json

Lines changed: 223 additions & 179 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/examples/rollup-plugin-babel-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"concurrently": "9.2.1",
1919
"cross-env": "7.0.3",
2020
"rimraf": "6.0.1",
21-
"rollup": "4.40.2"
21+
"rollup": "4.52.4"
2222
}
2323
}

packages/examples/rollup-starter-example/package-lock.json

Lines changed: 223 additions & 179 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/examples/rollup-starter-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"cross-env": "7.0.3",
1717
"picocolors": "1.1.1",
1818
"rimraf": "6.0.1",
19-
"rollup": "4.40.2"
19+
"rollup": "4.52.4"
2020
}
2121
}

packages/examples/rollup-swc-example/package-lock.json

Lines changed: 223 additions & 179 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/examples/rollup-swc-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"cross-env": "7.0.3",
1919
"picocolors": "1.1.1",
2020
"rimraf": "6.0.1",
21-
"rollup": "4.40.2",
21+
"rollup": "4.52.4",
2222
"unplugin-swc": "1.5.7"
2323
}
2424
}

packages/unplugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"@farmfe/core": "1.7.11",
4040
"@types/node": "22.15.17",
4141
"@types/object-hash": "3.0.6",
42-
"rollup": "4.40.2",
42+
"rollup": "4.52.4",
4343
"ts-node": "10.9.2",
4444
"typescript": "5.9.3",
4545
"vite": "6.2.0",

pnpm-lock.yaml

Lines changed: 111 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)