Bug with skin tone emojis when using `prevGraphemeClusterBreak` package
- 主要语言
- JavaScript
- 星标
- 6k
- 派生
- 1.3k
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 611
描述
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
```
_Originally posted by @steff456 in https://github.com/stdlib-js/stdlib/pull/1079#discussion_r1306328286_
贡献指南
调研方向
Start by reproducing the discrepancy with the `prevGraphemeClusterBreak` and `nextGraphemeClusterBreak` entry points using the single skin tone emoji shown in the issue. Compare their boundary results and inspect the related package behavior; done means the two functions handle this emoji consistently and the regression is covered by a test.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100