Packages

dompurify

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

Upgrading dompurify From 3.4.17 to 3.4.18

1 release in betweenevery note read

Other targets from 3.4.17Newest 3.x, Latest3.5.0
  1. 3.4.17yours
  2. 3.4.18target
1
change to make
0
advisories fixed
1
new
3
fixes

Before you upgrade

Tick each one off as you go
  • Breaking3.4.18

Release by release

  1. 3.4.18

    Migration needed14 Nov 20261 new · 3 fixes
    • Breaking

      Removed several entries from the SVG tag allow-list that are attributes and not elements, thanks @hackvertor

    • New

      Added a console warning when USE_PROFILES is combined with ALLOWED_TAGS or ALLOWED_ATTR, thanks @rugk

    • Fixed

      Fixed a SAFE_FOR_TEMPLATES bypass where the final scrub cut through tags and let a template expression form on reparse, thanks @e1abrador

    • Fixed

      Fixed a direct property read in the clobbering check, thanks @trace37labs

    • Fixed

      Fixed a hook-widened allow-list carrying over when the config object received by a hook was passed back to sanitize()

4 other lines we could not sort, mostly version bumps
  • Refactored the code base: removed dead code and redundant helpers, shortened comments

    3.4.18
  • Documented that the content of closed shadow roots cannot be sanitized (README and wiki)

    3.4.18
  • Updated the README, the wiki and the list of contributors

    3.4.18
  • Updated several dependencies

    3.4.18

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.