Upgrade outdated dependencies

This commit is contained in:
Jamie Kyle 2024-11-18 11:20:23 -08:00 committed by GitHub
parent e4aa4de5e1
commit 8fde907b17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 2047 additions and 3751 deletions

View file

@ -2,6 +2,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react';
// @ts-expect-error -- no types
import 'react-quill/dist/quill.core.css';
import { action } from '@storybook/addon-actions';
import type { Meta } from '@storybook/react';

View file

@ -3,7 +3,7 @@
import type { ChangeEvent } from 'react';
import React, { useState, useEffect, useCallback, useRef } from 'react';
import type { Plugin } from 'intl-tel-input';
import type { Iti } from 'intl-tel-input';
import intlTelInput from 'intl-tel-input';
import { strictAssert } from '../util/assert';
@ -21,7 +21,7 @@ function PhoneInput({
onNumberChange: (number?: string) => void;
}): JSX.Element {
const [isValid, setIsValid] = useState(false);
const pluginRef = useRef<Plugin | undefined>();
const pluginRef = useRef<Iti | undefined>();
const elemRef = useRef<HTMLInputElement | null>(null);
const onRef = useCallback(

View file

@ -10,7 +10,7 @@ import { isLinkSneaky, shouldLinkifyMessage } from '../../types/LinkPreview';
import { splitByEmoji } from '../../util/emoji';
import { missingCaseError } from '../../util/missingCaseError';
export const linkify = LinkifyIt()
export const linkify = new LinkifyIt()
// This is all TLDs in place in 2010, according to [IANA's root zone database][0]
// except for those domains marked as [a test domain][1].
//