Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
latest non vulnerable version
10 years ago
latest version published
8 months ago
Known vulnerabilities in the mem package. This does not include vulnerabilities belonging to this package’s dependencies.Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
mem is an optimization used to speed up consecutive function calls by caching the result of calls with identical input.
Affected versions of this package are vulnerable to Denial of Service (DoS). Old results were deleted from the cache and could cause a memory leak.
How to fix Denial of Service (DoS)?
Upgrade mem to version 4.0.0 or higher.