Bogdan Savluk
8b1bcd1079
convert @babel/helper-compilation-targets to typescript ( #13218 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-21 00:20:42 +02:00
Bogdan Savluk
053f94fc77
convert @babel/plugin-transform-classes to typescript ( #13220 )
...
* babel-plugin-transform-classes flowts rename
* babel-plugin-transform-classes flowts convert
* babel-plugin-transform-classes
* babel-plugin-transform-classes add optional paramter
* babel-plugin-transform-classes
* babel-plugin-transform-classes
* make generate-tsconfig
* yarn install
* Fix type checking
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-19 16:15:09 +02:00
Babel Bot
1487a46dd5
v7.14.3
2021-05-17 20:26:25 +00:00
Nicolò Ribaudo
f85c6437c5
Pass assumptions set in presets to plugins ( #13321 )
2021-05-17 22:00:01 +02:00
Nicolò Ribaudo
9d620c2d42
[babel 8] Move ESLint parsing to a Worker ( #13199 )
2021-05-17 17:04:10 +02: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
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
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
7512095c84
v7.14.2
2021-05-12 16:58:57 +00: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
Nicolò Ribaudo
1879491af7
[eslint] Don't crash on multiple @babel/parser copies ( #13274 )
2021-05-06 23:31:19 +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
Nicolò Ribaudo
9440318309
Update Rollup plugins ( #13265 )
2021-05-06 08:53:30 +02:00
Babel Bot
3ecc7919c5
v7.14.1
2021-05-04 01:46:37 +00: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
Nicolò Ribaudo
41c02246fb
Update @babel/* packages ( #13231 )
2021-04-30 11:07:16 -04:00
Nicolò Ribaudo
910b1f266f
Archive @babel/plugin-syntax-class-properties ( #13232 )
...
babel/babel-archive@b95d3626ad
2021-04-29 23:56:03 +02:00
Nicolò Ribaudo
3c0152a217
v7.14.0
2021-04-29 21:59:57 +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
Huáng Jùnliàng
28d7442aae
Parse async do expressions ( #13043 )
...
* parse async do expressions
* add test cases
* update test fixtures
* chore: add syntax-async-do-expressions
* generater support
* fix: do not transform async do expressions
* chore: add asyncDoExpressions to missing plugin helpers
* update ast types
* add more test cases
* throw when asyncDoExpressions is enabled but not doExpressions
* avoid add parentheses for async do expressions
* address review comments
* chore: update parser typings
2021-04-28 18:26:01 +02:00
Nicolò Ribaudo
f30c99aa24
Mark WeakMaps of private fields as pure ( #13194 )
2021-04-28 18:25:17 +02:00
Nicolò Ribaudo
5a7a782da2
Add private brand checks to shippedProposals ( #13176 )
2021-04-28 18:25:17 +02:00
Nicolò Ribaudo
2fc288576e
Allow compiling #foo in obj without compiling private fields ( #13172 )
2021-04-28 18:25:17 +02:00
Nicolò Ribaudo
3c2b98ff06
Add class static blocks to preset-env's shippedProposals ( #13114 )
2021-04-28 18:25:17 +02:00
Nicolò Ribaudo
be03be1bc3
Implement importInterop: "node" option for module transforms ( #12838 )
2021-04-28 18:22:47 +02:00
Huáng Jùnliàng
47537688d2
Improve isIdentifierName performance ( #13211 )
2021-04-27 23:04:48 +02:00
Simon Lydell
504d22d29b
babel-highlight: Upgrade to js-tokens@7 ( #13203 )
...
Support for ES2021: The `||=`, `&&=` and `??=` operators, as well as
undescores in numeric literals (`1_000`).
2021-04-26 16:56:59 +02:00
Babel Bot
006e2c9393
v7.13.17
2021-04-20 23:05:58 +00:00
Babel Bot
d94a8e50ed
v7.13.16
2021-04-20 11:11:32 +00:00
Nicolò Ribaudo
bdbd07d170
Update browserslist and caniuse-lite ( #13174 )
2021-04-19 20:04:59 +02:00
Huáng Jùnliàng
b6168e6917
chore: update @babel/* deps ( #13166 )
2021-04-19 19:07:59 +02:00
Huáng Jùnliàng
cbfcee59c7
Archive helper-explode-class and helper-bindify-decorators ( #13160 )
2021-04-15 22:25:23 +02:00
Nicolò Ribaudo
5c7d2a7fa2
Archive @babel/helper-call-delegate ( #13153 )
2021-04-14 23:54:46 +02:00
Nicolò Ribaudo
d24bd7ce5c
Remove remaining lodash dependencies ( #13139 )
2021-04-13 22:41:22 +02:00
Babel Bot
e50f6f7eef
v7.13.15
2021-04-08 15:40:57 +00:00
Nicolò Ribaudo
8b137c638f
Update @rollup/plugin-node-resolve ( #13080 )
2021-03-31 23:11:48 +02:00
Nicolò Ribaudo
8d4da69e9d
Update polyfill plugins ( #13079 )
...
* Update polyfill plugins
* Update fixtures
* Update Babel 8 fixtures
2021-03-31 13:46:15 -04:00
Bogdan Savluk
a647b9ea6b
Convert @babel/core to TypeScript ( #12929 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-30 19:51:35 +02:00
Babel Bot
7ac9e9f740
v7.13.14
2021-03-29 13:34:28 +00:00
Nicolò Ribaudo
8e8954b470
[babel 8] Remove module-specific options from @babel/core ( #12724 )
2021-03-28 01:27:37 +01:00
Henry Zhu
6b39bafab6
Remove lodash deps ( #13057 )
...
* inline escapeRegExp instead of using any dep
* inline camelCase
* replace merge with object spread
* copy if array instead of using clone
* inline isRegExp
* review fixes!
* remove escape-string-regexp from package.json and in test
* add error for field defaults that are not primitives or empty arrays
* replace merge with object spread
* yarn
2021-03-27 17:59:34 +01:00
Mark Banner
e5e37b94a5
Update eslint-scope to be compatible with ESlint's dependency ( #13058 )
2021-03-27 00:58:29 +01:00
Babel Bot
2f8203f190
v7.13.13
2021-03-26 21:09:38 +00:00
Huáng Jùnliàng
1e3ef05685
[babel 8] Type checking preset-react options ( #12741 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-26 20:11:39 +01:00
Huáng Jùnliàng
16d83002de
[babel 8] type checking preset-flow options ( #12751 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-03-26 00:33:02 +01:00
Justin Ridgewell
73dcd06293
Remove some lodash/cloneDeep calls ( #13032 )
2021-03-25 18:01:19 +01:00