9088 Commits

Author SHA1 Message Date
Diogo Franco
d407ddc00c Fix lint 2016-11-11 01:43:21 +09:00
Diogo Franco
cbd827b9db Rename ios_saf in browserslist data to ios, ignore unknown browsers
browserslist queries, especially ones with percentages, often bring in mobile browsers that _probably_ have the similar support level as desktop ones, but since there's no support for them in the data, including them here would just lead to all plugins being enabled always.

It's also easy to get crazy things like `op_mini` or `and_uc` in the results.

Browserslist also reports iOS Safari as `ios_saf`, while the data uses `ios`, so it needs to be renamed.
2016-11-11 01:32:17 +09:00
Samuel Reed
5678e61c0f fix binding kind of destructured variables. (#4813)
Fixes #4516 and any other code that hoists into a scope
where function params are destructured.
2016-11-08 13:51:54 -05:00
Scott Stern
723ca0eef8 Chore: FLOW command in makefile and logic in .travis.yml(issue#4710). (#4807) 2016-11-04 08:26:45 -04:00
Henry Zhu
f8a02a8a9f 0.0.7 2016-11-02 19:00:46 -04:00
Henry Zhu
4019d20945 fixes [skip ci] 2016-11-02 18:21:14 -04:00
Henry Zhu
d8b3447766 add changelog [skip ci] 2016-11-02 18:18:55 -04:00
Henry Zhu
bbeb311aa0 intro example [skip ci] 2016-11-02 18:09:15 -04:00
Henry Zhu
4b08a02b22 fix link [skip ci] 2016-11-02 18:07:53 -04:00
Henry Zhu
fd0821563e toc [skip ci] 2016-11-02 18:04:40 -04:00
Henry Zhu
f6a8d5eff2 doc fixes [skip ci] 2016-11-02 17:44:31 -04:00
Henry Zhu
a5daad4d32 Use compat-table equals option (#36)
* Use compat-table equals option

* fixes
2016-11-02 17:09:32 -04:00
Henry Zhu
d40c684723 hardcode a current node version option (#35) 2016-11-02 16:17:42 -04:00
Henry Zhu
9e97b59a2f fixes [skip ci] 2016-11-02 12:02:23 -04:00
Henry Zhu
414acf5fda Change default behavior to act the same as babel-preset-latest (#33)
* Do not throw on empty options, and default to latest preset

* fix lint
2016-11-02 11:57:26 -04:00
Henry Zhu
aa61aabb82 run lint separately (#32) 2016-11-02 11:09:51 -04:00
Henry Zhu
69e93fdb89 add 'whitelist' option (#31)
Ref https://github.com/babel/babel-preset-env/issues/16
2016-11-02 10:55:45 -04:00
Henry Zhu
85b5141cee add more aliases 2016-11-02 10:16:30 -04:00
Henry Zhu
8356dd18a2 Simple changelog [skip ci] 2016-11-01 19:53:57 -04:00
Henry Zhu
a47341930a Update plugin data: firefox 52 supports async/await! (#29) 2016-11-01 17:57:45 -04:00
Henry Zhu
dcb9e9dd66 Add fixture helper for tests (#28) 2016-11-01 17:46:49 -04:00
Henry Zhu
b68e9bfba7 v6.18.1-v6.18.2 changelog [skip ci] 2016-11-01 17:39:05 -04:00
Henry Zhu
7b64a9d914 v6.18.2 2016-11-01 17:30:53 -04:00
Henry Zhu
1a974e58d0 v6.18.1 2016-11-01 17:17:16 -04:00
Henry Zhu
9681b530e9 Allow relative paths in babelrc options in options.json (#4797) 2016-11-01 16:58:28 -04:00
Henry Zhu
a21100f6b3 show less packages [skip ci] (#4801) 2016-11-01 09:04:19 -04:00
Henry Zhu
b6647dd9f5 Update eslint, use codeframe formatter (#4796) 2016-10-30 18:53:53 -04:00
Greenkeeper
2b6ff53459 chore(package): update flow-bin to version 0.34.0 (#4792)
https://greenkeeper.io/
2016-10-29 10:15:25 +02:00
Justin Ridgewell
15eeeb6559 Fix line endings (#4793) 2016-10-28 23:44:00 -04:00
Peter Mikula
fad6483aac fixes invalid line offsets in merged sourcemaps 2016-10-28 21:36:40 +03:00
Henry Zhu
e1ac315653 fix readme [skip ci] 2016-10-26 17:34:00 -04:00
Greenkeeper
ec49648038 chore(package): update chai to version 3.5.0 (#4776)
https://greenkeeper.io/
2016-10-25 12:24:25 +02:00
Diogo Franco
35b795ce54 Fix Valid example to be actually valid (#4773)
* Fix Valid example to be actually valid

* Rename 'pluginName' to 'presetName' in the example
2016-10-25 11:27:20 +02:00
Henry Zhu
cfc5d3feae docs [skip ci] 2016-10-24 18:58:30 -04:00
Henry Zhu
46e15d9557 v6.18.0 for babel-runtime [skip ci] 2016-10-24 18:46:56 -04:00
Henry Zhu
a6ea9111a5 v6.18.0 changelog fixes [skip ci] 2016-10-24 17:36:07 -04:00
Henry Zhu
12f9cd0826 v6.18.0 2016-10-24 17:18:36 -04:00
Henry Zhu
aae09a27d6 update readme [skip ci] 2016-10-24 16:04:45 -04:00
Henry Zhu
094096c9b3 v6.18.0 changelog (#4726) [skip ci]
* changelog: emoji for docs [skip ci]

* v6.18.0 changelog [skip ci]
2016-10-24 15:44:46 -04:00
Andrew Levine
555ee0cb51 Don't treat JSXIdentifier in JSXMemberExpression as HTML tag. Closes #4027 (#4765) 2016-10-24 10:42:50 -04:00
Andrew Levine
de46827be7 Handle remapping of JSXIdentifier to MemberExpression in CommonJS transform. Closes #3728 (#4763) 2016-10-24 10:23:43 -04:00
Andrew Levine
7cfe5c13e3 Add TEST_DEBUG env var option for test.sh, to enable node 6 debugger (#4764) 2016-10-23 23:58:25 -04:00
Greenkeeper
905efd1f26 chore(package): update browserify to version 13.1.1 (#4762)
https://greenkeeper.io/
2016-10-24 00:54:41 +02:00
Moti Zilberman
fd4667e649 Increase test coverage (#4742)
* Add tests for path type inferers

* Add test for babel-types.valueToNode

* Add tests for babel-types.toKeyAlias

* Add tests for babel-types.toStatement

* Add tests for babel-types.toExpression

* Lint fixes in babel-traverse/test/inference
2016-10-23 10:51:09 +02:00
Juriy Zaytsev
beda884f41 Make getBinding ignore labels; add Scope#getLabel, Scope#registerLabel (#4758)
* Make getBinding ignore labels; add Scope#getLabel, Scope#registerLabel

* generateUid: account for labels again
2016-10-21 17:19:59 -04:00
Sam Goldman
7bb430aeea Add variance node type and generate property variance annotations (#4697)
* Add variance node type and generate property variance annotations

babel/babylon#161 adds parsing support for property variance
annotations. This PR adds the necessary node type for the new Variance
node and generate support for all the positions where variance can now
appear.

* Variance is no longer a separate node type

This diff also adds tests to class properties and to the
flow-strip-types transform.

* Add test + fix for edge case with variance and class proeprties
2016-10-21 16:05:36 -04:00
Henry Zhu
8af614022c readme on ie [skip ci] 2016-10-20 20:09:56 -04:00
Kai Cataldo
7443f9e1c2 Add make command to delete node_modules (#4748) 2016-10-19 07:58:35 -04:00
Henry Zhu
4b3aaae9c0 fixes [skip ci]
Ref https://github.com/babel/babel/issues/4590#issuecomment-254359917
2016-10-17 19:53:29 -04:00
Moti Zilberman
6bc10b5573 Support ObjectExpression in static path evaluation (#4746) 2016-10-17 18:55:02 -04:00