← Home

locate-path

Get the first path that exists on disk of multiple paths

12
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

sindresorhus

Keywords

locatepathpathsfilefilesexistsfindfindersearchsearcherarrayiterableiterator

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
provenance no-provenance AI (provenance): sindresorhus packages predate Sigstore provenance adoption; absence is expected and not a risk signal for this well-established publisher. ai
dependencies unvetted-dep:p-locate AI (dependencies): p-locate is a well-known sindresorhus utility package with millions of weekly downloads; not a risk for this package. ai

Versions (showing 12 of 12)

Version Deps Published
8.0.0 1 / 3
7.2.0 1 / 3
7.1.1 1 / 3
7.1.0 1 / 3
7.0.0 1 / 3
6.0.0 1 / 3
5.0.0 1 / 3
4.0.0 2 / 3
3.0.0 2 / 2
2.0.0 2 / 2
1.1.0 2 / 2
1.0.0 2 / 2