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 recently encountered this as well and I believe it's because of an issue with mensch, the library used to transform CSS into tokens.
Selectors are split with split(',') which in this situation creates a token like :not(.is-content-justification-space-between with no closing parenthesis.
When this token is passed to the Slick parser, it blocks at this line as the Regex evaluation seems to never completes.
There is a PR open to fix this in mensch (brettstimmerman/mensch#29) but it uses a pattern with negative lookbehind which is not supported on all browsers.
If it helps, here is a test case to reproduce this issue:
If you run this, you will never get a response.
If there is only one class inside the
:not(...)
, or if the class names are shorter - it could not be reproduced.Node version:
v10.24.1
Juice version:
8.0.0
The text was updated successfully, but these errors were encountered: