unstale

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 init

@unstale/cli on npm

micro-memoize 55 changes

Fixes and other changes 5

  • Replacement cache values are kept when an older promise settles.

    5.2.1release notes

  • Fixed typings that were invalid in some cases.

    5.1.2release notes

  • Listeners can be removed while listeners are being iterated.

    5.1.0release notes

  • Expiration is updated when a promise resolves.

    5.1.0release notes

  • Types were cleaned up so the result type is appropriately narrowed.

    5.0.1release notes