Sebastian McKenzie
c224a7a370
fix parser bug where arrow functions have a higher precedence than they should - fixes #2118
2015-10-30 22:50:53 +00:00
Sebastian McKenzie
37294c3c0a
Merge branch 'master' of github.com:babel/babel
2015-10-30 19:17:19 +00:00
Sebastian McKenzie
466f22afff
fix babel-runtime dependencies - fixes #2655
2015-10-30 19:16:42 +00:00
James Kyle
19d1b53fc5
Update package.json
2015-10-30 11:38:02 -07:00
Sebastian McKenzie
470d5738e1
Merge branch 'development'
...
Conflicts:
VERSION
packages/babel-cli/package.json
packages/babel-generator/src/buffer.js
packages/babel-runtime/package.json
packages/babel-traverse/src/scope/index.js
packages/babel-types/src/validators.js
packages/babel/package.json
packages/babel/src/generation/generators/expressions.js
packages/babel/src/generation/generators/statements.js
packages/babel/src/transformation/transformers/es6/tail-call.js
packages/babel/src/transformation/transformers/es7/async-functions.js
packages/babel/src/transformation/transformers/es7/exponentiation-operator.js
packages/babel/src/types/retrievers.js
packages/babel/test/fixtures/transformation/es6.tail-call/default-parameters/expected.js
packages/babel/test/fixtures/transformation/es6.tail-call/factorial/expected.js
packages/babel/test/fixtures/transformation/es6.tail-call/max-args/expected.js
packages/babel/test/fixtures/transformation/es6.tail-call/recursion/expected.js
packages/babylon/package.json
2015-10-30 00:48:36 +00:00
Sebastian McKenzie
d7610ef9b0
v6.0.2
2015-10-29 18:06:55 +00:00
Sebastian McKenzie
32ef6b465b
v6.0.0
2015-10-29 18:02:15 +00:00
Sebastian McKenzie
b909a81ab7
6.0.0
...
I'm extremely stupid and didn't commit as I go. To anyone reading this
I'm extremely sorry. A lot of these changes are very broad and I plan on
releasing Babel 6.0.0 today live on stage at Ember Camp London so I'm
afraid I couldn't wait. If you're ever in London I'll buy you a beer
(or assorted beverage!) to make up for it, also I'll kiss your feet and
give you a back massage, maybe.
2015-10-29 17:51:24 +00:00
Sebastian McKenzie
543378b81f
v5.8.29
2015-10-24 17:26:54 +01:00
Sebastian McKenzie
d0b584fd13
add filename to babylon test errors
2015-10-05 16:40:55 +01:00
Sebastian McKenzie
9908dc6f50
update babylon tests
2015-10-05 16:40:43 +01:00
Sebastian McKenzie
6d6ddf0bcd
type annotate babylon
2015-09-23 15:59:41 +01:00
Sebastian McKenzie
0612f69141
flesh out babylon readme
2015-09-15 06:25:52 +01:00
Sebastian McKenzie
f3a016df30
add babel-runtime to babylon dependencies
2015-09-15 06:20:21 +01:00
Sebastian McKenzie
446cc3e869
add babylon description
2015-09-15 06:20:03 +01:00
Sebastian McKenzie
fc87af4c81
add dead simple babylon bin
2015-09-15 06:19:49 +01:00
Sebastian McKenzie
e8fa03ea1c
add parser util addExtra method
2015-09-15 06:19:35 +01:00
Sebastian McKenzie
bf841c7e27
use extra.parenthesized rather than parenthesizedExpression
2015-09-15 06:19:26 +01:00
Sebastian McKenzie
d1ecb04d0f
add hasFeature util method
2015-09-15 06:18:23 +01:00
Sebastian McKenzie
40aab69ed0
remove weird acorn conditional formatting
2015-09-15 06:18:15 +01:00
Sebastian McKenzie
9e264e70ae
only allow identifiers as rest expressions
2015-09-15 06:18:04 +01:00
Sebastian McKenzie
54a4f16b08
add RestProperty node
2015-09-15 06:17:45 +01:00
Sebastian McKenzie
c5e2e4d39e
loop over all directives to check for use strict
2015-09-15 06:16:57 +01:00
Sebastian McKenzie
c892cae6af
use hasFeature rather than directly looking up options
2015-09-15 06:16:46 +01:00
Sebastian McKenzie
415752dbb7
add directives property to Program and BlockStatement
2015-09-15 06:16:07 +01:00
Sebastian McKenzie
59948c6649
add babylon hasFeature util method
2015-09-15 06:15:19 +01:00
Sebastian McKenzie
ae85fc0251
rename features in babylon tests
2015-09-15 06:13:11 +01:00
Sebastian McKenzie
069b969b1d
make export default anoynmous class/function statements - fixes #2205
2015-09-01 05:34:11 +01:00
Sebastian McKenzie
446b297465
unoverload Literal AST node
2015-09-01 04:49:16 +01:00
Sebastian McKenzie
4088d85e32
Merge branch 'master' into development
...
Conflicts:
packages/babel/package.json
packages/babel/src/traversal/scope/index.js
2015-08-27 16:42:21 -07:00
Sebastian McKenzie
a20a926de1
v5.8.23
2015-08-27 16:38:34 -07:00
Sebastian McKenzie
d97240ae09
Merge remote-tracking branch 'origin/master' into development
...
Conflicts:
packages/babel/scripts/build-dist.sh
2015-08-27 11:12:00 -07:00
Cesar Andreu
bc59b09f6b
Start ObjectTypeProperty's optional property as false in each loop
2015-08-27 00:07:26 -04:00
Cesar Andreu
60f4003345
Add failing flow ObjectTypeProperty test
2015-08-26 06:51:12 -04:00
Sebastian McKenzie
6e24626482
fix weird legacy acorn formatting
2015-08-24 15:31:41 -04:00
Sebastian McKenzie
032ca7ae1c
never attempt to represent regexes natively
2015-08-24 15:31:30 -04:00
Sebastian McKenzie
ac9ee75dac
parser: don't mutate or clone state arrays when doing a lookahead - fixes #2211
2015-08-15 19:07:42 -04:00
Sebastian McKenzie
860322f7b8
add more jsx tests
2015-08-12 02:57:18 +01:00
Sebastian McKenzie
8887444cf7
fix various bugs surfaced by the esprima test suite, remove some incorrect tests
2015-08-11 16:58:20 +01:00
Sebastian McKenzie
b7b43dc282
Merge branch 'master' into development
2015-08-11 01:05:04 +01:00
Sebastian McKenzie
87c604b64e
v5.8.22
2015-08-11 01:00:54 +01:00
Sebastian McKenzie
df021c7f23
add esprima tests and fix bugs picked up by it
2015-08-11 00:59:15 +01:00
Henry Zhu
babf64473b
fix broken test from regex-after-block
2015-08-10 19:31:26 -04:00
Henry Zhu
8f3615bf7b
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
c318c88050
forward all arguments to parseClassId in flow parser plugin
2015-08-10 13:10:32 +01:00
Sebastian McKenzie
b581a7590c
fix export default function expression disambiguation - fixes #2189
2015-08-10 13:04:08 +01:00
Sebastian McKenzie
4fda34ce6f
properly distinguish shorthand async keys that are the last property - fixes #2176
2015-08-06 19:33:48 +01:00
Sebastian McKenzie
5ec9f78493
fix patterns with async keys - fixes #2171
2015-08-05 23:22:31 +01:00
Sebastian McKenzie
9826be30cc
Merge branch 'master' of github.com:babel/babel
2015-08-05 22:45:00 +01:00
Sebastian McKenzie
68e70e55e2
v5.8.21
2015-08-05 22:22:57 +01:00