Sebastian McKenzie
210910513d
remove babel.register
2015-10-05 16:44:59 +01:00
Sebastian McKenzie
5006403cd7
remove polyfill from babel/register
2015-10-05 16:44:39 +01:00
Sebastian McKenzie
d108d799bf
remove babel.parse and encourage use of babylon directly
2015-10-05 16:44:14 +01:00
Sebastian McKenzie
64d5ec090b
extend Store from Map
2015-10-05 16:43:37 +01:00
Sebastian McKenzie
72b74de833
add 5.8.23-5.8.26 changelog
2015-10-05 16:43:24 +01:00
Sebastian McKenzie
6467bf6809
add script to generate a flow lib file for babel types
2015-10-05 16:42:08 +01:00
Sebastian McKenzie
3e6b76aa41
add support for devDependencies to publish script
2015-10-05 16:41:54 +01:00
Sebastian McKenzie
c4dbb38f8a
remove bjs
2015-10-05 16:41:36 +01:00
Sebastian McKenzie
91f9cfb902
remove browser tests
2015-10-05 16:41:32 +01:00
Sebastian McKenzie
65e059e69b
allow local packages to be specified as devDependencies in bootstrap script
2015-10-05 16:41:11 +01:00
Sebastian McKenzie
95c9b2c8e0
add filename to babylon test errors
2015-10-05 16:40:55 +01:00
Sebastian McKenzie
3a89ee84ef
update babylon tests
2015-10-05 16:40:43 +01:00
Sebastian McKenzie
55976b6392
remove redundant generator tests
2015-10-05 16:40:18 +01:00
Sebastian McKenzie
6568aaa175
add babel-polyfill to CLI
2015-10-05 16:39:16 +01:00
Sebastian McKenzie
31e4d2e515
remove CLI aliases
2015-10-05 16:38:53 +01:00
Sebastian McKenzie
9113542b12
add syntax plugins
2015-10-05 16:37:49 +01:00
Sebastian McKenzie
f88cc9d509
clean up babel-generator - closes #2210
2015-10-05 16:37:37 +01:00
Sebastian McKenzie
63cfb82ca7
clean up mergeSourceMap method - closes #2479
2015-10-05 16:34:40 +01:00
Sebastian McKenzie
92553a91f0
Merge pull request #2469 from jridgewell/replace-implicit-arrow-with-block
...
Replace arrow expression body with block statement
2015-10-05 16:29:23 +01:00
Sebastian McKenzie
6740561f91
remove comments from old node after inheriting from new one when replacing nodes - closes #2490 , closes #2489
2015-10-05 16:27:17 +01:00
Justin Ridgewell
24d766fc57
Replace arrow expression body with block statement
...
Without this, the only way to replace the arrow function is to either
manually override its `node.body`, or duplicate the arrow:
```js
// Old
ArrowFunctionExpression: function (node) {
node.body = t.blockStatement(...);
// Or
return t.ArrowFunctionExpression(
node.params,
t.blockStatement(...),
node.async
);
}
// New
ArrowFunctionExpression: function() {
this.get("body").replaceWith(t.blockStatement(...));
}
```
2015-09-30 15:01:35 -04:00
Sebastian McKenzie
369b9fdc4b
Merge pull request #2465 from jfsiii/patch-2
...
Move to exponentiation operator to stage 3
2015-09-30 15:58:19 +01:00
Sebastian McKenzie
95fb1e2251
Merge pull request #2464 from jfsiii/patch-1
...
Move to async functions to stage 3
2015-09-30 15:58:11 +01:00
John Schulz
afc687dc5d
Bump to exponentiation operator to stage 3
...
https://github.com/tc39/ecma262#current-proposals
2015-09-30 07:53:16 -07:00
John Schulz
959f607a5a
Bump to async functions to stage 3
...
https://github.com/tc39/ecma262#current-proposals
2015-09-30 07:51:26 -07:00
Sebastian McKenzie
fa88b1c00d
abstract out scope binding rename and handle function/class cases where we can retain the name with some ~magic~ - fixes #2435
2015-09-28 02:45:00 +01:00
Sebastian McKenzie
8ab4a5df43
Merge pull request #2403 from alawatthe/double-decimal-point
...
BinaryIntegerLiterals, OctalIntegerLiterals, HexIntegerLiterals shoul…
2015-09-27 21:24:05 +01:00
Sebastian McKenzie
32d2794bf8
Merge branch 'mathiasbynens-patch-5'
2015-09-27 21:23:33 +01:00
Sebastian McKenzie
0230368d23
Merge branch 'patch-5' of https://github.com/mathiasbynens/6to5 into mathiasbynens-patch-5
...
Conflicts:
packages/babel/package.json
2015-09-27 21:23:27 +01:00
Jhen
67efa9ee4a
[es6.tailCall] Add default-parameters-black-es6-block-scoping test case
...
refer: https://github.com/babel/babel/issues/2401
2015-09-26 13:24:44 +08:00
Sebastian McKenzie
d1588990d5
add flow-comments plugin to babelrc and format json
2015-09-24 18:43:10 +01:00
Sebastian McKenzie
464d2b7ef3
enable no-var rule in eslint config
2015-09-24 18:42:50 +01:00
Sebastian McKenzie
112c24a3d3
Merge pull request #2427 from michaelficarra/patch-2
...
advance es7.trailingFunctionCommas to stage 2
2015-09-24 18:27:14 +01:00
Sebastian McKenzie
55989d1c34
Merge pull request #2425 from zertosh/browserify-shrink
...
Use source-map@^0.5.0 and optimize bundle builds
2015-09-24 15:34:30 +01:00
Sebastian McKenzie
0421224ad0
Merge pull request #2424 from benjamn/patch-5
...
Upgrade Regenerator to 0.8.40
2015-09-24 15:34:09 +01:00
Mathias Bynens
88f0f8995f
Update regexpu to v1.3.0
2015-09-24 13:03:29 +02:00
Andres Suarez
2f13cfa85b
optimize bundle builds
2015-09-23 21:58:23 -07:00
Andres Suarez
a5fc32e598
bump source-map to ^0.5.0
2015-09-23 21:05:57 -07:00
Michael Ficarra
7e9a9296ef
advance es7.trailingFunctionCommas to stage 2
2015-09-23 16:41:40 -07:00
Sebastian McKenzie
b522fccbd1
Merge pull request #2423 from michaelficarra/patch-1
...
move class properties proposal to stage 1
2015-09-23 23:22:10 +01:00
Ben Newman
e50476b8a4
Upgrade Regenerator to 0.8.40
...
Most notably, this pegs regenerator to a version of recast (0.10.33) which pegs ast-types to a version (0.8.12) that contains https://github.com/benjamn/ast-types/pull/128 , so the Babel client bundle size will be a bit smaller.
2015-09-23 15:01:42 -04:00
Michael Ficarra
46e2a86183
move class properties proposal to stage 1
2015-09-23 11:13:38 -07:00
Sebastian McKenzie
227ed5638a
add flow type annotations
2015-09-23 16:10:44 +01:00
Sebastian McKenzie
119520ed87
add lib folder
2015-09-23 16:00:41 +01:00
Sebastian McKenzie
20f643b419
type annotate babylon
2015-09-23 15:59:41 +01:00
Sebastian McKenzie
31a01cc4d2
Merge pull request #2414 from benjamn/patch-4
...
Upgrade Regenerator to v0.8.39
2015-09-22 16:23:51 +01:00
Ben Newman
5553fddd84
Upgrade Regenerator to v0.8.39
...
Most notably, this release fixes a bug that made it difficult for Promise implementations to track unhandled rejections when using async functions: 3d8ee21f3a
2015-09-22 11:16:22 -04:00
Jhen
441f5a14f6
[es6.tailCall] Update tests
2015-09-20 04:01:24 +08:00
Jhen
3e0b9b6b4e
[es6.tailCall] Move '<arg> = undefined' to the place in front of Continue statement
2015-09-20 04:01:10 +08:00
Alexander Zeilmann
4f57a7b092
BinaryIntegerLiterals, OctalIntegerLiterals, HexIntegerLiterals should not have a decimal point afer them - fixes #2402
2015-09-19 16:20:32 +02:00