NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #7 most downloaded on npm
Regular expression for matching ANSI escape codes
Latest stable
6.6.0
Last release 14 days ago
08 Nov 2026
Release timing varies
gaps range from 9 days to 2.5 years
Some releases are documented
notes for 12 of 24 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
24 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Match escapes whose final byte is a digit 530b8db
Strip a CSI with a private parameter marker as a whole f2b4c24
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Match OSC sequences using the C1 introducer 79e112d
Improve performance f1bf1f0 v6.2.2...v6.3.0
Fix vulnerability in 6.2.1, see: chalk/chalk#656
Support colon separated parameters to control sequences ( #62 ) df7d75f
Match cursorSave and cursorRestore escape codes ( #45 ) 02fa893
Fix ReDoS in certain cases (#37) You are only really affected if you run the regex on untrusted user input in a server context, which it's very unlike
https://github.com/chalk/ansi-regex/compare/v6.0.0...v6.0.1
Thank you @yetingli for the patch and reproduction case!
This package is now pure ESM. Please read this.
https://github.com/chalk/ansi-regex/compare/v5.0.0...v6.0.0
This is a backport of the minor ReDos vulnerability in ansi-regex@<6.0.1 , as requested in #38 .
6.0.1 to v5)This is a backport of the minor ReDos vulnerability in ansi-regex@<6.0.1, as requested in #38.
https://github.com/chalk/ansi-regex/compare/v5.0.0..v5.0.1
Thank you @yetingli for the patch and reproduction case!
Add TypeScript definition (#32) e77ea17
https://github.com/chalk/ansi-regex/compare/v4.1.0...v5.0.0
Nothing published for this version
Support more escape code like links (#29) 96200bb
https://github.com/chalk/ansi-regex/compare/v4.0.0...v4.1.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.