lru-cache-ext
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -7,2 +7,4 @@ import assert from 'assert'; | ||
super(options); | ||
assert(!('maxAge' in options), 'Please use "ttl" instead of "maxAge"'); | ||
assert('max' in options, 'Please add a "max" value'); | ||
this.cacheNull = cacheNull; | ||
@@ -9,0 +11,0 @@ } |
{ | ||
"name": "lru-cache-ext", | ||
"type": "module", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Thin wrapper around lru-cache with extended functionality.", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
6709
39