DFSG NEW Queue

DFSG, Licensing & New Packages Team

node-memoize-one 6.0.0-1

Package Information

Descriptionsingle-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.

MaintainerHome Assistant Team <team+homeassistant@tracker.debian.org>
Changed ByEdward Betts <edward@4angle.com>
Sponsoredward@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/homeassistant-team/js/node-memoize-one (browse)
Closes#1125074
Trackerhttps://tracker.debian.org/pkg/node-memoize-one
Uploaded4 hours ago

New Package Report

.changes
Architectureall source
Distributionunstable
DateTue, 09 Jun 2026 08:17:30 +0100
Sourcenode-memoize-one
Version6.0.0-1
Changed-ByEdward Betts
Changelog
node-memoize-one (6.0.0-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1125074)
.dsc
Package-Listlibjs-memoize-one deb javascript optional arch=all
node-memoize-one deb javascript optional arch=all
Sectionjavascript
Priorityoptional
Componentmain
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: memoize-one
Upstream-Contact: Alex Reardon <alexreardon@gmail.com>
Source: https://github.com/alexreardon/memoize-one

Files: *
Copyright: 2019 Alexander Reardon
License: MIT

Files: debian/*
Copyright: 2026 Edward Betts <edward@4angle.com>
License: MIT


License: MIT
 Permission is hereby granted, free of charge, to any person
 obtaining a copy of this software and associated documentation
 files (the "Software"), to deal in the Software without
 restriction, including without limitation the rights to use,
 copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the
 Software is furnished to do so, subject to the following
 conditions:
 .
 The above copyright notice and this permission notice shall be
 included in all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.

Back to Dashboard | View all reviews for this package