Bump babylon version (#2205)

master
Brian Ng 2017-06-20 10:36:14 -05:00 committed by Christopher Chedeau
parent 43521565e7
commit 7cef77433a
9 changed files with 59 additions and 5 deletions

View File

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

View File

@ -21,7 +21,8 @@ function parse(text) {
"asyncGenerators",
"functionBind",
"functionSent",
"dynamicImport"
"dynamicImport",
"numericSeparator"
]
};

View File

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

View File

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

View File

@ -0,0 +1 @@
run_spec(__dirname, null, ["babylon"]);

View File

@ -0,0 +1,30 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`test.js 1`] = `
1_1
1_1.1_1
0o1_1
0o0_11
1.1_0_1e1
1.1_0_1E1
.1_1
0x1_1
0xa_1
0xA_1
0b01_1
0b0_1_1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1_1;
1_1.1_1;
0o1_1;
0o0_11;
1.1_0_1e1;
1.1_0_1e1;
0.1_1;
0x1_1;
0xa_1;
0xa_1;
0b01_1;
0b0_1_1;
`;

View File

@ -0,0 +1 @@
run_spec(__dirname, { parser: "babylon" });

View File

@ -0,0 +1,12 @@
1_1
1_1.1_1
0o1_1
0o0_11
1.1_0_1e1
1.1_0_1E1
.1_1
0x1_1
0xa_1
0xA_1
0b01_1
0b0_1_1

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.10:
version "7.0.0-beta.10"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.10.tgz#07a210ea6a4480c9581794403907a6c72abc607c"
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@^6.13.0, babylon@^6.17.2:
version "6.17.3"