5752 Commits

Author SHA1 Message Date
Sebastian McKenzie
3974dd762d add node 4.0 to travis matrix 2015-10-25 21:04:02 +00:00
Sebastian McKenzie
332bde6a0d v5.8.29 2015-10-24 17:26:54 +01:00
Sebastian McKenzie
355905a3bb v5.8.28 2015-10-23 18:00:12 +01:00
Sebastian McKenzie
37604bd572 v5.8.27 2015-10-23 17:54:03 +01:00
Sebastian McKenzie
35169762ef add 5.8.27 changelog 2015-10-23 17:53:21 +01:00
Sebastian McKenzie
7c3f0f98f5 remove faulty tests 2015-10-23 17:52:21 +01:00
Sebastian McKenzie
0b71625440 sync babel 5.x with 6.0 scope/traversal fixes - fixes #2570, fixes #2574 2015-10-23 17:51:18 +01:00
Sebastian McKenzie
745f9fb5bd clean up babel-code-frame, var -> let etc - closes #2505 2015-10-08 01:19:27 +01:00
Sebastian McKenzie
9c2b4e30b6 use basename of relative filename when using source map defaults - fixes #1567 2015-10-05 17:46:59 +01:00
Sebastian McKenzie
71031be044 Merge pull request #2405 from jhen0409/patch-1
[es6.tailCall] Move '<arg> = undefined' to the place in front of Continue statement.
2015-10-05 17:26:45 +01:00
Sebastian McKenzie
9320d661f9 flesh out async-to-generator and bluebird-coroutines transformers, add babel-helper-async-to-generator module 2015-10-05 17:25:43 +01:00
Sebastian McKenzie
de45daaef8 don't execute the callback inside of a try-catch as if the callback errors then it'll emit the error back to the callback 2015-10-05 16:46:45 +01:00
Sebastian McKenzie
52202543ff better error messages for unknown extends clause and unknown options 2015-10-05 16:46:20 +01:00
Sebastian McKenzie
51c9d59050 allow plugins to be instances 2015-10-05 16:45:47 +01:00
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