dompurify 3.4.12

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It runs as JavaScript and works in all modern browsers, as well as in Node.js (via jsdom). DOMPurify is written by security people who have vast background in web a

dompurify@3.4.12 was published on 2026-07-11. 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.12 · Latest release

Package specifications

Version3.4.12
License declaration(MPL-2.0 OR Apache-2.0)
Published2026-07-11T12:11:29.337Z
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 size1706.34 KiB
Published file count24
Package typeNot declared
ES module entry./dist/purify.es.mjs
Default entry./dist/purify.cjs.js
Side effects declarationNot declared
Direct advisories5
Resolved graph dependencies1
Repository stars17491
Repository forks882

Install dompurify 3.4.12

npm install dompurify@3.4.12
pnpm add dompurify@3.4.12
yarn add dompurify@3.4.12

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

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