Packages

dompurify

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

Your version

3.2.5

3 Apr 2025Where it was published

3.5.0 is the newest release of 3.x.

In short

5 new2 fixed1 internal

Security

22 advisories affect 3.2.5; 3.4.17 fixes them

17 more

Release note

  • Added a check to the mXSS detection regex to be more strict, thanks @masatokinugawa

  • Added ESM type imports in source, removes patch function, thanks @donmccurdy

  • Added script to verify various TypeScript configurations, thanks @reduckted

  • Added more modern browsers to the Karma launchers list

  • Added Node 23.x to tested runtimes, removed Node 17.x

  • Fixed the generation of source maps, thanks @reduckted

  • Fixed an unexpected behavior with ALLOWED_URI_REGEXP using the 'g' flag, thanks @hhk-png

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.