Files
bun.sh/src
Meghan Denny ed339b367d improve Bun.stringWidth's algorithm (#9022)
* improve Bun.stringWidth's algorithm

* add a bunch more tests from string-width package

* make typescript happy

* undo typescript changes

* use better #define check for debug mode

* properly handle latin1 width tests

* support grapheme clusters

* fix trailing newline

* visibleUTF16WidthFn- add fast path for leading ascii

* add firstNonASCII16IgnoreMin

* fix firstNonASCII16CheckMin

* vectorize visibleUTF16WidthFn

* support emoji variation selector

* expose stringWidth in release mode too

* vectorize visibleLatin1Width

* support ambiguousIsNarrow option

* add typescript definition for stringWidth
2024-02-22 19:16:17 -08:00
..
2024-02-20 18:58:12 -08:00
2024-02-20 18:58:12 -08:00
2024-01-19 17:30:57 -08:00
2024-02-20 18:58:12 -08:00
2023-12-14 16:56:33 -08:00
2024-02-20 18:58:12 -08:00
2024-02-03 00:35:25 -08:00
2023-11-22 14:26:09 -08:00
2024-02-20 18:58:12 -08:00
2023-11-27 12:12:55 -08:00
2024-02-08 00:29:08 -08:00
2024-01-19 17:30:57 -08:00
2024-01-15 23:47:13 -08:00
2024-01-20 22:58:01 -08:00
2024-02-20 18:58:12 -08:00
2024-01-19 17:30:57 -08:00
2024-02-08 15:44:56 -08:00
2024-02-19 10:23:31 -08:00
2023-12-05 15:53:05 -08:00