npm / wrap-ansi
wrap-ansi
What changed in wrap-ansi 10, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.
1 breaking1 behavior and defaults6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initwrap-ansi 108 changes
Breaking changes 1
Node.js 20 is now required to use wrap-ansi.
Behavior and default changes 1
Wrapping now accounts for graphemes.
Fixes and other changes 6
Keeps a sequence whole when a combining mark follows it, preventing the sequence from being split.
Fixes handling of hyperlinks.
Nested ANSI styles are preserved across wrapped lines.
Handling of ST-terminated OSC hyperlinks is fixed.
Tab wrapping now respects terminal tab stops.
The hard long-word branch now respects
{wordWrap: false}.