Source: node-memoize-one
Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Uploaders:
 Edward Betts <edward@4angle.com>,
Section: javascript
Build-Depends:
 debhelper-compat (= 13),
 dh-nodejs,
 dh-sequence-nodejs-no-lerna,
 jest <!nocheck>,
 node-expect-type <!nocheck>,
 node-lodash-packages <!nocheck>,
 node-rollup-plugin-replace,
 node-rollup-plugin-terser,
 node-rollup-plugin-typescript,
 node-tslib,
 node-typescript,
 rollup,
 ts-jest <!nocheck>,
Standards-Version: 4.7.4
Homepage: https://github.com/alexreardon/memoize-one
Vcs-Browser: https://salsa.debian.org/homeassistant-team/js/node-memoize-one
Vcs-Git: https://salsa.debian.org/homeassistant-team/js/node-memoize-one
Testsuite: autopkgtest-pkg-nodejs

Package: node-memoize-one
Architecture: all
Multi-Arch: foreign
Depends:
 nodejs:any (>= ${nodejs:Version}),
 ${misc:Depends},
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.

Package: libjs-memoize-one
Architecture: all
Multi-Arch: foreign
Depends:
 ${misc:Depends},
Description: single-entry memoization for JavaScript function calls - browser version
 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.
 .
 This package provides the browser-ready UMD builds.
