9069 Commits

Author SHA1 Message Date
Scott Kyle
c438209718 Fix constant elements hoisted before declarator (#4804)
When multiple declarators are present in a declaration, we want to insert the constant element inside the declaration rather than placing it before because it may rely on a declarator inside that same declaration.
2016-12-03 20:19:32 -08:00
Scott Kyle
5a9509205b Fix constant elements hoisted out of block (#4419)
When block scoped variables caused the block to be wrapped in a closure, the variable `bindings` remained in parent function scope, which caused the JSX element to be hoisted out of the closure.
2016-12-03 19:54:53 -08: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
Henry Zhu
d06270498b add some tests 2016-12-02 17:58:31 -05:00
Henry Zhu
3a7a1b9221 add more features 2016-12-02 16:47:38 -05:00
Brian Ng
36c6fcaf23 Add math builtins 2016-12-02 16:04:07 -05:00
Henry Zhu
7afe25bda1 change format 2016-12-02 16:04:02 -05:00
Henry Zhu
c09532f035 plugin transforms the imports/requires 2016-12-02 15:33:27 -05:00
Henry Zhu
6c58d93602 setup the babel plugin to transform the babel-polyfill calls + pass the data option to the plugin from the preset 2016-12-02 13:04:21 -05:00
Henry Zhu
60efc0dd10 add useBuiltIns option 2016-12-02 11:43:36 -05: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
Michael Kühnel
75720a3243 monorepo doc: Add another con (#4927) [skip ci] 2016-12-01 17:28:04 -05:00
Henry Zhu
0f583c0d1f mention [skip ci] in PR template (#4928) 2016-12-01 17:08:13 -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
Benjamin E. Coe
db67d7fdce Switch to nyc, babel-plugin-istanbul & codecov-node for code coverage (#4885)
* Switch to nyc, babel-plugin-istanbul & codecov-node for code coverage

This setup (very much like Babylon's) let us trace code coverage back to the `src/` directories of packages.

* Exclude package tests from coverage report

* fix: upgrade to version of nyc that tweaks a couple more things for babel

* fix: remove comment based on @hzoo's review
2016-11-28 14:17:52 -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
53de56d069 simple intro [skip ci] (#4890) 2016-11-24 16:47:48 -05:00
Henry Zhu
457131f219 v0.0.9 changelog [skip ci] 2016-11-24 15:58:09 -05:00
Henry Zhu
bcc2ddbf4e 0.0.9 2016-11-24 15:55:12 -05:00
Henry Zhu
b03180a26c add opera at the end 2016-11-24 15:54:54 -05:00
Sergey Rubanov
56817f8e7c Update data generation for latest compat-table (#50)
* Update data generation for latest compat-table. See https://github.com/kangax/compat-table/pull/964

* fix compat-table version
2016-11-23 23:20:52 -05:00
Henry Zhu
54ce049760 fix headings [skip ci] 2016-11-23 08:09:47 -05:00
Henry Zhu
5739755a48 Add opera (#48) 2016-11-23 07:57:24 -05:00
Henry Zhu
7f93092bdc update description [skip ci] 2016-11-23 07:52:47 -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
Vesa Laakso
cf8591543d 💅 Fix CHANGELOG.md nail polish emoji (#47) [skip-ci] 2016-11-17 07:56:57 -05:00
Henry Zhu
e6901792a1 pr template [skip ci] 2016-11-17 00:29:45 -05:00
Henry Zhu
b86f618a5a npm downloads [skip ci] 2016-11-16 15:41:58 -05:00