11387 Commits

Author SHA1 Message Date
Brian Ng
9d95b3faae
518-spread-assignable 2017-05-23 09:09:01 -05:00
Brian Ng
f8f2ead450
358-decorator-exported-class 2017-05-23 08:57:03 -05:00
Brian Ng
32c4cdf016
339-spread-obj-pattern-assignable 2017-05-23 08:43:15 -05:00
Brian Ng
afe85c11a7
474-transform 2017-05-23 08:08:07 -05:00
Brian Ng
01d5d5ebc7
499-transform 2017-05-23 07:58:22 -05:00
Bo Lingen
8772e7fb89 Fix ObjectProperty patterns (#5762)
* Fix Object Property values to allow Patterns

* Add RestElement to allowed types

* add tests for nested pattern structures
2017-05-22 20:24:19 -04:00
Brian Ng
889a505ffd
377-async-func-decl 2017-05-22 17:35:01 -05:00
Brian Ng
6c6ee74eb0
351-class-prop 2017-05-22 17:26:15 -05:00
Brian Ng
48ce5bcf1c
499-super-class-prop 2017-05-22 16:59:16 -05:00
Brian Ng
ec596604bc
474-export-default-exotic 2017-05-22 16:54:23 -05:00
Henry Zhu
d365dad341 add some tests 2017-05-22 17:48:20 -04:00
Samuel Reed
853b9f8ece Fix multiple var declarations in transform-react-constant-elements (#5732) (#5756)
This was broken by a legacy attachment path conditional that
is no longer needed.
2017-05-22 17:46:53 -04:00
Henry Zhu
6620612b66 update to beta.10 2017-05-22 17:13:54 -04:00
Henry Zhu
9709c8d932 7.0.0-beta.10 2017-05-22 17:02:42 -04:00
aardito2
557696da3a Fixed disappearing comments following a trailing comma on the last property of an object literal or the last argument of a call expression (#478) 2017-05-22 17:02:02 -04:00
Henry Zhu
0f66dbd4b6 add changelog label data [skip ci] 2017-05-22 17:01:48 -04:00
Henry Zhu
1a92c1f34c 7.0.0-beta.9 2017-05-22 14:57:21 -04:00
Andy
2541ab5fda Simplify PrivateName and ClassPrivateProperty types (#532)
* Simplify PrivateName and ClassPrivateProperty types

* ClassPrivateProperty is not a ClassMemberBase; can't be static, can't be computed
2017-05-22 13:42:32 -04:00
Diego Ferreiro Val
01da62283c Modify grammar to support Private Fields proposal: (#260)
* Modify grammar to support Private Fields proposal:
- Adding optional plugin `classPrivateProperties`
- Adding PrivateName type identifier
- Adding ClassPrivateProperty to ClassBody
- Allow PrivateName in MemberExpression
- Allow PrivateName as a reference
- Adding tests

* Remove unnecesary liberal parameter

* Guarding for plugin dependecy for future versioning

* update spec.md [skip ci]

* move comment [skip ci]

* remove unused param [skip ci]

* Refactor PrivateName to contain Identifier in name property
2017-05-22 11:33:48 -04:00
Brian Ng
eaf8d4589a 1.5.1 2017-05-22 09:30:25 -05:00
Brian Ng
6ad103b756 Update changelog for v1.5.1 [skip ci] 2017-05-22 09:29:08 -05:00
Brian Ng
fa69bfc755 Compile with loose mode (#332) 2017-05-22 10:19:55 -04:00
Brian Ng
c6eab0c206 Merge pull request #5758 from STRML/test-react-constant-elements-unreferenced-param
Add regression test for transform-react-constant-elements (#5552)
2017-05-21 13:38:52 -05:00
Samuel Reed
83232bb4ff
Add regression test for transform-react-constant-elements (#5552) 2017-05-21 11:47:35 -05:00
Justin Ridgewell
5b261849e0 Merge pull request #5755 from u9lyfish/patch-1
Fix broken tables in README.md
2017-05-20 16:57:53 -04:00
Brian Ng
0fcfcc5bf2 1.5.0 2017-05-20 14:19:39 -05:00
Brian Ng
3b4c36f9e4 Update changelog for v1.5 [skip ci] 2017-05-20 14:07:32 -05:00
Brian Ng
08d397af14 Merge pull request #321 from babel/backport-string-versions
Backport support for target versions as strings
2017-05-20 14:05:24 -05:00
Artem Yavorsky
842d0540a4 Backport: use preset-env and remove flow-strip-types (#324)
* es2015 -> env.

* Remove transform-flow-strip-types plugin.
2017-05-20 14:04:48 -05:00
u9lyfish@gmail.com
58c686378d Fix broken tables in README.md 2017-05-20 23:44:51 +08:00
James Lal
6928695735 Flow comments import export (#5675)
* Add failing test for `export type .. from ...; `

* Add support for flow comment : `export ... from '...'`
2017-05-20 09:10:39 -04:00
Brian Ng
9a92933589 Fix incorrect property ordering with obj rest spread on nested (#5750) 2017-05-20 09:08:23 -04:00
Artem Yavorsky
9b9318493e Merge branch 'master' into backport-string-versions 2017-05-20 13:04:01 +03:00
Artem Yavorsky
a3654478df Merge pull request #329 from babel/bump-electron
Bump electron-to-chromium to 1.3.11
2017-05-20 12:59:33 +03:00
Justin Ridgewell
943fa8aa73 Merge pull request #5753 from jridgewell/7.0
Hoist toSequenceExpression's convert helper (#5693)
2017-05-19 21:54:06 -04:00
Justin Ridgewell
58216f5022 Hoist toSequenceExpression's convert helper (#5693) 2017-05-19 17:35:05 -04:00
Brian Ng
a4e6f90d06 Use ensureDirSync in smoke test 2017-05-19 16:28:30 -05:00
Brian Ng
0781f711d0 Support target versions as strings (#231) 2017-05-19 16:28:30 -05:00
Brian Ng
72591a0ebd Bump electron-to-chromium 2017-05-19 16:26:47 -05:00
Justin Ridgewell
5f866f2d92 Hoist toSequenceExpression's convert helper (#5693)
* Hoist toSequenceExpression's convert helper

* Adds tests

* lint

* dev-depend on babel-generator
2017-05-19 17:03:33 -04:00
Justin Ridgewell
8cd4a62c02 Transform do-expressions on exit (#5694)
* Transform do-expressions on exit

This allows other transforms (notably, block scoping) to do their magic
first, possibly saving closures.

Also fixes a bug with declaring duplicate bindings (de-opts now).

* Use strict in exec test

* lint
2017-05-19 16:58:15 -04:00
Buu Nguyen
c474fd48e1 Fix issue semi-colon gets inserted unnecessarily (#5749)
* Fix issue semi-colon gets inserted unnecessarily

* Simplify if condition a bit
2017-05-19 16:54:51 -04:00
Brian Ng
37c8da674a Bump prettier (#289) 2017-05-19 15:40:19 -05:00
Brian Ng
2788a914f6 Add process to test sandbox (#5410) 2017-05-19 15:13:23 -04:00
Justin Ridgewell
09229db794 Cleanup template-literals transform (#5748)
Avoid `Array#shift`s and prefer `const`s when possible.
2017-05-19 14:57:15 -04:00
Brian Ng
a52d34023c Add spec option example for transform-es2015-arrow-functions [skip ci] (#5698) 2017-05-19 14:56:56 -04:00
Mauro Bringolf
8facda4505 Added more types to API signatures (#5733) [skip ci] 2017-05-19 14:53:43 -04:00
Mauro Bringolf
943b7371a1 Completed return types for all NodePath family methods (#5739) [skip ci] 2017-05-19 14:52:13 -04:00
Kevin Gibbons
6c4acecf00 Fix #437: only prohibit 'export type from "module" ' when flow is enabled (#438)
* Only prohibit 'export type' when flow is enabled

* Fix lint
2017-05-19 10:05:44 +02:00
Artem Yavorsky
ddd6d66bc6 Remove old comments. 2017-05-18 16:45:33 +03:00