Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

micro-memoize

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micro-memoize - npm Package Versions

1
7

4.0.1

Diff

Changelog

Source

4.0.1

  • Fix types for consumption
planttheidea
published 4.0.0 •

Changelog

Source

4.0.0

  • Update to use Cache class instead of plain object (~10% performance improvement)
Breaking changes
  • memoized.cacheSnapshot has been deprecated in favor of memoized.cache.snapshot
  • Memoizing an already-memoized function no longer returns the function passed (now composes, see Composition)
Enhancements
  • You can now compose memoized functions with their options (see Composition)
planttheidea
published 3.0.2 •

Changelog

Source

3.0.2

  • Fix types declarations to ensure signature of fn passed is retained
  • Throw an error when the first parameter passed is not a function
planttheidea
published 3.1.0-beta.1 •

planttheidea
published 3.1.0-beta.0 •

planttheidea
published 3.0.1 •

Changelog

Source

3.0.1

  • Fix types declaration for Options to allow custom keys / indices
planttheidea
published 3.0.0 •

Changelog

Source

3.0.0

  • Rewrite in TypeScript
  • Use rollup for builds of all packages
BREAKING CHANGES
  • CommonJS requires no longer require .default
  • Types contract is much stricter
  • Utility methods are no longer deep-linkable
    • Not technically exposed in the API, but was relied upon by other libraries)
planttheidea
published 3.0.0-beta.6 •

planttheidea
published 3.0.0-beta.5 •

planttheidea
published 3.0.0-beta.4 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc