Qualify CJS-only module imports
This commit is contained in:
parent
140241b83f
commit
40eaf078cc
401 changed files with 1278 additions and 593 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue