Henry Zhu
7b9749233e
v6.11.1
2016-06-27 17:19:48 -04:00
Forbes Lindesay
3bc3c9a3ed
Babel types docs ( #3549 )
...
* Update babel-types documentation
Mostly just re-run generate-babel-types-docs but also update for some
more validator types.
* Rebuild docs as part of "build-dost"
* Include fields not in BUILDER_KEYS in babel-types docs
These fields don’t have a shorthand for you to pass them to the helper
method, but they are still useful to know about.
* Fields not included in BUILDER_KEYS cannot be "required"
We don’t ever type-check fields not in BUILDER_KEYS so they are never
required.
2016-06-27 17:01:58 -04:00
Henry Zhu
bfc90c975d
v6.10.2
2016-06-17 17:45:16 -04:00
Daniel Tschinder
d7c0fbdf5b
"name" should not be visited for TypeParameter ( #3529 )
...
name is a string and does not need to be visited
2016-06-17 17:21:23 -04:00
Henry Zhu
c5ae951f98
v6.10.0
2016-06-11 00:05:21 -04:00
Henry Zhu
63e8313788
add type def
2016-06-08 16:16:22 -04:00
Henry Zhu
77ac82b9f5
v6.9.1
2016-05-29 15:50:04 -04:00
Leonid Nikiforenko
822e8804d5
Make JSXText Immutable ( #3510 )
2016-05-25 23:30:29 -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
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
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
696c74933a
v6.7.7
2016-04-20 20:09:20 -07:00
Logan Smyth
e7796b45c9
Add a fast path for checking for exact node types.
...
In my unscientific tests locally, this look the time for generating
200 files down from 11.8 to 8.3 seconds.
2016-04-19 18:59:15 -07: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
60d773f370
Merge pull request #3393 from babel/cache
...
Move NodePath cache out of the AST
2016-03-07 13:57:47 -08:00
Amjad Masad
d5e78384ef
Only export methods and not the entire cache
2016-03-07 12:50:29 -08:00
Amjad Masad
bf91a68375
Move scope cache to the cache module
2016-03-07 12:04:44 -08:00
Amjad Masad
5367d5d151
Make sure we update the cache in all the right places
2016-03-07 12:04:44 -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
Logan Smyth
305252d335
Recognize object rest properties as binding identifiers - fixes T7178
2016-03-03 08:58:22 -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
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
Sebastian McKenzie
5b89849f43
Switch to klint, fix some lint rules
2016-02-14 23:25:14 +00:00
Henry Zhu
b1bb39e733
v6.5.2
2016-02-12 11:29:58 -05:00
Logan Smyth
b53864c569
Merge pull request #3334 from loganfsmyth/bind-callee-ref
...
Check BindExpression callee for reference - fixes T6984
2016-02-10 22:42:50 -07:00
Sebastian McKenzie
a0fdb77413
v6.5.1
2016-02-08 02:18:10 +00:00
Henry Zhu
24c759a229
Merge pull request #3329 from loganfsmyth/export-specifier-validator
...
Fix export specifier validator.
2016-02-07 09:27:09 -05:00
Logan Smyth
b13be640fa
Check BindExpression callee for reference - fixes T6984
2016-02-06 22:17:46 -08:00
Henry Zhu
f9f8ad6eff
v6.5.0
2016-02-06 19:06:41 -05:00
Logan Smyth
ccf3875a67
Fix export specifier validator.
2016-02-06 13:49:34 -08:00
Henry Zhu
c2d7e95e1a
add some more flow types
2016-02-04 11:07:03 -05:00
Amjad Masad
4f82506711
Merge pull request #3294 from babel/with-body
...
WithStatements can have statements as bodies
2016-01-22 14:18:10 -08:00
Amjad Masad
2110f530ea
WithStatements can have statements as bodies
...
For example try: `with({x: 1}) console.log(x);`
2016-01-20 20:48:31 -08:00
Amjad Masad
6b47447e7a
UnaryExpressions are never not prefix
...
If you look at the spec https://github.com/babel/babel/blob/master/doc/ast/spec.md#unaryexpression
All unary expressions are prefix. We should deprecate this field. But for now let's just default it true.
2016-01-20 19:02:04 -08:00