npm package
Homehast-util-sanitize
hast-util-sanitize is a utility for sanitizing nodes in a tree structure, making potentially dangerous user content safe for use. It is particularly useful when dealing with user-generated content that may contain unsafe markup. This package fits into applications that require content sanitization to prevent security vulnerabilities.
- lurq health score
- 48/100
- Confidence
- unproven
- Weekly downloads
- 7,681,038
- Latest version
- 5.0.2
- Last release
- Oct 25, 2024
- License
- MIT
Should you depend on hast-util-sanitize?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks hast-util-sanitize at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading hast-util-sanitize
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 4.1.0 → 5.0.2being extracted
- 3.0.2 → 4.1.0being extracted
- 2.0.3 → 3.0.2being extracted
Other validation packages lurq scores
- fast-xml-parser93/100 · proven
- @babel/helper-validator-identifier91/100 · proven
- @babel/helper-validator-option91/100 · proven
- dependency-cruiser88/100 · proven
- @graphql-tools/schema87/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 9, 2026; this page refreshes every 168 hours. Source repository.