Skip to content

Commit

Permalink
chore(deps): update dependency hermes-parser to v0.19.0 (#16014)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <[email protected]>
  • Loading branch information
renovate[bot] and fisker committed Feb 3, 2024
1 parent 6ee0004 commit 014ee5d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"get-east-asian-width": "1.2.0",
"get-stdin": "9.0.0",
"graphql": "16.8.1",
"hermes-parser": "0.18.2",
"hermes-parser": "0.19.0",
"html-element-attributes": "3.3.0",
"html-tag-names": "2.1.0",
"html-ua-styles": "0.0.3",
Expand Down
7 changes: 6 additions & 1 deletion src/language-js/traverse/visitor-keys.evaluate.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,18 @@ const visitorKeys = Object.fromEntries(
]),
);

// Unsupported
for (const type of [
// Flow, Not supported yet
"ComponentDeclaration",
"ComponentParameter",
"ComponentTypeAnnotation",
"ComponentTypeParameter",
"DeclareComponent",

// Flow, Not supported yet
"HookDeclaration",
"HookTypeAnnotation",
"DeclareHook",
]) {
delete visitorKeys[type];
}
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4765,19 +4765,19 @@ __metadata:
languageName: node
linkType: hard

"hermes-estree@npm:0.18.2":
version: 0.18.2
resolution: "hermes-estree@npm:0.18.2"
checksum: 95b7275f38738792648c198445711d823ab1f502735c0bb5375ad611f5718dd0c0c8644f8b44a475283b8650c19a807cd55eeab46ad9b7ad2d93e460e9292df8
"hermes-estree@npm:0.19.0":
version: 0.19.0
resolution: "hermes-estree@npm:0.19.0"
checksum: 903230b445d5a7d2617add0fcc495a2d4160bf0cdc0f1a19d2338de60755158d082290c222412cc765e66e1fa355a83402a3a5d647d450b9c104bcebfc82e62e
languageName: node
linkType: hard

"hermes-parser@npm:0.18.2":
version: 0.18.2
resolution: "hermes-parser@npm:0.18.2"
"hermes-parser@npm:0.19.0":
version: 0.19.0
resolution: "hermes-parser@npm:0.19.0"
dependencies:
hermes-estree: "npm:0.18.2"
checksum: 79df5ff751bf7a0033229df389f3d6556b7e5d4b99cd1aa72fcf78c0ec0717246f24d32d5eaf7c0c7ac3009c0dd66aeb4ef0bf8907827cf6f0ebcd74fa067e88
hermes-estree: "npm:0.19.0"
checksum: 025a0cc15070310411815dfaf6093f8af85bb0cdd1332b1c349469a51602f7733be8f2e36c7d624f4a0b25f7df55e992312ef778201f76ff470a5aff65911584
languageName: node
linkType: hard

Expand Down Expand Up @@ -7449,7 +7449,7 @@ __metadata:
get-east-asian-width: "npm:1.2.0"
get-stdin: "npm:9.0.0"
graphql: "npm:16.8.1"
hermes-parser: "npm:0.18.2"
hermes-parser: "npm:0.19.0"
html-element-attributes: "npm:3.3.0"
html-tag-names: "npm:2.1.0"
html-ua-styles: "npm:0.0.3"
Expand Down

0 comments on commit 014ee5d

Please sign in to comment.