-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid regular expression on Safari iOS < 16.4 #142
Comments
we are having this problem in production now... very difficult to replicate. |
Duplicate of #133 |
We had problems with this in a Laravel Mix + Vue app where in production several users (mostly iOS and maybe MacOS too) had blank page issues and we couldn't figure it out until we removed this package. We always thought it was some magic caching issue because only 2% of users had this issue. |
Do we have any update for now? |
I auto posted this from patch-package wiithout seeing this issue. #143 Similar propsed fix as above however I dont see how that try would work without attempting an actual regexp construction |
Please check the latest version |
I've noticed that anchorme v3 doesn't work anymore on Safari iOS < 16.4. It throws an error
I've done some debugging and found that the reason is this line
in the file
regex.js
because Safari doesn't support positive lookaheads below version 16.4: https://caniuse.com/js-regexp-lookbehindI'm not sure why this positive lookbehind was added, but I propose to do something like
to be fail-safe.
The text was updated successfully, but these errors were encountered: