Packages

dompurify

3.5.0 · 22 Nov 2026(MPL-2.0 OR Apache-2.0)106.1M / weekRepositorynpmAtom feed

Your version

0.8.0

24 May 2016Where it was published

0.9.0 is the newest release of 0.8.x.

In short

4 new2 fixed4 changed

Security

25 advisories affect 0.8.0; 3.4.17 fixes them

20 more

Release note

  • Added DOMPurify.removed to allow analyzing what elements and attributes were removed

  • Added much better compatibility with SVG images, filters and other SVG elements

  • Enhanced support for Data URIs

  • Enhanced support for Node.js and jsdom

  • Enhanced tests and reduced useless output

  • Added automated tests for Node.js and jsdom support

  • Added more browsers to automated tests (Edge 13, Chrome 50, Firefox 46)

  • Updated documentation and credits

  • Fixed smaller glitches on MSIE10

  • Fixed an issue with Shadow DOM on mobile Chrome

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.