Logan Smyth
0be2f1cf48
Remove unnecessary ensureSemicolon.
2016-06-16 20:31:19 -07:00
Logan Smyth
67763085ab
Be consistent with semicolons.
2016-06-16 20:31:19 -07:00
Logan Smyth
c1ba5e6ac8
Remove unused force param.
2016-06-16 20:31:19 -07:00
Logan Smyth
d042ddfdda
Clarify that the code generator class is not public.
2016-06-16 20:31:19 -07:00
Logan Smyth
efea2c19f2
Add more tests for minified output.
2016-06-16 20:31:19 -07:00
Logan Smyth
e64aeb7316
v6.10.1
2016-06-11 00:36:09 -07:00
Logan Smyth
57328c1fbd
Merge pull request #3526 from loganfsmyth/fix-switch-error
...
Fix an issue with the switch handing from PR #3490 .
2016-06-11 00:32:37 -07:00
Logan Smyth
5ddce1372b
Fix an issue with the switch handing from PR #3490 .
2016-06-11 00:17:36 -07:00
Aleksey Smolenchuk
2033c1da30
remove shorthand of --skip-initial-build
...
-s is already taken by --source-maps
2016-06-10 22:46:24 -07:00
Henry Zhu
c5ae951f98
v6.10.0
2016-06-11 00:05:21 -04:00
Henry Zhu
b567c02413
generator tests
2016-06-10 18:05:54 -04:00
Henry Zhu
ff42a744df
add back in identifier
2016-06-10 17:07:03 -04:00
Henry Zhu
63e8313788
add type def
2016-06-08 16:16:22 -04:00
Henry Zhu
ad0e1ba6de
Support changes in flow parsing
2016-06-08 13:07:58 -04:00
Logan Smyth
61b3a6314b
Merge pull request #3490 from jayphelps/T7324
...
create new lexical env inside switch statement blocks, fixes #T7324
2016-05-30 14:42:29 -07:00
Logan Smyth
85ec7834d0
Merge pull request #3489 from lxe/optinal-nocompile-watch
...
babel-cli: add --skip-initial-build option to only compile on changes when watching
2016-05-30 14:29:30 -07:00
Henry Zhu
5b3db3aceb
v6.9.2
2016-05-29 19:16:15 -04:00
Henry Zhu
e95ff9effb
Fix: for babel-runtime, regenerator-runtime should be a dependency now ( #3516 )
2016-05-29 19:14:42 -04:00
Henry Zhu
77ac82b9f5
v6.9.1
2016-05-29 15:50:04 -04:00
Ben Newman
b3acf9100e
Make babel-runtime use regenerator-runtime from npm. ( #3494 )
...
The source repository for regenerator-runtime can now be found at
https://github.com/facebook/regenerator/tree/master/packages/regenerator-runtime
This also removes the babel-regenerator-runtime package, now that the only
difference between it and regenerator-runtime has been resolved:
bc8d2d672c
2016-05-28 19:04:48 -04:00
Andrew Johnston
f408f28a02
Fix: assign _this to this when there is no Superclass - Fixes T7364
...
Closes gh-3508
2016-05-28 09:51:28 -04:00
Lukas Eipert
8532bb8334
update license field with a valid SPDX expression ( #3507 )
2016-05-28 09:39:06 -04:00
Leonid Nikiforenko
822e8804d5
Make JSXText Immutable ( #3510 )
2016-05-25 23:30:29 -04:00
Aleksey Smolenchuk
4bf6f8ab18
cli: --skip-initial-build option to compile only on watched changes
2016-05-20 09:47:41 -07:00
Lukas Eipert
13c961d29d
Adds repository field to babel-regenerator-runtime ( #3506 )
...
Similiar to #3370 .
One of our licensing checking scripts throws warnings, as we expect npm dependencies to contain the repository field.
2016-05-20 11:41:48 -04:00
Jesse McCarthy
ff044bbb0f
Use more ideal mocha hooks ( #3446 )
...
* setup() instead of manual before().
* suiteTeardown() instead of afterEach().
2016-05-19 08:26:59 -04:00
Henry Zhu
cf6304a34b
v6.9.0
2016-05-17 14:49:17 -04:00
Shuhei Kagawa
be9be86919
Add decorators to argument types ( #3470 )
2016-05-16 16:48:20 -04:00
Denis Pushkarev
16ad574e48
Update core-js to 2.4 ( #3480 )
2016-05-16 16:46:22 -04:00
Guy Bedford
40c4e7c2ea
Modules systemjs system global name, use strict wrapping ( #3482 )
...
* modules systemjs system global name, use strict wrapping
* document systemGlobal option in readme
2016-05-16 16:46:06 -04:00
Alexander Kotliarskyi
8fa1174b32
Skip adding __source if it already exists ( #3504 )
2016-05-16 16:45:33 -04:00
dlwalsh
cdb465a834
remove repeating dependency from babel-traverse ( #3501 )
2016-05-16 09:54:37 -04:00
dlwalsh
9f8cd91605
Replace trim-right with _.trimEnd ( #3502 )
2016-05-16 09:53:48 -04:00
dlwalsh
829d4497c9
remove micro modules in favour of lodash functions ( #3500 )
2016-05-15 22:00:50 -04:00
Jhen-Jie Hong
2d7fb9af41
Class properties: Add path.ensureBlock for ArrowFunctionExpression ( #3486 )
...
* Class properties: Add path.ensureBlock for ArrowFunctionExpression
* Class properties: Add test case for non-block arrow function
2016-05-13 17:45:15 -04:00
Amjad Masad
109d99bb5e
don't double count binding references ( #3465 )
...
When, for example, a function is moved between from one place to another we recrawl and end up double counting any references it holds to the upper scope. This protects against that. (The same thing is done for constant violations in the `reassign` method)
2016-05-13 17:20:32 -04:00
Jay Phelps
330071e59d
also visit ClassProperty's for rest param deopt check, fixes #T7311 ( #3481 )
2016-05-13 17:18:14 -04:00
Jordan Klassen
dc1f40540d
Upgrade to lodash 4 ( #3315 )
...
* Upgrade to lodash 4
* Fix incorrect require in babel-runtime/scripts
* Replace cloneDeep with cloneDeepWith where applicable
2016-05-13 17:15:14 -04:00
Logan Smyth
9843c87573
Fix block statement code style. ( #3493 )
2016-05-02 21:15:37 -04:00
Henry Zhu
bf5de6bcb7
v6.8.1
2016-05-02 20:42:03 -04:00
Henry Zhu
8463dff9d9
Lazy-initialize babel-traverse to avoid circular dep. ( #3497 )
2016-05-02 20:40:05 -04:00
Henry Zhu
05bf216339
v6.8.0
2016-05-02 19:43:49 -04:00
Henry Zhu
cafd15cdcf
Merge pull request #3438 from hzoo/self-host-on-babel6
...
Self host on babel6
2016-05-01 20:03:04 -04:00
rektide
cfb911de91
babel-template is an implementation of quasiquotes.
...
LISP, Haskell, Scala, Scheme, Boo respect this term for a string literal of code being interpretted into AST. Babel should clearly identify that it too has quasi-quotes capabilities.
2016-04-30 17:08:08 -04:00
Jay Phelps
4166e5148e
create new lexical env inside switch statement blocks, fixes #T7324
2016-04-29 23:54:41 -07:00
Henry Zhu
ecd294b55e
fix babel-traverse issues
2016-04-25 21:52:51 -04:00
Henry Zhu
6f5e47eff0
Check if t.is is already defined (specifically accounting for the isImmutable method in validators
2016-04-24 20:06:23 -04:00
Henry Zhu
c9e5da6ad0
use named exports instead of export * as a temp workaround
2016-04-24 20:06:23 -04:00
Henry Zhu
4c23b01798
change plugins to use babel-runtime 6
2016-04-24 20:06:23 -04:00
Logan Smyth
27bd5c6719
Merge pull request #3477 from mattkrick/patch-1
...
turn transform into a simple `for` loop
2016-04-24 16:47:31 -07:00