lru-cache
Advanced tools
Comparing version 4.0.1 to 4.0.2
{ | ||
"name": "lru-cache", | ||
"description": "A cache object that deletes the least-recently-used items.", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"author": "Isaac Z. Schlueter <i@izs.me>", | ||
@@ -12,3 +12,3 @@ "keywords": [ | ||
"scripts": { | ||
"test": "tap test --branches=100 --functions=100 --lines=100 --statements=100", | ||
"test": "tap test --100", | ||
"posttest": "standard test/*.js lib/*.js" | ||
@@ -20,3 +20,3 @@ }, | ||
"standard": "^5.4.1", | ||
"tap": "^5.1.1" | ||
"tap": "^8.0.1" | ||
}, | ||
@@ -23,0 +23,0 @@ "license": "ISC", |
@@ -7,2 +7,8 @@ # lru cache | ||
## Installation: | ||
```javascript | ||
npm install lru-cache --save | ||
``` | ||
## Usage: | ||
@@ -49,3 +55,3 @@ | ||
`function(){return 1}`, which is fine if you want to store `max` | ||
like-sized things. They item is passed as the first argument, and | ||
like-sized things. The item is passed as the first argument, and | ||
the key is passed as the second argumnet. | ||
@@ -52,0 +58,0 @@ * `dispose` Function that is called on items when they are dropped |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17414
149
0