Skip to content

Commit

Permalink
chore: upgrade lru-cache@^7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchini committed Nov 29, 2022
1 parent c944080 commit de36103
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/plugins/throttle.js
Expand Up @@ -134,7 +134,7 @@ TokenBucket.prototype._fill = function _fill() {
function TokenTable(options) {
assert.object(options, 'options');

this.table = new LRU(options.size || 10000);
this.table = new LRU({ max: options.size || 10000 });
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -101,7 +101,7 @@
"formidable": "^1.2.1",
"http-signature": "^1.3.6",
"lodash": "^4.17.11",
"lru-cache": "^5.1.1",
"lru-cache": "^7.14.1",
"mime": "^2.4.3",
"negotiator": "^0.6.2",
"once": "^1.4.0",
Expand Down

0 comments on commit de36103

Please sign in to comment.