Qualify CJS-only module imports

This commit is contained in:
Fedor Indutny 2025-09-19 13:05:51 -07:00 committed by GitHub
commit 40eaf078cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
401 changed files with 1278 additions and 593 deletions

View file

@ -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');