Skip to content

Commit e90a518

Browse files
authored
refactor: replace deprecated LRU cache methods (#8266)
1 parent 963613e commit e90a518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Adapters/Cache/LRUCache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ export class LRUCache {
1818
}
1919

2020
del(key) {
21-
this.cache.del(key);
21+
this.cache.delete(key);
2222
}
2323

2424
clear() {
25-
this.cache.reset();
25+
this.cache.clear();
2626
}
2727
}
2828

0 commit comments

Comments
 (0)