Henry Zhu
c0a958098f
Scoped: update readme headers to @babel/ [skip ci]
2017-10-16 22:49:57 -04:00
Mateusz Burzyński
df721f067e
reverted change to keywords in package.jsons [skip ci]
2017-10-16 22:49:57 -04:00
Brian Ng
65495105e9
Scoped: rename installation instructions for transforms [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
79ddf12d9d
Scoped: rename to @babel/ in readme [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
dfbbe82598
Scoped: rename npm pkg keyword [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
691f90a774
Scoped: change test imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
cde0054227
Scoped: change src imports to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
8e5e27577a
Scoped: update package.json dependencies to @babel/ [skip ci]
2017-10-16 22:49:56 -04:00
Henry Zhu
1cd564bd16
Scoped: rename package names to @babel/ [skip ci]
2017-10-16 22:49:01 -04:00
Henry Zhu
94da889ab7
v7.0.0-beta.3
2017-10-15 09:12:00 -04:00
Anton Rusinov
fcdfc61bdb
Move plugin processing to top of plugins ( #6381 )
...
* centralize plugin options
* Centralize plugins options
- move more options to the top
- move validations that depend on options to the top
* use isLoose option
* Move more validations to the top
* Move ref parameter for rewriteModuleStatementsAndPrepareHeader() to the top
* fix eslint errors
* remove unused parameter
* set default systemGlobal value
* Revert "Move ref parameter for rewriteModuleStatementsAndPrepareHeader() to the top"
This reverts commit b3855302d17fa19d8acb4c8accab3680c8d2710e.
* Revert "Move more validations to the top"
This reverts commit e5861d8a034ff8f553391f55654f753bcf428a5d.
* fix allowMutablePropsOnTags option usage
* improve naming
* change Contructor definition for sake of consistency
* move allowMutablePropsOnTags validation to the top
* add missing !
2017-10-10 00:51:34 -04:00
Henry Zhu
70547efcc1
v7.0.0-beta.2
2017-09-26 11:14:41 -04:00
Henry Zhu
23121d2bd3
v7.0.0-beta.1
2017-09-19 16:24:07 -04:00
Henry Zhu
1c13250807
v7.0.0-beta.0
2017-09-11 23:01:41 -04:00
Henry Zhu
b82b65a31e
v7.0.0-alpha.20
2017-08-30 15:02:49 -04:00
Henry Zhu
79f4956948
v7.0.0-alpha.19
2017-08-07 18:21:08 -04:00
Henry Zhu
79c6814d65
v7.0.0-alpha.18
2017-08-03 18:20:36 -04:00
Brian Ng
889f4e7791
Fix refs in transform-optional-chaining docs [skip ci] ( #6035 )
2017-08-01 14:30:16 -04:00
Henry Zhu
9322fd0458
v7.0.0-alpha.17
2017-07-26 08:38:44 -04:00
Henry Zhu
7f1cd44d60
v7.0.0-alpha.16
2017-07-25 17:35:35 -04:00
Henry Zhu
a0f0411abf
v7.0.0-alpha.15
2017-07-11 23:35:22 -04:00
Henry Zhu
03f249430a
v7.0.0-alpha.14
2017-07-11 22:53:09 -04:00
Henry Zhu
8460b4c62f
v7.0.0-alpha.13
2017-07-11 22:27:56 -04:00
Daniel Tschinder
b3372a572d
Remove whitespace generation ( #5833 )
...
* Remove whitespace generation and rely on default printing
Changes to printing:
* Add newline after last empty SwitchCase
* Add newlines around block comments if they are non-flow comments or contain newlines
* Fix a few more fixtures
2017-06-27 21:57:02 -05:00
Brian Ng
e4b35f680d
Run prettier
2017-06-27 12:15:00 -05:00
Justin Ridgewell
0740e61131
Use strict
2017-06-08 00:47:19 -04:00
Justin Ridgewell
97d0ab78cb
Update babylon
2017-06-07 03:52:42 -04:00
Justin Ridgewell
462825b15a
Simplify transform
...
This also makes the output use less comparisons for `foo?.()?.bar`
cases. 😁
2017-06-07 03:22:52 -04:00
Justin Ridgewell
9e91ac54d3
Optional call expressions short circuit later member expressions
2017-06-07 03:22:52 -04:00
Justin Ridgewell
54d9732d0b
Test Update and Unary expressions
2017-06-07 03:22:52 -04:00
Justin Ridgewell
d92309f0db
PR comments
2017-06-07 03:22:52 -04:00
Justin Ridgewell
faa6c9f708
Use nil
2017-06-07 03:22:52 -04:00
Justin Ridgewell
6cc2f5dc78
Consider any unary expression
2017-06-07 03:22:52 -04:00
Justin Ridgewell
a62cb9281e
Delete unnecessary check
2017-06-07 03:22:52 -04:00
Justin Ridgewell
ef87acc389
Test not-top-level optional chaining
2017-06-07 03:22:51 -04:00
Justin Ridgewell
1f22ac353a
Lint
2017-06-07 03:22:51 -04:00
Justin Ridgewell
0e5f597ee6
Readme
2017-06-07 03:22:51 -04:00
Justin Ridgewell
899634d20b
Add exec tests
2017-06-07 03:22:51 -04:00
Justin Ridgewell
9ce797dd34
Reduce context memoization when possible
2017-06-07 03:22:51 -04:00
Justin Ridgewell
acdd3637bc
Refactor
2017-06-07 03:22:51 -04:00
Justin Ridgewell
5fe4803562
Simplify NewExpression|CallExpression visitor
2017-06-07 03:22:51 -04:00
Justin Ridgewell
30ee87159d
Split syntax and transform into two plugins
2017-06-07 03:22:51 -04:00
Justin Ridgewell
2a496890ff
Use a better nested syntax
...
This way, it quickly returns from the conditions. The first nil will
now exit, instead of checking every nil.
This also allows conditionalChaining inside a container to still
operate the container.
2017-06-07 03:22:51 -04:00
Justin Ridgewell
3fae121460
Implement Null Propagation Operator
2017-06-07 03:22:51 -04:00
Sven SAULEAU
750b03a22f
refactor: use WeakSet to keep track of transformed nodes
2017-06-07 03:22:51 -04:00
Sven SAULEAU
98487b5a15
fix: typo
2017-06-07 03:22:51 -04:00
Sven SAULEAU
a9d8040c0f
refactor: change undefined to void 0
2017-06-07 03:22:51 -04:00
Sven SAULEAU
3faca62a77
wip
2017-06-07 03:22:51 -04:00
Sven SAULEAU
cc6959e1fa
feat: WIP assignements
2017-06-07 03:22:51 -04:00
Sven SAULEAU
6bd3bf4d2f
feat: optional chaining with function call
2017-06-07 03:22:51 -04:00