Henry Zhu
cf6304a34b
v6.9.0
2016-05-17 14:49:17 -04:00
dlwalsh
829d4497c9
remove micro modules in favour of lodash functions ( #3500 )
2016-05-15 22:00:50 -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
Henry Zhu
05bf216339
v6.8.0
2016-05-02 19:43:49 -04:00
Henry Zhu
4c23b01798
change plugins to use babel-runtime 6
2016-04-24 20:06:23 -04:00
Olivier Tassinari
e2a2dd882f
Docs: Update README.md ( #3479 )
...
`traverse` is imported but not used.
2016-04-24 18:38:13 -04:00
Logan Smyth
696c74933a
v6.7.7
2016-04-20 20:09:20 -07:00
Logan Smyth
f6be6e0bd4
Merge pull request #3463 from loganfsmyth/sourcemap-rework
...
Support more fine-grained source location tracking and use it for functions
2016-04-20 18:57:18 -07:00
Logan Smyth
ca8556e36f
Let function optimize better by using a boolean.
2016-04-19 19:36:11 -07:00
Logan Smyth
eb455dff85
Pre-expand type aliases for fast lookup.
2016-04-19 19:36:10 -07:00
Logan Smyth
dc92a16e7f
Fast path for newline processing.
2016-04-19 18:59:32 -07:00
Logan Smyth
81e6d4147d
Map the end of block statement nodes to the end of their original location - fixes T7258
2016-04-11 01:54:41 -07:00
Logan Smyth
76bb1dffaa
Track sourcemap location on a stack - fixes T7255
2016-04-11 01:54:40 -07:00
Logan Smyth
89ecbda25c
v6.7.5
2016-04-07 20:24:49 -07:00
Logan Smyth
256c0100cb
Wrap parens around default exports starting with function/class - fixes T7136
2016-03-12 15:31:16 -08:00
Amjad Masad
de92d632f3
v6.7.2
2016-03-10 14:41:27 -08:00
Henry Zhu
0cc53dafc0
add test to npmignores [ci skip]
2016-03-08 22:33:23 -05:00
Amjad Masad
3d5969ecff
v6.7.0
2016-03-08 16:52:45 -08:00
Amjad Masad
4b2a660ee0
Merge pull request #3323 from divmain/master
...
Source-map support for multiple input source files
2016-03-07 11:57:59 -08:00
Dale Bustad
3c6c09d00a
Only detect indent if babel-generator is provided code string, vs multi-source object.
2016-03-07 02:47:28 -08:00
Dale Bustad
288b3ba559
Attach filename property to node.loc when provided.
2016-03-07 02:47:28 -08:00
Dale Bustad
f007b51554
Accept filename-to-file-content hash as code parameter of generate.
2016-03-07 02:47:28 -08:00
Dale Bustad
26dcd6400f
When generating sourcemaps, use per-node source filename if present.
2016-03-07 02:47:27 -08:00
Sam Goldman
a38a58bad8
Add support for Flow def-site variance syntax
...
This syntax allows you to specify whether a type variable can appear in
a covariant or contravariant position, and is super useful for, say,
Promise.
Right now this is hacked in jankily, but in the next major release we
should stop using Identifier nodes for type parameters.
2016-03-06 14:44:09 -08:00
Henry Zhu
57ef6a2b6a
v6.6.5
2016-03-04 18:16:17 -05:00
Amjad Masad
2fbe28cc88
Remove remaining @flow annotations
2016-03-03 15:10:59 -08:00
Amjad Masad
12ee11a0a4
Revert "Remove Flow annotations and pragmas"
...
This reverts commit 4252244d06b225ab26a02d52c04f9940a3e4d6a2.
2016-03-03 15:03:55 -08:00
Amjad Masad
3667527d04
Revert "Remove flow"
...
This reverts commit 2827ff6b01dcce69e9d3c0402e96b52b3a2a47ee.
2016-03-03 14:49:20 -08:00
Henry Zhu
39a8f5b796
v6.6.4
2016-03-02 16:29:17 -05:00
Sam Goldman
2827ff6b01
Remove flow
2016-03-01 22:33:30 -08:00
Henry Zhu
f34e6518ff
v6.6.0
2016-02-29 16:12:12 -05: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
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
Sam Goldman
5167d001c5
Remove @noflow as well
2016-02-28 13:25:36 -10:00
Sam Goldman
4252244d06
Remove Flow annotations and pragmas
2016-02-28 13:18:57 -10:00
Jason
28ca3f7f3a
[generator] bug fix
...
- Fix Whitespace with empty token list
- Force a newline for line comments in concise mode
2016-02-17 13:01:54 +08:00
Sebastian McKenzie
b5bcd64120
noflow some files
2016-02-14 23:58:37 +00:00
Sebastian McKenzie
5b89849f43
Switch to klint, fix some lint rules
2016-02-14 23:25:14 +00:00
Henry Zhu
f9f8ad6eff
v6.5.0
2016-02-06 19:06:41 -05:00
Henry Zhu
4e619db873
Merge pull request #3324 from zjmiller/master
...
Parenthize "in" in for-loop init, even when init has nested for-loop
2016-02-05 15:50:11 -05:00
Zachary Miller
33b4ef5d52
Parenthize "in" in for-loop init, even when init has nested for-loop
2016-02-05 14:28:01 -06:00
Jeff Morrison
e6951e99f0
Add support for leading pipes in Flow type alias RHS syntax
2016-02-05 13:23:55 -05:00
Amjad Masad
bcc32da0d9
Merge pull request #3316 from forivall/babel-generator-simplify-node
...
Simplify babel-generator/node/index.js
2016-02-04 14:10:16 -08:00
Henry Zhu
f8036c7230
Merge pull request #3311 from babel/object-body
...
[T7047] Consider arrow functions when parenthesizing object expressions
2016-02-04 14:44:22 -05:00
Henry Zhu
c2d7e95e1a
add some more flow types
2016-02-04 11:07:03 -05:00
Jordan Klassen
8fd329a2f4
Remove "Node" class from generator, just use module
...
The Node class was unused as a class
2016-02-03 16:51:10 -08:00
Amjad Masad
9aac73e70b
Merge pull request #3299 from robcolburn/multibyte-test
...
Ensure that we do not break mutli-byte handling
2016-02-02 16:45:50 -08:00
Amjad Masad
3d3b30eb45
[T7047]Consider arrow functions when parenthesizing object expressions
2016-02-02 16:26:31 -08:00