mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-03 06:41:19 +01:00
Qualify CJS-only module imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2025 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { groupBy } from 'lodash';
|
||||
import lodash from 'lodash';
|
||||
import type { ReadStatus } from '../messages/MessageReadStatus.js';
|
||||
import type { SeenStatus } from '../MessageSeenStatus.js';
|
||||
import type { ServiceIdString } from '../types/ServiceId.js';
|
||||
@@ -34,6 +34,8 @@ import { strictAssert } from '../util/assert.js';
|
||||
import type { MessageAttributesType } from '../model-types.js';
|
||||
import { createLogger } from '../logging/log.js';
|
||||
|
||||
const { groupBy } = lodash;
|
||||
|
||||
export const ROOT_MESSAGE_ATTACHMENT_EDIT_HISTORY_INDEX = -1;
|
||||
|
||||
const log = createLogger('hydrateMessage');
|
||||
|
||||
Reference in New Issue
Block a user