Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build(deps): Bump @babel/code-frame from 7.12.11 to 7.12.13 #10226

Merged
merged 11 commits into from
Feb 4, 2021
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"dependencies": {
"@angular/compiler": "11.1.1",
"@babel/code-frame": "7.12.11",
"@babel/code-frame": "7.12.13",
"@babel/parser": "7.12.11",
"@glimmer/syntax": "0.74.2",
"@iarna/toml": "2.2.5",
Expand Down
2 changes: 1 addition & 1 deletion tests/css/range/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rangeEnd: 4
=====================================input======================================
> 1 | .x{}
| ^^^^
2 |
2 |
=====================================output=====================================
.x{}

Expand Down
14 changes: 7 additions & 7 deletions tests/flow/this-annotation/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ function baz(this: number, ...a) {}
exports[`function_type.js - {"trailingComma":"all"} [babel-flow] format 1`] = `
"Unexpected token, expected \\")\\" (3:16)
1 | // @flow
2 |
2 |
> 3 | type T = (this : number, a : string, b : number) => void
| ^
4 |
4 |
5 | type U = (this : number, ...c : any) => void
6 | "
6 |"
`;

exports[`function_type.js - {"trailingComma":"all"} format 1`] = `
Expand Down Expand Up @@ -95,11 +95,11 @@ type V = (this: number) => void;
exports[`line_break.js - {"trailingComma":"all"} [babel-flow] format 1`] = `
"Unexpected token, expected \\")\\" (3:15)
1 | // @flow
2 |
2 |
> 3 | type T = (this: boolean,
| ^
4 | a: number,
5 |
5 |
6 | b: number,"
`;

Expand Down Expand Up @@ -197,13 +197,13 @@ class A {

exports[`union_type.js - {"trailingComma":"all"} [babel-flow] format 1`] = `
"Unexpected token, expected \\")\\" (4:7)
2 |
2 |
3 | type A = (
> 4 | this: | SupperLongLongLongLongLongLongLongLongLongLongLongType | FooBarBazLorem12345,
| ^
5 | b: number,
6 | ) => boolean;
7 | "
7 |"
`;

exports[`union_type.js - {"trailingComma":"all"} format 1`] = `
Expand Down
2 changes: 1 addition & 1 deletion tests/graphql/range/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rangeEnd: 3
=====================================input======================================
> 1 | {NPC{life}}
| ^^^
2 |
2 |
=====================================output=====================================
{
NPC {
Expand Down
6 changes: 3 additions & 3 deletions tests/js/arrow-call/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ exports[`class-property.js [espree] format 1`] = `
> 3 | static propTypes = {};
| ^
4 | };
5 | "
5 |"
`;

exports[`class-property.js - {"arrowParens":"always"} [espree] format 1`] = `
Expand All @@ -319,7 +319,7 @@ exports[`class-property.js - {"arrowParens":"always"} [espree] format 1`] = `
> 3 | static propTypes = {};
| ^
4 | };
5 | "
5 |"
`;

exports[`class-property.js - {"arrowParens":"always"} format 1`] = `
Expand Down Expand Up @@ -350,7 +350,7 @@ exports[`class-property.js - {"trailingComma":"all"} [espree] format 1`] = `
> 3 | static propTypes = {};
| ^
4 | };
5 | "
5 |"
`;

exports[`class-property.js - {"trailingComma":"all"} format 1`] = `
Expand Down
4 changes: 2 additions & 2 deletions tests/js/arrows-bind/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`arrows-bind.js [espree] format 1`] = `
| ^
2 | (a => b)::c;
3 | a::(b => c);
4 | "
4 |"
`;

exports[`arrows-bind.js [meriyah] format 1`] = `
Expand All @@ -15,7 +15,7 @@ exports[`arrows-bind.js [meriyah] format 1`] = `
| ^
2 | (a => b)::c;
3 | a::(b => c);
4 | "
4 |"
`;

exports[`arrows-bind.js format 1`] = `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ exports[`newline-before-arrow.js [espree] format 1`] = `
1 | async x
> 2 | => x
| ^
3 | "
3 |"
`;

exports[`newline-before-arrow.js [meriyah] format 1`] = `
"[2:2]: No line break is allowed after '=>' (2:2)
1 | async x
> 2 | => x
| ^
3 | "
3 |"
`;

exports[`newline-before-arrow.js format 1`] = `
Expand Down