apollo-server-caching
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -17,3 +17,3 @@ "use strict"; | ||
constructor({ maxSize = Infinity } = {}) { | ||
this.store = lru_cache_1.default({ | ||
this.store = new lru_cache_1.default({ | ||
max: maxSize, | ||
@@ -20,0 +20,0 @@ length: item => item.length, |
{ | ||
"name": "apollo-server-caching", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "opensource@apollographql.com", | ||
@@ -20,5 +20,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"lru-cache": "^4.1.3" | ||
"lru-cache": "^5.0.0" | ||
}, | ||
"gitHead": "6bd73b175ff628a5e9858e2a5da1aa9dab5ed348" | ||
"gitHead": "1f3801c94967941f539e4bf925c92134b56478e7" | ||
} |
@@ -9,3 +9,3 @@ import LRU from 'lru-cache'; | ||
constructor({ maxSize = Infinity }: { maxSize?: number } = {}) { | ||
this.store = LRU({ | ||
this.store = new LRU({ | ||
max: maxSize, | ||
@@ -12,0 +12,0 @@ length: item => item.length, |
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
10440
+ Addedlru-cache@5.1.1(transitive)
+ Addedyallist@3.1.1(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedyallist@2.1.2(transitive)
Updatedlru-cache@^5.0.0