Nicolò Ribaudo
989aac2a4c
Don't duplicate the base class when using constantSuper ( #13303 )
2021-05-15 00:02:46 +02:00
Huáng Jùnliàng
3195883923
chore: add class-static-block test262 mapping ( #13313 )
2021-05-14 17:11:10 -04:00
Huáng Jùnliàng
c1c8d5e1db
update yarn lockfile ( #13311 )
2021-05-14 14:03:08 -04:00
Nicolò Ribaudo
8732dd39c6
Compile static blocks without the intermediate priv field step ( #13297 )
...
* Remove ordering constraints for `static-blocks` plugin
* Handle static blocks directly in `helper-create-class-features-plugin`
2021-05-14 11:35:59 -04:00
Huáng Jùnliàng
b3d35cd412
[Babel 8]: remove module attributes parser/generator support ( #13308 )
...
* breaking: remove support of moduleAttributes
* Update packages/babel-parser/src/plugin-utils.js
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
* chore: remove todo comments
* make prettier happy
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-14 09:55:40 -04:00
Bogdan Savluk
b670c11070
convert @babel/standalone to typescript ( #13212 )
...
* babel-standalone flowts rename
* babel-standalone flowts convert
* babel-standalone - update rollup plugin to support ts files
* babel-standalone code generation update
* babel-standalone
* babel-standalone eslint fixes
* babel-standalone tsconfig.json
* babel-standalone
* babel-standalone tsconfig related fix
* make generate-tsconfig
* yarn install
* babel-standalone use fs.existsSync
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-14 09:54:09 -04:00
Bogdan Savluk
bb70ea47f5
convert @babel/cli to typescript ( #13213 )
...
* babel-cli flowts rename
* babel-cli flowts convert
* babel-cli
* yarn install
2021-05-14 09:32:38 +02:00
Babel Bot
5def29d1ca
chore: update test262 to 4f50cbfc771ffe41ac5e4a9d2f12b1d3a5d3b938 ( #13310 )
2021-05-13 20:37:26 -04:00
Bogdan Savluk
4bf5f45d42
convert @babel/plugin-transform-runtime to typescript ( #13216 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-05-13 22:27:57 +02:00
Bogdan Savluk
acfff5d7fe
convert @babel/plugin-transform-typescript to typescript ( #13222 )
...
* babel-plugin-transform-typescript flowts rename
* babel-plugin-transform-typescript flowts convert
* babel-plugin-transform-typescript
* babel-plugin-transform-typescript type fixes
* babel-plugin-transform-typescript
* make generate-tsconfig
* yarn install
* babel-plugin-transform-typescript
* babel-plugin-transform-typescript avoid typecast
2021-05-13 14:37:34 -04:00
Bogdan Savluk
72371cb637
convert @babel/helper-create-regexp-features-plugin to typescript ( #13215 )
2021-05-12 23:18:20 -04:00
Nicolò Ribaudo
e21abad016
Add test for fixed block scoping issue ( #13304 )
2021-05-12 20:16:10 -05:00
Bogdan Savluk
379bc775ed
convert @babel/plugin-transform-react-jsx to typescript ( #13221 )
...
* babel-plugin-transform-react-jsx flowts rename
* babel-plugin-transform-react-jsx flowts convert
* babel-plugin-transform-react-jsx
* babel-plugin-transform-react-jsx fix
* make generate-tsconfig
* yarn install
* babel-plugin-transform-react-jsx remove unused typecast
2021-05-12 21:15:31 -04:00
Babel Bot
7c9f618dfc
Add v7.14.2 to CHANGELOG.md [skip ci]
2021-05-12 17:10:23 +00:00
Babel Bot
7512095c84
v7.14.2
2021-05-12 16:58:57 +00:00
Huáng Jùnliàng
9e241fc180
Better error for export * as ns without the correct plugin ( #13296 )
2021-05-12 00:40:13 +02:00
Clark Jacobsohn
cca97d1e78
Fix: Only create @babel/node IPC channel when needed ( #13295 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-05-11 23:59:07 +02:00
Huáng Jùnliàng
875fc8e693
[babel 8] Do not skip requeued paths ( #13291 )
2021-05-11 23:55:23 +02:00
Sosuke Suzuki
b2d9156cc6
Update to Prettier 2.3 ( #13288 )
2021-05-10 15:34:13 +02:00
Trinangkur Chatterjee
5ae3a6c2a4
Update lodash version for fixing security vulnerability ( #13289 )
...
* Update lodash version for fixing security vulnerability
* Update yarn.lock
2021-05-10 09:20:23 -04:00
Sosuke Suzuki
1d54419ec4
Parse attributes of import expression with estree plugin ( #13284 )
...
* Parse attributes of import expression with estree plugin
* Add tests
* Update packages/babel-parser/src/types.js
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
2021-05-07 16:37:20 -04:00
serut
e74b3fb1c6
[DOC] Add missing Monorepo configuration ( #13253 )
...
* [DOC] Add missing Monorepo configuration
* Update eslint/babel-eslint-parser/README.md
Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
* [DOC] Unify monorepo config file
* [DOC] Clean monorepo configuration
* [DOC] Monorepo conf when eslint runned by package
Co-authored-by: Federico Ciardi <fed.ciardi@gmail.com>
2021-05-07 13:53:01 -04:00
Nicolò Ribaudo
4c725f8cf8
Support objects from other contexts in t.valueToNode ( #13275 )
2021-05-07 12:34:30 +02:00
Babel Bot
4c1b8cc751
chore: update test262 to c11d6b00bc2c53323fe26a5813a720fd74cd25ad ( #13276 )
2021-05-07 10:27:04 +02:00
Huáng Jùnliàng
a8fea4037d
Faster identifier tokenizing ( #13262 )
...
* add benchmark
* perf: faster identifier tokenizing
- Mover iterator identifier parsing to the Flow plugin
- If the character is an identifier start, pass it to readWord1
2021-05-06 18:47:19 -04:00
Nicolò Ribaudo
1879491af7
[eslint] Don't crash on multiple @babel/parser copies ( #13274 )
2021-05-06 23:31:19 +02:00
Stuart Cook
68bc4dfd31
Print parentheses around identifier let where necessary ( #13269 )
2021-05-06 21:10:45 +02:00
Huáng Jùnliàng
96fce81438
chore: bump eslint-visitor-keys ( #13272 )
2021-05-06 12:23:21 -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
Huáng Jùnliàng
278193b6f7
fix: update chunkStart on missing unicode escape ( #13261 )
2021-05-06 08:31:11 -04:00
Nicolò Ribaudo
9440318309
Update Rollup plugins ( #13265 )
2021-05-06 08:53:30 +02:00
Yen-Wei Liu
187094b9a6
[babel-types] Update matchesPattern to account for this ( #13264 )
2021-05-05 23:08:43 +02:00
Babel Bot
8873d0c402
Add v7.14.1 to CHANGELOG.md [skip ci]
2021-05-04 01:56:35 +00:00
Babel Bot
3ecc7919c5
v7.14.1
2021-05-04 01:46:37 +00:00
Sosuke Suzuki
ef87648f3f
Parse static blocks with typescript plugin ( #13243 )
...
* Support static blocks with typescript
* Add tests
* Reuse isStatic var
* Disallow parsing static blocks with modifiers
* Add tests
* Raise recoverable errors
* Address review
* Add tests for static static {}
2021-05-03 16:17:08 -04:00
Nicolò Ribaudo
175a51f94e
Don't use "composite": true in tsc (until it supports cycles) ( #13242 )
...
* [ts] Don't use project references
* Commit `tsconfig.json` so it's ready-to-go
* Remove `clean-tsconfig` task
* Fix dts generation
* Add comment
* `yarn`
* Review
* Fix regexp
2021-05-03 20:47:53 +02:00
Nicolò Ribaudo
07440424d9
Archive @@babel/plugin-syntax-module-string-names ( #13246 )
...
babel/babel-archive@15c88ef856
2021-05-03 14:07:25 -04:00
overlookmotel
f166b7ae58
Fix plugin-transform-block-scoping const violations ( #13248 )
...
* Fix plugin-transform-block-scoping const violations
Fixes #13245
* Replace `a++` with `+a` where const violation
* Remove assignment where const violation
* Remove assignment for `&&=`, `||=`, `??=` where const violation
* Shorten test
2021-05-03 11:47:25 -04:00
Stuart Cook
fa01fbe052
Parse for await (async of ...) ( #13244 )
2021-05-01 18:00:21 +02:00
Huáng Jùnliàng
2a3e35f026
chore: remove duplicate test262 parser tests ( #13241 )
2021-05-01 10:57:43 -04:00
Huáng Jùnliàng
9d6893d51f
Add alias docs for @babel/types ( #13151 )
...
* add alias docs generator
* fix LVal and PatternLike
* sort alias covered node types
* add inner links between alias and node types
* review comments
* tiny tweaks
2021-04-30 16:08:12 -04:00
aancer-rca
3b55e8877c
fix: Typo in @babel/helper-create-class-features-plugin ( #13237 )
2021-04-30 17:40:28 +02:00
Nicolò Ribaudo
41c02246fb
Update @babel/* packages ( #13231 )
2021-04-30 11:07:16 -04:00
Babel Bot
b99c4f06d4
chore: update test262 to 70bc32edab22b44db9d671ce505db8842ae200b6 ( #13233 )
2021-04-29 21:50:43 -04:00
Nicolò Ribaudo
910b1f266f
Archive @babel/plugin-syntax-class-properties ( #13232 )
...
babel/babel-archive@b95d3626ad
2021-04-29 23:56:03 +02:00
Babel Bot
437a6f32c9
Add v7.14.0 to CHANGELOG.md [skip ci]
2021-04-29 20:11:07 +00:00
Nicolò Ribaudo
3c0152a217
v7.14.0
2021-04-29 21:59:57 +02:00
Huáng Jùnliàng
0f2a1a8153
Add runFixtureTestsWithoutExactASTMatch in parser test runner ( #13227 )
2021-04-29 18:42:26 +02:00
Nicolò Ribaudo
a2ac2f39b5
Update @babel/parser fixtures
2021-04-28 18:41:10 +02:00
Huáng Jùnliàng
50e0e353ee
Implement async-do-expressions transform ( #13117 )
...
Co-authored-by: Brian Ng <bng412@gmail.com>
2021-04-28 18:26:01 +02:00