Skip to content

fix(turbopack): honor legacy targets in export callbacks - #211

Merged
fireairforce merged 1 commit into
utoofrom
zoomdong/legacy-export-callbacks
Nov 10, 2026
Merged

fireairforce merged 1 commit into
utoofrom
zoomdong/legacy-export-callbacks

Conversation

@fireairforce

Copy link
Copy Markdown
Member

Generated ESM getters and setters now use ordinary functions when the target lacks arrow support. The cyclic namespace fallback also avoids nullish syntax for those targets, so code generated after source transforms stays compatible.

Validated through the Utoo native build and 17 Node 20 regression tests, including ES5 parsing, async helpers, Error subclasses, live bindings, cycles and mutable module fragments. The companion coverage is in utooland/utoo#3449.

@fireairforce
fireairforce marked this pull request as ready for review November 10, 2026 10:19
@fireairforce
fireairforce merged commit f5e867b into utoo Nov 10, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T10:21:10.312139Z 5a81367 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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.

1 participant