stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

fix: Bug with skin tone emojis when using prevGraphemeClusterBreak package

Open olenkabilonizhka opened this issue 1 year ago • 0 comments

Resolves #1092

Description

What is the purpose of this pull request?

There's an issue with prevGraphemeClusterBreak package, if I compare the results with nextGraphemeClusterBreak for a single skin tone emoji it doesn't return the same values,

prevGraphemeClusterBreak( '👉🏿' ) // returns 1
nextGraphemeClusterBreak( '👉🏿' ) // returns -1

Related Issues

Does this pull request have any related issues?

This pull request:

  • resolves #1092

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.


@stdlib-js/reviewers

olenkabilonizhka avatar Apr 07 '24 13:04 olenkabilonizhka