Skip to content

Releases

v6.6.0

Choose a tag to compare

@sindresorhus sindresorhus released this 08 Nov 11:30
  • Handle more cases 907d0aa
  • Match escapes whose final byte is a digit 530b8db

v6.5.0...v6.6.0

v6.5.0

Choose a tag to compare

@sindresorhus sindresorhus released this 29 Oct 13:34
  • Strip a CSI with a private parameter marker as a whole f2b4c24
  • Never partially strip a sequence c8bbf69

v6.4.0...v6.5.0

v6.4.0

Choose a tag to compare

@sindresorhus sindresorhus released this 27 Sep 03:34
  • Match OSC sequences using the C1 introducer 79e112d

v6.3.0...v6.4.0

v6.3.0

Choose a tag to compare

@sindresorhus sindresorhus released this 12 Aug 14:30

v6.2.2...v6.3.0

v6.2.2

Choose a tag to compare

@sindresorhus sindresorhus released this 08 Sep 14:48

v6.2.0

Choose a tag to compare

@sindresorhus sindresorhus released this 17 Aug 16:49
  • Support colon separated parameters to control sequences (#62) df7d75f

v6.1.0...v6.2.0

v6.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 09 Sep 13:58
  • Match cursorSave and cursorRestore escape codes (#45) 02fa893
  • Fix: Handle all valid ST characters (#58) 9cba40d

v6.0.1...v6.1.0

v5.0.1

Choose a tag to compare

@Qix- Qix- released this 14 Sep 15:59

Fixes (backport of 6.0.1 to v5)

This is a backport of the minor ReDos vulnerability in ansi-regex@<6.0.1, as requested in #38.

  • 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 unlikely anyone is doing, since this regex is mainly used in command-line tools.

CVE-2021-3807

https://github.com/chalk/ansi-regex/compare/v5.0.0..v5.0.1

Thank you @yetingli for the patch and reproduction case!

v6.0.1

Choose a tag to compare

@Qix- Qix- released this 10 Sep 20:26

Fixes

  • 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 unlikely anyone is doing, since this regex is mainly used in command-line tools.

CVE-2021-3807

v6.0.0...v6.0.1

Thank you @yetingli for the patch and reproduction case!

v6.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 16 Apr 06:02

Breaking

v5.0.0...v6.0.0