Skip to content

Releases: ericnorris/striptags

v4.0.0-alpha.4

04 Oct 22:06
v4.0.0-alpha.4
f890951
Compare
Choose a tag to compare
v4.0.0-alpha.4 Pre-release
Pre-release

The following should now work:

import striptags from "striptags";

v3.2.0

18 Jun 17:07
v3.2.0
f252a6b
Compare
Choose a tag to compare

This release fixes a potential type confusion vulnerability when passing in a non-string argument to the function.

v4.0.0-alpha.2

30 Nov 02:13
v4.0.0-alpha.2
dcb0c30
Compare
Choose a tag to compare
v4.0.0-alpha.2 Pre-release
Pre-release
  • fix: end InCommentState with >=2 consecutive hyphens (2404f84)
  • fix: return early when '<' character found in tag name (9a4e2e8)

v4.0.0-alpha.1

29 Nov 21:02
v4.0.0-alpha.1
28a7bcb
Compare
Choose a tag to compare
v4.0.0-alpha.1 Pre-release
Pre-release

See #60 and #61 for an overview of changes.

v3.1.1

29 Nov 21:00
v3.1.1
127f2fb
Compare
Choose a tag to compare

Note: this tag was cut a while ago, this release is only for the sake of consistency.

Version 3.0.0

01 Feb 05:05
v3.0.0
cd53825
Compare
Choose a tag to compare

Completely rewritten from the ground up, using some of Node v4+ javascript features. Changes around the state machine aspect should mean an increase in speed.

Now features a streaming mode, where partial HTML can be pumped into a function and stripped HTML is returned.

Version 2.2.1

01 Feb 05:01
v2.2.1
1563e2f
Compare
Choose a tag to compare
  • Reverting small changes to maintain Node v4+ support

Version 2.2.0

18 Jan 05:20
v2.2.0
65cc356
Compare
Choose a tag to compare
  • Includes tagReplacement parameter for replacing tags with text

Version 2.1.2

24 Apr 16:59
v2.1.2
Compare
Choose a tag to compare
  • Added bower.json
  • Signing this tag

Version 2.1.1

06 Jan 03:08
Compare
Choose a tag to compare