npm / micro-memoize
micro-memoize
What changed in micro-memoize 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
5 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initmicro-memoize 55 changes
Fixes and other changes 5
Replacement cache values are kept when an older promise settles.
Fixed typings that were invalid in some cases.
Listeners can be removed while listeners are being iterated.
Expiration is updated when a promise resolves.
Types were cleaned up so the result type is appropriately narrowed.