← Home

memoize

Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input

9
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

memoizefunctionmemmemoizationcachecachingoptimizeperformancettlexpirepromise

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
maintainer-change maintainer-takeover AI (maintainer-change): Transfer to sindresorhus, one of npm's most trusted publishers. Package aligns with his existing memoization utilities (mem, mimic-function). Legitimate ownership transfer. ai
maintainer-change maintainer-added AI (maintainer-change): sindresorhus is a highly trusted publisher with 468 packages and strong approval history. Addition is part of a legitimate transfer. ai
maintainer-change maintainer-removed AI (maintainer-change): Removal of prior maintainer is consistent with a complete, legitimate ownership transfer to sindresorhus. ai
publish-pattern new-deps-added AI (publish-pattern): mimic-function is a sindresorhus package used in his other memoization utilities; its addition is expected and benign for this package. ai

Versions (showing 9 of 9)

Version Deps Published
11.0.0 1 / 9
10.2.0 1 / 9
10.1.0 1 / 9
10.0.0 1 / 9
0.1.1 1 / 0
0.1.0 1 / 0
0.0.3 1 / 0
0.0.2 0 / 0
0.0.1 0 / 0

v11.0.0

1 finding
LOW No provenance attestation provenance

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

v10.2.0

1 finding
LOW No provenance attestation provenance

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

v10.1.0

1 finding
LOW No provenance attestation provenance

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

v10.0.0

2 findings
HIGH Complete maintainer takeover detected maintainer-change

All previous maintainers (stagas) were replaced by new maintainers (sindresorhus). This is a strong signal of a potential package hijack and requires careful review.

LOW No provenance attestation provenance

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