-
Notifications
You must be signed in to change notification settings - Fork 23
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
Not working in the lower version of Safari #50
Comments
marsidev
added a commit
that referenced
this issue
Jan 29, 2024
…ty with old browsers should fix #50
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the current behavior?
Hello, I found that it cannot be used in the lower version of Safari ios browser. After debugging, it was found that the syntax error was reported, and it was located that it was a problem with the react-turnstile library. The reason is that the
??
syntactic sugar is still used in the build product. The minimum valid version of this syntax in Safari ios is 13.4. If it is lower than this version, an error will be reported.I tried forking the code to modify the
unbuild
configuration, but I'm not familiar with how to configure commonjs in this library, so it never took effect. I hope you can help me deal with it. Thank you so much.The text was updated successfully, but these errors were encountered: