6958 Commits

Author SHA1 Message Date
Amjad Masad
30bb38c4bb Update scope binding info after transforming block-scoped bindings
When convert a const, let or any other block-bound binding to a var we
forget to update the scope info. This confuses other transforms that may
come after this as to which scope does the binding belongs to.

This also uncovered an issue where duplicate block-scoped bindings were allowed
to co-exist.
2016-03-01 17:03:06 -08:00
Chris Cowan
3227279d95 Fix accessors being seen as duplicates of each other
If an object has a getter and setter of the same name, then they
shouldn't be treated as duplicate properties.
2016-03-01 16:30:48 -08:00
Henry Zhu
cc9430fd29 Add changelog for 6.6.1-6.6.3 [ci skip] 2016-03-01 17:50:26 -05:00
Henry Zhu
86284963f3 v6.6.3 2016-03-01 11:40:48 -05:00
Logan Smyth
58c6c1d2ab Merge pull request #3387 from loganfsmyth/context-queue-fix
Ensure that the found context is active before pushing it.
2016-03-01 08:28:49 -08:00
Logan Smyth
f2fea017c6 Ensure that the found context is active before pushing it. 2016-03-01 08:14:14 -08:00
Henry Zhu
b1477a3e8c v6.6.2 2016-03-01 09:08:35 -05:00
Henry Zhu
01f5b93978 Merge pull request #3386 from loganfsmyth/revert-requeue-change
Revert .requeue changes made in earlier ES3 fixes.
2016-03-01 08:54:19 -05:00
Logan Smyth
4561732bce Revert .requeue changes made in earlier ES3 fixes. 2016-02-29 23:55:47 -08:00
Henry Zhu
ddc82a848c Merge pull request #3384 from babel/build-dist
Run build-dist on publish so we do not forget
2016-02-29 23:06:00 -05:00
Henry Zhu
68c0a4b141 Run build-dist (will also run build) 2016-02-29 19:42:21 -05:00
Henry Zhu
68cdb2133d v6.6.1 2016-02-29 19:27:09 -05:00
Henry Zhu
188dbcb61c Update polyfill/runtime README 2016-02-29 19:24:07 -05:00
Henry Zhu
acfcd88fd9 Run build-dist on publish so we do not forget 2016-02-29 19:18:45 -05:00
Henry Zhu
b1058db7fb changelog: add missing entries [ci skip] 2016-02-29 16:51:57 -05:00
Henry Zhu
f34e6518ff v6.6.0 2016-02-29 16:12:12 -05:00
Henry Zhu
4b1d20004f Merge pull request #3382 from babel/6.6.0-changelog
Add 6.6.0 changelog
2016-02-29 16:06:24 -05:00
Henry Zhu
6b6447da2e we need a gif of course 2016-02-29 16:05:09 -05:00
Henry Zhu
c10291cb28 Add 6.6.0 changelog [ci skip] 2016-02-29 15:58:15 -05:00
Henry Zhu
7dad6ab4ed Merge pull request #3377 from babel/babel-5-opts-error
Give specific error messages for babel 5 options that were removed in…
2016-02-29 15:17:43 -05:00
Henry Zhu
0916e2d189 Give specific error messages for babel 5 options that were removed in babel 6 2016-02-29 14:34:46 -05:00
keijokapp
105299f26d Fix named FunctionExpression scoping issue. 2016-02-29 19:21:48 +02:00
Henry Zhu
1271d2cd52 Merge pull request #3380 from babel/unary-arrow
Fix: Add parens for unary arrow function
2016-02-29 12:18:12 -05:00
Henry Zhu
66ea5342de Merge pull request #3379 from babel/memexp-numliteral
Fix: invalid codegen for non decimal numeric literals in MemberExpression
2016-02-29 11:40:30 -05:00
Henry Zhu
3e4668dc14 Merge pull request #3366 from clayreimann/umd-plugin-add-global-name-override
[UMD] Fixed T6832
2016-02-29 09:45:10 -05:00
Clay Reimann
92946ccac3 [UMD] Fixed T6832 2016-02-29 08:23:35 -06:00
Henry Zhu
ec3c183668 Fix: Add parens for unary arrow function
Fixes T7157
2016-02-28 21:56:22 -05:00
Henry Zhu
35ed18f628 Fix invalid codegen for non decimal numeric literals in MemberExpression
Fixes T7156
2016-02-28 20:34:45 -05:00
Henry Zhu
6cb0fd8cc7 Merge pull request #3378 from samwgoldman/remove-flow
Remove Flow annotations and pragmas
2016-02-28 19:08:51 -05:00
Sam Goldman
5167d001c5 Remove @noflow as well 2016-02-28 13:25:36 -10:00
Sam Goldman
cd1af74ecc Remove weird codemod artifact 2016-02-28 13:23:28 -10:00
Sam Goldman
4252244d06 Remove Flow annotations and pragmas 2016-02-28 13:18:57 -10:00
Henry Zhu
6aff776124 Merge pull request #3280 from AgentME/dupkeys
Fix T2462, compile duplicate keys in objects to valid strict ES5
2016-02-27 23:16:20 -05:00
Chris Cowan
b2aecd4320 Fix arrow style issue 2016-02-26 08:57:34 -08:00
Chris Cowan
f01eaa8e47 Put transform-es2015-duplicate-keys plugin in es2015 preset. 2016-02-25 21:03:03 -08:00
Chris Cowan
4730526bf2 Add transform-es2015-duplicate-keys plugin. 2016-02-25 21:03:03 -08:00
Henry Zhu
b8cdd6e28c Merge pull request #3365 from jridgewell/replace-implicit-arrow-with-block
Replace arrow expression body with block statement
2016-02-25 22:02:31 -05:00
Henry Zhu
bf05b1b3bc Merge pull request #3368 from loganfsmyth/es3-transform-fixes
Fix the module plugin to properly requeue so the ES3 transforms can work
2016-02-25 21:57:23 -05:00
Jesse McCarthy
49e30f49bc Fix rest optimization errors. 2016-02-25 18:42:52 -05:00
Jesse McCarthy
8419be1afc Add postfix update expression fixtures.
(Failing.)
2016-02-25 17:11:19 -05:00
Jesse McCarthy
5f98d22b6d Add for-of fixture.
(Failing.)
2016-02-25 17:11:19 -05:00
Jesse McCarthy
1c304965e7 Add rest loop position optimization fixture.
(Failing.)

