Packages

dompurify

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

Your version

3.0.0

major13 Feb 2023Where it was published

3.5.0 is the newest release of 3.x.

In short

2 new3 changed

Security

22 advisories affect 3.0.0; 3.4.17 fixes them

17 more

Release note

  • Removed all code that is for MSIE-only

  • Removed all tests that are for MSIE-only

  • Modified documentation to reflect new state of MSIE support

  • Added support for ALLOW_SELF_CLOSE_IN_ATTR flag, thanks @edg2s @AndreVirtimo

  • Added better support for shadowrootmode, thanks @mfreed7

NOTE Please use the 2.4.4 release if you still need MSIE support, 3.0.0 comes without the MSIE overhead

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.