Package: node-memoize-one
Version: 6.0.0-3
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Installed-Size: 32
Depends: nodejs:any
Breaks: node-react-highlight-words (<< 0.20.0+~cs7.18.6+ds-1~)
Replaces: node-react-highlight-words (<< 0.20.0+~cs7.18.6+ds-1~)
Section: javascript
Priority: optional
Multi-Arch: foreign
Homepage: https://github.com/alexreardon/memoize-one
Description: single-entry memoization for JavaScript function calls
 memoize-one wraps a function and caches the result from its most recent
 invocation. When the wrapped function is called again with the same arguments,
 it returns the cached value instead of calling the original function again.
 .
 The cache is limited to one entry, so a new set of arguments replaces the
 previous cached arguments and result. By default, arguments are compared using
 strict equality, with special handling for NaN. A custom equality function can
 also be supplied.
 .
 The calling context, this, is treated as part of the comparison, so the same
 arguments with a different context cause a fresh computation. The memoized
 function also provides a clear() method for discarding the cached result.
