Huáng Jùnliàng
02c8fd92bd
fix: add optional: false to chained optional call expression ( #11814 )
2020-07-09 20:33:50 -04:00
Justin Ridgewell
7459038db8
Add private-property-in-object support ( #11372 )
...
https://github.com/tc39/proposal-private-fields-in-in
Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
Co-Authored-By: Huáng Jùnliàng <jlhwung@gmail.com>
2020-05-26 22:18:17 +02:00
Vivek Nayyar
66b86e088c
added basic support for module attributes and tests updated ( #10962 )
...
Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2020-05-25 01:26:28 +02:00
Kiko Estrada
5dd7f438c9
Enable import.meta by default in @babel/parser ( #11406 )
2020-05-24 22:57:34 +02:00
Huáng Jùnliàng
2f31ecf85d
fix: allow bigInt in method name and TSLiteralType ( #11547 )
...
* refactor: add isLiteralPropertyName to parser utils
* address review comments [skip-ci]
* refactor: keyword is valid identifierName
* fix: allow bigint in TSLiteralType
* update typescript test whitelist
2020-05-14 18:40:52 -04:00
Huáng Jùnliàng
dc7c5640e9
Compact parser fixture loc info ( #11322 )
...
* chore: compact loc information in parser fixtures
* chore: update test fixtures
2020-03-23 20:10:29 -04:00
Nicolò Ribaudo
2bce1e5e20
Parse BigInts by default ( #11117 )
2020-03-16 22:59:45 +01:00
vages
2603c2e227
fix(babel-parser): chain off optionally chained keys named cla… ( #11198 )
...
* fix(babel-parser): chain off optionally chained keys named class and function
Fixes #11197
* Extract override as variable to satisfy typechecker
Flow did not trust that curContext.override would be defined
2020-03-03 18:27:41 +01:00
Huáng Jùnliàng
45301c5304
Update coalesce precedence ( #11017 )
...
* refactor: reimplement nullish coalescing precedence tracking
Co-authored-by: Toru Nagashima <public@mysticatea.dev>
* fix: Coalesce has same precedence with LogicalOR
* fix flow errors
Co-authored-by: Toru Nagashima <public@mysticatea.dev>
2020-01-17 20:57:07 +01:00
jack
5f807ae45b
Enable optional chaining by default in @babel/parser ( #10817 )
2020-01-10 03:09:39 +01:00
Oleksandr Fediashov
c3388ea42f
Enable nullish coalescing by default in @babel/parser ( #10819 )
...
* move files, remove hasPlugin() & expectPlugin()
* restore permissions
2020-01-10 02:52:53 +01:00
Abdul Ali
5b907e9bb7
[parser] enable dynamic import by default ( #10843 )
...
* [parser] enable dynamic import by default
* chore: add back babel-core api test
2020-01-10 02:28:52 +01:00
Nicolò Ribaudo
4cd93ab5f3
[parser] Enable "exportNamespaceFrom" by default ( #10521 )
2019-10-29 18:44:32 +01:00