7521 Commits

Author SHA1 Message Date
Sérgio Batista
3a1c0c84fb Fix broken repository url (#5100) 2017-01-13 15:16:07 +01:00
Ryan Tsao
39d18679e1 Fix getBindingIdentifiers in babel-types (#5068)
* Added getBindingIdentifier tests

* Added failing test for getBindingIdentifiers

* Fix babel-types getBindingIdentifiers
2017-01-09 09:08:07 -05:00
Daniel Tschinder
dc617129f6 Optimize removal-hooks for ArrowFunctions (#5076) 2017-01-09 09:05:23 -05:00
Karsten Gohm
de1a76413f Static function call result comment does not match variable content (#5077)
static staticProperty, defined in line 18, value is 'babeliscool' but comment on line 33 the given sample output is 'babelIsCool'. 
this commit fixes this inconsistency
2017-01-09 09:02:19 -05:00
Anthony Zotti
d1cd179c45 Update LICENSE (#5058) 2017-01-05 22:12:12 +01:00
Andrii Bida
3ef99d1467 Fix typo in README.md (#5070)
Minor typo fix: added the missing space.
2017-01-05 14:43:26 -06:00
Andres Suarez
796c6c0763 Remove unused dependency (#5038) 2017-01-05 08:17:16 -05:00
Brian Ng
2a8d3173d3 Remove unused define-map helper from computed-properties (#5053) 2017-01-05 08:16:35 -05:00
Brian Ng
f611cab0f5 Fix some doc lint issues (#5061)
* Remove duplicate usage section from transform-es2015-classes [skip ci]

* Fix doc lint issue with transform-function-bind [skip ci]
2017-01-02 09:01:08 +01:00
Sven SAULEAU
39cda64fe2 docs: [skip ci] incorrect snippet language (#5059) 2017-01-01 14:59:50 +01:00
Sven SAULEAU
b443f3e158 Merge pull request #5051 from gitanupam/patch-1
Adding more info to the Install section
2016-12-29 08:28:49 +01:00
Sven SAULEAU
fbeadc46ea [skip ci] merge documentation with the website 2016-12-28 21:49:40 +01:00
gitanupam
438c872e64 Adding more info to the Install section
It was confusing to see the Install command for babel-present-react again when the earlier command to install CLI also included babel-preset-react. Hence the edit.
2016-12-28 16:24:00 +05:30
Brian Ng
b1635f8c05 Fix some README links [skip ci] (#5045) 2016-12-27 09:30:14 -05:00
Janus Troelsen
b2e6926042 Upgrade glob to v7 (#5027) 2016-12-22 23:57:53 +01:00
Henry Zhu
b583829809 remove plugin links, just use the website [skip ci] (#5031) 2016-12-22 11:06:00 -05:00
Sven SAULEAU
1f116e1e9d Merge pull request #5011 from babel/add-team
Add Team section [skip ci]
2016-12-22 16:49:28 +01:00
Logan Smyth
f89461906d Merge pull request #5026 from chicoxyzzy/dont_add_spaces_in_template_literals
Remove unnecessary spaces around template element
2016-12-21 21:19:08 -08:00
chico
07b5b0edf8 fix one more fixture 2016-12-21 19:28:36 +03:00
chico
2d7703afd9 Like was discussed in Slack chat with @ljharb and @hzoo spaces was added with no particular reason.
https://babeljs.slack.com/archives/discussion/p1481744017001806

I'm still not sure if everything here is correct (for example source maps)
2016-12-21 19:14:39 +03:00
Logan Smyth
ce0c620a9f Merge pull request #4729 from rmacklin/add-resolvePlugin-and-resolvePreset
Add resolvePlugin and resolvePreset methods to babel-core API
2016-12-20 08:42:27 -08:00
Sven SAULEAU
8edc1d9530 Merge pull request #5014 from babel/xtuc-patch-2
Update babel-core's README
2016-12-18 15:21:51 +01:00
Logan Smyth
1a8150ef97 v6.21.1 2016-12-17 21:15:33 -08:00
Logan Smyth
405697558e v6.21.1 changelog [skip ci] 2016-12-17 21:09:26 -08:00
Logan Smyth
545162ff1a Merge pull request #5015 from loganfsmyth/revert-react-jsx
Revert babel-helper-builder-react-jsx change from #4988
2016-12-17 21:07:56 -08:00
Logan Smyth
dbc07220ae Revert babel-helper-builder-react-jsx change from #4988 2016-12-17 20:50:03 -08:00
Sven SAULEAU
9d76f0b2de [skip ci] update README 2016-12-17 16:37:45 +01:00
Sven SAULEAU
3ef8e61d72 [skip ci] update babel-core's README 2016-12-17 12:41:49 +01:00
Sven SAULEAU
aaa250c17a [skip ci] Split members in README 2016-12-17 11:20:02 +01:00
Sven SAULEAU
9fd3f204dd [skip ci] update README 2016-12-17 11:12:36 +01:00
Sven SAULEAU
84bae86ae2 [skip ci] update README
Add xtuc to members
2016-12-17 10:50:24 +01:00
Henry Zhu
96084983e6 Add Team section [skip ci] 2016-12-16 20:38:27 -05:00
Henry Zhu
77d9e3e5c4 v6.21.0 2016-12-16 16:55:53 -05:00
Henry Zhu
3c28b4e1ac remove old code/license [skip ci] 2016-12-16 16:54:08 -05:00
Henry Zhu
542e4e9ee1 update babel-types readme [skip ci] 2016-12-16 16:50:41 -05:00
Henry Zhu
a73115f401 update core [skip ci] 2016-12-16 16:49:58 -05:00
Henry Zhu
8442dbdf29 v6.21.0 changelog [skip ci] (#5010) 2016-12-16 16:43:18 -05:00
Dan Harper
d90aaf2c76 Print Flow optional & type annotations in function params with defaults (#4872)
Fixes #4863
2016-12-16 15:31:05 -05:00
Brian Ng
01bc43464e Ensure directives get printed in block statements (#4873) 2016-12-16 15:30:14 -05:00
Justin Ridgewell
2bbc36d25e JSXSpreadChildren, throw in transform-react-jsx (#4988) 2016-12-16 15:30:00 -05:00
Henry Zhu
670ee996c8 Merge pull request #4940 from appden/fix-react-constant-elements
Fix React constant element bugs
2016-12-16 15:29:05 -05:00
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
David Aurelio
2907d663dc add comments 2016-12-16 01:12:50 +00: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