9069 Commits

Author SHA1 Message Date
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
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
Artem Yavorsky
ddd6d66bc6 Remove old comments. 2017-05-18 16:45:33 +03:00
Artem Yavorsky
d320d0c587 Fix stderr file reading. 2017-05-18 16:43:37 +03:00
Artem Yavorsky
4d96adaf3c Update stderr for usage with import. 2017-05-18 16:43:09 +03:00
Artem Yavorsky
b0ff26985f Add test for stderr. 2017-05-18 16:20:25 +03:00
Artem Yavorsky
84c38182ad Add usage with import ‘babel-polyfill’ fixture. 2017-05-18 16:20:17 +03:00
Brian Ng
14e9fbf345 Tweak version mappings to match compat-table updates (#323) 2017-05-17 10:26:23 -05:00
Karl Cheng
0667160b11 Fix optimisation of shadowed rest parameters
The arguments of a function would be unnecessarily copied if there was
a nested function that had a parameter with the same identifier as the
rest parameter for the outer function. This checks the scope of the
parameter is correct before deoptimising.

Fixes: https://github.com/babel/babel/issues/5656
Refs: https://github.com/babel/babel/issues/2091
2017-05-16 22:39:13 +10:00
Artem Yavorsky
e1cb75989f Add flow (#269) 2017-05-15 08:59:48 -05:00
Mauro Bringolf
ce6f67216e Add test cases for bad options in babel-preset-es2015 (#5720)
* Added testcases for bad 'spec' or 'module' option

* Corrected typo in test description
2017-05-14 16:21:37 +02:00
Sven SAULEAU
486563152c Merge pull request #5729 from Daniel15/patch-1
Lowercase "business model" in badge
2017-05-12 11:31:16 +02:00