Packages

dompurify

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

Upgrading dompurify From 1.0.7 to 1.1.1

6 releases in betweennotes for 4

Other targets from 1.0.7Clears its 25 advisories3.4.17Latest3.5.0
?
changes to make
1
advisory fixed
6+
new
6+
fixes

Counted from 4 of 6 release notes. Advisories are counted from the advisory database, in full.

Security

25 advisories still affect 1.1.1

Upgrading to 3.4.17 clears them.

Fixes 1 advisory affecting 1.0.7

  • Added better in-depth protection against Gadget XSS, thanks Jun!

    1.0.8

Release by release

  1. 1.1.0 – 1.1.12 releases, no release note

  2. 1.0.11

    18 Jun 20193 fixes
    • Fixed

      Fixed a minor problem with persistent config flags

    • Fixed

      Fixed a problem with extraneous HTML elements

    • Fixed

      Fixed some minor issues in README and Demo

  3. 1.0.10

    19 Feb 20193 new · 2 fixes
    • New

      Added better internal code hardening, thanks @choumx

    • New

      Added more tests

    • New

      Added better browser coverage for CI via BrowserStack

    • Fixed

      Fixed a possible security problem when SAFE_FOR_TEMPLATES is true (default is false), thanks @masatokinugawa

    • Fixed

      Fixed a security problem when ALLOWED_TAGS or ADD_TAGS white-lists noembed or noscript (not the default), thanks @masatokinugawa

  4. 1.0.9

    14 Jan 20191 new · 1 fix
    • New

      Optimized handling of leading white-space

    • Fixed

      Fixed a build error caused by npm@natives

  5. 1.0.8

    Security fix8 Sep 20182 new
    • Security

      Added better in-depth protection against Gadget XSS, thanks Jun!

    • New

      Added cosmetic changes to README.md

    • New

      Added several new tests

9 other lines we could not sort, mostly version bumps
  • Expanded the array of permitted SVG properties

    1.0.11
  • Expanded the array of permitted HTML properties

    1.0.11
  • Extended the SVG attribute whitelist

    1.0.10
  • Cleaned up legacy browser coverage for CI via BrowserStack

    1.0.10
  • Extended array of tested browsers

    1.0.9
  • Squashed a memory leak

    1.0.9
  • Removed a spurious alert from internal tests

    1.0.9
  • Removed internal test for fixed Edge mXSS

    1.0.9
  • Reduced installed library footprint a bit

    1.0.8

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.