Qualify CJS-only module imports

This commit is contained in:
Fedor Indutny
2025-09-19 13:05:51 -07:00
committed by GitHub
parent 140241b83f
commit 40eaf078cc
401 changed files with 1278 additions and 593 deletions

View File

@@ -2,7 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
import { z } from 'zod';
import { isBoolean, isNumber } from 'lodash';
import lodash from 'lodash';
import type { CallbackResultType } from '../textsecure/Types.d.ts';
import { DataWriter } from '../sql/Client.js';
import { createLogger } from '../logging/log.js';
@@ -16,6 +16,8 @@ import { SEALED_SENDER } from '../types/SealedSender.js';
import type { ServiceIdString } from '../types/ServiceId.js';
import { drop } from './drop.js';
const { isBoolean, isNumber } = lodash;
const log = createLogger('handleMessageSend');
const { insertSentProto, updateConversation } = DataWriter;