Files
oxc-project__oxc/tasks/compat_data/README.md
Boshen c16082c448 feat(tasks/compat_data): integrate node-compat-table (#16831)
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
2025-12-18 10:21:48 +00:00

19 lines
539 B
Markdown

# Compat Data
Get engine compatibility data from
- https://github.com/compat-table/compat-table/
- https://github.com/compat-table/node-compat-table
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 install`
- `cargo run -p oxc_compat_data`