Skip to content

Commit

Permalink
fix(javascript): upgrade @babel/parser to 7.1.6 (#5530)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatyang committed Nov 24, 2018
1 parent e12cd17 commit a50a8e2
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 170 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@angular/compiler": "6.1.10",
"@babel/code-frame": "7.0.0-beta.46",
"@babel/parser": "7.1.5",
"@babel/parser": "7.1.6",
"@glimmer/syntax": "0.30.3",
"@iarna/toml": "2.0.0",
"angular-estree-parser": "1.1.5",
Expand Down
6 changes: 6 additions & 0 deletions tests/template/__snapshots__/jsfmt.spec.js.snap
Expand Up @@ -211,6 +211,9 @@ this._pipe.write(\`
\`
a
\`;
// https://github.com/prettier/prettier/issues/5529
editTitle += \`\${iconHTML({ class: "reply-to-glyph" })}\`;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this._pipe.write(\`\\n\\n Pattern matches \${total} \${pluralizeTest}\`);
this._pipe.write(\`\\n\\n Pattern matches \${total} \${pluralizeTest}\`);
Expand Down Expand Up @@ -261,6 +264,9 @@ this._pipe.write(\`
a
\`;
// https://github.com/prettier/prettier/issues/5529
editTitle += \`\${iconHTML({ class: "reply-to-glyph" })}\`;
`;
exports[`parenthesis.js - flow-verify 1`] = `
Expand Down
3 changes: 3 additions & 0 deletions tests/template/inline.js
Expand Up @@ -56,3 +56,6 @@ this._pipe.write(`
`
a
`;

// https://github.com/prettier/prettier/issues/5529
editTitle += `${iconHTML({ class: "reply-to-glyph" })}`;
2 changes: 1 addition & 1 deletion tests/template/jsfmt.spec.js
@@ -1 +1 @@
run_spec(__dirname, ["flow"]);
run_spec(__dirname, ["flow", "babylon"]);

0 comments on commit a50a8e2

Please sign in to comment.