mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-04-15 03:02:51 -05:00
fix: remove lru deprecation warning (#3158)
* fix: remove lru deprecation warning * fix: format
This commit is contained in:
parent
0a1e9d649f
commit
adfbefc59e
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ import renderTemplate from './template';
|
|||
|
||||
const pkgJSON = require('../../../../package.json');
|
||||
const DEFAULT_LANGUAGE = 'es-US';
|
||||
const cache = new LRU({ max: 500, maxAge: 1000 * 60 * 60 });
|
||||
const cache = new LRU({ max: 500, ttl: 1000 * 60 * 60 });
|
||||
|
||||
const debug = buildDebug('verdaccio');
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue