Skip to content

Commit

Permalink
fix: use lru-cache.clear (#80)
Browse files Browse the repository at this point in the history
.reset was deprecated
  • Loading branch information
wraithgar committed Mar 15, 2022
1 parent a6041bd commit a48e020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/memoization.js
Expand Up @@ -16,7 +16,7 @@ function clearMemoized () {
MEMOIZED.forEach((v, k) => {
old[k] = v
})
MEMOIZED.reset()
MEMOIZED.clear()
return old
}

Expand Down

0 comments on commit a48e020

Please sign in to comment.