Chris Hewell Garrett
3f7644823d
Adds the 2021-12 transform for decorators
...
Implements the 2021-12 transform for the decorators proposal, with
support for the `accessor` keyword.
2022-01-16 14:15:08 +01:00
Chris Garrett
3f3ce5f668
Add the decoratorsAutoAccessors parser plugin ( #13681 )
...
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2022-01-16 14:14:19 +01:00
renovate[bot]
dc5f419fa9
chore(deps): update yarn to v3.1.1 ( #14158 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-15 18:14:19 +01:00
Nicolò Ribaudo
8035ad90f9
Disable "Reentrant plugin detected" error in async mode ( #14153 )
2022-01-14 23:58:29 +01:00
Huáng Jùnliàng
ab2c578f98
test: add prettier e2e test ( #14058 )
...
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2022-01-13 18:38:45 +01:00
Babel Bot
4ac8f7704c
Add v7.16.9 to CHANGELOG.md [skip ci]
2022-01-11 23:14:39 +00:00
Babel Bot
fd0e37ea3e
v7.16.9
2022-01-11 23:07:22 +00:00
Nicolò Ribaudo
928f06ca99
Follow up to #14136 ( #14137 )
2022-01-11 23:53:06 +01:00
Nicolò Ribaudo
db08d945d0
Restore @babel/register compat with @babel/core@7.5.x ( #14136 )
2022-01-11 23:26:07 +01:00
Babel Bot
6870e7f10f
Add v7.16.8 to CHANGELOG.md [skip ci]
2022-01-10 21:19:19 +00:00
Babel Bot
bc0d1ef860
v7.16.8
2022-01-10 21:11:46 +00:00
Sosuke Suzuki
69246b6212
[babel 8] fix properties name for function-like TS nodes ( #13709 )
...
* Align AST
* Add tests for parser
* Generator
* Add babel-types support
* Address review
* Address review
2022-01-10 17:35:03 +01:00
Arthur
335622f75d
Delete useless check for variable redeclaration ( #14129 )
2022-01-10 15:39:52 +01:00
Sosuke Suzuki
04f3f17556
test: Add importAssertions to TS tests and update TS tests ( #14127 )
2022-01-10 15:38:01 +01:00
Ozan H
1c32b670ce
Print trailing comma after a single TS generic in arrow fns ( #14113 )
2022-01-10 15:37:05 +01:00
Nicolò Ribaudo
a6d77d07b4
[babel 8] Remove @babel/runtime@<=7.13.0 compat check ( #14120 )
2022-01-08 21:06:40 +01:00
magic-akari
910ece5e2a
Optimize transform-async-to-generator output ( #14122 )
...
* Optimize `transform-async-to-generator` output
- remove wrapper if the function length is zero.
- remove wrapper if the `assumptions.ignoreFunctionLength` is `true`.
* chore: update test case and code style
* chore: add test
2022-01-08 21:01:20 +01:00
Nicolò Ribaudo
213397be99
Always use the plugin/preset name in fixtures options ( #14118 )
2022-01-08 18:32:15 +01:00
Nicolò Ribaudo
393d5d74d8
[babel 8] Remove @nicolo-ribaudo/chokidar-2 fallback ( #14119 )
2022-01-08 16:50:37 +01:00
Nicolò Ribaudo
53ac687a59
Update core-js 3 ( #14108 )
2022-01-06 18:46:37 +01:00
Huáng Jùnliàng
b9ba4f9de8
fix: forward stop signal to parent path ( #14105 )
2022-01-06 18:38:07 +01:00
Nicolò Ribaudo
d158a48945
Don't mutate @babel/register options ( #14107 )
2022-01-06 18:37:45 +01:00
Sneh Khatri
ed3036d11c
Register binding for newly created vars for commonjs transforms ( #14097 )
2022-01-06 18:37:05 +01:00
magic-akari
bee3e35851
Fix TypeScript Enum self-references ( #14093 )
2022-01-06 16:47:09 +01:00
Nicolò Ribaudo
028cc880a1
Update lockfile
2022-01-06 16:45:10 +01:00
overlookmotel
3942d72745
Always print directives with double quotes when minified ( #14094 )
2022-01-06 16:28:28 +01:00
Babel Bot
ddd93b9c61
Add v7.16.7 to CHANGELOG.md [skip ci]
2021-12-31 00:23:48 +00:00
Babel Bot
23e884048a
v7.16.7
2021-12-31 00:13:43 +00:00
Endrit Bajo
f69f1a80d5
Import the correct ./typeof.js helper in @babel/runtime ( #14081 )
2021-12-31 00:58:07 +01:00
Nicolò Ribaudo
2810dc6460
Fix derived classes in Chrome <= 36 ( #14072 )
2021-12-30 23:58:16 +01:00
Nicolò Ribaudo
e77e3de402
[babel 8] Move @babel/register transform to a separate worker ( #14025 )
2021-12-29 16:33:12 +01:00
Nicolò Ribaudo
d1cabf6bc8
[babel 8] Add "exports" to every package ( #14013 )
2021-12-29 16:29:10 +01:00
Sneh Khatri
2c68d03bf2
Allow $schema property in json config files ( #14067 )
...
* Fix: Error on property in json config files
* options[] delete moved down
2021-12-28 22:13:14 -05:00
Nicolò Ribaudo
69ae3b5a25
Update lockfile
2021-12-21 18:02:35 +01:00
Sneh Khatri
d6ff91d560
Fix unicode handling in generated function names ( #14047 )
2021-12-20 22:03:35 +01:00
Huáng Jùnliàng
ad17fe1cce
fix: check preceding line break before exclamation ( #14049 )
2021-12-16 15:50:15 -05:00
Babel Bot
7178fbb008
Add v7.16.6 to CHANGELOG.md [skip ci]
2021-12-14 23:39:47 +00:00
Babel Bot
5687ade5e7
v7.16.6
2021-12-14 23:32:57 +00:00
Huáng Jùnliàng
7794201940
fix: handle tokens for invalid template element ( #14055 )
2021-12-14 17:54:09 -05:00
Nicolò Ribaudo
f32e3dddc4
Update jest-worker in CRA tests ( #14050 )
2021-12-14 01:09:34 +01:00
Babel Bot
bd3e6b1dd8
Add v7.16.5 to CHANGELOG.md [skip ci]
2021-12-13 22:29:32 +00:00
Babel Bot
7b7ab94066
v7.16.5
2021-12-13 22:12:58 +00:00
Nicolò Ribaudo
7dec78de28
Skip hasMoreThanOneBinding tests on publish ( #14048 )
2021-12-13 23:07:24 +01:00
Sneh Khatri
a7acde3885
Fix: default rest argument array elements as undefined ( #14032 )
2021-12-13 21:51:57 +01:00
Sneh Khatri
add64e870b
Don't resolve shadowed arguments variables from functions ( #14036 )
2021-12-13 18:29:10 +01:00
Nicolò Ribaudo
dfcfbf3b27
Disable test262 CircleCI job ( #14044 )
2021-12-11 17:49:33 +01:00
Nicolò Ribaudo
2d9fb7f83b
Pin jest-worker to 27.2.1 in CRA e2e tests ( #14040 )
2021-12-11 17:31:54 +01:00
wentout
c59870c526
Mark class prototype as read-only ( #12115 )
...
* initial code 2 fix the issue #2025
* Mark class prototype as read-only
* Update fixtures
* Fix failure
* Update Babel 8 fixtures
* Disable in loose mode
* Update fixtures
Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
2021-12-10 21:44:48 +01:00
Huáng Jùnliàng
39080492f4
maintain estree string literal shape when cloned ( #14039 )
2021-12-09 17:58:25 -05:00
Huáng Jùnliàng
94af0e5c62
Improve template tokenizing ( #13919 )
...
* add benchmarks
* refactor: tokenize template as middle + tail
* perf: avoid push tc.brace
* refactor: overwrite skipSpace in jsx plugin
* transform tl.templateMiddle/Tail
* refactor: simplify JSX context tracking
* fix flow error
* refactor: move JSX context to context.js
* fix: ensure comment stack is correctly handled
* rename createPositionFromPosition
* rename token type and methods
* add tokenIsTemplate
* refactor: merge babel 7 logic in babel7CompatTokens
* fix flow error
2021-12-06 16:43:46 -05:00