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
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
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
Yuta Hiroto
68148b8a05
Fix links in CONTRIBUTING.md [skip ci] ( #4989 )
2016-12-12 08:00:16 -05:00
Henry Zhu
0ed97ce941
make installing runtime/transform-runtime clearer [skip ci] ( #4991 )
2016-12-11 21:04:24 -05:00
Brian Ng
7b5e6f1e50
Add example to es2015-unicode-regex [skip ci] ( #4983 )
2016-12-09 11:55:19 -05:00
David Aurelio
7ea283eb82
babel-generator: Expose raw mappings
...
Exposes raw mappings when source map generation is enabled. To avoid the cost of source map generation for consumers of the raw mappings only, `.map` is changed to a getter that generates the source map lazily on first access.
2016-12-09 09:55:42 +00:00
Henry Zhu
71a9e3275d
v6.20.3
2016-12-08 21:55:37 -05:00
Logan Smyth
5aa87aab8d
Calculate the correct arity for async functions with destructuring - fixes #4977 ( #4978 )
2016-12-08 21:51:24 -05:00
Henry Zhu
d597678def
v6.20.2
2016-12-08 20:15:21 -05:00
Henry Zhu
cfc1e5cb38
fix object spread ( #4976 )
2016-12-08 20:13:57 -05:00
Henry Zhu
10d75f6d8a
fix clean lib
2016-12-08 19:45:26 -05:00
Henry Zhu
07d49ffabf
update readme [skip ci]
2016-12-08 19:33:55 -05:00
Henry Zhu
2bb9ab04e3
v6.20.1
2016-12-08 19:32:27 -05:00
Henry Zhu
88bc28c414
Fix nested object spread ( #4974 )
2016-12-08 19:30:50 -05:00
Henry Zhu
608e77e389
v6.20.0
2016-12-08 18:25:39 -05:00
Henry Zhu
16a05166b2
v6.20.0 changelog [skip ci] ( #4971 )
...
* v6.20.0 changelog [skip ci]
* remove old license since rewrite [skip ci]
2016-12-08 18:17:33 -05:00
Brian Ng
db04f99124
Raise limit on code size before compacting ( #4965 )
2016-12-08 18:08:56 -05:00
Ben Newman
16c84fb353
Use regenerator-transform to implement babel-plugin-transform-regenerator ( #4881 )
...
* Use regenerator-transform to implement babel-plugin-transform-regenerator.
Though I believe this is safe to merge, you may want to wait to merge it
until https://github.com/facebook/regenerator/pull/259 is merged. That
pull request also provides more explanation of why I think moving the
implementation of Regenerator back to its original repository is a good
idea. I'm happy to compromise on anything necessary to make this happen.
Note that the regenerator-transform version is pegged to an exact version
(0.9.7). Past experience has taught me that releasing new versions of
Regenerator is almost impossible if client projects are allowed to pull in
new patch versions automatically. I will happily submit a pull request
whenever a new version is released.
* Remove never-used babel-plugin-transform-regenerator/.test directory.
* regenerator-transform to 0.9.8
2016-12-08 15:17:03 -05:00
Boopathi Rajaa
73ff13f326
Add getBindingIdentifierPaths/getOuterBindingIdentifierPaths ( #4876 )
2016-12-08 12:43:14 -05:00
Justin Ridgewell
32aa1f75d6
Hoist generateDeclaredUidIdentifier helper function ( #4934 )
2016-12-08 12:42:22 -05:00