-
-
Notifications
You must be signed in to change notification settings - Fork 670
feat(transformer): add ES2026 target for explicit resource management #14330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(transformer): add ES2026 target for explicit resource management #14330
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR moves the explicit resource management feature from the proposals module to ES2026, reflecting its finalization in the ECMAScript 2026 specification.
- Creates a new ES2026 module structure with options and transformer implementation
- Updates the transformer to use ES2026 instead of proposals for explicit resource management
- Cleans up the proposals module by removing the explicit resource management code
Reviewed Changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
crates/oxc_transformer/src/proposals/options.rs | Removes explicit_resource_management field and simplifies ProposalOptions |
crates/oxc_transformer/src/proposals/mod.rs | Removes explicit resource management module imports |
crates/oxc_transformer/src/options/mod.rs | Updates BabelOptions integration to use ES2026Options |
crates/oxc_transformer/src/options/env.rs | Adds ES2026Options to EnvOptions with explicit resource management support |
crates/oxc_transformer/src/lib.rs | Replaces proposals-based transform with ES2026 module integration |
crates/oxc_transformer/src/es2026/options.rs | Defines ES2026Options with explicit resource management field |
crates/oxc_transformer/src/es2026/mod.rs | Implements ES2026 transformer with explicit resource management support |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
CodSpeed Instrumentation Performance ReportMerging #14330 will not alter performanceComparing Summary
|
2801e38
to
7df26e2
Compare
Merge activity
|
18d64c1
to
ed68072
Compare
…#14330) ## Summary fixes #12796 * Added target `ES2026` * Moves the explicit resource management feature from proposals to ES2026, as it is now a finalized ECMAScript 2026 feature. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ed68072
to
588acd5
Compare
Summary
fixes #12796
ES2026
🤖 Generated with Claude Code