diff --git a/package.json b/package.json index 0cf24d042..83e787d9c 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "react-dom": "17.0.2", "react-i18next": "11.18.6", "react-outside-click-handler": "^1.3.0", - "react-query": "3.39.3", + "@tanstack/react-query": "4.0.5", "react-resize-detector": "7.1.2", "react-router": "5.3.4", "react-router-dom": "5.3.4", diff --git a/src/App.tsx b/src/App.tsx index aa0ff34fa..07cfd7290 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,5 @@ import { useMemo } from 'react' -import { QueryClient, QueryClientProvider } from 'react-query' +import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { DefaultTheme, ThemeProvider } from 'styled-components' import Routers from './routes' import Toast from './components/Toast' diff --git a/src/components/Header/BlockchainComp/index.tsx b/src/components/Header/BlockchainComp/index.tsx index b74653b38..ab9f56812 100644 --- a/src/components/Header/BlockchainComp/index.tsx +++ b/src/components/Header/BlockchainComp/index.tsx @@ -1,5 +1,5 @@ import { useState, useLayoutEffect, FC, memo } from 'react' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { isMainnet } from '../../../utils/chain' import WhiteDropdownIcon from '../../../assets/white_dropdown.png' import BlueDropUpIcon from '../../../assets/blue_drop_up.png' diff --git a/src/components/NftCollectionInventory/index.tsx b/src/components/NftCollectionInventory/index.tsx index ab1fa3dab..e5eb39797 100644 --- a/src/components/NftCollectionInventory/index.tsx +++ b/src/components/NftCollectionInventory/index.tsx @@ -1,5 +1,5 @@ import { Link } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { Base64 } from 'js-base64' import { hexToBytes } from '@nervosnetwork/ckb-sdk-utils' import { useTranslation } from 'react-i18next' diff --git a/src/components/NftCollectionOverview/index.tsx b/src/components/NftCollectionOverview/index.tsx index 9f7049c25..aeee5461f 100644 --- a/src/components/NftCollectionOverview/index.tsx +++ b/src/components/NftCollectionOverview/index.tsx @@ -1,5 +1,5 @@ import { Link } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { Tooltip } from 'antd' import { useTranslation } from 'react-i18next' import { explorerService } from '../../services/ExplorerService' diff --git a/src/components/NftCollectionTransfers/index.tsx b/src/components/NftCollectionTransfers/index.tsx index 147942568..6c270444f 100644 --- a/src/components/NftCollectionTransfers/index.tsx +++ b/src/components/NftCollectionTransfers/index.tsx @@ -1,6 +1,6 @@ import { FC, useMemo, useState } from 'react' import { Link } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { Tooltip } from 'antd' import { Base64 } from 'js-base64' import { hexToBytes } from '@nervosnetwork/ckb-sdk-utils' diff --git a/src/components/QueryResult/index.tsx b/src/components/QueryResult/index.tsx index 0255cc818..d2c079695 100644 --- a/src/components/QueryResult/index.tsx +++ b/src/components/QueryResult/index.tsx @@ -1,5 +1,5 @@ import { ReactElement } from 'react' -import { UseQueryResult } from 'react-query' +import { DefinedUseQueryResult } from '@tanstack/react-query' import { LOADING_WAITING_TIME } from '../../constants/common' import Error from '../Error' import Loading from '../Loading' @@ -12,7 +12,7 @@ export function QueryResult({ errorRender, loadingRender, }: { - query: UseQueryResult + query: DefinedUseQueryResult children: (data: TData) => ReactElement delayLoading?: boolean errorRender?: (err: TError) => ReactElement @@ -22,10 +22,9 @@ export function QueryResult({ switch (query.status) { case 'error': - return errorRender ? errorRender(query.error) : + return errorRender && query.error ? errorRender(query.error) : case 'success': return children(query.data) - case 'idle': case 'loading': default: return loadingRender ? ( diff --git a/src/contexts/providers/dasQuery.tsx b/src/contexts/providers/dasQuery.tsx index 3d82f6f46..3e8c2f7f3 100644 --- a/src/contexts/providers/dasQuery.tsx +++ b/src/contexts/providers/dasQuery.tsx @@ -1,5 +1,5 @@ import { createContext, FC, useCallback, useContext, useMemo, useRef } from 'react' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { explorerService } from '../../services/ExplorerService' import type { DASAccount, DASAccountMap } from '../../services/ExplorerService/fetcher' import { unique } from '../../utils/array' diff --git a/src/pages/Address/AddressComp.tsx b/src/pages/Address/AddressComp.tsx index ff6b7ed8a..63d1d0b64 100644 --- a/src/pages/Address/AddressComp.tsx +++ b/src/pages/Address/AddressComp.tsx @@ -1,6 +1,6 @@ import axios, { AxiosResponse } from 'axios' import { useState, useEffect, FC } from 'react' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { Radio } from 'antd' import { Base64 } from 'js-base64' import { hexToBytes } from '@nervosnetwork/ckb-sdk-utils' diff --git a/src/pages/Address/index.tsx b/src/pages/Address/index.tsx index 3a96253f3..c6406fb49 100644 --- a/src/pages/Address/index.tsx +++ b/src/pages/Address/index.tsx @@ -1,5 +1,5 @@ import { useParams } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' import AddressHashCard from '../../components/Card/HashCard' import Content from '../../components/Content' @@ -58,15 +58,15 @@ export const Address = () => { /> - {data => } + {data => (data ? :
)} {data => ( )} diff --git a/src/pages/BlockDetail/index.tsx b/src/pages/BlockDetail/index.tsx index 21bdda1f3..b422e60ba 100644 --- a/src/pages/BlockDetail/index.tsx +++ b/src/pages/BlockDetail/index.tsx @@ -1,5 +1,5 @@ import { useParams, useLocation } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' import BlockHashCard from '../../components/Card/HashCard' import Content from '../../components/Content' @@ -66,8 +66,8 @@ export default () => { onPageChange={setPage} currentPage={currentPage} pageSize={pageSize} - total={data.total} - transactions={data.transactions} + total={data?.total ?? 0} + transactions={data?.transactions ?? []} /> )} diff --git a/src/pages/BlockList/index.tsx b/src/pages/BlockList/index.tsx index b99d0f578..1ae41ccab 100644 --- a/src/pages/BlockList/index.tsx +++ b/src/pages/BlockList/index.tsx @@ -1,7 +1,7 @@ import { Fragment, useMemo, FC } from 'react' import { Link, useLocation } from 'react-router-dom' import { useTranslation } from 'react-i18next' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { parseSimpleDate } from '../../utils/date' import { BlockListPanel, ContentTable, HighLightValue, BlockRewardContainer, BlockRewardPanel } from './styled' import Content from '../../components/Content' diff --git a/src/pages/FeeRateTracker/index.tsx b/src/pages/FeeRateTracker/index.tsx index 2227526e2..138339cf2 100644 --- a/src/pages/FeeRateTracker/index.tsx +++ b/src/pages/FeeRateTracker/index.tsx @@ -1,5 +1,5 @@ import { useRef, useState } from 'react' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' import styles from './styles.module.scss' import Content from '../../components/Content' diff --git a/src/pages/Home/index.tsx b/src/pages/Home/index.tsx index 7d5e7650e..69a59d640 100644 --- a/src/pages/Home/index.tsx +++ b/src/pages/Home/index.tsx @@ -1,7 +1,7 @@ import { FC, memo, useMemo, useRef } from 'react' import { useHistory } from 'react-router' import { useTranslation } from 'react-i18next' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useResizeDetector } from 'react-resize-detector' import { HomeHeaderItemPanel, @@ -197,7 +197,7 @@ export default () => { const tipBlockNumber = useLatestBlockNumber() const blocksQuery = useQuery( - 'latest_blocks', + ['latest_blocks'], async () => { // Using the size of list pages to request will be more friendly to the data reuse of the list pages. const { data, meta } = await explorerService.api.fetchLatestBlocks(ListPageParams.PageSize) diff --git a/src/pages/NervosDao/index.tsx b/src/pages/NervosDao/index.tsx index 65a59ef9b..7650f3e18 100644 --- a/src/pages/NervosDao/index.tsx +++ b/src/pages/NervosDao/index.tsx @@ -1,6 +1,6 @@ import { useHistory } from 'react-router-dom' import { useTranslation } from 'react-i18next' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import Content from '../../components/Content' import { DaoContentPanel, DaoTabBarPanel } from './styled' import DaoTransactions from './DaoTransactions' @@ -90,16 +90,16 @@ export const NervosDao = () => { )} ) : ( - {data => } + {data => } )} diff --git a/src/pages/NftCollectionInfo/index.tsx b/src/pages/NftCollectionInfo/index.tsx index 9ef1e5a7b..0f98dea6c 100644 --- a/src/pages/NftCollectionInfo/index.tsx +++ b/src/pages/NftCollectionInfo/index.tsx @@ -1,5 +1,5 @@ import { Link, useParams, useHistory } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { Popover } from 'antd' import { TFunction, useTranslation } from 'react-i18next' import Content from '../../components/Content' diff --git a/src/pages/NftCollections/index.tsx b/src/pages/NftCollections/index.tsx index 46c1beaf1..9a72e5dfd 100644 --- a/src/pages/NftCollections/index.tsx +++ b/src/pages/NftCollections/index.tsx @@ -1,5 +1,5 @@ import { useHistory, useLocation } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' import Content from '../../components/Content' import { ListOnDesktop, ListOnMobile, isTxFilterType } from './List' diff --git a/src/pages/NftInfo/index.tsx b/src/pages/NftInfo/index.tsx index e720079fa..46846e57b 100644 --- a/src/pages/NftInfo/index.tsx +++ b/src/pages/NftInfo/index.tsx @@ -1,5 +1,5 @@ import { Link, useParams, useHistory } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { Tooltip } from 'antd' import { Base64 } from 'js-base64' import { hexToBytes } from '@nervosnetwork/ckb-sdk-utils' diff --git a/src/pages/Script/ScriptsComp.tsx b/src/pages/Script/ScriptsComp.tsx index 676e2f6de..ec0720bf9 100644 --- a/src/pages/Script/ScriptsComp.tsx +++ b/src/pages/Script/ScriptsComp.tsx @@ -1,6 +1,6 @@ import { useState } from 'react' import { useHistory } from 'react-router' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import camelcase from 'camelcase' import { useParams } from 'react-router-dom' import { useTranslation } from 'react-i18next' @@ -49,7 +49,7 @@ export const ScriptTransactions = ({ page, size }: { page: number; size: number {data => (
- {data.ckbTransactions && + {data?.ckbTransactions && data.ckbTransactions.map(tr => ( - {data.cells.map(record => { + {data?.cells.map(record => { return ( diff --git a/src/pages/Script/index.tsx b/src/pages/Script/index.tsx index b8c325525..1a8ba0ad2 100644 --- a/src/pages/Script/index.tsx +++ b/src/pages/Script/index.tsx @@ -2,7 +2,7 @@ import { useEffect, useState } from 'react' import { useHistory } from 'react-router' import { useParams } from 'react-router-dom' import { Tabs } from 'antd' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' import Content from '../../components/Content' import OverviewCard, { OverviewItemData } from '../../components/Card/OverviewCard' diff --git a/src/pages/SimpleUDT/index.tsx b/src/pages/SimpleUDT/index.tsx index acfd4f42d..ed9d2866d 100644 --- a/src/pages/SimpleUDT/index.tsx +++ b/src/pages/SimpleUDT/index.tsx @@ -1,7 +1,7 @@ import { useState } from 'react' import { Link, useHistory, useLocation, useParams } from 'react-router-dom' import { useTranslation } from 'react-i18next' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { Popover } from 'antd' import SimpleUDTHashCard from '../../components/Card/HashCard' import Content from '../../components/Content' @@ -170,8 +170,8 @@ export const SimpleUDT = () => { { > {data => ( - {data.tokens.map((token, index) => ( + {data?.tokens.map((token, index) => ( ))} diff --git a/src/pages/Transaction/TransactionCellScript/index.tsx b/src/pages/Transaction/TransactionCellScript/index.tsx index 4f3960ccf..6d09df3f9 100644 --- a/src/pages/Transaction/TransactionCellScript/index.tsx +++ b/src/pages/Transaction/TransactionCellScript/index.tsx @@ -2,7 +2,7 @@ import { useState, ReactNode, useRef } from 'react' import BigNumber from 'bignumber.js' import { useTranslation } from 'react-i18next' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { explorerService } from '../../../services/ExplorerService' import { hexToUtf8 } from '../../../utils/string' import { diff --git a/src/pages/Transaction/TransactionComp/TransactionLite/TransactionLite.tsx b/src/pages/Transaction/TransactionComp/TransactionLite/TransactionLite.tsx index c070856c1..63cc59de4 100644 --- a/src/pages/Transaction/TransactionComp/TransactionLite/TransactionLite.tsx +++ b/src/pages/Transaction/TransactionComp/TransactionLite/TransactionLite.tsx @@ -1,6 +1,6 @@ /* eslint-disable react/no-array-index-key */ import { FC } from 'react' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useParams } from 'react-router-dom' import BigNumber from 'bignumber.js' import { useTranslation } from 'react-i18next' diff --git a/src/pages/Transaction/index.tsx b/src/pages/Transaction/index.tsx index 1ce404445..72ff7925e 100644 --- a/src/pages/Transaction/index.tsx +++ b/src/pages/Transaction/index.tsx @@ -1,5 +1,5 @@ import { useParams } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useTranslation } from 'react-i18next' import TransactionHashCard from '../../components/Card/HashCard' import Content from '../../components/Content' @@ -42,11 +42,11 @@ export default () => { {layout === Professional ? ( - {transaction => } + {transaction => (transaction ? :
)} ) : ( - {transaction => } + {transaction => } )} diff --git a/src/pages/TransactionList/index.tsx b/src/pages/TransactionList/index.tsx index 9da30ab34..9e61a3e4e 100644 --- a/src/pages/TransactionList/index.tsx +++ b/src/pages/TransactionList/index.tsx @@ -1,7 +1,7 @@ import { FC, ReactNode } from 'react' import { Link, useLocation } from 'react-router-dom' import { useTranslation } from 'react-i18next' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { parseSimpleDate } from '../../utils/date' import Content from '../../components/Content' import { shannonToCkb } from '../../utils/util' @@ -237,7 +237,11 @@ const TransactionsPanel: FC<{ type: TxStatus }> = ({ type }) => { type === 'confirmed' ? s === 'height' || s === 'capacity' : s === 'capacity' || s === 'time' || s === 'fee', ) - const query = useQuery( + const query = useQuery< + { transactions: Transaction[]; total: number }, + unknown, + { transactions: Transaction[]; total: number } + >( [`${type}-transactions`, type, currentPage, pageSize, sortBy, orderBy] as const, async ({ queryKey }) => { const [, type] = queryKey @@ -261,7 +265,7 @@ const TransactionsPanel: FC<{ type: TxStatus }> = ({ type }) => { initialData: state?.type === 'TransactionListPage' && state.createTime + stateStaleTime > Date.now() ? state.transactionsDataWithFirstPage - : undefined, + : { total: 0, transactions: [] }, }, ) diff --git a/src/utils/hook.ts b/src/utils/hook.ts index c0a970fa4..11dd9783a 100644 --- a/src/utils/hook.ts +++ b/src/utils/hook.ts @@ -8,7 +8,7 @@ import { systemScripts, } from '@nervosnetwork/ckb-sdk-utils' import { useHistory, useLocation } from 'react-router-dom' -import { useQuery } from 'react-query' +import { useQuery } from '@tanstack/react-query' import { useResizeDetector } from 'react-resize-detector' import { interval, share } from 'rxjs' import { AppCachedKeys } from '../constants/cache' diff --git a/yarn.lock b/yarn.lock index 06a6d220d..695c394fa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1374,20 +1374,13 @@ dependencies: regenerator-runtime "^0.13.11" -"@babel/runtime@^7.5.5", "@babel/runtime@^7.7.6": +"@babel/runtime@^7.7.6": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.10.5.tgz#303d8bd440ecd5a491eae6117fd3367698674c5c" integrity sha512-otddXKhdNn7d0ptoFRHtMLa8LqDxLYwTjB4nYgM1yy5N6gU/MUf8zqyyLltCH3yAVitBzmwK4us+DD0l/MauAg== dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.6.tgz#6a1ef59f838debd670421f8c7f2cbb8da9751580" - integrity sha512-t9wi7/AW6XtKahAe20Yw0/mMljKq0B1r2fPdvaAdV/KPDZewFXdaaa6K7lxmZBZ8FBNpCiAT6iHPmd6QO9bKfQ== - dependencies: - regenerator-runtime "^0.13.4" - "@babel/template@^7.18.10", "@babel/template@^7.3.3": version "7.18.10" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.10.tgz#6f9134835970d1dbf0835c0d100c9f38de0c5e71" @@ -2533,6 +2526,20 @@ "@svgr/plugin-svgo" "^5.5.0" loader-utils "^2.0.0" +"@tanstack/query-core@^4.0.0-beta.1": + version "4.36.1" + resolved "https://registry.yarnpkg.com/@tanstack/query-core/-/query-core-4.36.1.tgz#79f8c1a539d47c83104210be2388813a7af2e524" + integrity sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA== + +"@tanstack/react-query@4.0.5": + version "4.0.5" + resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-4.0.5.tgz#4597ac03394ddfa6ad8b5e1beb6282468623d398" + integrity sha512-tIggVlhoFevVpY/LkZroPmrERFHN8tw4aZLtgwSArzHmMJ03WQcaNvbbHy6GERidXtaMdUz+IeQryrE7cO7WPQ== + dependencies: + "@tanstack/query-core" "^4.0.0-beta.1" + "@types/use-sync-external-store" "^0.0.3" + use-sync-external-store "^1.2.0" + "@testing-library/dom@^8.0.0": version "8.20.0" resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.20.0.tgz#914aa862cef0f5e89b98cc48e3445c4c921010f6" @@ -3014,6 +3021,11 @@ resolved "https://registry.yarnpkg.com/@types/trusted-types/-/trusted-types-2.0.2.tgz#fc25ad9943bcac11cceb8168db4f275e0e72e756" integrity sha512-F5DIZ36YVLE+PN+Zwws4kJogq47hNgX3Nx6WyDJ3kcplxyke3XIzB8uK5n/Lpm1HBsbGzd6nmGehL8cPekP+Tg== +"@types/use-sync-external-store@^0.0.3": + version "0.0.3" + resolved "https://registry.yarnpkg.com/@types/use-sync-external-store/-/use-sync-external-store-0.0.3.tgz#b6725d5f4af24ace33b36fafd295136e75509f43" + integrity sha512-EwmlvuaxPNej9+T4v5AuBPJa2x2UOJVdjCtDHgcDqitUeOtjnJKJ+apYjVcAoBEMjKW1VVFGZLUb5+qqa09XFA== + "@types/ws@^8.5.1": version "8.5.3" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" @@ -4116,11 +4128,6 @@ bfj@^7.0.2: hoopy "^0.1.4" tryer "^1.0.1" -big-integer@^1.6.16: - version "1.6.51" - resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" - integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== - big.js@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" @@ -4229,20 +4236,6 @@ braces@^3.0.2, braces@~3.0.2: dependencies: fill-range "^7.0.1" -broadcast-channel@^3.4.1: - version "3.7.0" - resolved "https://registry.npmjs.org/broadcast-channel/-/broadcast-channel-3.7.0.tgz#2dfa5c7b4289547ac3f6705f9c00af8723889937" - integrity sha512-cIAKJXAxGJceNZGTZSBzMxzyOn72cVgPnKx4dc6LRjQgbaJUQqhy5rzL3zbMxkMWsGKkv2hSFkPRMEXfoMZ2Mg== - dependencies: - "@babel/runtime" "^7.7.2" - detect-node "^2.1.0" - js-sha3 "0.8.0" - microseconds "0.2.0" - nano-time "1.0.0" - oblivious-set "1.0.0" - rimraf "3.0.2" - unload "2.2.0" - brorand@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" @@ -5249,11 +5242,6 @@ detect-node@^2.0.4: resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.0.4.tgz#014ee8f8f669c5c58023da64b8179c083a28c46c" integrity sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw== -detect-node@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - detect-port-alt@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/detect-port-alt/-/detect-port-alt-1.1.6.tgz#24707deabe932d4a3cf621302027c2b266568275" @@ -8235,11 +8223,6 @@ js-sdsl@^4.1.4: resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.2.0.tgz#278e98b7bea589b8baaf048c20aeb19eb7ad09d0" integrity sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ== -js-sha3@0.8.0: - version "0.8.0" - resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" - integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== - "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -8682,14 +8665,6 @@ map-obj@^4.1.0: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== -match-sorter@^6.0.2: - version "6.3.1" - resolved "https://registry.npmjs.org/match-sorter/-/match-sorter-6.3.1.tgz#98cc37fda756093424ddf3cbc62bfe9c75b92bda" - integrity sha512-mxybbo3pPNuA+ZuCUhm5bwNkXrJTbsk5VWbR5wiwz/GC6LIiegBGn2w3O08UG/jdbYLinw51fSQ5xNU1U3MgBw== - dependencies: - "@babel/runtime" "^7.12.5" - remove-accents "0.4.2" - mathml-tag-names@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3" @@ -8768,11 +8743,6 @@ micromatch@4.0.5, micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: braces "^3.0.2" picomatch "^2.3.1" -microseconds@0.2.0: - version "0.2.0" - resolved "https://registry.npmjs.org/microseconds/-/microseconds-0.2.0.tgz#233b25f50c62a65d861f978a4a4f8ec18797dc39" - integrity sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA== - mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" @@ -8925,13 +8895,6 @@ multimatch@^5.0.0: arrify "^2.0.1" minimatch "^3.0.4" -nano-time@1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/nano-time/-/nano-time-1.0.0.tgz#b0554f69ad89e22d0907f7a12b0993a5d96137ef" - integrity sha512-flnngywOoQ0lLQOTRNexn2gGSNuM9bKj9RZAWSzhQ+UJYaAFG9bac4DW9VHjUAzrOaIcajHybCTHe/bkvozQqA== - dependencies: - big-integer "^1.6.16" - nanoassert@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-2.0.0.tgz#a05f86de6c7a51618038a620f88878ed1e490c09" @@ -9222,11 +9185,6 @@ object.values@^1.1.5, object.values@^1.1.6: define-properties "^1.1.4" es-abstract "^1.20.4" -oblivious-set@1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/oblivious-set/-/oblivious-set-1.0.0.tgz#c8316f2c2fb6ff7b11b6158db3234c49f733c566" - integrity sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw== - observable-hooks@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/observable-hooks/-/observable-hooks-4.2.3.tgz#69e3353caafd7887ad9030bd440b053304e8d2d1" @@ -10814,15 +10772,6 @@ react-outside-click-handler@^1.3.0: object.values "^1.1.0" prop-types "^15.7.2" -react-query@3.39.3: - version "3.39.3" - resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.39.3.tgz#4cea7127c6c26bdea2de5fb63e51044330b03f35" - integrity sha512-nLfLz7GiohKTJDuT4us4X3h/8unOh+00MLb2yJoGTPjxKs2bc1iDhkNx2bd5MKklXnOD3NrVZ+J2UXujA5In4g== - dependencies: - "@babel/runtime" "^7.5.5" - broadcast-channel "^3.4.1" - match-sorter "^6.0.2" - react-refresh@^0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046" @@ -11134,11 +11083,6 @@ relateurl@^0.2.7: resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" integrity sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog== -remove-accents@0.4.2: - version "0.4.2" - resolved "https://registry.npmjs.org/remove-accents/-/remove-accents-0.4.2.tgz#0a43d3aaae1e80db919e07ae254b285d9e1c7bb5" - integrity sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA== - renderkid@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/renderkid/-/renderkid-3.0.0.tgz#5fd823e4d6951d37358ecc9a58b1f06836b6268a" @@ -11279,7 +11223,7 @@ rimraf@2, rimraf@^2.5.1: dependencies: glob "^7.1.3" -rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== @@ -12710,14 +12654,6 @@ universalify@^2.0.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== -unload@2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/unload/-/unload-2.2.0.tgz#ccc88fdcad345faa06a92039ec0f80b488880ef7" - integrity sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA== - dependencies: - "@babel/runtime" "^7.6.2" - detect-node "^2.0.4" - unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" @@ -12774,6 +12710,11 @@ url-parse@^1.5.3: querystringify "^2.1.1" requires-port "^1.0.0" +use-sync-external-store@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz#7dbefd6ef3fe4e767a0cf5d7287aacfb5846928a" + integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA== + util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"