Comparing version 0.4.2 to 0.4.3
@@ -11,4 +11,4 @@ 'use strict'; | ||
normalizer.set = callable(userNormalizer.set); | ||
normalizer.delete = callable(userNormalizer.delete); | ||
normalizer.clear = callable(userNormalizer.clear); | ||
if (userNormalizer.delete) normalizer.delete = callable(userNormalizer.delete); | ||
if (userNormalizer.clear) normalizer.clear = callable(userNormalizer.clear); | ||
return normalizer; | ||
@@ -15,0 +15,0 @@ } |
{ | ||
"name": "memoizee", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"description": "Memoize/cache function results", | ||
@@ -5,0 +5,0 @@ "author": "Mariusz Nowak <medikoo@medikoo.com> (http://www.medikoo.com/)", |
'use strict'; | ||
module.exports = function (t, a) { | ||
var fn = function () {}; | ||
a.deep(t(fn), { get: fn, set: fn }); | ||
var fn = function () {}, resolved = t(fn); | ||
a.deep(resolved, { get: fn, set: fn }); | ||
a.deep(t(resolved), { get: fn, set: fn }); | ||
}; |
Sorry, the diff of this file is not supported yet
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
176204
4899