Skip to content
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

Usage of Intl.Segmenter() breaks on Firefox #50

Closed
outloudvi opened this issue May 23, 2023 · 2 comments
Closed

Usage of Intl.Segmenter() breaks on Firefox #50

outloudvi opened this issue May 23, 2023 · 2 comments

Comments

@outloudvi
Copy link

3 weeks ago, #47 introduced Intl.Segmenter(). However, since it's not supported by Firefox, this will break sites using string-width@^6.0.0 (approx. 1500 installs).

For a real-world example, the error is shown as below when I visited this site over Firefox Nightly 115.0a1:
Error on Firefox

@sindresorhus
Copy link
Owner

I have noted it in the release notes. I have no intention of working around lack of support for this in Firefox though.

https://github.com/sindresorhus/string-width/releases/tag/v6.0.0

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2023
frantic1048 added a commit to frantic1048/Restia that referenced this issue May 23, 2023
This reverts commit 39f56ba.

string-width@6 uses `Intl.Segment` while no Firefox version has implemented

- sindresorhus/string-width#47
- sindresorhus/string-width#50 (comment)
@outloudvi
Copy link
Author

Got it. Thanks for your quick reply. :)

frantic1048 added a commit to frantic1048/Restia that referenced this issue May 23, 2023
This reverts commit 39f56ba.

string-width@6 uses `Intl.Segment` while no Firefox version has implemented

- sindresorhus/string-width#47
- sindresorhus/string-width#50 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants