-
-
Notifications
You must be signed in to change notification settings - Fork 237
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
fix: Improve support for older browsers by switching from replaceAll
to replace
#885
fix: Improve support for older browsers by switching from replaceAll
to replace
#885
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@MichalMoravik is attempting to deploy a commit to the next-intl Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for proposing this change! I'd generally be ok with this, as long as bundle size doesn't grow.
Seems like the regex is invalid currently: https://github.com/amannn/next-intl/actions/runs/8041481638/job/21968736617?pr=885
Can you share which browser you saw in your bug report?
@amannn I replied in the issue. Thank you!! |
Thanks! Yep, as mentioned I'd be ok with this change as long as the bundle size doesn't grow. Can you fix the invalid regex? |
Hey @amannn, sorry for getting back so late. I just changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thanks a lot @MichalMoravik!
replaceAll
with replace
replaceAll
with replace
replaceAll
to replace
Fixes #884