refactor: replace deprecated LRU cache methods (#8266)
This commit is contained in:
@@ -18,11 +18,11 @@ export class LRUCache {
|
||||
}
|
||||
|
||||
del(key) {
|
||||
this.cache.del(key);
|
||||
this.cache.delete(key);
|
||||
}
|
||||
|
||||
clear() {
|
||||
this.cache.reset();
|
||||
this.cache.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user