dompurify 2.0.1

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@2.0.1 was published on 2019-09-19. Its manifest declares 0 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.

All dompurify versions · Permanent reference to 2.0.1 · Latest release

Package specifications

Version2.0.1
License declarationMPL-2.0 OR Apache-2.0
Published2019-09-19T09:31:52.635Z
Node.js requirementNot declared
Type declarationsNot declared
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size468.55 KiB
Published file count11
Package typeNot declared
ES module entrydist/purify.es.js
Default entrydist/purify.cjs.js
Side effects declarationNot declared
Direct advisories25
Resolved graph dependencies0
Repository stars17491
Repository forks882

Install dompurify 2.0.1

npm install dompurify@2.0.1
pnpm add dompurify@2.0.1
yarn add dompurify@2.0.1

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

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