Build(deps): Bump @babel/parser from 7.16.8 to 7.16.12 (#12126)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
dependabot[bot]andfisker Cheung authored and GitHub committed 2022-01-24 17:29:19 +08:00
1 parent 07c2158c7b
commit 249096c749
6 files changed
+42 -7

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@
"dependencies": {
"@angular/compiler": "12.2.15",
"@babel/code-frame": "7.16.7",
"@babel/parser": "7.16.8",
"@babel/parser": "7.16.12",
"@glimmer/syntax": "0.83.1",
"@iarna/toml": "2.2.5",
"@typescript-eslint/typescript-estree": "5.10.0",
@@ -0,0 +1,33 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`arrow-function.js format 1`] = `
====================================options=====================================
parsers: ["babel", "flow", "typescript"]
printWidth: 80
| printWidth
=====================================input======================================
const x = () => [].includes(true) || "ontouchend" in document
const y = () => [] in x
=====================================output=====================================
const x = () => [].includes(true) || "ontouchend" in document;
const y = () => [] in x;
================================================================================
`;
exports[`arrow-function-invalid.js format 1`] = `
====================================options=====================================
parsers: ["babel", "flow", "typescript"]
printWidth: 80
| printWidth
=====================================input======================================
() => [] in x
=====================================output=====================================
() => [] in x;
================================================================================
`;
@@ -0,0 +1 @@
() => [] in x
+3
View File
@@ -0,0 +1,3 @@
const x = () => [].includes(true) || "ontouchend" in document
const y = () => [] in x
+3
View File
@@ -0,0 +1,3 @@
run_spec(__dirname, ["babel", "flow", "typescript"], {
errors: ["arrow-function-invalid.js"],
});
+1 -6
View File
@@ -301,12 +301,7 @@
chalk "^2.0.0"
js-tokens "^4.0.0"
"@babel/parser@7.16.8":
version "7.16.8"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.8.tgz#61c243a3875f7d0b0962b0543a33ece6ff2f1f17"
integrity sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==
"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.10", "@babel/parser@^7.16.12", "@babel/parser@^7.16.7", "@babel/parser@^7.7.2":
"@babel/parser@7.16.12", "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.10", "@babel/parser@^7.16.12", "@babel/parser@^7.16.7", "@babel/parser@^7.7.2":
version "7.16.12"
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.12.tgz#9474794f9a650cf5e2f892444227f98e28cdf8b6"
integrity sha512-VfaV15po8RiZssrkPweyvbGVSe4x2y+aciFCgn0n0/SJMR22cwofRV1mtnJQYcSB1wUTaA/X1LnA3es66MCO5A==