← Home

function-regex

Function regex. Regular expression for matching function parts. Expose match groups for function name, arguments and function body.

4
Versions
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

tunnckocore

Keywords

argsargumentsbodyexpressexpressionexpressionsfunctionfunctionsmatchnamereregexregexpregexpsregular

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
npm-metadata suspicious-initial-version AI (npm-metadata): Package is 11+ years old with 4 registry versions, published by a well-established maintainer. The 0.0.0 version is a legitimate early release, not a malicious throwaway. ai

Versions (showing 4 of 4)

Version Deps Published
1.0.2 0 / 5
1.0.1 0 / 3
1.0.0 0 / 3
0.0.0 0 / 3

v1.0.2

1 finding
LOW No provenance attestation provenance

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

v1.0.1

1 finding
LOW No provenance attestation provenance

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

v1.0.0

1 finding
LOW No provenance attestation provenance

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

v0.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.