Packages

dompurify

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

Upgrading dompurify From 2.1.1 to 2.2.0

1 release in betweenevery note read

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

Security

  • Fix a possible XSS in Chrome that is hidden behind #enable-experimental-web-platform-features, reported

    2.2.0
  • Changed RETURN_DOM_IMPORT default to true to address said possible XSS

    2.2.0

Release by release

  1. 2.2.0

    Security fix21 Oct 20201 fix
    • Security

      Fix a possible XSS in Chrome that is hidden behind #enable-experimental-web-platform-features, reported

    • Security

      Changed RETURN_DOM_IMPORT default to true to address said possible XSS

    • Fixed

      Fixed the tests to properly address the new default

1 other line we could not sort, mostly version bumps
  • Updated README to reflect the new change and inform about the risks of manually setting RETURN_DOM_IMPORT back to false

    2.2.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.