mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-22 01:18:19 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2024 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { isNumber } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
|
||||
import { createLogger } from '../logging/log.js';
|
||||
import { SignalService as Proto } from '../protobuf/index.js';
|
||||
@@ -12,6 +12,8 @@ import { isProduction } from './version.js';
|
||||
|
||||
import type { IncomingWebSocketRequest } from '../textsecure/WebsocketResources.js';
|
||||
|
||||
const { isNumber } = lodash;
|
||||
|
||||
const log = createLogger('checkFirstEnvelope');
|
||||
|
||||
const FIRST_ENVELOPE_COUNT = 5;
|
||||
|
||||
Reference in New Issue
Block a user