dompurify 3.4.0

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin

dompurify@3.4.0 was published on 2026-04-14. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.

All dompurify versions · Permanent reference to 3.4.0 · Latest release

Package specifications

Version3.4.0
License declaration(MPL-2.0 OR Apache-2.0)
Published2026-04-14T07:51:39.768Z
Node.js requirementNot declared
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count1
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size816.63 KiB
Published file count13
Package typeNot declared
ES module entry./dist/purify.es.mjs
Default entry./dist/purify.cjs.js
Side effects declarationNot declared
Direct advisories13
Resolved graph dependenciesUnknown
Repository stars17491
Repository forks882

Install dompurify 3.4.0

npm install dompurify@3.4.0
pnpm add dompurify@3.4.0
yarn add dompurify@3.4.0

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

Known direct advisories

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Maintained10/10 — 30 commit(s) and 14 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Security-Policy10/10 — security policy file detected
Binary-Artifacts10/10 — no binaries found in the repo
Code-Review10/10 — all changesets reviewed
Token-Permissions10/10 — GitHub workflow tokens follow principle of least privilege
Pinned-Dependencies10/10 — all dependencies are pinned
CII-Best-Practices7/10 — badge detected: Silver
License10/10 — license file detected
Fuzzing10/10 — project is fuzzed
Signed-Releases10/10 — 5 out of the last 5 releases have a total of 10 signed artifacts.
Branch-Protection8/10 — branch protection is not maximal on development and all release branches
SAST10/10 — SAST tool is run on all commits

Evidence and freshness