You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want esquery to add support for custom visitor keys.
Currently, some queries crash when using a node type unknown to estraverse.
e.g. ":nth-child(1)" (See also to #110, #67)
I think that the node type decided by estree will be fixed by version upgrade, but using JSX and TypeScript nodes will continue to crash.
If esquery can support custom visitor keys, passing custom visitor keys for JSX and TypeScript allows people to use esquery in JSX and TypeScript nodes without crashing.
The text was updated successfully, but these errors were encountered:
I want
esquery
to add support for custom visitor keys.Currently, some queries crash when using a node type unknown to
estraverse
.e.g.
":nth-child(1)"
(See also to #110, #67)I think that the node type decided by
estree
will be fixed by version upgrade, but using JSX and TypeScript nodes will continue to crash.If
esquery
can support custom visitor keys, passing custom visitor keys for JSX and TypeScript allows people to useesquery
in JSX and TypeScript nodes without crashing.The text was updated successfully, but these errors were encountered: