Packages

dompurify

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

Upgrading dompurify From 2.0.17 to 2.1.0

1 release in betweenevery note read

Other targets from 2.0.17Newest 2.x2.5.9Clears its 22 advisories3.4.17Latest3.5.0
  1. 2.0.17yours
  2. 2.1.0target
1
change to make
0
advisories fixed
1
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking2.1.0

Security

Release by release

  1. 2.1.0

    Migration needed23 Sep 20201 new · 1 fix
    • Breaking

      Removed the SAFE_FOR_JQUERY flag (we are safe by default now for jQuery)

    • New

      Added "auto convert" checkbox to test website, thanks @hackvertor

    • Fixed

      Fixed several possible mXSS patterns, thanks @hackvertor

5 other lines we could not sort, mostly version bumps
  • Removed several now useless mXSS checks

    2.1.0
  • Updated the mXSS check for elements

    2.1.0
  • Updated test cases to cover new sanitization strategy

    2.1.0
  • Updated test website to use newer jQuery

    2.1.0
  • Updated array of tested browsers and removed legacy browsers

    2.1.0

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.