Update dependency @babel/parser to v7.18.9 (#13065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
1 parent
95779099a3
commit
ada29a3990
3 files changed
+11
-13
No files matched your search
+1
-1
@@ -24,7 +24,7 @@
|
||||
"dependencies": {
|
||||
"@angular/compiler": "12.2.16",
|
||||
"@babel/code-frame": "7.18.6",
|
||||
"@babel/parser": "7.18.5",
|
||||
"@babel/parser": "7.18.9",
|
||||
"@glimmer/syntax": "0.84.2",
|
||||
"@iarna/toml": "2.2.5",
|
||||
"@typescript-eslint/typescript-estree": "5.30.0",
|
||||
|
||||
@@ -77,6 +77,12 @@ const meriyahDisabledTests = new Set([
|
||||
"../format/js/babel-plugins/decorator-auto-accessors.js"
|
||||
),
|
||||
]);
|
||||
const babelTsDisabledTest = new Set(
|
||||
[
|
||||
// Disabled temporarily https://github.com/babel/babel/issues/14777#issuecomment-1191474632
|
||||
"instantiation-expression",
|
||||
].map((directory) => path.join(__dirname, "../format/typescript", directory))
|
||||
);
|
||||
|
||||
const isUnstable = (filename, options) => {
|
||||
const testFunction = unstableTests.get(filename);
|
||||
@@ -209,7 +215,8 @@ function runSpec(fixtures, parsers, options) {
|
||||
if (
|
||||
parsers.includes("typescript") &&
|
||||
!parsers.includes("babel-ts") &&
|
||||
!IS_TYPESCRIPT_ONLY_TEST
|
||||
!IS_TYPESCRIPT_ONLY_TEST &&
|
||||
!babelTsDisabledTest.has(dirname)
|
||||
) {
|
||||
allParsers.push("babel-ts");
|
||||
}
|
||||
|
||||
@@ -216,16 +216,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/parser@npm:7.18.5":
|
||||
version: 7.18.5
|
||||
resolution: "@babel/parser@npm:7.18.5"
|
||||
bin:
|
||||
parser: ./bin/babel-parser.js
|
||||
checksum: 4976349d8681af215fd5771bd5b74568cc95a2e8bf2afcf354bf46f73f3d6f08d54705f354b1d0012f914dd02a524b7d37c5c1204ccaafccb9db3c37dba96a9b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.6, @babel/parser@npm:^7.18.9":
|
||||
"@babel/parser@npm:7.18.9, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.6, @babel/parser@npm:^7.18.9":
|
||||
version: 7.18.9
|
||||
resolution: "@babel/parser@npm:7.18.9"
|
||||
bin:
|
||||
@@ -6804,7 +6795,7 @@ __metadata:
|
||||
dependencies:
|
||||
"@angular/compiler": 12.2.16
|
||||
"@babel/code-frame": 7.18.6
|
||||
"@babel/parser": 7.18.5
|
||||
"@babel/parser": 7.18.9
|
||||
"@babel/types": 7.18.8
|
||||
"@esbuild-plugins/node-modules-polyfill": 0.1.4
|
||||
"@glimmer/reference": 0.84.2
|
||||
|
||||
Reference in new issue
Block a user