Update dependency @babel/parser to v7.21.2 (#14413)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2023-02-26 18:10:17 +08:00
1 parent 0a15a6c2ca
commit 444876025f
3 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@
"dependencies": {
"@angular/compiler": "15.2.0",
"@babel/code-frame": "7.18.6",
"@babel/parser": "7.21.1",
"@babel/parser": "7.21.2",
"@babel/types": "7.21.0",
"@glimmer/syntax": "0.84.2",
"@iarna/toml": "2.2.5",
@@ -7,9 +7,9 @@ exports[`snippet: #0 [acorn] format 1`] = `
`;
exports[`snippet: #0 [babel] format 1`] = `
"Constructors in/after an Optional Chain are not allowed. (1:36)
"Constructors in/after an Optional Chain are not allowed. (1:21)
> 1 | const baz3 = new obj?.foo?.bar?.baz(); // baz instance
| ^"
| ^"
`;
exports[`snippet: #0 [espree] format 1`] = `
@@ -31,9 +31,9 @@ exports[`snippet: #1 [acorn] format 1`] = `
`;
exports[`snippet: #1 [babel] format 1`] = `
"Constructors in/after an Optional Chain are not allowed. (1:32)
"Constructors in/after an Optional Chain are not allowed. (1:22)
> 1 | const safe5 = new obj?.qux?.baz(); // undefined
| ^"
| ^"
`;
exports[`snippet: #1 [espree] format 1`] = `
@@ -55,9 +55,9 @@ exports[`snippet: #2 [acorn] format 1`] = `
`;
exports[`snippet: #2 [babel] format 1`] = `
"Constructors in/after an Optional Chain are not allowed. (1:35)
"Constructors in/after an Optional Chain are not allowed. (1:22)
> 1 | const safe6 = new obj?.foo.bar.qux?.(); // undefined
| ^"
| ^"
`;
exports[`snippet: #2 [espree] format 1`] = `
@@ -79,9 +79,9 @@ exports[`snippet: #3 [acorn] format 1`] = `
`;
exports[`snippet: #3 [babel] format 1`] = `
"Constructors in/after an Optional Chain are not allowed. (1:39)
"Constructors in/after an Optional Chain are not allowed. (1:26)
> 1 | const willThrow = new obj?.foo.bar.qux(); // Error: not a constructor
| ^"
| ^"
`;
exports[`snippet: #3 [espree] format 1`] = `
@@ -105,11 +105,11 @@ exports[`snippet: #4 [acorn] format 1`] = `
`;
exports[`snippet: #4 [babel] format 1`] = `
"Constructors in/after an Optional Chain are not allowed. (4:11)
"Constructors in/after an Optional Chain are not allowed. (4:9)
2 | class Test {
3 | }
> 4 | new Test?.(); // test instance
| ^"
| ^"
`;
exports[`snippet: #4 [espree] format 1`] = `
@@ -135,9 +135,9 @@ exports[`snippet: #5 [acorn] format 1`] = `
`;
exports[`snippet: #5 [babel] format 1`] = `
"Constructors in/after an Optional Chain are not allowed. (1:13)
"Constructors in/after an Optional Chain are not allowed. (1:11)
> 1 | new exists?.(); // undefined
| ^"
| ^"
`;
exports[`snippet: #5 [espree] format 1`] = `
+5 -5
View File
@@ -229,12 +229,12 @@ __metadata:
languageName: node
linkType: hard
"@babel/parser@npm:7.21.1, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.10, @babel/parser@npm:^7.18.11":
version: 7.21.1
resolution: "@babel/parser@npm:7.21.1"
"@babel/parser@npm:7.21.2, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.10, @babel/parser@npm:^7.18.11":
version: 7.21.2
resolution: "@babel/parser@npm:7.21.2"
bin:
parser: ./bin/babel-parser.js
checksum: a564cff6dec4201a611d1f2ae5af8d7436ce80550e75a77ee72dca6b094df6188b5a4ccfae6a98c85991b56a51e6c48159e466cc5a374c7a37af706fcb5a6bc2
checksum: e2b89de2c63d4cdd2cafeaea34f389bba729727eec7a8728f736bc472a59396059e3e9fe322c9bed8fd126d201fb609712949dc8783f4cae4806acd9a73da6ff
languageName: node
linkType: hard
@@ -6704,7 +6704,7 @@ __metadata:
"@angular/compiler": 15.2.0
"@babel/code-frame": 7.18.6
"@babel/generator": 7.21.1
"@babel/parser": 7.21.1
"@babel/parser": 7.21.2
"@babel/types": 7.21.0
"@esbuild-plugins/node-modules-polyfill": 0.2.2
"@glimmer/reference": 0.84.2