memoize-sync
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -8,3 +8,9 @@ module.exports = memoize; | ||
return function memoizedFn(){ | ||
memoizedFn.reset = function(){ | ||
mem = {}; | ||
}; | ||
return memoizedFn; | ||
function memoizedFn(){ | ||
var key = hash.apply(undefined, arguments); | ||
@@ -11,0 +17,0 @@ |
{ | ||
"name": "memoize-sync", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Return a memoized version of function.", | ||
@@ -17,3 +17,6 @@ "main": "index.js", | ||
"author": "Azer Koçulu <azer@kodfabrik.com>", | ||
"license": "BSD" | ||
"license": "BSD", | ||
"dependencies": { | ||
"strip": "0.0.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1788
16
1
+ Addedstrip@0.0.0
+ Addedstrip@0.0.0(transitive)