Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
lru-cache@5.1.1
  • Loading branch information
isaacs committed Jul 3, 2019
1 parent 3cbd577 commit 429226a
Show file tree
Hide file tree
Showing 42 changed files with 2,741 additions and 1,211 deletions.
3 changes: 2 additions & 1 deletion lib/fetch-package-metadata.js
Expand Up @@ -26,7 +26,8 @@ function andLogAndFinish (spec, tracker, done) {
}
}

const CACHE = require('lru-cache')({
const LRUCache = require('lru-cache')
const CACHE = new LRUCache({
max: 300 * 1024 * 1024,
length: (p) => p._contentLength
})
Expand Down
334 changes: 0 additions & 334 deletions node_modules/cacache/node_modules/lru-cache/index.js

This file was deleted.

8 changes: 0 additions & 8 deletions node_modules/cacache/node_modules/yallist/iterator.js

This file was deleted.

10 changes: 5 additions & 5 deletions node_modules/cacache/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 429226a

Please sign in to comment.