We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32d9516 commit e3a7fc4Copy full SHA for e3a7fc4
2 files changed
lib/router/sequential.js
@@ -26,7 +26,7 @@ module.exports = (config = {}) => {
26
27
const routers = {}
28
const isCacheEnabled = config.cacheSize > 0
29
- const cache = isCacheEnabled ? new LRU(config.cacheSize) : null
+ const cache = isCacheEnabled ? new LRU({ max: config.cacheSize }) : null
30
const router = new Trouter()
31
router.id = config.id
32
package.json
@@ -43,7 +43,7 @@
43
"lib/"
44
],
45
"dependencies": {
46
- "lru-cache": "^6.0.0",
+ "lru-cache": "^7.10.1",
47
"regexparam": "^2.0.0",
48
"trouter": "^3.2.0"
49
}
0 commit comments