p-locate
Get the first fulfilled promise that satisfies the provided testing function
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
sindresorhus
Keywords
promiselocatefindfindersearchsearchertestarraycollectioniterableiteratorracefulfilledfastestasyncawaitpromisesbluebird
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| dependencies | unvetted-dep:p-limit | AI (dependencies): p-limit is a well-known sindresorhus utility with hundreds of millions of weekly downloads; flagging it as unvetted is a stable false positive for this package. | ai | |
| provenance | no-provenance | AI (provenance): Lack of Sigstore provenance is common across npm; sindresorhus is a highly trusted publisher with a long track record. This is a stable false positive for this package. | ai |