Upgrade outdated dependencies

This commit is contained in:
Jamie Kyle
2024-11-14 17:28:55 -08:00
committed by GitHub
parent ec3c46d356
commit ca19a7a774
24 changed files with 2416 additions and 2892 deletions

View File

@@ -3,7 +3,7 @@
import cloneDeep from 'lodash/cloneDeep';
import { throttle } from 'lodash';
import LRU from 'lru-cache';
import { LRUCache } from 'lru-cache';
import type {
MessageAttributesType,
ReadonlyMessageAttributesType,
@@ -267,7 +267,10 @@ export class MessageCache {
});
}
private throttledReduxUpdaters = new LRU<string, typeof this.updateRedux>({
private throttledReduxUpdaters = new LRUCache<
string,
typeof this.updateRedux
>({
max: MAX_THROTTLED_REDUX_UPDATERS,
});