mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-29 12:53:35 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2019 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { throttle } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
import { LRUCache } from 'lru-cache';
|
||||
|
||||
import { createLogger } from '../logging/log.js';
|
||||
@@ -18,6 +18,8 @@ import type { MessageAttributesType } from '../model-types.d.ts';
|
||||
import type { SendStateByConversationId } from '../messages/MessageSendState.js';
|
||||
import type { StoredJob } from '../jobs/types.js';
|
||||
|
||||
const { throttle } = lodash;
|
||||
|
||||
const log = createLogger('MessageCache');
|
||||
|
||||
const MAX_THROTTLED_REDUX_UPDATERS = 200;
|
||||
|
||||
Reference in New Issue
Block a user