Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

memoize-cache

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memoize-cache - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

1

cache.js

@@ -40,2 +40,3 @@ var Promise = require('bluebird');

this._tasksToComplete.push(task);
return true;
};

@@ -42,0 +43,0 @@

2

package.json
{
"name": "memoize-cache",
"version": "3.1.1",
"version": "3.1.2",
"description": "A cache support for memoized functions",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -77,2 +77,3 @@ var sizeof = require('sizeof');

}
return true;
};

@@ -79,0 +80,0 @@

@@ -70,2 +70,3 @@ memoize-cache

"args" is an array containing the arguments passed to the function that generated the output.
This function is a "fire and forget" caching request. So there is no need of waiting for an answer. It returns "true" if the value is scheduled to be cached. Undefined if it is not (because the TTL is 0 for example).

@@ -72,0 +73,0 @@ Querying for cache hit

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc