Comparing version 0.4.0 to 0.4.1
"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 JSON.stringify(slice.call(arguments)); | ||
return tuple.apply(null, arguments); | ||
} | ||
@@ -41,3 +41,5 @@ | ||
var args = slice.call(arguments); | ||
var args = [], len = arguments.length; | ||
while (len--) args[len] = arguments[len]; | ||
var entry = cache.get(key); | ||
@@ -44,0 +46,0 @@ if (entry) { |
{ | ||
"name": "optimism", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"author": "Ben Newman <ben@benjamn.com>", | ||
@@ -31,2 +31,3 @@ "description": "Composable reactive caching with efficient invalidation.", | ||
"dependencies": { | ||
"immutable-tuple": "^0.4.4", | ||
"lru-cache": "^4.1.1" | ||
@@ -33,0 +34,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
12267
307
2
+ Addedimmutable-tuple@^0.4.4
+ Addedimmutable-tuple@0.4.10(transitive)