Skip to content

Commit

Permalink
fix: use lru-cache named export
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Aug 14, 2023
1 parent 9e5902f commit 9ec690b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/revs.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const pinflight = require('promise-inflight')
const spawn = require('./spawn.js')
const LRU = require('lru-cache')
const { LRUCache } = require('lru-cache')

const revsCache = new LRU({
const revsCache = new LRUCache({
max: 100,
ttl: 5 * 60 * 1000,
})
Expand Down

0 comments on commit 9ec690b

Please sign in to comment.