2124 Commits

Author SHA1 Message Date
Ben Newman
44fe114939 Upgrade regenerator-runtime to version 0.10.0. (#4877)
This changes the behavior of `runtime.awrap` to match the output of https://github.com/leebyron/async-to-gen.

See this commit for further explanation of why this change is a good idea: e62a7e5008
2016-12-08 10:13:53 -05:00
wtgtybhertgeghgtwtg
d1c640ea61 Add /.test and /src to babel-plugin-transform-regenerator .npmignore. (#4961) [skip ci] 2016-12-08 10:12:29 -05:00
Logan Smyth
80dfdd2a43 Only base async fn arity on non-default/non-rest params - fixes #4891 (#4901) 2016-12-08 09:48:15 -05:00
Sean Larkin
39c92160f7 Add generator support for Import (#4945) 2016-12-07 18:22:12 -05:00
Sven SAULEAU
455d888ce8 update package documentation (#4948) [skip ci] 2016-12-06 14:24:52 -05:00
Sven SAULEAU
cf37677c90 Update README.md (#4937) [skip ci] 2016-12-05 13:39:14 -05:00
Sven SAULEAU
351c1d3b4f Update README [skip ci] (#4938) 2016-12-05 13:36:31 -05:00
Brian Ng
b81cf12c7b Add example to transform-react-display-name docs (#4939)
* Add example to transform-react-display-name docs [skip ci]

* Normalize in/out markup in transform-react docs [skip ci]
2016-12-03 20:09:07 -05:00
wtgtybhertgeghgtwtg
930512e91f Add test to babel-plugin-syntax-trailing-function-commas .npmignore. (#4936) 2016-12-03 08:15:18 -05:00
Tommaso
27e201e0e1 Update plugins READMEs from babel.github.io [skip ci] (#4931) 2016-12-02 17:07:16 -06:00
Christophe Hurpeau
81575bcdfe Fix for object-rest with parameters destructuring nested rest (#4883) 2016-12-01 23:58:07 -05:00
Joe Haddad
06820ca17d Add forceColor option to babel-code-frame (#4913) 2016-12-01 23:43:08 -05:00
Kanitkorn Sujautra
b43191d402 Update transform-object-rest-spread's README from babel.github.io [skip ci] (#4930) 2016-12-01 23:42:27 -05:00
Kanitkorn Sujautra
fcc5b8963b Update transform-object-assign's README from babel.github.io [skip ci] (#4929) 2016-12-01 23:39:45 -05:00
Brian Ng
f71efbce92 Update transform-es2015 READMEs from babel.github.io [skip ci] (#4926)
Signed-off-by: Brian Ng <bng412@gmail.com>
2016-12-01 16:11:36 -05:00
Brian Ng
723c90e8f0 Tweak example in transform-jsx-source README [skip ci] (#4925) 2016-12-01 11:28:04 -05:00
Brian Ng
c2b3ea793f Update async READMEs from babel.github.io [skip ci] (#4919) 2016-11-30 12:24:59 -05:00
Brian Ng
66dfd8f0c1 Fix some React transform README issues [skip ci] (#4917) 2016-11-30 12:19:54 -05:00
Henry Zhu
e21dcec087 update readmes [skip ci] 2016-11-29 21:23:53 -05:00
Daniel Tschinder
f0cdf136bd Remove shouldIgnore check (#4907)
Otherwise tasks will never be marked as disabled
2016-11-29 20:36:50 -05:00
Henry Zhu
e86f62b304 README: add --save-dev [skip ci]
Closes gh-4910
2016-11-29 08:40:27 -05:00
Sven SAULEAU
2311b5b53a README: remove dollar in sh snippets [skip ci] 2016-11-29 08:39:23 -05:00
Henry Zhu
f3e4b9a7b7 add example [skip ci] 2016-11-29 08:32:46 -05:00
Kanitkorn Sujautra
287ee0fda8 Docs/babel plugin check es2015 constants (#4908) [skip ci] 2016-11-29 08:18:30 -05:00
Brian Ng
4a14202e92 Update React transform READMEs from babel.github.io [skip ci] (#4903)
* Update React transform READMEs from babel.github.io [skip ci]

* Drop inline-elements polyfill message (move to website)
2016-11-28 20:50:17 -05:00
Sven SAULEAU
51e8fd1868 Update babel-types README (#4905) [skip ci] 2016-11-28 20:22:59 -05:00
Sven SAULEAU
f98d824ae7 Fix babel-types README (#4899) [skip ci] 2016-11-28 11:09:41 -05:00
Daniel Tschinder
1d9e509df2 Fix eslint (#4897)
* Fix eslint call

* Fix linting errors
2016-11-26 11:24:38 -05:00
Henry Zhu
9d0518b715 Readme updates from babel.github.io [skip ci] (#4884) 2016-11-22 14:17:17 -05:00
Boopathi Rajaa
7e020272c1 Fix path.evaluate for references before declarations (#4875) 2016-11-20 22:44:56 -05:00
Brian Ng
3a27f49c57 Fix identation with empty leading ObjectTypeProperty (#4862) 2016-11-19 10:47:41 -05:00
Henry Zhu
19bb830c50 use *, add test for assign-expression in parameter (#4865) 2016-11-19 10:45:00 -05:00
Henry Zhu
cd041541b8 Fix bug + Generate test fixtures if no expected.js (#4858) 2016-11-17 17:53:46 -05:00
Nikolai Tillmann
efefe828f9 Preserve null in babel-types' clone and deepClone. (#4853)
* Preserve null in babel-types' clone and deepClone.
* Also respect undefined when cloning.
* Updating last test to reflect original test case "[,0]"
2016-11-17 08:52:04 -05:00
Henry Zhu
754a6ed8c0 v6.19.0 2016-11-16 11:15:30 -05:00
Henry Zhu
54dc01440b add jsonCompatibleStrings option [skip ci] 2016-11-15 16:53:33 -05:00
Henry Zhu
4462d59acd refactor: switch ancestory/descendant logic [skip ci]
- Ref https://github.com/babel/babel/pull/4836#discussion_r88118790 @jridgewell
2016-11-15 16:41:08 -05:00
Boopathi Rajaa
55a47a8819 Add path utilities isAncestor and isDescendant (#4836)
* Add path utilities isAncestor and isDescendant

* Create ancestry.js
2016-11-15 16:36:45 -05:00
Moti Zilberman
f8ddd80f96 Greater spec compliance for class properties (#4544)
* Desugar class properties to Object.defineProperty per spec
* Define uninitialized static class properties with value=undefined
* Make class-properties increased spec compliance opt-in (spec: true)
2016-11-15 16:35:51 -05:00
Juriy Zaytsev
cf3a38fb40 Add jsonCompatibleStrings option to generator (#4827) 2016-11-15 15:03:41 -05:00
Henry Zhu
8475b6ec02 fix lint 2016-11-15 14:51:26 -05:00
Sam Pepose
db85bdc3fc Added flowCommaSeparator option for object types (#3547) 2016-11-15 14:43:42 -05:00
Henry Zhu
6a6ec8785b Start babel-types tests, add isNodesEquivalent (#3553) 2016-11-15 14:24:20 -05:00
Henry Zhu
5e0508d57c object rest - fix when destructuring in variables/parameters (#4755)
* object rest - fix when destructuring in variables/parameters

* fixes + ExportNamedDeclaration support

* Account for CatchClause

* support ForXStatement

* support assignment expression? + PR fixes
2016-11-15 11:31:03 -05:00
Shine Wang
5075f3cb6f Bug fix for printing minified literals (#4830)
* Fixed minified literal generator: now prints the shorter of `raw` and `value`.
2016-11-15 10:50:57 -05:00
Boopathi Rajaa
dbc1371ba9 Add clearCache and clearPath as separate APIs under traverse (#4835) 2016-11-15 10:48:59 -05:00
Henry Zhu
d0c884b9d4 Merge pull request #4789 from guybedford/system-dynamic-import
Support import() as contextual import in system module format
2016-11-14 18:00:06 -05:00
Henry Zhu
62ae3c7ee8 Fix system transformer to ensure consistent modules iteration (#4832)
* include test for number specifiers

* use ordered modules array over object properties
2016-11-14 13:17:54 -05:00
lion
862b387ad7 👕 Fix crlf to lf (#4837) 2016-11-13 21:42:08 +01:00
guybedford
76702a3a57 use ordered modules array over object properties 2016-11-11 17:48:14 +02:00