mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Upgrade outdated dependencies
This commit is contained in:
@@ -5,7 +5,7 @@ import { readFile } from 'node:fs/promises';
|
||||
import { join } from 'node:path';
|
||||
import * as z from 'zod';
|
||||
import { protocol } from 'electron';
|
||||
import LRU from 'lru-cache';
|
||||
import { LRUCache } from 'lru-cache';
|
||||
|
||||
import type { OptionalResourceService } from './OptionalResourceService';
|
||||
import { SignalService as Proto } from '../ts/protobuf';
|
||||
@@ -36,7 +36,7 @@ type SheetCacheEntry = Map<string, Uint8Array>;
|
||||
export class EmojiService {
|
||||
private readonly emojiMap = new Map<string, EmojiEntryType>();
|
||||
|
||||
private readonly sheetCache = new LRU<string, SheetCacheEntry>({
|
||||
private readonly sheetCache = new LRUCache<string, SheetCacheEntry>({
|
||||
// Each sheet is roughly 500kb
|
||||
max: 10,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user