esquery
esquery copied to clipboard
Broken selectors after exactNode
Add more tests for https://github.com/estools/esquery/pull/145 that show these selectors do not work correctly
:has(>BlockStatement>ExpressionStatement):has(>BlockStatement ExpressionStatement)
but there are workarounds:
:has(>BlockStatement:has(>ExpressionStatement)):has(>BlockStatement:has(ExpressionStatement))
An attempt to fix it: https://github.com/estools/esquery/pull/148