With destructuring assignment to an element.

This makes the function ineligible for `arguments` optimization, while
remaining eligible for loop position optimization.
2016-02-25 17:11:19 -05:00
Victor Felder
183fbab967 Fix some rest optimization errors.
Commit message edited by @jmm.
2016-02-25 17:11:19 -05:00
Jesse McCarthy
6ca07974c9 Add array destruct w/o [rest[0]] on RHS fixture.
(Failing.)
2016-02-25 17:11:19 -05:00
Jesse McCarthy
0be3a58dd2 Add expected fixtures for new actuals.
(Failing.)
2016-02-25 17:11:18 -05:00
Ben Newman
a82bf11e2a Add rest deoptimization fixtures.
(Failing.)

Commit message edited by @jmm.
2016-02-25 17:11:18 -05:00
Logan Smyth
a5ed818a55 Merge pull request #3370 from siroky/patch-1
Adds repository field to babel-plugin-transform-regenerator
2016-02-23 22:21:59 -08:00
Honza Široký
33d70df5b9 Adds repository field to babel-plugin-transform-regenerator 2016-02-24 01:07:33 +01:00
Henry Zhu
c43a154275 Merge pull request #3369 from tiemevanveen/patch-1
Docs: fix babel-plugin-transform-proto-to-assign readme url
2016-02-23 11:32:21 -05:00
Tieme van Veen
84a5d863b0 fix babel-plugin-transform-proto-to-assign readme url 2016-02-23 17:23:05 +01:00