Shuhei Kagawa
29a6578658
parse parameter decorators
2016-03-25 14:04:33 +09:00
Sebastian McKenzie
6b14e4cb91
Merge pull request #2 from babel/travis-badge
...
Add travis badge
2016-03-10 14:57:01 +00:00
Sebastian McKenzie
695109d505
t push
...
Merge branch 'master' of github.com:babel/babylon
2016-03-10 14:48:51 +00:00
Sebastian McKenzie
2115a28b40
add lodash to dev deps
2016-03-10 14:48:46 +00:00
Henry Zhu
e31dd18750
Add travis badge
2016-03-10 09:45:41 -05:00
Sebastian McKenzie
b75f175863
Merge pull request #1 from babel/hzoo-patch-1
...
don't ignore compiled files
2016-03-10 13:31:47 +00:00
Henry Zhu
a47286ba2b
don't ignore compiled files
2016-03-10 08:28:33 -05:00
Sebastian McKenzie
64ff4c3561
first commit
2016-03-10 06:24:44 +00:00
Amjad Masad
f8e33840b0
v6.7.0
2016-03-08 16:52:45 -08:00
Amjad Masad
6b498d7e5a
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
bb4919500c
Attach filename property to node.loc when provided.
2016-03-07 02:47:28 -08:00
Sam Goldman
b85d6c7e4a
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
6adbe96bf1
v6.6.5
2016-03-04 18:16:17 -05:00
Amjad Masad
aca8010438
Remove remaining @flow annotations
2016-03-03 15:10:59 -08:00
Amjad Masad
b5315d4b27
Revert "Remove Flow annotations and pragmas"
...
This reverts commit 4252244d06b225ab26a02d52c04f9940a3e4d6a2.
2016-03-03 15:03:55 -08:00
Amjad Masad
9a180797c0
Revert "Remove flow"
...
This reverts commit 2827ff6b01dcce69e9d3c0402e96b52b3a2a47ee.
2016-03-03 14:49:20 -08:00
Henry Zhu
5b7fa17cbe
v6.6.4
2016-03-02 16:29:17 -05:00
Sam Goldman
d6ee428857
Remove flow
2016-03-01 22:33:30 -08:00
Henry Zhu
48e8db2247
v6.6.0
2016-02-29 16:12:12 -05:00
Sam Goldman
08249b29e4
Remove weird codemod artifact
2016-02-28 13:23:28 -10:00
Sam Goldman
085361ad1a
Remove Flow annotations and pragmas
2016-02-28 13:18:57 -10:00
Logan Smyth
5f94206382
Merge pull request #3355 from loganfsmyth/babylon-browserifiable
...
Clean up babylon bundle to allow it to be re-bundled - fixes T6930
2016-02-22 08:50:06 -08:00
Sebastian McKenzie
31f3eba4c1
Merge pull request #3361 from babel/klint
...
Switch to klint, fix some lint rules
2016-02-14 23:26:30 +00:00
Sebastian McKenzie
c9f9435445
Switch to klint, fix some lint rules
2016-02-14 23:25:14 +00:00
Logan Smyth
40e5f505f4
Properly fail to parse >== and <== - fixes T2921
2016-02-13 10:08:05 -08:00
Logan Smyth
19de6dea3d
Clean up babylon bundle to allow it to be re-bundled - fixes T6930
2016-02-12 22:48:00 -08:00
Henry Zhu
13cb34a966
v6.5.2
2016-02-12 11:29:58 -05:00
Henry Zhu
2e73358fcc
Add class properties test with a generator method that results in a parse error
2016-02-11 13:03:36 -05:00
Logan Smyth
88a67773e6
Merge pull request #3332 from loganfsmyth/revert-prop-semi
...
Revert to standard ASI behavior for class properties
2016-02-10 22:40:44 -07:00
Logan Smyth
abd39d688e
Add tests for class property ASI.
2016-02-06 23:01:38 -08:00
Logan Smyth
0c35bbfc07
Revert "babylon: throw parse error if class properties do not have a semicolon (fixes T6873)"
...
This reverts commit 976edfc06740e434d1d5b136e28996a77f909403.
2016-02-06 18:36:31 -08:00
Logan Smyth
d9ade8a63a
Revert "babylon: fix error location for class properties with a missing semicolon"
...
This reverts commit f31099f383b52cf4fe1786188f6421529dea865b.
2016-02-06 18:36:22 -08:00
Henry Zhu
8d241c9c40
v6.5.0
2016-02-06 19:06:41 -05:00
Amjad Masad
024cba6433
Merge pull request #3305 from jviereck/T7052
...
Fix: Arrow functions with trailing comma + return type are throwing an error when parsing
2016-02-05 13:50:57 -08:00
Jeff Morrison
acc946c09e
Add support for leading pipes in Flow type alias RHS syntax
2016-02-05 13:23:55 -05:00
Henry Zhu
5f0ece0bdb
add some more flow types
2016-02-04 11:07:03 -05:00
Julian Viereck
a121d1b7b5
Fix and tests
2016-01-31 01:22:31 +01:00
Henry Zhu
97fd9d65e7
v6.4.5
2016-01-19 18:02:31 -05:00
Bradley Farias
b6f5b6ab11
fix flow for babylon
2016-01-19 13:01:26 -06:00
Chris Cowan
d425927ff1
Make babylon ignore duplicate plugins.
2016-01-15 19:29:21 -08:00
Chris Cowan
9c75f27240
Make Babylon correctly handle "flow" being present multiple times in plugins.
2016-01-15 19:00:38 -08:00
Henry Zhu
98504720df
v6.4.2
2016-01-06 21:26:43 -05:00
Henry Zhu
2f00b4c329
babylon: fix error location for class properties with a missing semicolon
2016-01-06 18:42:26 -05:00
Henry Zhu
359b8533b6
v6.4.0
2016-01-06 15:34:12 -05:00
Sebastian McKenzie
6c79639801
Merge pull request #3225 from hzoo/cp-semi
...
`babylon`: throw parse error if class properties do not have a semico…
2016-01-06 15:22:37 +00:00
Sam Goldman
541b576c7a
Guard export interface against isExportDefaultSpecifier
2016-01-05 17:28:21 -08:00
Sam Goldman
a04948f70f
Add export interface Flow syntax support
...
An interface export is just like a type export. In fact, it's a syntax affordance which makes the following equivalent:
```javascript
interface I_ { ... }
export type I = I_;
```
```javascript
export interface I { ... }
```
See facebook/flow#1145
2016-01-05 15:57:45 -08:00
Sam Goldman
bd5c1a5b1b
Add support for "declare interface" Flow syntax
...
This has been a feature in Flow for a long time (couldn't easily find a
specific commit adding this). Interfaces are basically undocumented, though, so
it's easy to see how this was missed.
2016-01-04 11:50:12 -08:00
Sam Goldman
0980819346
Add support for "declare type" Flow syntax
...
See facebook/flow#1105
2016-01-04 11:42:43 -08:00
Henry Zhu
e849c62144
babylon: throw parse error if class properties do not have a semicolon (fixes T6873)
2015-12-30 14:01:46 -05:00