Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update shipped proposals docs #2958

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions docs/preset-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ The [Browserslist environment](https://github.com/browserslist/browserslist#conf

| Version | Changes |
| --- | --- |
| `v7.26.0` | Include regexp modifiers |
JLHwung marked this conversation as resolved.
Show resolved Hide resolved
| `v7.22.0` | Include import attributes |
| `v7.14.0` | Include private field brand checks |
| `v7.12.0` | Include class static block and import assertions |
| `v7.10.0` | Include class properties and private methods |
Expand All @@ -487,15 +489,16 @@ The following are currently supported:

**Features**

- [Class static block](https://github.com/tc39/proposal-class-static-block)
- [Import assertions](https://github.com/tc39/proposal-import-assertions) (parsing only)
- [Private field brand checks](https://github.com/tc39/proposal-private-fields-in-in)
- [Import attributes](https://github.com/tc39/proposal-import-attributes) (parsing only)
- [Regexp modifiers](https://github.com/tc39/proposal-regexp-modifiers)

**Materialized Features**
These features were behind `shippedProposals` flag in older Babel versions. They are now generally available.

- [class properties](https://github.com/tc39/proposal-class-fields)
- [Class static block](https://github.com/tc39/proposal-class-static-block)
- [numeric separator](https://github.com/tc39/proposal-numeric-separator)
- [Private field brand checks](https://github.com/tc39/proposal-private-fields-in-in)
- [private methods](https://github.com/tc39/proposal-private-methods)

> You can read more about configuring preset options [here](https://babeljs.io/docs/en/presets#preset-options)
Expand Down