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 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { isNil, sortBy } from 'lodash';
import lodash from 'lodash';
import PQueue from 'p-queue';
import { createLogger } from './logging/log.js';
@ -17,6 +17,8 @@ import { drop } from './util/drop.js';
import { MINUTE, HOUR, DAY, WEEK } from './util/durations/index.js';
import { isDirectConversation } from './util/whatTypeOfConversation.js';
const { isNil, sortBy } = lodash;
const log = createLogger('routineProfileRefresh');
const STORAGE_KEY = 'lastAttemptedToRefreshProfilesAt';