2457 Commits

Author SHA1 Message Date
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
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
Daniel Kao
216cbf5bd6 Move syntax-dynamic-import to stage-3 (#5610) 2017-04-08 10:14:23 -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
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
Henry Zhu
c732f5e1d0 v7.0.0-alpha.7 2017-04-05 17:13:26 -04: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
Logan Smyth
d39400c9d5 Separate config/plugin loading from config processing. (#5563) 2017-04-04 14:48:48 -07:00
Logan Smyth
9155c613cb Change babel-register default ignore to cwd content. (#5583) 2017-04-04 14:47:49 -07:00
Daniel Tschinder
b2ced1d6bd Update babylon to latest beta (#5585) 2017-04-04 22:32:31 +02:00
Brian Ng
7ad697cd86 Merge pull request #5580 from loganfsmyth/fix-docs
Remove incorrect docs.
2017-04-04 08:56:47 -05:00
Alex Rattray
348cc5eeff Use raw value of JSXText and JSXAttribute (#5256) 2017-04-04 15:46:20 +02:00
Logan Smyth
5576a8942b Remove incorrect docs. 2017-04-03 21:13:00 -07:00
Carlos Saito
abcbb07357 Do not transform const to var
[skip ci]
2017-04-02 18:54:10 +02:00
Carlos Saito
4276462a07 Function without renaming
[skip ci]
2017-04-02 18:54:10 +02:00
Carlos Saito
95c65ec1cb Improve example of babel-plugin-transform-es2015-arrow-functions
[skip ci]
2017-04-02 14:27:15 +02:00
Logan Smyth
878a7c5fdb Add tests to test the plugin ordering. (#5571) 2017-03-31 18:52:58 -07:00
Logan Smyth
fa23b662c2 Add empty .babelrc for CLI tests. 2017-03-27 14:46:39 -07:00
Henry Zhu
3d74dc044f fix ci 2017-03-27 17:26:39 -04:00
Henry Zhu
67253c5d27 babelrc false to relevant files 2017-03-27 17:19:02 -04:00
Henry Zhu
f3ef03abfd use caret for devDeps 2017-03-27 16:32:13 -04:00
Henry Zhu
dea509377c v7.0.0-alpha.6 2017-03-27 15:09:36 -04:00
Kai Cataldo
1f2f63ccdf Fix: config lookup logic in babel-core (#5550)
This fixes a bug that was causing the config lookup to stop
when a package.json file was found even if it did not contain a
"babel" key.
2017-03-27 11:54:57 -07:00
Henry Zhu
7a1ccf076c Misc (#5545)
* normalize npmignores

* fixup eslint ignore, etc

* lint

* remove unused

* rm from gitignore

* use strict
2017-03-25 21:46:16 -04:00
Henry Zhu
cff1c8db39 v7.0.0-alpha.5 2017-03-24 10:38:10 -04:00
Henry Zhu
b8cf7b89f2 keep one core-js helper file in git, remove babel-runtime from deps (#5540) 2017-03-24 10:36:41 -04:00
azrael25
0eb898d95b fix babel-runtime helpers gererator (#5539) 2017-03-24 08:56:41 -04:00
Henry Zhu
d0b6db1901 v7.0.0-alpha.4 2017-03-23 18:06:48 -04:00
Henry Zhu
d7a77f4161 register should be a devDep 2017-03-23 18:04:46 -04:00
Logan Smyth
a498371005 Ensure the ignore regex is consistent and initialized fully. (#5534) 2017-03-23 17:44:03 -04:00
Henry Zhu
ab68800e06 v7.0.0-alpha.3 2017-03-23 15:49:01 -04:00
Brian Ng
c687b703ae Ensure babel-cli tests compare generated output with out-files (#5205) 2017-03-23 12:06:56 -04:00
Boopathi Rajaa
c9a851a218 Cleanup traverse cache APIs (#5494) 2017-03-23 12:00:28 -04:00
Damien Maillard
299e51298c Fix path.remove() leading & trailing comments sharing (#5504) 2017-03-23 11:55:14 -04:00
Patrick Williams
0cd541b7d8 document cache option for babel-register (#5440) [skip ci] 2017-03-23 11:44:44 -04:00
Jason Julian
640515b3f6 removed unused alias in babel-runtime (#5516) 2017-03-22 20:03:35 -04:00
Henry Zhu
e155859b12 Merge pull request #5528 from babel/fix-babel-runtime-helpers
Fix babel runtime helpers
2017-03-22 20:02:29 -04:00
Artem Yavorsky
60b5409183
Bump regenerator-transform version to 0.9.11 2017-03-22 18:02:09 -05:00
Henry Zhu
26b9f9ed15 commit one helper to git to check regressions 2017-03-22 18:18:08 -04:00
Henry Zhu
483958b24d fix runtime helpers
Ref f3f907bdb3 (diff-339968af11c78f10673c78c6c7568d2fR34)
2017-03-22 18:07:11 -04:00