Comparing version 0.4.1 to 0.4.2
"use strict"; | ||
var LRU = require("lru-cache"); | ||
var tuple = require("immutable-tuple").tuple; | ||
var Entry = require("./entry.js").Entry; | ||
var slice = Array.prototype.slice; | ||
function defaultMakeCacheKey() { | ||
return tuple.apply(null, arguments); | ||
return JSON.stringify(slice.call(arguments)); | ||
} | ||
@@ -41,5 +41,3 @@ | ||
var args = [], len = arguments.length; | ||
while (len--) args[len] = arguments[len]; | ||
var args = slice.call(arguments); | ||
var entry = cache.get(key); | ||
@@ -46,0 +44,0 @@ if (entry) { |
{ | ||
"name": "optimism", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"author": "Ben Newman <ben@benjamn.com>", | ||
@@ -5,0 +5,0 @@ "description": "Composable reactive caching with efficient invalidation.", |
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
12213
306