Skip to content

Releases: sindresorhus/is-svg

v5.1.0

05 Aug 10:25
Compare
Choose a tag to compare

v5.0.1

14 May 12:51
Compare
Choose a tag to compare

v5.0.0...v5.0.1

v5.0.0

28 Feb 21:10
Compare
Choose a tag to compare

Breaking

  • Require Node.js 14 d29071c
  • This package is now pure ESM. Please read this.
  • It no longer accepts a Buffer.
    • To migrate, simply call .toString() on the buffer before passing it in here.
  • It now strictly validates that the input is a string.

v4.4.0...v5.0.0

v4.4.0

28 Feb 20:54
Compare
Choose a tag to compare

v4.3.2...v4.4.0

v4.3.2

24 Nov 11:30
Compare
Choose a tag to compare
  • Fix false-negative with linebreaks inside the SVG tag (#29) d46292d

v4.3.1...v4.3.2

v4.3.1

16 Mar 17:02
Compare
Choose a tag to compare
  • Remove leftover console.log b8ebc78

v4.3.0...v4.3.1

v4.3.0

16 Mar 16:38
Compare
Choose a tag to compare
  • Improve performance and accuracy 732fc72
  • 4.2.2 did not 100% fix the ReDoS. This version does.

v4.2.2...v4.3.0

v4.2.2

11 Mar 09:48
Compare
Choose a tag to compare
  • Partly fix ReDoS vulnerability 01f8a08
    • You are only affected if you use this package on a server that accepts SVG as user-input.
    • CVE-2021-28092

v4.2.1...v4.2.2

v4.2.1

17 Jan 04:41
Compare
Choose a tag to compare
  • Fix false-positive when the <!Entity> tag contains markup (#24) f8e39a8

v4.2.0...v4.2.1

v4.2.0

30 May 05:56
Compare
Choose a tag to compare

v4.1.0...v4.2.0