node-memoize-one 6.0.0-1
Package Information
| 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. |
|---|---|
| Maintainer | Home Assistant Team <team+homeassistant@tracker.debian.org> |
| Changed By | Edward Betts <edward@4angle.com> |
| Sponsor | edward@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/homeassistant-team/js/node-memoize-one (browse) |
| Closes | #1125074 |
| Tracker | https://tracker.debian.org/pkg/node-memoize-one |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Architecture | all source |
|---|---|
| Distribution | unstable |
| Date | Tue, 09 Jun 2026 08:17:30 +0100 |
| Source | node-memoize-one |
| Version | 6.0.0-1 |
| Changed-By | Edward Betts |
Changelog
node-memoize-one (6.0.0-1) unstable; urgency=medium . * Initial release. (Closes: #1125074)
.dsc
| Package-List | libjs-memoize-one deb javascript optional arch=all node-memoize-one deb javascript optional arch=all |
|---|---|
| Section | javascript |
| Priority | optional |
| Component | main |
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.