11661 Commits

Author SHA1 Message Date
Henry Zhu
492ee95f27 Merge pull request #5522 from babel/update-babylon 2017-03-22 10:49:29 -04:00
Daniel Tschinder
32eabf620b Fix push-pop logic in flow (#405) 2017-03-22 10:25:10 +01:00
Sven SAULEAU
2b774f46fb fix: handle bailed when recursive convert (#5499) 2017-03-22 09:18:37 +01:00
Arshabh Kumar Agarwal
a55f38b127 Changes the throw error for test in super-illegal-non-constructor-call (#5450) 2017-03-22 00:24:28 -04:00
Henry Zhu
ceb68f5bb7 babylon@7.0.0-beta.6 2017-03-22 00:24:00 -04:00
Henry Zhu
af5fdc2ebd 7.0.0-beta.6 2017-03-22 00:08:04 -04:00
Henry Zhu
ad1eb149fe update lock [skip ci] 2017-03-22 00:07:32 -04:00
Arshabh Kumar Agarwal
964105e3fb Improves error message when super is called outside of constructor (#408) 2017-03-21 17:44:21 -04:00
Henry Zhu
0f982799b6 Merge branch '7.0' 2017-03-21 17:05:48 -04:00
Kevin Gibbons
2e467ef3bc Add support for invalid escapes in tagged templates (#274)
Per the stage-3 TC39 proposal:
https://github.com/tc39/proposal-template-literal-revision
2017-03-21 16:55:54 -04:00
Kevin Gibbons
fab343e379 Add support for invalid escapes in tagged templates (#274)
Per the stage-3 TC39 proposal:
https://github.com/tc39/proposal-template-literal-revision
2017-03-21 16:50:34 -04:00
James Browning
5f048b4f5d [7.0] Moved value field in spec from ObjectMember to ObjectProperty as ObjectMethod's don't have it (#415) [skip ci] 2017-03-21 16:44:54 -04:00
Henry Zhu
6a94d0eb9c 7.0.0-beta.5 2017-03-21 15:56:16 -04:00
Henry Zhu
7d37017a5f Merge pull request #5489 from loganfsmyth/conf-refactor
Misc fixes + Move babel-core config processing from transformation/file/options into top-level folder
2017-03-21 14:12:41 -04:00
Henry Zhu
7551a8e666 Update yarn.lock 2017-03-21 13:04:54 -04:00
Henry Zhu
4901f33423 remove unnecessary call 2017-03-21 13:03:54 -04:00
Henry Zhu
95c905c5d2 fix markdown rendering [skip ci] 2017-03-20 09:32:32 -04:00
Aaron Ang
94024961ba Update error message when importing babel-cli (#5507) 2017-03-19 15:59:01 -07:00
Daniel Tschinder
0811438c82 Update flow (#422) 2017-03-19 22:07:16 +01:00
Andy
0545173f66 Test runner: Detect extra property in 'actual' but not in 'expected'. (#407)
* Test runner: Detect extra property in 'actual' but not in 'expected'.

Also update all expected.json where this would result in errors.

* Include rmExpected.js script in case it is needed again
2017-03-19 22:03:11 +01:00
Daniel Tschinder
82b7872cb8 Optimize travis builds (#419)
* Optimize travis builds

* Use yarn

* Fix babel tests to correctly fail

* Check against 7.0 branch of babel
2017-03-19 21:58:20 +01:00
Daniel Tschinder
ae8728c146
Merge branch 'master' into 7.0 2017-03-19 14:21:00 +01:00
Henry Zhu
b3c7337fac
Fix changelog [skip ci] 2017-03-19 14:14:00 +01:00
Artem Yavorsky
70354013f1 Fix visitor inheritance. 2017-03-19 14:46:59 +02:00
Artem Yavorsky
c42e027602 Add object rest spread syntax using plugin. 2017-03-19 14:02:01 +02:00
Diogo Franco
256fcbc58f Treat "await" as an invalid identifier (#4954)
It is valid (outside `async` functions) in the "script" parse goal, but always invalid in the "module" parse goal.

Fixes #4952.
2017-03-19 11:28:52 +09:00
Artem Yavorsky
18d6ba9947 Fix export array rest expected output. 2017-03-19 01:18:22 +02:00
Artem Yavorsky
c82b084927 Fix object rest params for exports. 2017-03-19 00:32:27 +02:00
Artem Yavorsky
45b41740d8 Consider default params for object pattern. 2017-03-18 16:26:22 +02:00
Artem Yavorsky
b608e28aa7 Consider rest params for array pattern in exports. 2017-03-18 16:02:06 +02:00
Artem Yavorsky
06f67e1ad3 Consider default parameters for array pattern. 2017-03-18 15:42:39 +02:00
Artem Yavorsky
b5bb89b30a Add array pattern to exports destructuring. 2017-03-18 15:12:46 +02:00
Brian Ng
baafe486b3 Add useBuiltins and useESModules options to transform-runtime README [skip ci] (#5481) 2017-03-17 14:55:55 -04:00
Brian Ng
cd3dbe700c Re-enable yarn/node 4 on travis 2017-03-17 12:47:30 -05:00
Henry Zhu
534f621183 remove unused use of removed util class 2017-03-17 10:41:19 -04:00
Logan Smyth
a15de19888 Encapsulate config loading in config/ index file. 2017-03-17 00:04:00 -07:00
Logan Smyth
3c63431c7e Move config loading helpers into config folder. 2017-03-17 00:03:59 -07:00
Logan Smyth
f3f907bdb3 Remove unneeded helper file. 2017-03-17 00:03:59 -07:00
Logan Smyth
7b5d4fe069 Resolve parser and generator plugins in configuration resolution. 2017-03-17 00:03:59 -07:00
Logan Smyth
b71569ff6c Remove unneeded util.js file. 2017-03-17 00:03:59 -07:00
Logan Smyth
3e2d731d50 Move the Store class to be inside transformation. 2017-03-17 00:03:59 -07:00
Logan Smyth
12a2124d16 Move the deeply nested option logic to a toplevel folder. 2017-03-17 00:03:58 -07:00
Logan Smyth
6c4810cea5 Move Plugin class to be part of config loading, independent of File. 2017-03-17 00:03:58 -07:00
Logan Smyth
05ee30c9f7 Use the standard option parser to load the internal plugins. 2017-03-17 00:03:58 -07:00
Logan Smyth
38720ae309 Remove store subclassing from Plugin class. 2017-03-17 00:03:58 -07:00
Logan Smyth
bf13ed4da0 Limit where certain arguments are allowed in Babel config. 2017-03-17 00:03:58 -07:00
Logan Smyth
344f0a68c9 Centralize preset processing from two loops to one. 2017-03-17 00:03:57 -07:00
Logan Smyth
62def8da19 Make presets consistently resolve string values relative to their config file location. 2017-03-17 00:03:50 -07:00
Logan Smyth
39c862c195 Make only/ignore relative to cwd/config file and move only/ignore checking all to core. (#5487)
* Make only/ignore relative to cwd/config file and move only/ignore checking all to core.
2017-03-16 23:22:43 -07:00
Logan Smyth
b6194a8533 Merge pull request #5467 from loganfsmyth/clean-options
Misc reorganizing and prep for ignore/only refactoring
2017-03-16 20:25:20 -07:00