← Home

hast-util-heading-rank

hast utility to get the rank (or depth, level) of headings

6
Versions
MIT
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures gitHead linked

Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

wooormkmck

Keywords

unisthasthast-utilutilutilityhtmlheadingrankdepthlevel

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
publish-pattern new-deps-added AI (publish-pattern): @types/hast is a legitimate TypeScript type definition package standard in the hast/unified ecosystem; adding it as a runtime dep is normal practice for wooorm's typed packages. ai
dependencies unvetted-dep:@types/hast AI (dependencies): @types/hast is a standard TypeScript type definition used as a runtime dep in the unified/hast ecosystem for type exports; stable pattern for this package family. ai
phantom-deps phantom-dep:@types/hast AI (phantom-deps): @types/hast is intentionally declared as a runtime dep for TypeScript consumers; not directly imported in JS but used for type re-exports — standard pattern in unified ecosystem. ai

Versions (showing 6 of 6)

Version Deps Published
3.0.0 1 / 9
2.1.1 1 / 10
2.1.0 1 / 11
2.0.0 1 / 11
1.0.1 0 / 7
1.0.0 0 / 7

v3.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.1.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.1.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.