Closed Nivani closed 3 months ago
@Nivani could you please check if the current "nwsapi" master branch here on github fixes the problem ? I haven't released a new package on NPM yet but if the problem is fixed I can plan a new release.
@dperini thanks! It works when I use the master branch.
I've tested both the example above and the project that's using Kendo UI.
@Nivani thank you for the prompt answer. Will wait a few more confirmations to ensure I didn't create any regression or problem. Then I will release 2.2.10 on NPM and have others happy too. Forgive the delay in fixing this, appreciate your help and contribution.
The following selector throws an error using
nwsapi
, but not in a web browser:This selector is used by Kendo UI, a commercial component library.
I was able to narrow it down to the use of the child combinator
>
inside:not()
.Node.js script that reproduces the issue:
Output:
Tested with Node v20.9.0
I've seen other issues where selectors broke when upgrading from 2.2.2 to 2.2.3, but these don't work in 2.2.2 either.