mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
c16082c448
Node version changes: * TemplateLiterals: 8.10 -> 10.0 * Classes: 5.0 -> 6.0 * ObjectSuper: 5.0 -> 6.0 * Spread: 5.0 -> 6.0 * TypeofSymbol: 0.12 -> 4.0 * OptionalChaining: 16.9 -> 16.1 * PrivatePropertyInObject: 16.9 -> 16.4 fixes #11941 fixes https://github.com/rolldown/rolldown/issues/7293
539 B
539 B
Compat Data
Get engine compatibility data from
Code extracted from
- https://github.com/babel/babel/tree/v7.26.2/packages/babel-compat-data
- https://github.com/evanw/esbuild/blob/v0.27.2/compat-table/src/kangax.ts
Adding a new feature
- Find the feature from https://github.com/compat-table/compat-table/blob/gh-pages/data-es2016plus.js
- Add the feature in
./es-features.js pnpm installcargo run -p oxc_compat_data