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

Update @babel/parser to 7.22.0 #14861

Merged
merged 5 commits into from
May 27, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"dependencies": {
"@angular/compiler": "16.0.2",
"@babel/code-frame": "7.21.4",
"@babel/parser": "7.21.8",
"@babel/types": "7.21.5",
"@babel/parser": "7.22.0",
"@babel/types": "7.22.0",
"@glimmer/syntax": "0.84.3",
"@iarna/toml": "2.2.5",
"@prettier/is-es5-identifier-name": "0.1.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/format/misc/errors/js/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ exports[`import-assertions-for-export-without-from.js [babel] format 1`] = `
`;

exports[`import-assertions-with-parens.js [babel] format 1`] = `
"Unexpected token (1:19)
"Unexpected token, expected "{" (1:19)
> 1 | import "x" assert ({type: 'json'});
| ^
2 |"
Expand All @@ -41,7 +41,7 @@ exports[`invalid-escape-in-identifier-2.js [babel] format 1`] = `
`;

exports[`module-attributes.js [babel] format 1`] = `
"Unexpected token, expected "(" (1:33)
"Unexpected token, expected "{" (1:33)
> 1 | import foo from "foo.json" with type: "json";
| ^
2 |"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ exports[`invalid-flow-type-import-2.mjs [babel] format 1`] = `
`;

exports[`invalid-flow-typeof-import-1.mjs [babel] format 1`] = `
"Unexpected token, expected "{" (1:8)
"Unexpected token, expected "from" (1:15)
> 1 | import typeof module foo from "./module.wasm";
| ^
| ^
2 |"
`;

exports[`invalid-flow-typeof-import-2.mjs [babel] format 1`] = `
"Unexpected token, expected "{" (1:15)
"Unexpected token, expected "from" (1:22)
> 1 | import module typeof foo from "./module.wasm";
| ^
| ^
2 |"
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,9 @@ exports[`snippet: #15 [json] format 1`] = `
`;

exports[`snippet: #15 [json] format 2`] = `
"Unexpected token (1:6)
"'RegExpLiteral' is not allowed in JSON. (1:2)
> 1 | [/a/v]
| ^"
| ^^^^"
`;

exports[`snippet: #15 [json-stringify] format 1`] = `
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ __metadata:
languageName: node
linkType: hard

"@babel/parser@npm:7.21.8, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.5, @babel/parser@npm:^7.21.8":
version: 7.21.8
resolution: "@babel/parser@npm:7.21.8"
"@babel/parser@npm:7.22.0, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.5, @babel/parser@npm:^7.21.8":
version: 7.22.0
resolution: "@babel/parser@npm:7.22.0"
bin:
parser: ./bin/babel-parser.js
checksum: 1b9a820fedfb6ef179e6ffa1dbc080808882949dec68340a616da2aa354af66ea2886bd68e61bd444d270aa0b24ad6273e3cfaf17d6878c34bf2521becacb353
checksum: 1b6528eca79c18e2186ef430ed2fe1144080bd84a995289c1f9ae61341057f2ad6ea60ccf947b0edde053b32e0c87d981911de6ef28ab7c16b8ed8537664e7c9
languageName: node
linkType: hard

Expand Down Expand Up @@ -422,14 +422,14 @@ __metadata:
languageName: node
linkType: hard

"@babel/types@npm:7.21.5, @babel/types@npm:^7.0.0, @babel/types@npm:^7.18.6, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.4, @babel/types@npm:^7.21.5, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.8.3":
version: 7.21.5
resolution: "@babel/types@npm:7.21.5"
"@babel/types@npm:7.22.0, @babel/types@npm:^7.0.0, @babel/types@npm:^7.18.6, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.0, @babel/types@npm:^7.21.4, @babel/types@npm:^7.21.5, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.8.3":
version: 7.22.0
resolution: "@babel/types@npm:7.22.0"
dependencies:
"@babel/helper-string-parser": ^7.21.5
"@babel/helper-validator-identifier": ^7.19.1
to-fast-properties: ^2.0.0
checksum: 43242a99c612d13285ee4af46cc0f1066bcb6ffd38307daef7a76e8c70f36cfc3255eb9e75c8e768b40e761176c313aec4d5c0b9d97a21e494d49d5fd123a9f7
checksum: 6ba43536f362170d1be58aa8f975210fc042729128e9db286c7a107a1ca3e096994ad741e1cda85b2ae10d02e363d189f826ceee6178a884cc638935c99e2003
languageName: node
linkType: hard

Expand Down Expand Up @@ -6784,8 +6784,8 @@ __metadata:
"@angular/compiler": 16.0.2
"@babel/code-frame": 7.21.4
"@babel/generator": 7.21.5
"@babel/parser": 7.21.8
"@babel/types": 7.21.5
"@babel/parser": 7.22.0
"@babel/types": 7.22.0
"@esbuild-plugins/node-modules-polyfill": 0.2.2
"@glimmer/reference": 0.84.3
"@glimmer/syntax": 0.84.3
Expand Down