oxc/tasks/transform_conformance
2023-09-16 18:51:00 +08:00
..
src feat(transformer): add babel conformance test suite (#920) 2023-09-16 18:50:51 +08:00
Cargo.toml feat(transformer): add babel conformance test suite (#920) 2023-09-16 18:50:51 +08:00
README.md chore(transformer): add feature list to README 2023-09-16 18:51:00 +08:00

Transformer

Target

From @babel/preset-env.

ES2024

  • unicode-sets-regex

ES2023

Does not have any features.

ES2022

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

ES2021

  • logical-assignment-operators
  • numeric-separator

ES2020

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

ES2019

  • optional-catch-binding
  • json-strings

ES2018

  • async-generator-functions
  • object-rest-spread
  • unicode-property-regex
  • dotall-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
  • unicode-escapes
  • unicode-regex