oxc/tasks/transform_conformance
2023-09-18 17:49:36 +08:00
..
src chore(transform_conformance): update test cases and README regarding regex 2023-09-18 17:49:36 +08:00
babel.snap.md chore(transform_conformance): update test cases and README regarding regex 2023-09-18 17:49:36 +08:00
Cargo.toml feat(transform_conformance): add jsx and ts tests 2023-09-18 15:35:02 +08:00
README.md chore(transform_conformance): update test cases and README regarding regex 2023-09-18 17:49:36 +08:00

Transformer

Legend:

  • [Syntax] means this is a syntax plugin, no code is required because it is supported by the parser.
  • [Regex] means this is a regex transform, which is not supported.
  • [Codegen] means the code generator is responsible for the feature.

Target

From @babel/preset-env.

ES2024

  • [Regex] unicode-sets-regex

ES2023

Does not have any features.

ES2022

  • class-properties
  • class-static-block
  • private-methods
  • private-property-in-object
  • [Syntax] syntax-top-level-await

ES2021

  • logical-assignment-operators
  • [Syntax] numeric-separator

ES2020

  • dynamic-import
  • export-namespace-from
  • nullish-coalescing-operator
  • optional-chaining
  • [Syntax] syntax-bigint
  • [Syntax] syntax-dynamic-import
  • [Syntax] syntax-import-meta

ES2019

  • optional-catch-binding
  • [Codegen] json-strings

ES2018

  • async-generator-functions
  • object-rest-spread
  • [Regex] unicode-property-regex
  • [Regex] dotall-regex
  • [Regex] named-capturing-groups-regex

ES2017

  • async-to-generator

ES2016

  • exponentiation-operator

ES2015

  • arrow-functions
  • block-scoping
  • classes
  • computed-properties
  • destructuring
  • duplicate-keys
  • for-of
  • function-name
  • instanceof
  • literals
  • new-target
  • object-super
  • parameters
  • shorthand-properties
  • spread
  • sticky-regex
  • template-literals
  • typeof-symbol
  • [Regex] unicode-escapes
  • [Regex] unicode-regex