fixed ESM default imports

This commit is contained in:
Eugene Pankov
2021-12-06 19:13:26 +01:00
parent 5bc13965e1
commit 860a577ddb
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import * as LRU from 'lru-cache'
import LRU from 'lru-cache'
import * as fs from 'fs'
const lru = new LRU({ max: 256, maxAge: 250 })
const origLstat = fs.realpathSync.bind(fs)