8380 Commits

Author SHA1 Message Date
Logan Smyth
1c078e5a76 Add tests for caching API and .babelrc.js functions. 2017-04-17 11:20:34 -07:00
Henry Zhu
6a478c48fb Deprecate: move babel-preset-latest to babel/babel-archive (#5638) [skip ci] 2017-04-17 11:09:04 -04:00
Xavier Damman
28831c144d added opencollective backers and sponsors (#5572) [skip ci] 2017-04-15 12:51:31 -04:00
Logan Smyth
ad250ef10a Merge pull request #5602 from loganfsmyth/option-manager-cleanup
Refactor OptionManager to be a short class with a bunch of pure helper functions.
2017-04-14 14:25:45 -07:00
Logan Smyth
ccbb2eb8d4 Disallow cache configuration after handler evaluation. 2017-04-14 14:19:20 -07:00
Logan Smyth
2774cb7d42 Allow function-based .babelrc.js files. 2017-04-13 20:17:32 -07:00
Logan Smyth
911027f289 Cache config files based on mtime rather than file content. 2017-04-13 20:17:31 -07:00
Logan Smyth
2163acd6c2 Refactor static file processing with a helper wrapper. 2017-04-13 13:23:36 -07:00
Logan Smyth
a2f334b9e9 Fix issue with #5625 2017-04-12 11:41:54 -07:00
Artem Yavorsky
3146b245ed Test arrow function inside generator. (#5605) 2017-04-12 11:13:58 -07:00
Logan Smyth
d1c954b36f Allow negation of ignore and only patterns. (#5625) 2017-04-12 11:10:33 -07:00
Logan Smyth
248c240998 Use clearer function name. 2017-04-10 10:01:01 -07:00
Logan Smyth
d7e10a3adc Misc refactoring of OptionManager. 2017-04-10 10:01:01 -07:00
Logan Smyth
d16991054e Pass the config through mergeOptions. 2017-04-10 10:01:01 -07:00
Logan Smyth
e13320ef73 Separate plugin/preset loading and plugin/preset evaluation. 2017-04-10 10:01:01 -07:00
Logan Smyth
adb903fd4b Standardlize plugin/preset result object. 2017-04-10 10:01:01 -07:00
Logan Smyth
75847306fd Expose passes as a first-class output of OptionManager. 2017-04-10 10:01:01 -07:00
Logan Smyth
1fecf286c6 Avoid the onResolve callback. 2017-04-10 10:01:01 -07:00
Logan Smyth
ac5c13c1c8 Move OptionManager statics to be module functions to the lack of sideeffects clearer. 2017-04-10 10:01:01 -07:00
Logan Smyth
258e82ca13 Expose a function rather than a class from option-manager. 2017-04-10 10:01:01 -07:00
Logan Smyth
86fc4fbc4f Avoid using OptionManager statics 2017-04-10 10:01:01 -07:00
Logan Smyth
ded4ca48cd Move .inherits handling to OptionManager. 2017-04-10 10:01:01 -07:00
Logan Smyth
2ea3338b8e Set a basic coverage rate to avoid tiny percentage changes from 'auto'. (#5619) 2017-04-10 09:58:44 -07:00
ssuman
412180e203 Increase the code coverage for traverse evaluation (#5363)
* When applied this commit will increase the code coverage for evaluation.js

* Fixing linting issues
2017-04-09 16:49:37 -07:00
Brian Ng
cd9bb7ba10 Ensure default exported classes keep entry in export table (#5488) 2017-04-09 16:39:15 -07:00
Erik Simmler
769eddc788 Avoid creating a new line comment when a block comment is preceded by a forward slash (#5562)
Fixes #5557
2017-04-09 16:36:18 -07:00
Jan Kassens
a1a795321a Update deprecation warning on flow bindings (#5615)
Babel 6 is at 6.24, doesn't seem like this is getting removed in version 6 anymore.
2017-04-09 16:11:06 -07:00
Daniel Kao
216cbf5bd6 Move syntax-dynamic-import to stage-3 (#5610) 2017-04-08 10:14:23 -04:00
Brian Ng
11b7db05fb Merge pull request #5613 from babel/backport-doc-changes
Backport doc changes
2017-04-08 09:08:47 -05:00
Sven SAULEAU
ca435b6d48
Improve options documentation for babel-plugin-transform-runtime #5401 2017-04-08 10:18:44 +02:00
Sven SAULEAU
982aba38e4
[doc] Fix: comments in usage w/ options #5400 2017-04-08 10:18:01 +02:00
Sven SAULEAU
c1b3740707
document cache option for babel-register #5440 2017-04-08 10:16:55 +02:00
Sven SAULEAU
e9bc213b14
Update coffescript/register reference link address #5475 2017-04-08 10:15:43 +02:00
Sven SAULEAU
e2c2d7d742
Update babel-generator's README #5517 2017-04-08 10:14:56 +02:00
Sven SAULEAU
2cb4d08d19
Improve example of babel-plugin-transform-es2015-arrow-functions #5573 2017-04-08 10:14:19 +02:00
Sven SAULEAU
149acc40bd
Remove incorrect docs. #5580 2017-04-08 10:13:47 +02:00
Sven SAULEAU
d40cb31685
Update transform-es2015-modules-commonjs doc #5588 2017-04-08 10:13:20 +02:00
Henry Zhu
f8da5e3457 v6.24.1 2017-04-07 11:19:02 -04:00
Sven SAULEAU
0b917c00d6 Merge pull request #5573 from exacs/docs-babel-plugin-transform-es2015
Improve example of babel-plugin-transform-es2015-arrow-functions
2017-04-07 08:17:43 +02:00
Henry Zhu
2a874dff8c fix the fixtures after PR was merged 2017-04-06 14:14:15 -04:00
Andres Suarez
f0dc710a46 Remove unnecessary returns in asyncToGenerator helper (#5548)
* Remove unnecessary returns in asyncToGenerator helper

* Reuse "then" callbacks in asyncToGenerator helpher
2017-04-06 11:40:55 -04:00
MrSpider
fd3a2c285a Fix replacing function declaration in export default (fixes #4468) (#5456) 2017-04-06 11:40:31 -04:00
Henry Zhu
3534bc872d Merge pull request #5567 from aickin/update-regenerator-transform
Update regenerator-transform to new version
2017-04-06 11:18:03 -04:00
Diogo Franco
452f8f150c Always use the native (or polyfilled) Promise in transform-async-to-generator (#5536)
* Always use the native (or polyfilled) Promise in transform-async-to-generator

Fixes #5531

* Simplify scope handling to only un-shadow the Program's Promise

Only the helper needs to see the native Promise.
2017-04-06 11:17:31 -04:00
Daniel Tschinder
66f8546107
Add test for regression 4219 2017-04-06 15:51:17 +02:00
Henry Zhu
c732f5e1d0 v7.0.0-alpha.7 v7.0.0-alpha.7 2017-04-05 17:13:26 -04:00
Henry Zhu
9acbcccff8 update issue template [skip ci] (#5591) 2017-04-05 15:26:26 -04:00
Brian Ng
ae0681aa3f Merge pull request #5588 from babel/xtuc-patch-2
Update transform-es2015-modules-commonjs doc
2017-04-05 09:48:14 -05:00
Sven SAULEAU
beae0ff9ba docs: [skip ci] type in plugin's name 2017-04-05 16:43:56 +02:00
Henry Zhu
8f848b4b32 add individual polyfill files (#5584)
* add individual polyfill files

* rename files

* use preset-env for the script [skip ci]
2017-04-05 10:11:58 -04:00