9069 Commits

Author SHA1 Message Date
Christoph Pojer
003d03789f Merge pull request #4979 from davidaurelio/generator-raw-mappings
babel-generator: Expose raw mappings
2016-12-16 20:00:48 +00:00
Henry Zhu
bfe4faa0d9 fix tests 2016-12-16 11:50:57 -05:00
Justin Ridgewell
852348d700 Fix default parameter - rest parameter edge case (#3572)
When the rest parameter shared the same name as a default identifier
for a param, the loop would be hoisted outside the function!

```js
var a = 1;

for (var _len = arguments.length, a = Array(_len > 1 ? _len - 1 : 0),
_key = 1; _key < _len; _key++) {
  a[_key - 1] = arguments[_key];
}

function foo2() {
  var b = arguments.length <= 0 || arguments[0] === undefined ? a :
arguments[0];

  assert.equal(b, 1);
}
foo2(undefined, 2);
```

And if you tried to reference any index or `#length`, it’d blow up and
refuse to transpile.
2016-12-16 10:53:52 -05:00
Brian Ng
196cdd4dce Bail on sharing comments with siblings if key is a string (#5007) 2016-12-16 10:52:48 -05:00
Henry Zhu
69a9f6bf70 babel-helper-transform-fixture-test-runner: pass require as a global (#4999) 2016-12-16 10:51:37 -05:00
Henry Zhu
c1e2b0dddc internal: don't run watch with the test env (skip building with code coverage) [skip ci] (#5005) 2016-12-16 10:51:18 -05:00
Diogo Franco (Kovensky)
31b85a36dd Add fixture for known bug 2016-12-16 11:25:42 +09:00
Diogo Franco (Kovensky)
ccf2f56085 Don't try to visit ArrowFunctionExpression, they cannot be named
They will still be visited if the arrow functions are transformed to regular
functions.

Fixes #5004
2016-12-16 11:14:47 +09:00
David Aurelio
2907d663dc add comments 2016-12-16 01:12:50 +00:00
Sven SAULEAU
dabac6ed5f [skip ci] update README (#100) 2016-12-15 13:30:28 -05:00
Henry Zhu
a6cbb76a0b Merge pull request #96 from babel/readme-tweaks
Tweak README
2016-12-14 23:00:26 -05:00
Brian Ng
72f2cc59ed edits 2016-12-14 21:14:19 -06:00
Brian Ng
4760d2ed09 Merge pull request #97 from babel/readme-improvements
Improve README
2016-12-14 20:48:11 -06:00
Diogo Franco
88227f0677 Merge branch 'readme-tweaks' into readme-improvements 2016-12-15 11:39:23 +09:00
Diogo Franco
bf9ff5c4e6 Improve README 2016-12-15 11:17:41 +09:00
Brian Ng
f4788264c5 Tweak README 2016-12-14 19:57:10 -06:00
Henry Zhu
e06faa99da fix sizing [skip ci] 2016-12-14 10:31:23 -05:00
Henry Zhu
63f673593e typo [skip ci] 2016-12-14 10:30:43 -05:00
Henry Zhu
a025cf1890 changelog for v6.20.1 to v6.20.3 [skip ci] 2016-12-14 10:29:47 -05:00
Henry Zhu
d1160cabb1 mention repl/link [skip ci] 2016-12-14 09:09:39 -05:00
Henry Zhu
cd2a9b0418 add semver label [skip ci] 2016-12-14 09:07:54 -05:00
David Aurelio
4cb7e5009a Add missing property descriptor values 2016-12-14 10:18:18 +00:00
Henry Zhu
dbcd9f4ad6 v1.1.1 changelog [skip ci] 2016-12-13 18:27:40 -05:00
Henry Zhu
01415d3fd8 1.1.1 2016-12-13 18:11:53 -05:00
Henry Zhu
7e8fbd5177 fix issue with using Object.values 2016-12-13 18:11:45 -05:00
Henry Zhu
c9ff11ccb8 1.1.0 2016-12-13 18:00:47 -05:00
Henry Zhu
206f60767b fixes [skip ci] 2016-12-13 18:00:11 -05:00
Henry Zhu
b5e00eeb5b changelog 1.1.0 [skip ci] (#93) 2016-12-13 17:59:23 -05:00
Henry Zhu
45370e3553 add exclude option, rename whitelist to include (#89) 2016-12-13 16:16:54 -05:00
Brian Ng
0ad9b7a177 Merge pull request #88 from babel/feature/move-erroneous-dependency-to-dev
Move linting dependency to be dev only
2016-12-12 12:03:58 -06:00
Eric Baer
81c157b285 Cleanup lib before rebuilding (#87) 2016-12-12 12:34:27 -05:00
Eric Baer
3ef4001521 Move linting dependency to be dev only 2016-12-12 09:31:45 -08:00
Eric Baer
e379681b58 Update pathnames to aviod uppercase + consistent with other babel projects 2016-12-12 08:59:52 -05:00
Henry Zhu
8622d0af39 lint [skip ci] 2016-12-12 08:57:51 -05:00
Artem Yavorsky
635e76c85a Optimize result filtration. (#77) 2016-12-12 08:48:18 -05:00
Henry Zhu
823facba3f call out useBuiltIns [skip ci] 2016-12-12 08:47:06 -05:00
Eric Baer
9439b7fe1a Refactor build data for clarity/consistency (#81) 2016-12-12 08:11:19 -05:00
Eric Baer
4a27c280ba Update linting rules to cover all js (#82) 2016-12-12 08:02:44 -05:00
Yuta Hiroto
68148b8a05 Fix links in CONTRIBUTING.md [skip ci] (#4989) 2016-12-12 08:00:16 -05:00
Eric Baer
a9d99fd135 Update eslint config to align with other babel projects (#79) 2016-12-12 00:33:18 -05:00
Henry Zhu
51fd3dafd1 add electron, opera to examples [skip ci] 2016-12-11 21:30:27 -05:00
Henry Zhu
69161decd3 add some other projects! [skip ci] 2016-12-11 21:27:49 -05:00
Henry Zhu
0ed97ce941 make installing runtime/transform-runtime clearer [skip ci] (#4991) 2016-12-11 21:04:24 -05:00
Muhammad Habib Rohman
8346c0db41 Fix typo (#78) [skip ci] 2016-12-11 19:18:07 -05:00
Nazim Hajidin
a98e1a0604 Fix PR link in changelog. (#75) [skip ci] 2016-12-10 16:21:17 -05:00
Henry Zhu
37c1e40e5c update example [skip ci] (#74) 2016-12-10 12:07:07 -05:00
Henry Zhu
b78eb34fa6 v1.0.2 changelog [skip ci] (#73) 2016-12-10 11:40:35 -05:00
Henry Zhu
21dfdd8bbb 1.0.2 2016-12-10 11:34:07 -05:00
Brian Ng
3b60dc5444 Fix issue with Object.getOwnPropertySymbols (#71) 2016-12-10 11:33:22 -05:00
Henry Zhu
9a69fff935 1.0.1 2016-12-10 10:20:22 -05:00