Packages

dompurify

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

Your version

2.0.0

major12 Sep 2019Where it was published

2.5.9 is the newest release of 2.x.

In short

2 new1 fixed1 changed

Security

25 advisories affect 2.0.0; 3.4.17 fixes them

20 more

Release note

Note: This release makes sure that, by default only string objects are returned (if not specified otherwise). This change relates to a surprising behavior in Chrome 77 - having to do with Trusted Types.

  • Changed the default behavior for Trusted Types (See #361)

  • Added a new config flag to manually enable Trusted Types support

  • Added support for more attributes

  • Fixed a minor CSP warning

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.