chore(deps): update flow-parser (#16983)

Co-authored-by: fisker <lionkay@gmail.com>
This commit is contained in:
renovate[bot]andfisker authored and GitHub committed 2025-01-09 22:26:34 +08:00
1 parent 8e8260e533
commit c9726b96d1
3 files changed
+39 -17

No files matched your search

+2 -2
View File
@@ -59,11 +59,11 @@
"fast-json-stable-stringify": "2.1.0",
"file-entry-cache": "9.1.0",
"find-cache-dir": "5.0.0",
"flow-parser": "0.257.0",
"flow-parser": "0.258.1",
"get-east-asian-width": "1.3.0",
"get-stdin": "9.0.0",
"graphql": "16.10.0",
"hermes-parser": "0.25.1",
"hermes-parser": "0.26.0",
"html-element-attributes": "3.4.0",
"html-tag-names": "2.1.0",
"html-ua-styles": "0.0.8",
@@ -99,4 +99,26 @@ delete visitorKeys.DecimalLiteral;
// Won't exist since we use `createImportExpressions` when parsing with babel
delete visitorKeys.Import;
// Flow, not supported
for (const type of [
"MatchArrayPattern",
"MatchAsPattern",
"MatchBindingPattern",
"MatchExpression",
"MatchExpressionCase",
"MatchIdentifierPattern",
"MatchLiteralPattern",
"MatchMemberPattern",
"MatchObjectPattern",
"MatchObjectPatternProperty",
"MatchOrPattern",
"MatchRestPattern",
"MatchStatement",
"MatchStatementCase",
"MatchUnaryPattern",
"MatchWildcardPattern",
]) {
delete visitorKeys[type];
}
export default visitorKeys;
+15 -15
View File
@@ -4385,10 +4385,10 @@ __metadata:
languageName: node
linkType: hard
"flow-parser@npm:0.257.0":
version: 0.257.0
resolution: "flow-parser@npm:0.257.0"
checksum: 10/5b175d25264a1a9ec393f240042c4e4de131be3df6b2fef73ac4f0ded44e3cf7f95d0a2783a78110aabf8bcb72728e6baa9d059ff826f79f79976328926ff742
"flow-parser@npm:0.258.1":
version: 0.258.1
resolution: "flow-parser@npm:0.258.1"
checksum: 10/6df267f5019963565af6337fcfcf866ca1cf51c17ce968b11d496b6f9daf08b8a6cba2e91c55717607e844701d47212e13b8ceeeed3b399eb8ea01da86d868b8
languageName: node
linkType: hard
@@ -4776,19 +4776,19 @@ __metadata:
languageName: node
linkType: hard
"hermes-estree@npm:0.25.1":
version: 0.25.1
resolution: "hermes-estree@npm:0.25.1"
checksum: 10/7b1eca98b264a25632064cffa5771360d30cf452e77db1e191f9913ee45cf78c292b2dbca707e92fb71b0870abb97e94b506a5ab80abd96ba237fee169b601fe
"hermes-estree@npm:0.26.0":
version: 0.26.0
resolution: "hermes-estree@npm:0.26.0"
checksum: 10/4a4fe72f2c873ad6f66537e70da4a075ad7eb9758a6c605e103c3232f311f22deba0f59345161b2dede4e7fe74794c7537d88dd4cedcecb0967719404ebc6b4d
languageName: node
linkType: hard
"hermes-parser@npm:0.25.1":
version: 0.25.1
resolution: "hermes-parser@npm:0.25.1"
"hermes-parser@npm:0.26.0":
version: 0.26.0
resolution: "hermes-parser@npm:0.26.0"
dependencies:
hermes-estree: "npm:0.25.1"
checksum: 10/805efc05691420f236654349872c70731121791fa54de521c7ee51059eae34f84dd19f22ee846741dcb60372f8fb5335719b96b4ecb010d2aed7d872f2eff9cc
hermes-estree: "npm:0.26.0"
checksum: 10/dc1c80ef2c4835b799025ad83837e34c6f6b898a24714d9086849979dc06805ecfade3065310d9ffde30ed3dfe45afe3c54eee7e79d52e1ecc0a139d6fdc0d89
languageName: node
linkType: hard
@@ -7399,12 +7399,12 @@ __metadata:
fast-json-stable-stringify: "npm:2.1.0"
file-entry-cache: "npm:9.1.0"
find-cache-dir: "npm:5.0.0"
flow-parser: "npm:0.257.0"
flow-parser: "npm:0.258.1"
get-east-asian-width: "npm:1.3.0"
get-stdin: "npm:9.0.0"
globals: "npm:15.14.0"
graphql: "npm:16.10.0"
hermes-parser: "npm:0.25.1"
hermes-parser: "npm:0.26.0"
html-element-attributes: "npm:3.4.0"
html-tag-names: "npm:2.1.0"
html-ua-styles: "npm:0.0.8"