← Home

to-regex

Generate a regex from a string or array of strings.

8
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

jonschlinkert

Keywords

matchregexregular expressiontestto

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
dependencies unvetted-dep:safe-regex AI (dependencies): safe-regex is a well-known ReDoS-detection utility; its addition in v3.0.2 is a security improvement. Stable false positive for this package. ai
dependencies unvetted-dep:extend-shallow AI (dependencies): extend-shallow is a common jonschlinkert utility with no known malicious behavior; stable false positive for this package. ai
dependencies unvetted-dep:regex-not AI (dependencies): regex-not is a legitimate jonschlinkert utility for negating regex patterns; stable false positive for this package. ai
dependencies unvetted-dep:define-property AI (dependencies): define-property is a well-known jonschlinkert utility used across the ecosystem; low risk for this package's context. ai
provenance no-provenance AI (provenance): Package predates npm Sigstore provenance by years; absence is expected and not a risk signal for this established package. ai

Versions (showing 8 of 8)

Version Deps Published
3.0.2 4 / 2
3.0.1 3 / 6
3.0.0 3 / 6
2.1.0 3 / 6
2.0.0 2 / 6
1.0.0 2 / 6
0.1.1 2 / 6
0.1.0 1 / 6

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.