Skip to content

docs(en): merge rollup/master into rollup-docs-cn/master @ b47bdabe#205

Closed
docschina-bot wants to merge 10 commits into
masterfrom
sync-b47bdabe
Closed

docs(en): merge rollup/master into rollup-docs-cn/master @ b47bdabe#205
docschina-bot wants to merge 10 commits into
masterfrom
sync-b47bdabe

Conversation

@docschina-bot
Copy link
Copy Markdown
Collaborator

此 PR 自动生成。

合并 rollup/rollup 的修改至本仓库(@ b47bdab

以下文件存在冲突,可能需要重新翻译:

请解决所有冲突后提交到此 pull request,可直接在 Github 修改、切换到 sync-b47bdabe 分支进行修改或者使用 Github Desktop 拉取此 pr 修改并提交。

禁止使用 Squash Merge 来合并此 Pull Request!

使用该操作会导致上游仓库的内容丢失,并致使下一次合并产生冲突。

renovate Bot and others added 10 commits May 1, 2026 05:35
* chore(deps): lock file maintenance

* Resolve audit

* fix: pin stacker to 0.1.23 and windows-sys to 0.59.0 in Cargo.lock

stacker 0.1.24 requires windows-sys >=0.60 which dropped windows_x86_64_gnu.
That crate provided the static import library supplying __imp_OpenProcessToken
and friends that libmimalloc-sys2 needs on windows-gnu. Pin stacker to 0.1.23
(which accepts windows-sys 0.59.x) so the arch crates are restored and the
windows-gnu build links successfully.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
fix(deps): update swc monorepo

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…360)

PR #5947 added "exports" to the universal RESERVED_NAMES set, which
caused every variable or parameter named "exports" to be renamed to
"exports$1" in any scope, even when no conflict exists with the output
format's runtime "exports" identifier. Because eval strings are not
rewritten, this silently broke code like:

    (unused, exports) => {
      console.log(exports.bar);
      eval('exports.bar = 1');
    }

where the parameter was renamed but the eval argument was not. The same
over-aggressive rename also applied to unrelated nested bindings in ES
output, which has no runtime "exports" at all.

This change removes "exports" from RESERVED_NAMES and restores the
system-format-specific check in ChildScope.addUsedOutsideNames so that
nested scopes in SystemJS output still treat "exports" as used when
they reference an outer exported binding. Top-level protection for
CJS/AMD/UMD/IIFE/SYSTEM output is unchanged: RESERVED_USED_NAMES in
Chunk.ts still seeds the chunk-level usedNames with "exports", and
reassigned exports still carry renderBaseName === "exports" which
propagates into nested scopes via getBaseVariableName().

The deconflictTopLevelVariables cache from PR #5947 is untouched, so
its performance benefits are preserved; a benchmark that reliably sees
the PR's generate-time speedup (~20% vs pre-PR) shows no regression
from this change.

Fixes #6357

Made-with: Cursor

Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rollup-docs-cn Error Error May 4, 2026 10:55pm

Request Review

@netlify
Copy link
Copy Markdown

netlify Bot commented May 4, 2026

Deploy Preview for relaxed-alfajores-47dd1b failed.

Name Link
🔨 Latest commit 3c9fd93
🔍 Latest deploy log https://app.netlify.com/projects/relaxed-alfajores-47dd1b/deploys/69f923abb448d90008af4ab8

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.74%. Comparing base (21de6e7) to head (3c9fd93).
⚠️ Report is 25 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #205   +/-   ##
=======================================
  Coverage   98.74%   98.74%           
=======================================
  Files         274      274           
  Lines       10790    10795    +5     
  Branches     2882     2883    +1     
=======================================
+ Hits        10655    10660    +5     
  Misses         92       92           
  Partials       43       43           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@waynzh waynzh closed this May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants