Nicolò Ribaudo
|
ddaf0d4296
|
Enable top-level await parsing by default (#13387)
|
2021-08-04 00:00:04 +02:00 |
|
Nicolò Ribaudo
|
a254ea38a4
|
Enable ergonomic brand checks (#priv in) by default (#13554)
* Enable ergonomic brand checks by default in `@babel/parser`
* Enable ergonomic brand checks by default in `preset-env`
* Fix error position
* Update Babel 8 tests
|
2021-08-03 23:02:17 +02:00 |
|
Yosuke Ota
|
0b29b5c2c0
|
Add support for d flag of regex literals in parser (#13396)
|
2021-05-31 08:34:53 -04:00 |
|
Huáng Jùnliàng
|
a387973821
|
Refactor private name tokenizing (#13256)
* add benchmark
* refactor: create tt.privateName token for private names
* add backward compat privateName = hash + name to Babel 7
* perf: get private name SV from token value
* chore: tweak benchmark file
* chore: update test fixtures
* convert tt.privateName to PrivateIdentifier
* perf: avoid most isPrivateName call
* Update packages/babel-parser/src/parser/expression.js
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
* perf: use inlinable codePointAtPos
* make prettier happy
Co-authored-by: Justin Ridgewell <justin@ridgewell.name>
|
2021-05-06 09:46:09 -04:00 |
|
Nicolò Ribaudo
|
57daba85aa
|
Parse string export names by default (moduleStringNames) (#13195)
* Parse string epxort names by default (`moduleStringNames`)
* Remove remaining references
|
2021-04-28 18:21:31 +02:00 |
|
Huáng Jùnliàng
|
ceaab0bae7
|
Parse class fields and private methods by default (#13175)
* feat: materialize class features
* chore: move testcases to es2022
* chore: update test fixtures
* chore: remove classPr\w+ from options.json
* chore: remove empty options.json
* update flow test allowlist
* update typescript allowlist
|
2021-04-28 18:21:31 +02:00 |
|