From 6c465c8287b89ad1d0aa9ee2d6e5869df54781a5 Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:09:12 +0900 Subject: [PATCH] feat: update transformer docs --- src/docs/guide/usage/transformer/lowering.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/docs/guide/usage/transformer/lowering.md b/src/docs/guide/usage/transformer/lowering.md index 1a18b150c4..6c9e48cacb 100644 --- a/src/docs/guide/usage/transformer/lowering.md +++ b/src/docs/guide/usage/transformer/lowering.md @@ -36,7 +36,7 @@ const result = transform("lib.js", "const foo = a ?? b;", { Oxc supports lowering the syntaxes below. Note that RegExp related transformations only transforms the RegExp literal (`/foo/v`) to use a RegExp constructor (`new RegExp('foo', 'v')`). You will need to use a polyfill together to support older browsers. -### ESNext +### ES2026 - Explicit Resource Management (`using a = foo()`) @@ -59,6 +59,7 @@ Oxc supports lowering the syntaxes below. Note that RegExp related transformatio - Nullish coalescing operator (`foo ?? bar`) - Optional Chaining (`foo?.bar`) +- Export namespace from (`export * as foo from "bar"`) ### ES2019 @@ -140,5 +141,3 @@ The following syntaxes are not lowered by Oxc transformer. - ES2025 - RegExp Modifiers (tracked at [#11826](https://github.com/oxc-project/oxc/issues/11826)) - Duplicate named capture groups (tracked at [#11827](https://github.com/oxc-project/oxc/issues/11827)) -- ES2020 - - Export namespace from (tracked at [#14257](https://github.com/oxc-project/oxc/issues/14257))