← Home

hast-util-to-text

hast utility to get the plain-text value of a node according to the `innerText` algorithm

11
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-utilutilutilityhtmlstringcontenttextinnertext

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
publish-pattern new-deps-added AI (publish-pattern): @types/* packages are TypeScript type declarations with no executable code; adding them during a TS migration is routine and carries no supply-chain risk for this package. ai
phantom-deps phantom-dep:@types/repeat-string AI (phantom-deps): @types/* packages are consumed by TypeScript's type resolution, not direct imports; phantom-dep firing on them is a stable false positive for this package. ai
dependencies unvetted-dep:@types/hast AI (dependencies): @types/hast is a TypeScript type definition package from DefinitelyTyped; it is a standard, benign dependency for typed hast utilities. ai
provenance no-provenance AI (provenance): wooorm is a highly trusted publisher with 2986 approved packages; lack of Sigstore provenance is not a meaningful risk signal for this established author. ai
phantom-deps phantom-dep:@types/hast AI (phantom-deps): @types/hast is a TypeScript type package used as a runtime dep in the unified/hast ecosystem; not directly imported but loaded by convention for TS consumers. ai
phantom-deps phantom-dep:@types/unist AI (phantom-deps): @types/unist is a TypeScript type package used as a runtime dep in the unified/hast ecosystem; not directly imported but loaded by convention for TS consumers. ai

Versions (showing 11 of 11)

Version Deps Published
4.0.2 4 / 9
4.0.1 4 / 9
4.0.0 4 / 10
3.1.2 4 / 10
3.1.1 3 / 12
3.1.0 3 / 12
3.0.0 5 / 12
2.0.1 3 / 10
2.0.0 3 / 10
1.0.1 3 / 10
1.0.0 3 / 10

v4.0.2

1 finding
LOW No provenance attestation provenance

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

v4.0.1

1 finding
LOW No provenance attestation provenance

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

v4.0.0

1 finding
INFO No provenance attestation provenance

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

v3.1.2

1 finding
INFO No provenance attestation provenance

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

v3.1.1

1 finding
INFO No provenance attestation provenance

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

v3.1.0

1 finding
INFO No provenance attestation provenance

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

v3.0.0

1 finding
INFO No provenance attestation provenance

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