Babel Bot
a5624ea457
v7.15.3
2021-08-11 07:11:36 +00:00
Bogdan Savluk
d48a5cb55c
convert @babel/plugin-transform-block-scoping to typescript ( #13219 )
2021-08-10 20:53:18 +02:00
Nicolò Ribaudo
b15ec33146
Lock core-js-compat version used for dev&tests ( #13660 )
2021-08-10 11:12:26 +02:00
Nicolò Ribaudo
ab79f08b63
Use @babel/eslint-parser/experimental-worker for our own repo ( #13643 )
2021-08-09 21:39:45 +02:00
Nicolò Ribaudo
bdc75dce72
Update @babel/* devDependencies to 7.15.0 ( #13633 )
2021-08-05 10:35:18 +02:00
Nicolò Ribaudo
6912f968a6
v7.15.0
2021-08-04 23:00:40 +02:00
Nicolò Ribaudo
885e1e02f5
Expose @babel/eslint-parser/experimental-worker ( #13398 )
...
* Expose `@babel/eslint-parser/experimental-worker`
* Fix `@babel/runtime` build on Windows
2021-08-03 23:23:32 +02:00
Babel Bot
aa2cac5edc
v7.14.9
2021-08-01 07:42:57 +00:00
Nicolò Ribaudo
93bade2a71
Update core-js@3 packages ( #13621 )
...
* Update `core-js@3` packages
* Update fixtures
* Update Babel 8 fixtures
2021-08-01 09:22:09 +02:00
Huáng Jùnliàng
d3a7cd5e8d
Replace generic __clone call by specific methods ( #13611 )
...
* update benchmark babel parser version
* perf: replace generic __clone by specific methods
baseline 256 length-1 named export: 4_704 ops/sec ±1.59% (0.213ms)
baseline 512 length-1 named export: 2_426 ops/sec ±0.52% (0.412ms)
baseline 1024 length-1 named export: 1_118 ops/sec ±1.23% (0.895ms)
baseline 2048 length-1 named export: 556 ops/sec ±0.77% (1.799ms)
current 256 length-1 named export: 7_073 ops/sec ±33.67% (0.141ms)
current 512 length-1 named export: 4_441 ops/sec ±0.79% (0.225ms)
current 1024 length-1 named export: 2_142 ops/sec ±1.09% (0.467ms)
current 2048 length-1 named export: 943 ops/sec ±2.12% (1.06ms)
* breaking: remove Node#__clone in Babel 8
* test: use t.cloneNode
2021-07-30 22:19:35 +02:00
Nicolò Ribaudo
862d9f8dfd
Update Rollup to ~2.54.0 ( #13614 )
2021-07-29 10:01:06 -04:00
Huáng Jùnliàng
e4de256cdd
chore: reorganize benchmarks ( #13606 )
2021-07-28 07:10:29 -04:00
Andy Edwards
1d48bb0d8c
add 12 missing NODE_FIELDS ( #13577 )
...
* test: add fields test
* fix(babel-types): add missing NODE_FIELDS and tests
fix #13558
fix #13563
* chore: avoid using fs-extra
* chore: code cleanup
* chore: avoid util.promisify
* fix: remove bad ts-expect-error suppressions
2021-07-23 09:36:08 -04:00
Huáng Jùnliàng
03e8476b27
Generator performance ( #13593 )
...
* bench: setup benchmarks
* add charcodes
* perf: use string as buffer backend
baseline 256 empty statements: 3_718 ops/sec ±18.65% (0.269ms)
baseline 512 empty statements: 2_070 ops/sec ±0.96% (0.483ms)
baseline 1024 empty statements: 1_012 ops/sec ±1.76% (0.988ms)
baseline 2048 empty statements: 510 ops/sec ±1.53% (1.96ms)
current 256 empty statements: 3_965 ops/sec ±21.14% (0.252ms)
current 512 empty statements: 2_219 ops/sec ±1.29% (0.451ms)
current 1024 empty statements: 1_089 ops/sec ±1.53% (0.918ms)
current 2048 empty statements: 548 ops/sec ±1.87% (1.824ms)
* perf: add endsWithCharAndNewline
baseline 256 1-length identifiers: 1_947 ops/sec ±25.11% (0.514ms)
baseline 512 1-length identifiers: 1_115 ops/sec ±0.89% (0.897ms)
baseline 1024 1-length identifiers: 537 ops/sec ±1.71% (1.862ms)
baseline 2048 1-length identifiers: 273 ops/sec ±0.57% (3.669ms)
current 256 1-length identifiers: 2_178 ops/sec ±27.17% (0.459ms)
current 512 1-length identifiers: 1_250 ops/sec ±1.19% (0.8ms)
current 1024 1-length identifiers: 622 ops/sec ±0.71% (1.608ms)
current 2048 1-length identifiers: 308 ops/sec ±1.35% (3.251ms)
* perf: avoid one byte string compare
* perf: avoid scaning word for /
* perf: hoist babel type methods
baseline 256 25-length identifiers: 1_869 ops/sec ±29.4% (0.535ms)
baseline 512 25-length identifiers: 1_092 ops/sec ±1.62% (0.916ms)
baseline 1024 25-length identifiers: 537 ops/sec ±1.29% (1.862ms)
baseline 2048 25-length identifiers: 264 ops/sec ±2% (3.793ms)
current 256 25-length identifiers: 2_462 ops/sec ±23.38% (0.406ms)
current 512 25-length identifiers: 1_401 ops/sec ±0.73% (0.714ms)
current 1024 25-length identifiers: 671 ops/sec ±1.55% (1.491ms)
current 2048 25-length identifiers: 332 ops/sec ±1.44% (3.014ms)
* perf: hoist parens methods
baseline 256 1-length identifiers: 2_678 ops/sec ±24.96% (0.373ms)
baseline 512 1-length identifiers: 1_472 ops/sec ±2.33% (0.68ms)
baseline 1024 1-length identifiers: 737 ops/sec ±1.74% (1.357ms)
baseline 2048 1-length identifiers: 371 ops/sec ±0.79% (2.695ms)
current 256 1-length identifiers: 2_633 ops/sec ±32.44% (0.38ms)
current 512 1-length identifiers: 1_676 ops/sec ±1.49% (0.597ms)
current 1024 1-length identifiers: 803 ops/sec ±1.95% (1.246ms)
current 2048 1-length identifiers: 385 ops/sec ±2.22% (2.596ms)
* cleanup unused benchcase
* Update packages/babel-generator/src/buffer.ts
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
* cleanup benchmarks
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-07-22 23:01:48 -04:00
Babel Bot
e591780244
v7.14.8
2021-07-20 17:51:55 +00:00
Huáng Jùnliàng
574f907e61
chore: bump test262-stream ( #13543 )
2021-07-09 22:34:58 -04:00
Babel Bot
268e4ca0de
v7.14.7
2021-06-21 21:44:55 +00:00
Nicolò Ribaudo
8c229e7657
Bump core-js packages ( #13496 )
2021-06-21 09:34:49 -05:00
Nicolò Ribaudo
6beccb34cb
Update @babel/* dev dependencies ( #13472 )
2021-06-16 17:48:29 +02:00
Babel Bot
1774e2aaef
v7.14.6
2021-06-14 21:45:36 +00:00
Sosuke Suzuki
ad693cc0a0
Update prettier to 2.3.1 ( #13460 )
2021-06-14 17:33:58 +02:00
Huáng Jùnliàng
69f423b873
Faster babel build ( #13423 )
...
* chore: add glob and jest-worker
* add buildBabel2 routine
* cleanup
* exit gracefully when CI does not have available workers
* perf: less IO when dest is not entity
* perf: pipe worker stdout/stderr to parent process
* Update Gulpfile.mjs
Co-authored-by: Brian Ng <bng412@gmail.com>
Co-authored-by: Brian Ng <bng412@gmail.com>
2021-06-11 14:50:51 -04:00
Huáng Jùnliàng
6c8b2336f6
Faster readRegexp ( #13453 )
2021-06-10 19:00:21 -04:00
Babel Bot
7a2a928398
v7.14.5
2021-06-09 23:03:30 +00:00
Nicolò Ribaudo
a59522df83
Disallow dependency cycles ( #13442 )
2021-06-10 00:48:57 +02:00
Nicolò Ribaudo
9252da782b
Update @nicolo-ribaudo/chokidar-2 ( #13438 )
2021-06-09 16:32:13 +02:00
Nicolò Ribaudo
f6f37fb8cd
Update packages related to compat data ( #13432 )
...
* Update `core-js@3`
* Update `compat-table`
* Update pinned `caniuse-lite` and `electron-to-chromium`
* Regenerate fixtures
* Regenerate Babel 8 fixtures
2021-06-08 08:24:16 -04:00
Huáng Jùnliàng
4eda1c8605
chore: bump eslint and its plugins ( #13412 )
2021-06-03 23:42:32 -04:00
Huáng Jùnliàng
8720919665
fix: hoist variable declaration within do block ( #13122 )
...
* fix: hoist variable declaration within do block
* test: add input for variable-declaration-start
* test: actually write a test for this issue
* make prettier happy
2021-06-03 21:39:19 -04:00
Huáng Jùnliàng
4100b42ea2
chore: specify @babel/eslint-parser deps ( #13420 )
2021-06-03 20:28:46 -05:00
Huáng Jùnliàng
ae3f5d905a
Back parser state exportedIdentifiers by set ( #13406 )
2021-06-01 07:17:30 -04:00
Nicolò Ribaudo
08772e28f2
Update polyfill plugins ( #13373 )
2021-05-31 18:47:13 +02:00
Kristoffer K
140ec5aa5c
chore: setup Yarn constraints ( #13363 )
2021-05-31 18:46:03 +02:00
Babel Bot
219fd3ab1f
v7.14.4
2021-05-28 16:50:09 +00:00
dependabot[bot]
342fec1a78
Update compat data dependencies ( #13368 )
...
* Bump browserslist from 4.16.4 to 4.16.5
Bumps [browserslist](https://github.com/browserslist/browserslist ) from 4.16.4 to 4.16.5.
- [Release notes](https://github.com/browserslist/browserslist/releases )
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md )
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.4...4.16.5 )
Signed-off-by: dependabot[bot] <support@github.com>
* Update compat data packages
* Update tests
* Add to resolutions
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-26 15:27:13 +02:00
renovate[bot]
2b06883a5b
chore(deps): update dependency jest to v27 ( #13375 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-05-26 15:26:47 +02:00
Kristoffer K
533e63af52
chore(eslint-tests): add missing dependency @babel/core ( #13355 )
2021-05-23 17:59:14 +02:00
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