hast-util-sanitize
hast utility to sanitize nodes
hast-util-sanitize@5.0.2 was published on 2024-10-25. Its manifest declares 3 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 hast-util-sanitize versions · Permanent reference to 5.0.2
Package specifications
| Version | 5.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2024-10-25T13:36:27.148Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 46.54 KiB |
| Published file count | 12 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 4 |
| Repository stars | 60 |
| Repository forks | 21 |
Install hast-util-sanitize 5.0.2
npm install hast-util-sanitize@5.0.2 pnpm add hast-util-sanitize@5.0.2 yarn add hast-util-sanitize@5.0.2
Runtime dependencies
- @types/hast ^3.0.0
- @ungap/structured-clone ^1.0.0
- unist-util-position ^5.0.0
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.
- @types/hast@3.0.5 — direct
- @types/unist@3.0.3 — indirect
- @ungap/structured-clone@1.4.0 — direct
- unist-util-position@5.0.0 — direct
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.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 0/10 — Found 0/30 approved changesets -- score normalized to 0 |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| SAST | 0/10 — no SAST tool detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 10/10 — security policy file detected |
Evidence and freshness
- https://registry.npmjs.org/hast-util-sanitize/5.0.2 — retrieved 2026-10-29T14:48:52.445Z
- https://api.deps.dev/v3/systems/npm/packages/hast-util-sanitize/versions/5.0.2 — retrieved 2026-10-29T14:48:52.936Z
- https://api.deps.dev/v3/systems/npm/packages/hast-util-sanitize/versions/5.0.2:dependencies — retrieved 2026-10-29T14:48:52.998Z
- https://api.deps.dev/v3/projects/github.com%2Fsyntax-tree%2Fhast-util-sanitize — retrieved 2026-10-29T14:48:53.187Z