Packages

dompurify

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

Upgrading dompurify From 3.4.9 to 3.4.10

1 release in betweenevery note read

Other targets from 3.4.9Newest 3.x, Latest3.5.0Clears its 7 advisories3.4.17
  1. 3.4.9yours
  2. 3.4.10target
0
changes to make
0
advisories fixed
1
new
0
fixes

Security

Release by release

  1. 3.4.10

    12 Jun 20261 new
    • New

      Added a deterministic micro-benchmark harness (npm run bench) with a --compare mode

9 other lines we could not sort, mostly version bumps
  • Refactored codebase for clarity: extracted the public type declarations into types.ts

    3.4.10
  • Decomposed the three largest sanitizer functions into focused helpers

    3.4.10
  • Removed duplicated defaults and dead branches, consolidated SAFE_FOR_TEMPLATES scrubbing into single shared path

    3.4.10
  • Improved per-node performance by hoisting the mXSS probe regexes and testing textContent before innerHTML

    3.4.10
  • Reduced CI cost by running the full three-engine browser suite once per PR

    3.4.10
  • Refreshed the demos/ folder so every demo runs again, and added a SVG-via-<img> demo

    3.4.10
  • Documented the bench and test:happydom scripts in the README

    3.4.10
  • Completed the Attack Classes & Bypass History wiki page

    3.4.10
  • Bumped several dependencies where possible

    3.4.10

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.