Upgrade outdated dependencies

This commit is contained in:
Jamie Kyle 2024-11-14 17:28:55 -08:00 committed by GitHub
parent ec3c46d356
commit ca19a7a774
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 2416 additions and 2892 deletions

View file

@ -3,7 +3,7 @@
import type { Key } from 'react';
import React from 'react';
import { Tabs, TabList, Tab, TabPanels, TabPanel } from 'react-aria-components';
import { Tabs, TabList, Tab, TabPanel } from 'react-aria-components';
import classNames from 'classnames';
import { Avatar, AvatarSize } from './Avatar';
import type { LocalizerType, ThemeType } from '../types/Util';
@ -232,7 +232,12 @@ export function NavTabs({
const isRTL = i18n.getLocaleDirection() === 'rtl';
return (
<Tabs orientation="vertical" className="NavTabs__Container">
<Tabs
orientation="vertical"
className="NavTabs__Container"
selectedKey={selectedNavTab}
onSelectionChange={handleSelectionChange}
>
<nav
data-supertab
className={classNames('NavTabs', {
@ -248,11 +253,7 @@ export function NavTabs({
hasPendingUpdate={false}
otherTabsUnreadStats={null}
/>
<TabList
className="NavTabs__TabList"
selectedKey={selectedNavTab}
onSelectionChange={handleSelectionChange}
>
<TabList className="NavTabs__TabList">
<NavTabsItem
i18n={i18n}
id={NavTab.Chats}
@ -394,17 +395,15 @@ export function NavTabs({
</button>
</div>
</nav>
<TabPanels>
<TabPanel id={NavTab.Chats} className="NavTabs__TabPanel">
{renderChatsTab}
</TabPanel>
<TabPanel id={NavTab.Calls} className="NavTabs__TabPanel">
{renderCallsTab}
</TabPanel>
<TabPanel id={NavTab.Stories} className="NavTabs__TabPanel">
{renderStoriesTab}
</TabPanel>
</TabPanels>
<TabPanel id={NavTab.Chats} className="NavTabs__TabPanel">
{renderChatsTab}
</TabPanel>
<TabPanel id={NavTab.Calls} className="NavTabs__TabPanel">
{renderCallsTab}
</TabPanel>
<TabPanel id={NavTab.Stories} className="NavTabs__TabPanel">
{renderStoriesTab}
</TabPanel>
</Tabs>
);
}

View file

@ -3,7 +3,7 @@
import * as React from 'react';
import PQueue from 'p-queue';
import LRU from 'lru-cache';
import { LRUCache } from 'lru-cache';
import type { WaveformCache } from '../types/Audio';
import * as log from '../logging/log';
@ -29,7 +29,7 @@ export type Contents = {
// created.)
let audioContext: AudioContext | undefined;
const waveformCache: WaveformCache = new LRU({
const waveformCache: WaveformCache = new LRUCache({
max: MAX_WAVEFORM_COUNT,
});

View file

@ -12,7 +12,7 @@ import {
} from 'lodash';
import Long from 'long';
import type { ClientZkGroupCipher } from '@signalapp/libsignal-client/zkgroup';
import LRU from 'lru-cache';
import { LRUCache } from 'lru-cache';
import * as log from './logging/log';
import {
getCheckedGroupCredentialsForToday,
@ -264,7 +264,7 @@ export type GroupFields = {
const MAX_CACHED_GROUP_FIELDS = 100;
const groupFieldsCache = new LRU<string, GroupFields>({
const groupFieldsCache = new LRUCache<string, GroupFields>({
max: MAX_CACHED_GROUP_FIELDS,
});

View file

@ -3,7 +3,7 @@
import cloneDeep from 'lodash/cloneDeep';
import { throttle } from 'lodash';
import LRU from 'lru-cache';
import { LRUCache } from 'lru-cache';
import type {
MessageAttributesType,
ReadonlyMessageAttributesType,
@ -267,7 +267,10 @@ export class MessageCache {
});
}
private throttledReduxUpdaters = new LRU<string, typeof this.updateRedux>({
private throttledReduxUpdaters = new LRUCache<
string,
typeof this.updateRedux
>({
max: MAX_THROTTLED_REDUX_UPDATERS,
});

View file

@ -8,6 +8,7 @@ import pMap from 'p-map';
import { Writable } from 'stream';
import { isNumber } from 'lodash';
import { CallLinkRootKey } from '@signalapp/ringrtc';
import type Long from 'long';
import { Backups, SignalService } from '../../protobuf';
import { DataReader, DataWriter } from '../../sql/Client';

View file

@ -25,7 +25,9 @@ describe('getStreamWithTimeout', () => {
beforeEach(() => {
sandbox = sinon.createSandbox();
clock = sandbox.useFakeTimers();
clock = sandbox.useFakeTimers({
toFake: ['setTimeout', 'clearTimeout'],
});
});
afterEach(() => {

View file

@ -141,12 +141,12 @@ describe('iterable utilities', () => {
it("doesn't start the iterable until the last minute", () => {
const oneTwoThree = {
[Symbol.iterator]: sinon.fake(() => {
[Symbol.iterator]: sinon.fake((): Iterator<number> => {
let n = 0;
return {
next() {
if (n > 3) {
return { done: true };
return { done: true, value: undefined };
}
n += 1;
return { value: n, done: false };

View file

@ -1873,6 +1873,7 @@ describe('calling duck', () => {
]);
const secondDate = new Date(NOW.getTime() + 1234);
this.clock.restore();
this.sandbox.useFakeTimers({ now: secondDate });
const secondAction = getAction({
callMode: CallMode.Group,

View file

@ -1,9 +1,9 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type LRU from 'lru-cache';
import type { LRUCache } from 'lru-cache';
export type WaveformCache = LRU<
export type WaveformCache = LRUCache<
string,
{
duration: number;

View file

@ -12,7 +12,7 @@ import { extname, join, normalize } from 'path';
import config from 'config';
import type { ParserConfiguration } from 'dashdash';
import { createParser } from 'dashdash';
import { FAILSAFE_SCHEMA, safeLoad } from 'js-yaml';
import { FAILSAFE_SCHEMA, load as loadYaml } from 'js-yaml';
import { gt, gte, lt } from 'semver';
import got from 'got';
import { v4 as getGuid } from 'uuid';
@ -996,7 +996,8 @@ function getSize(info: JSONUpdateSchema, fileName: string): number {
}
export function parseYaml(yaml: string): JSONUpdateSchema {
return safeLoad(yaml, { schema: FAILSAFE_SCHEMA, json: true });
// eslint-disable-next-line @typescript-eslint/no-explicit-any
return loadYaml(yaml, { schema: FAILSAFE_SCHEMA, json: true }) as any;
}
async function getUpdateYaml(): Promise<string> {

View file

@ -359,7 +359,7 @@ export function getBytesForPeerId(callHistory: CallHistoryDetails): Uint8Array {
export function getCallIdForProto(
callHistory: CallHistoryDetails
): Long.Long | undefined {
): Long | undefined {
try {
return Long.fromString(callHistory.callId);
} catch (error) {

View file

@ -1,7 +1,7 @@
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import LRU from 'lru-cache';
import { LRUCache } from 'lru-cache';
import type {
AddressableAttachmentType,
@ -20,7 +20,7 @@ let cleanupTimeout: NodeJS.Timeout | undefined;
// Max number of orphaned attachments before we schedule a cleanup.
const MAX_ORPHANED_COUNT = 10000;
const lru = new LRU<string, Promise<LocalAttachmentV2Type>>({
const lru = new LRUCache<string, Promise<LocalAttachmentV2Type>>({
max: 1000,
});

View file

@ -43,13 +43,6 @@
"reasonCategory": "usageTrusted",
"updated": "2024-09-26T18:39:25.816Z"
},
{
"rule": "eval",
"path": "node_modules/@jest/fake-timers/node_modules/@sinonjs/commons/lib/function-name.test.js",
"line": " fn = eval(\"(function*() {})\")().constructor;",
"reasonCategory": "testCode",
"updated": "2024-06-25T17:33:38.376Z"
},
{
"rule": "eval",
"path": "node_modules/@jsonjoy.com/util/lib/codegen/compile.js",
@ -293,223 +286,195 @@
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
"line": " if (!element || !('innerHTML' in element)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
"line": " if (!element.innerHTML) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
"line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
"line": " if (!('outerHTML' in dom)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.cjs.js",
"line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
"line": " if (!element || !('innerHTML' in element)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
"line": " if (!element.innerHTML) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
"line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
"line": " if (!('outerHTML' in dom)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.esm.js",
"line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
"line": "\t if (!element || !('innerHTML' in element)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
"line": "\t if (!element.innerHTML) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
"line": "\t const playgroundUrl = getPlaygroundUrl(element.innerHTML);",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
"line": "\t if (!('outerHTML' in dom)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.js",
"line": "\t return maxLength !== undefined && dom.outerHTML.length > maxLength ? debugContent.slice(0, maxLength) + \"...\" : debugContent;",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.min.js",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/@testing-library/dom.umd.min.js",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/pretty-dom.js",
"line": " if (!('outerHTML' in dom)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/dom/dist/pretty-dom.js",
"line": " return maxLength !== undefined && dom.outerHTML.length > maxLength ? `${debugContent.slice(0, maxLength)}...` : debugContent;",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/screen.js",
"line": " if (!element || !('innerHTML' in element)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/screen.js",
"line": " if (!element.innerHTML) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/dom/dist/screen.js",
"line": " const playgroundUrl = getPlaygroundUrl(element.innerHTML);",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
"line": " pass: element.innerHTML === '',",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
"line": " ` ${this.utils.printReceived(element.innerHTML)}`,",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
"line": " ` ${this.utils.printReceived(element.innerHTML)}`,",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
"line": " div.innerHTML = htmlText;",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
"line": " return div.innerHTML",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/@testing-library/jest-dom/dist/matchers-4fe91ec3.js",
"line": " pass: container.outerHTML.includes(getNormalizedHtml(container, htmlText)),",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:31:32.324Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:31:32.324Z"
},
{
"rule": "DOM-innerHTML",
@ -539,36 +504,33 @@
"reasonCategory": "usageTrusted",
"updated": "2021-04-13T00:52:21.453Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/axe-core/axe.js",
"line": " var source = element.outerHTML;",
"reasonCategory": "usageTrusted",
"updated": "2021-04-13T00:52:21.453Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/axe-core/axe.js",
"line": " if (!(element !== null && element !== void 0 && element.outerHTML)) {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:33:49.776Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:33:49.776Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/axe-core/axe.js",
"line": " var outerHTML = node.outerHTML;",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:33:49.776Z",
"reasonDetail": "<optional>"
"reasonCategory": "usageTrusted",
"updated": "2024-11-13T23:33:49.776Z"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/axe-core/axe.js",
"line": " node = cache_default.get(outerHTML, function() {",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-11-13T23:33:49.776Z",
"reasonDetail": "<optional>"
},
{
"rule": "DOM-outerHTML",
"path": "node_modules/axe-core/axe.js",
"line": " var source = element.outerHTML;",
"reasonCategory": "usageTrusted",
"updated": "2021-04-13T00:52:21.453Z"
"updated": "2024-11-13T23:33:49.776Z"
},
{
"rule": "DOM-innerHTML",
@ -584,10 +546,10 @@
},
{
"rule": "eval",
"path": "node_modules/config/lib/config.js",
"line": " configObject = VisionmediaYaml.eval(util.stripYamlComments(content));",
"reasonCategory": "falseMatch",
"updated": "2018-09-15T00:38:04.183Z"
"path": "node_modules/config/parser.js",
"line": " return VisionmediaYaml.eval(Parser.stripYamlComments(content));",
"reasonCategory": "usageTrusted",
"updated": "2024-11-14T01:39:46.132Z"
},
{
"rule": "DOM-outerHTML",
@ -1325,51 +1287,45 @@
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/react-blurhash/docs/demo.1d83eeb63aeb90e0cf0e.js",
"reasonCategory": "notExercisedByOurApp",
"updated": "2022-06-04T00:50:49.405Z"
"path": "node_modules/react-blurhash/docs/demo.f335462148ad584661d8.js",
"reasonCategory": "usageTrusted",
"updated": "2024-11-14T18:53:33.345Z"
},
{
"rule": "DOM-innerHTML",
"path": "node_modules/react-blurhash/docs/demo.1d83eeb63aeb90e0cf0e.js",
"reasonCategory": "notExercisedByOurApp",
"updated": "2022-06-04T00:50:49.405Z"
"path": "node_modules/react-blurhash/docs/demo.f335462148ad584661d8.js",
"reasonCategory": "usageTrusted",
"updated": "2024-11-14T18:53:33.345Z"
},
{
"rule": "React-dangerouslySetInnerHTML",
"path": "node_modules/react-blurhash/docs/demo.1d83eeb63aeb90e0cf0e.js",
"reasonCategory": "notExercisedByOurApp",
"updated": "2022-06-04T00:50:49.405Z"
"path": "node_modules/react-blurhash/docs/demo.f335462148ad584661d8.js",
"reasonCategory": "usageTrusted",
"updated": "2024-11-14T18:53:33.345Z"
},
{
"rule": "React-dangerouslySetInnerHTML",
"path": "node_modules/react-blurhash/docs/demo.1d83eeb63aeb90e0cf0e.js",
"reasonCategory": "notExercisedByOurApp",
"updated": "2022-06-04T00:50:49.405Z"
},
{
"rule": "React-dangerouslySetInnerHTML",
"path": "node_modules/react-blurhash/docs/demo.1d83eeb63aeb90e0cf0e.js",
"reasonCategory": "notExercisedByOurApp",
"updated": "2022-06-04T00:50:49.405Z"
"path": "node_modules/react-blurhash/docs/demo.f335462148ad584661d8.js",
"reasonCategory": "usageTrusted",
"updated": "2024-11-14T18:53:33.345Z"
},
{
"rule": "React-ref",
"path": "node_modules/react-blurhash/docs/demo.1d83eeb63aeb90e0cf0e.js",
"reasonCategory": "notExercisedByOurApp",
"updated": "2022-06-04T00:50:49.405Z"
"path": "node_modules/react-blurhash/docs/demo.f335462148ad584661d8.js",
"reasonCategory": "usageTrusted",
"updated": "2024-11-14T18:53:33.345Z"
},
{
"rule": "React-ref",
"path": "node_modules/react-blurhash/docs/demo.1d83eeb63aeb90e0cf0e.js",
"reasonCategory": "notExercisedByOurApp",
"updated": "2022-06-04T00:50:49.405Z"
"path": "node_modules/react-blurhash/docs/demo.f335462148ad584661d8.js",
"reasonCategory": "usageTrusted",
"updated": "2024-11-14T18:53:33.345Z"
},
{
"rule": "React-useRef",
"path": "node_modules/react-blurhash/docs/demo.1d83eeb63aeb90e0cf0e.js",
"reasonCategory": "notExercisedByOurApp",
"updated": "2022-06-04T00:50:49.405Z"
"path": "node_modules/react-blurhash/docs/demo.f335462148ad584661d8.js",
"reasonCategory": "usageTrusted",
"updated": "2024-11-14T18:53:33.345Z"
},
{
"rule": "DOM-innerHTML",
@ -1876,46 +1832,6 @@
"reasonCategory": "usageTrusted",
"updated": "2024-01-12T18:56:18.138Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const searchStateItemsRef = useRef<ReadonlyArray<CallHistoryGroup> | null>(",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueRef = useRef<Set<string>>(new Set());",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueArgsRef = useRef<Map<string, PeekNotConnectedGroupCallType>>(",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const inactiveCallLinksPeekedAtRef = useRef<Map<string, number>>(new Map());",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueTimerRef = useRef<NodeJS.Timeout | null>(null);",
"reasonCategory": "falseMatch|testCode|exampleCode|otherUtilityCode|regexMatchedSafeCode|notExercisedByOurApp|ruleNeeded|usageTrusted",
"updated": "2024-05-16T02:10:00.652Z",
"reasonDetail": "<optional>"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
@ -1951,6 +1867,41 @@
"reasonCategory": "usageTrusted",
"updated": "2023-11-27T20:25:10.634Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const searchStateItemsRef = useRef<ReadonlyArray<CallHistoryGroup> | null>(",
"reasonCategory": "usageTrusted",
"updated": "2024-05-16T02:10:00.652Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueRef = useRef<Set<string>>(new Set());",
"reasonCategory": "usageTrusted",
"updated": "2024-05-16T02:10:00.652Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueArgsRef = useRef<Map<string, PeekNotConnectedGroupCallType>>(",
"reasonCategory": "usageTrusted",
"updated": "2024-05-16T02:10:00.652Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const inactiveCallLinksPeekedAtRef = useRef<Map<string, number>>(new Map());",
"reasonCategory": "usageTrusted",
"updated": "2024-05-16T02:10:00.652Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CallsList.tsx",
"line": " const peekQueueTimerRef = useRef<NodeJS.Timeout | null>(null);",
"reasonCategory": "usageTrusted",
"updated": "2024-05-16T02:10:00.652Z"
},
{
"rule": "React-useRef",
"path": "ts/components/CaptchaDialog.tsx",