We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a20c28 commit 684d866Copy full SHA for 684d866
classes/range.js
@@ -221,8 +221,8 @@ function buildMemoKeyFromOptions(options) {
221
222
module.exports = Range
223
224
-const LRU = require('lru-cache')
225
-const cache = new LRU({ max: 1000 })
+const LRU = require('lru-fast').LRUCache
+const cache = new LRU(1000)
226
227
const parseOptions = require('../internal/parse-options')
228
const Comparator = require('./comparator')
package.json
@@ -48,7 +48,7 @@
48
"node": ">=10"
49
},
50
"dependencies": {
51
- "lru-cache": "^6.0.0"
+ "lru-fast": "0.2.2"
52
53
"author": "GitHub Inc.",
54
"templateOSS": {
0 commit comments