mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 17:08:11 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -5,7 +5,7 @@ import {
|
||||
DecryptionErrorMessage,
|
||||
PlaintextContent,
|
||||
} from '@signalapp/libsignal-client';
|
||||
import { isNumber, random } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
import type PQueue from 'p-queue';
|
||||
|
||||
import * as Bytes from '../Bytes.js';
|
||||
@@ -42,6 +42,8 @@ import { incrementMessageCounter } from './incrementMessageCounter.js';
|
||||
import { SECOND } from './durations/index.js';
|
||||
import { sleep } from './sleep.js';
|
||||
|
||||
const { isNumber, random } = lodash;
|
||||
|
||||
const log = createLogger('handleRetry');
|
||||
|
||||
const RETRY_LIMIT = 5;
|
||||
|
||||
Reference in New Issue
Block a user