Upgrade outdated dependencies
This commit is contained in:
parent
e4aa4de5e1
commit
8fde907b17
27 changed files with 2047 additions and 3751 deletions
|
@ -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';
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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].
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue