86 Commits

Author SHA1 Message Date
Sebastian McKenzie
442f1173d2 v5.8.23 2015-08-27 16:38:34 -07:00
Cesar Andreu
c44858207e Start ObjectTypeProperty's optional property as false in each loop 2015-08-27 00:07:26 -04:00
Cesar Andreu
fe86c0a4e9 Add failing flow ObjectTypeProperty test 2015-08-26 06:51:12 -04:00
Sebastian McKenzie
6429cc69b5 v5.8.22 2015-08-11 01:00:54 +01:00
Henry Zhu
f60df12449 fix broken test from regex-after-block 2015-08-10 19:31:26 -04:00
Henry Zhu
04aedf37b4 fix unexpected token issue for regex after block case
- Ex: `if (1) {} /foo/`

Fixes babel/babel-eslint#161
Ref marijnh/acorn#289
2015-08-10 19:03:13 -04:00
Sebastian McKenzie
8128b35e25 properly distinguish shorthand async keys that are the last property - fixes #2176 2015-08-06 19:33:48 +01:00
Sebastian McKenzie
68d750120a fix patterns with async keys - fixes #2171 2015-08-05 23:22:31 +01:00
Sebastian McKenzie
5c2b22144c Merge branch 'master' of github.com:babel/babel 2015-08-05 22:45:00 +01:00
Sebastian McKenzie
314a851adb v5.8.21 2015-08-05 22:22:57 +01:00
Sebastian McKenzie
ef6ecbefaf style nits 2015-08-05 21:45:22 +01:00
Sebastian McKenzie
7e80cac728 remove operator property from AssignmentPattern 2015-08-05 21:45:11 +01:00
Sebastian McKenzie
a1ca4822dc fix handling of flow method shorthand - fixes #2169 2015-08-05 21:42:15 +01:00
Naman Goel
df9b0b818f fix typos
Found some typos while reading the code.
2015-08-05 00:26:52 +02:00
Sebastian McKenzie
dea349c4d4 check valid function/class token when parsing export default before converting to a declaration - fixes #2145 2015-08-02 21:36:52 +01:00
Sebastian McKenzie
855ee71d59 add support for export types 2015-07-31 23:34:45 +01:00
Sebastian McKenzie
8352730ff5 v5.8.20 2015-07-31 21:24:00 +01:00
Sebastian McKenzie
aee240c73e put containsEsc on state rather than as a local variable 2015-07-31 12:44:54 +01:00
Sebastian McKenzie
f97e201b56 fix linting error and add missing tests 2015-07-30 23:47:59 +01:00
Sebastian McKenzie
436874dac8 add support for boolean flow literals - fixes #2127 2015-07-30 23:44:36 +01:00
Sebastian McKenzie
ba2d18f025 add acorn license - cc @RReverser 2015-07-30 12:57:23 +01:00
Sebastian McKenzie
b91b4a4dc0 fix syntax error 2015-07-29 16:43:52 +01:00
Sebastian McKenzie
99d8dec04d clear rawValue from JSX attribute values as they're tokenised and parsed differently - fixes #2114 2015-07-29 16:15:47 +01:00
Sebastian McKenzie
c43daa83df v5.8.19 2015-07-29 13:32:27 +01:00
Sebastian McKenzie
091d188a67 v5.8.18 2015-07-29 13:30:00 +01:00
Sebastian McKenzie
dbe1d53e75 v5.8.17 2015-07-29 13:28:24 +01:00
Sebastian McKenzie
5712e3c7f2 v5.8.13 2015-07-28 13:41:00 +01:00
Sebastian McKenzie
1c37c3a8c4 Merge branch 'development'
cially if it merges an updated upstream into a topic branch.
2015-07-28 09:10:49 +01:00
Sebastian McKenzie
770e89d537 v5.8.12 2015-07-28 01:38:31 +01:00
Logan Smyth
0bfc5a90dc Ensure that the original state is restored on lookahead - fixes #2086 2015-07-26 20:56:07 -07:00
Sebastian McKenzie
bcfe88fc06 v5.8.9 2015-07-27 00:14:29 +01:00
Sebastian McKenzie
caecebf95b make flow transformer use internal state to track whether we're in a type or not - fixes #2083 2015-07-27 00:06:26 +01:00
Sebastian McKenzie
16179e21c8 v5.8.8 2015-07-26 22:07:32 +01:00
Sebastian McKenzie
c722aadc8d v5.8.7 2015-07-26 21:59:55 +01:00
Sebastian McKenzie
c5a407f457 really fix comment attachment 2015-07-26 21:58:22 +01:00
Sebastian McKenzie
d7f59180ce add back missing comment fix - fixes #2072 2015-07-26 21:56:28 +01:00
Sebastian McKenzie
3de3678fae v5.8.6 2015-07-26 21:50:46 +01:00
Sebastian McKenzie
9af5e0526f update jsx tests 2015-07-26 05:34:03 +01:00
Sebastian McKenzie
6f607ef053 remove rawValue property from JSX inner text Literal nodes 2015-07-26 05:30:27 +01:00
Sebastian McKenzie
d65c29b60a remove gross acorn conditional statement styling 2015-07-26 05:22:33 +01:00
Sebastian McKenzie
69721b930a add token match method and remove more dead code 2015-07-26 04:48:42 +01:00
Sebastian McKenzie
676766533c improve babylon test coverage and remove dead code 2015-07-25 19:54:19 +01:00
Sebastian McKenzie
2598299e64 finish reorganisation of babylon 2015-07-25 08:03:39 +01:00
Sebastian McKenzie
7e7ad89724 remove range property from nodes, clean up babylon codebase 2015-07-25 07:07:22 +01:00
Sebastian McKenzie
4e00575ed5 fix broken tests take 2 2015-07-25 06:16:50 +01:00
Sebastian McKenzie
7964e3bf11 fix broken tests 2015-07-25 06:14:09 +01:00
Sebastian McKenzie
55f3fb3015 add espree comment attachment tests and remove ranges test property from babylon tests 2015-07-25 06:07:51 +01:00
Sebastian McKenzie
350e901794 update babylon fixtures to use File as the root node rather than Program 2015-07-25 05:24:58 +01:00
Sebastian McKenzie
14d2625753 switch babylon tests to fixtures 2015-07-25 05:19:32 +01:00
Sebastian McKenzie
2ed9416e19 check whether the last child is the same node as the one we're removing comments from - fixes #2072, fixes #2068 2015-07-25 02:16:31 +01:00