Go back to babylon beta 13 (#2289)

Fixes #2286
master
Christopher Chedeau 2017-06-27 11:51:23 -07:00 committed by GitHub
parent 073a2071a8
commit 6f4eade422
5 changed files with 8 additions and 8 deletions

View File

@ -11,7 +11,7 @@
"main": "./index.js",
"dependencies": {
"babel-code-frame": "7.0.0-alpha.12",
"babylon": "7.0.0-beta.14",
"babylon": "7.0.0-beta.13",
"chalk": "1.1.3",
"diff": "3.2.0",
"esutils": "2.0.2",

View File

@ -1,8 +1,8 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`func_inside_attr.js 1`] = `
<bar x={function (x): Array<string> {}} />
exports[`return_type.js 1`] = `
const fail = (): X => <x />;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<bar x={function(x): Array<string> {}} />;
const fail = (): X => <x />;
`;

View File

@ -1 +0,0 @@
<bar x={function (x): Array<string> {}} />

View File

@ -0,0 +1 @@
const fail = (): X => <x />;

View File

@ -656,9 +656,9 @@ babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.25
lodash "^4.2.0"
to-fast-properties "^1.0.1"
babylon@7.0.0-beta.14:
version "7.0.0-beta.14"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.14.tgz#72aa3c493c984c2edc54d4bc077b74066ed4511d"
babylon@7.0.0-beta.13:
version "7.0.0-beta.13"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.13.tgz#12425c1bfd9498be419021ed36b43fe4f0289c0a"
babylon@^6.13.0, babylon@^6.17.2:
version "6.17.3"