From 90f63fa0e566415c8ec20dc78fd94469778f4f4f Mon Sep 17 00:00:00 2001 From: Dimitris Karagiannis Date: Mon, 6 Nov 2023 16:34:00 +0200 Subject: [PATCH] feat: remove everything react-query related --- documentation/docs/api/Hooks/useData.md | 55 ------------ .../docs/api/Hooks/useDataPagination.md | 69 --------------- .../UI/navigation-component.md | 8 +- .../UI/top-bar-component.md | 2 +- package.json | 6 +- src/hooks/data/README.md | 81 ----------------- src/hooks/data/useData.ts | 28 ------ src/hooks/data/useDataPagination.ts | 88 ------------------- src/hooks/index.ts | 2 - src/utils/index.ts | 1 - src/utils/reactQuery.ts | 12 --- yarn.lock | 80 +---------------- 12 files changed, 9 insertions(+), 423 deletions(-) delete mode 100644 documentation/docs/api/Hooks/useData.md delete mode 100644 documentation/docs/api/Hooks/useDataPagination.md delete mode 100644 src/hooks/data/README.md delete mode 100644 src/hooks/data/useData.ts delete mode 100644 src/hooks/data/useDataPagination.ts delete mode 100644 src/utils/reactQuery.ts diff --git a/documentation/docs/api/Hooks/useData.md b/documentation/docs/api/Hooks/useData.md deleted file mode 100644 index 519ad5d7..00000000 --- a/documentation/docs/api/Hooks/useData.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -id: 'useData' -title: 'useData< - SettingsTypes extends { page?: number; offset?: number }, - ResponseType, - DataType = string ->' -sidebar_label: 'useData' -sidebar_position: 10 ---- - -```ts -import { useData } from '@orfium/toolbox'; -``` - -## Description - -Encapsulates useQuery hook providing specific controls over the react-query library. Based on the passed parameters -constructs a dynamic query key and provides specific api params (settings) for the api handler function. - -**Example Usage** - -```typescript jsx -import { useData } from '@orfium/toolbox'; - -// {page: number} is needed for pagination -type CustomData = Record & { page: number }; -type CustomSettings = Record | null; - -const DATA: CustomData = { - CUSTOM: 'CUSTOM', -}; - -const fetchData = (settings?: CustomSettings) => settings && fetch('/custom-data', settings); - -const CustomComponent: FC = () => { - const [filterSettings, setFilterSettings] = useState(null); - - // data includes all the useQuery props. - const data = useData(DATA.CUSTOM, fetchData, filterSettings); - - //do something we your react-query data... -}; -``` - -## Parameters - -- `dataType: DataType` - Generic typed parameter that is needed for dynamic query key construction -- `fetchData: (settings?: SettingsTypes) => Promise` - the api handler that returns a promise with the fetched data. It contains an optional parameter `settings`. -- `settings?: SettingsTypes` - the parameters needs to make a query key unique. -- `overrideDefaultQueryOptions?: UseQueryOptions` - the options needed to override existing react query option. - -## Return value - -Ƭ `ReturnType` diff --git a/documentation/docs/api/Hooks/useDataPagination.md b/documentation/docs/api/Hooks/useDataPagination.md deleted file mode 100644 index ffa7a4c3..00000000 --- a/documentation/docs/api/Hooks/useDataPagination.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -id: 'useDataPagination' -title: 'useDataPagination< - SettingsTypes extends { page?: number; offset?: number }, - ResponseType extends { count: number }, - DataType = string ->' -sidebar_label: 'useDataPagination' -sidebar_position: 10 ---- - -```ts -import { useDataPagination } from '@orfium/toolbox'; -``` - -## Description - -Enables pagination with next page prefetching and caching previous fetched pages. - -**Example Usage** - -```typescript jsx -import { useData, useDataPagination } from '@orfium/toolbox'; - -// {page: number} is needed for pagination -type CustomData = Record & { page: number }; -type CustomSettings = Record | null; - -const DATA: CustomData = { - CUSTOM: 'CUSTOM', -}; - -const fetchData = (settings?: CustomSettings) => settings && fetch('/custom-data', settings); - -const PAGE_SIZE = 10; - -const CustomComponent: FC = () => { - const [filterSettings, setFilterSettings] = useState(null); - - // Generic types are optional. Typescript will auto assigned types based on parameters' types. - // data includes all the useQuery props. - const data = useData(DATA.CUSTOM, fetchData, filterSettings); - - // enable pagination - const pagesCount = Math.ciel(data.records.count / PAGE_SIZE); // - const { isFetchingNextPage } = useDataPagination( - DATA.CUSTOM, - fetchData, - filterSettings, - data.isPreviousData, - pagesCount - ); - - return
{isFetchingNextPage ? 'fetching next page' : data.records.count}
; -}; -``` - -## Parameters - -- `dataType: DataType` - Generic typed parameter that is needed for dynamic query key construction -- `fetchData: (settings?: SettingsTypes) => Promise` - the api handler that returns a promise with the fetched data. It contains an optional parameter `settings`. -- `settings?: SettingsTypes` - the parameters needs to make a query key unique. -- `pageSize: number` -- `overridePage?: { offset: number; step: number }` -- `overrideDefaultQueryOptions?: UseQueryOptions` - -## Return value - -Ƭ `ReturnType & { isFetchingNextPage: boolean; }` diff --git a/documentation/docs/tutorials/01-Installation and Usage/UI/navigation-component.md b/documentation/docs/tutorials/01-Installation and Usage/UI/navigation-component.md index 2bab5ca2..a43fbdb1 100644 --- a/documentation/docs/tutorials/01-Installation and Usage/UI/navigation-component.md +++ b/documentation/docs/tutorials/01-Installation and Usage/UI/navigation-component.md @@ -8,7 +8,7 @@ sidebar_position: 2 ## Overview -The new unified `Navigation` component aims to bring together all Orfium products, under a single navigational element in +The new unified [`Navigation`](../../../api/Components/Navigation.mdx) component aims to bring together all Orfium products, under a single navigational element in addition to refreshing the familiar drawer navigation. It consists of two main parts: @@ -16,8 +16,9 @@ It consists of two main parts: - **The local navigation drawer**: Home to the selected product's navigation and the client picker, which was moved over from the Top Bar. There is also a new optional extra section at the bottom, where products can list links to educational or troubleshooting material. In order to make usage easier for the user, the `Navigation` component: -* integrates with authentication related data on its own, without the need for user provided logic or actions. -* is solely responsible for controlling its expanded or collapsed state and it's not possible to control this aspect externally. + +- integrates with authentication related data on its own, without the need for user provided logic or actions. +- is solely responsible for controlling its expanded or collapsed state and it's not possible to control this aspect externally. ## Usage @@ -77,4 +78,3 @@ const Page: React.FC = () => { ); } ``` - diff --git a/documentation/docs/tutorials/01-Installation and Usage/UI/top-bar-component.md b/documentation/docs/tutorials/01-Installation and Usage/UI/top-bar-component.md index 48de3f64..73023ca5 100644 --- a/documentation/docs/tutorials/01-Installation and Usage/UI/top-bar-component.md +++ b/documentation/docs/tutorials/01-Installation and Usage/UI/top-bar-component.md @@ -8,7 +8,7 @@ sidebar_position: 2 ## Overview -The new `TopBar` component is an essential tool for every Orfium application as it holds information about the currently +The new [`TopBar`](../../../api/Components/TopBar.mdx) component is an essential tool for every Orfium application as it holds information about the currently logged-in user, and it's also home to the user menu, which includes a list of available actions the user can make. The component provides a utility slot that sits on the left side, where the user can opt to display things such as diff --git a/package.json b/package.json index 8f49e6ec..fa36ede4 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,6 @@ "prettier-plugin-organize-imports": "^3.2.2", "react": "^18.1.0", "react-dom": "^18.1.0", - "react-query": "^3.22.0", "react-router-dom": "^5.3.1", "rimraf": "^3.0.2", "semantic-release": "^22.0.12", @@ -81,9 +80,8 @@ "@emotion/styled": "^11.10.4", "@orfium/ictinus": "^4.71.3", "@sentry/browser": "^7.0.0", - "react": "^17.0.0", - "react-dom": "^17.0.0", - "react-query": "^3.10.0" + "react": "^17.0.0 || ^18.0.0", + "react-dom": "^17.0.0 || ^18.0.0" }, "scripts": { "prebuild": "rimraf dist", diff --git a/src/hooks/data/README.md b/src/hooks/data/README.md deleted file mode 100644 index 56b0bcd1..00000000 --- a/src/hooks/data/README.md +++ /dev/null @@ -1,81 +0,0 @@ -## Hook data handlers usage examples - -### useData - -_Description: Encapsulates useQuery hook providing specific controls over the react-query library. Based on the passed parameters constructs a dynamic query key and provides specific api params (settings) for the api handler function._
- -Parameters: -- dataType: Generic typed parameter that is needed for dynamic query key construction -- fetchData: the api handler that returns a promise with the fetched data. It contains an optional parameter `settings`. -- settings: the parameters needs to make a query key unique. -- overrideDefaultQueryOptions: the options needed to override existing react query option. - -#### Example - -```typescript jsx -import { useData } from "src/hooks/data/useData"; - -// {page: number} is needed for pagination -type CustomData = Record & {page: number}; -type CustomSettings = Record | null; - -const DATA: CustomData = { - CUSTOM: "CUSTOM" -} - -const fetchData = (settings?: CustomSettings) => settings && fetch('/custom-data', settings); - -const CustomComponent: FC = () => { - const [filterSettings, setFilterSettings] = useState(null); - - // data includes all the useQuery props. - const data = useData(DATA.CUSTOM, fetchData, filterSettings); - - //do something we your react-query data... -} -``` - - -### useDataPagination - -_Description: Enables pagination with next page prefetching and caching previous fetched pages._
- -Parameters: -- dataType: Generic typed parameter that is needed for dynamic query key construction -- fetchData: the api handler that returns a promise with the fetched data. It contains an optional parameter `settings`. -- settings: the parameters needs to make a query key unique. -- isPreviousData: this is a react-query variable that you can get by destructuring useData returned object, -- pagesCount: the available pages count based on the total data count, and the max number per page (data.records.count/page_size) - -#### Example - -```typescript jsx -import { useData } from "src/hooks/data/useData"; -import { useDataPagination } from "src/hooks/data/useDataPagination"; - -// {page: number} is needed for pagination -type CustomData = Record & { page: number }; -type CustomSettings = Record | null; - -const DATA: CustomData = { - CUSTOM: "CUSTOM" -} - -const fetchData = (settings?: CustomSettings) => settings && fetch('/custom-data', settings); - -const PAGE_SIZE = 10; - -const CustomComponent: FC = () => { - const [filterSettings, setFilterSettings] = useState(null); - - // Generic types are optional. Typescript will auto assigned types based on parameters' types. - // data includes all the useQuery props. - const data = useData(DATA.CUSTOM, fetchData, filterSettings); - - // enable pagination - const pagesCount = Math.ciel(data.records.count/PAGE_SIZE); // - const { isFetchingNextPage } = useDataPagination(DATA.CUSTOM, fetchData, filterSettings, data.isPreviousData, pagesCount) - - return
{isFetchingNextPage ? 'fetching next page': data.records.count}
-} -``` \ No newline at end of file diff --git a/src/hooks/data/useData.ts b/src/hooks/data/useData.ts deleted file mode 100644 index c7986802..00000000 --- a/src/hooks/data/useData.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { useQuery, UseQueryOptions } from 'react-query'; -import { createQueryKey } from 'utils'; - -export const DEFAULT_QUERY_CONFIG = { - retry: false, - keepPreviousData: true, - refetchOnWindowFocus: true, - staleTime: 30 * 1000, -}; - -export const useData = < - SettingsTypes extends { page?: number; offset?: number }, - ResponseType, - DataType = string ->( - dataType: DataType, - fetchData: (settings?: SettingsTypes) => Promise, - settings?: SettingsTypes, - overrideDefaultQueryOptions?: UseQueryOptions -) => { - return useQuery( - (createQueryKey(dataType, settings) as string[]).flat(), - () => { - return fetchData(settings); - }, - { ...DEFAULT_QUERY_CONFIG, ...(overrideDefaultQueryOptions ? overrideDefaultQueryOptions : {}) } - ); -}; diff --git a/src/hooks/data/useDataPagination.ts b/src/hooks/data/useDataPagination.ts deleted file mode 100644 index 5243a88a..00000000 --- a/src/hooks/data/useDataPagination.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { useEffect, useState } from 'react'; -import { useQueryClient, UseQueryOptions } from 'react-query'; - -import { createQueryKey } from '../../utils'; -import { useData } from './useData'; - -const pageStep = 1; - -/** - * This function is used when a paginated request is needed (e.g. table). It handles the prefetching of the next page, - * stops when there's no more data and returns the current results. - * - * By default, it works with a `page` variable. If you're using `offset`, please use the `overridePage` argument to set - * that up. The `step` property defines how much is added to the offset on a page change. - * - * If more options need to be passed to the query client, please use the `overrideDefaultQueryOptions` argument. - * */ -export const useDataPagination = < - SettingsTypes extends { page?: number; offset?: number }, - ResponseType extends { count: number }, - DataType = string ->( - dataType: DataType, - fetchData: (nextPageSettings?: SettingsTypes) => Promise, - settings: SettingsTypes, - pageSize: number, - overridePage?: { offset: number; step: number }, - overrideDefaultQueryOptions?: UseQueryOptions -) => { - const queryClient = useQueryClient(); - const [isFetchingNextPage, setIsFetchingNextPage] = useState(false); - - const query = useData( - dataType, - (settings?: SettingsTypes) => fetchData(settings), - settings, - overrideDefaultQueryOptions - ); - - const pagesCount = Math.ceil((query.data?.count ?? 0) / pageSize); - - useEffect(() => { - const nextPageSettings = { - ...settings, - ...(overridePage - ? { offset: overridePage.offset + overridePage.step } - : { page: (settings?.page ?? 0) + pageStep }), - }; - - const preFetchNextPage = () => { - queryClient - .prefetchQuery( - (createQueryKey(dataType, nextPageSettings) as string[]).flat(), - () => { - setIsFetchingNextPage(!query.isPreviousData); - - return fetchData(nextPageSettings); - }, - { - staleTime: 30 * 1000, - } - ) - .finally(() => setIsFetchingNextPage(false)); - }; - - const hasMore = overridePage - ? (query.data?.count ?? 0) > overridePage.offset + overridePage.step - : pagesCount > (settings?.page ?? 0); - - if (hasMore) { - preFetchNextPage(); - } - }, [ - settings, - pagesCount, - queryClient, - overridePage, - dataType, - query.isPreviousData, - fetchData, - query.data?.count, - ]); - - return { - ...query, - isFetchingNextPage, - }; -}; diff --git a/src/hooks/index.ts b/src/hooks/index.ts index 77ba724e..524e9b45 100644 --- a/src/hooks/index.ts +++ b/src/hooks/index.ts @@ -1,5 +1,3 @@ -export { useData } from './data/useData'; -export { useDataPagination } from './data/useDataPagination'; export { useAuthentication } from './useAuthentication'; export { useOrfiumProducts } from './useOrfiumProducts'; export { useOrganizations } from './useOrganizations'; diff --git a/src/utils/index.ts b/src/utils/index.ts index 95e5ad73..28f2b062 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -9,6 +9,5 @@ export { } from './currencies'; export { LinkWithStatePassthrough } from './LinkWithStatePassthrough'; export { NavLinkWithStatePassthrough } from './NavLinkWithStatePassthrough'; -export { createQueryKey } from './reactQuery'; export { RedirectWithStatePassthrough } from './RedirectWithStatePassthrough'; export type { Optional } from './types'; diff --git a/src/utils/reactQuery.ts b/src/utils/reactQuery.ts deleted file mode 100644 index d19479fb..00000000 --- a/src/utils/reactQuery.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { QueryKey } from 'react-query'; - -/** - * Create a dynamic query key for react query handlers - * @param dataType - * @param keyOptions - * @return page - */ -export const createQueryKey = ( - dataType: Type, - keyOptions: Options -): QueryKey => [dataType, keyOptions]; diff --git a/yarn.lock b/yarn.lock index 32ced10a..4a17b196 100644 --- a/yarn.lock +++ b/yarn.lock @@ -987,7 +987,7 @@ "@babel/helper-validator-option" "^7.18.6" "@babel/plugin-transform-typescript" "^7.18.6" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2", "@babel/runtime@^7.9.6": +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2", "@babel/runtime@^7.9.6": version "7.19.4" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.19.4.tgz#a42f814502ee467d55b38dd1c256f53a7b885c78" integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== @@ -3114,11 +3114,6 @@ base@^0.11.1: mixin-deep "^1.2.0" pascalcase "^0.1.1" -big-integer@^1.6.16: - version "1.6.51" - resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" - integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== - bin-links@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.3.tgz#3842711ef3db2cd9f16a5f404a996a12db355a6e" @@ -3179,20 +3174,6 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" -broadcast-channel@^3.4.1: - version "3.7.0" - resolved "https://registry.yarnpkg.com/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" - browser-process-hrtime@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" @@ -3995,11 +3976,6 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -detect-node@^2.0.4, detect-node@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - dezalgo@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" @@ -6100,11 +6076,6 @@ jest@^27.5.1: import-local "^3.0.2" jest-cli "^27.5.1" -js-sha3@0.8.0: - version "0.8.0" - resolved "https://registry.yarnpkg.com/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" @@ -6609,14 +6580,6 @@ marked@^4.0.16: resolved "https://registry.yarnpkg.com/marked/-/marked-4.1.1.tgz#2f709a4462abf65a283f2453dc1c42ab177d302e" integrity sha512-0cNMnTcUJPxbA6uWmCmjWz4NJRe/0Xfk2NhXCUHjew9qJzFN20krFnsUe7QynwqOwa5m1fZ4UDg0ycKFVC0ccw== -match-sorter@^6.0.2: - version "6.3.1" - resolved "https://registry.yarnpkg.com/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" - mdn-data@2.0.14: version "2.0.14" resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" @@ -6686,11 +6649,6 @@ micromatch@^4.0.0, 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.yarnpkg.com/microseconds/-/microseconds-0.2.0.tgz#233b25f50c62a65d861f978a4a4f8ec18797dc39" - integrity sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA== - mime-db@1.52.0: version "1.52.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" @@ -6845,13 +6803,6 @@ mute-stream@~0.0.4: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -nano-time@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/nano-time/-/nano-time-1.0.0.tgz#b0554f69ad89e22d0907f7a12b0993a5d96137ef" - integrity sha512-flnngywOoQ0lLQOTRNexn2gGSNuM9bKj9RZAWSzhQ+UJYaAFG9bac4DW9VHjUAzrOaIcajHybCTHe/bkvozQqA== - dependencies: - big-integer "^1.6.16" - nanomatch@^1.2.9: version "1.2.13" resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" @@ -7282,11 +7233,6 @@ object.values@^1.1.5: define-properties "^1.1.3" es-abstract "^1.19.1" -oblivious-set@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/oblivious-set/-/oblivious-set-1.0.0.tgz#c8316f2c2fb6ff7b11b6158db3234c49f733c566" - integrity sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw== - once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" @@ -7765,15 +7711,6 @@ react-media@^2.0.0-rc.1: json2mq "^0.2.0" prop-types "^15.5.10" -react-query@^3.22.0: - version "3.39.2" - resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.39.2.tgz#9224140f0296f01e9664b78ed6e4f69a0cc9216f" - integrity sha512-F6hYDKyNgDQfQOuR1Rsp3VRzJnWHx6aRnnIZHMNGGgbL3SBgpZTDg8MQwmxOgpCAoqZJA+JSNCydF1xGJqKOCA== - dependencies: - "@babel/runtime" "^7.5.5" - broadcast-channel "^3.4.1" - match-sorter "^6.0.2" - react-range@^1.8.12: version "1.8.14" resolved "https://registry.yarnpkg.com/react-range/-/react-range-1.8.14.tgz#11047f69b365ac6c75c3d715771ebe76b93982ec" @@ -8070,11 +8007,6 @@ regjsparser@^0.9.1: dependencies: jsesc "~0.5.0" -remove-accents@0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/remove-accents/-/remove-accents-0.4.2.tgz#0a43d3aaae1e80db919e07ae254b285d9e1c7bb5" - integrity sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA== - remove-trailing-separator@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" @@ -8190,7 +8122,7 @@ rfdc@^1.3.0: resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.3.0.tgz#d0b7c441ab2720d05dc4cf26e01c89631d9da08b" integrity sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA== -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== @@ -9183,14 +9115,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.yarnpkg.com/unload/-/unload-2.2.0.tgz#ccc88fdcad345faa06a92039ec0f80b488880ef7" - integrity sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA== - dependencies: - "@babel/runtime" "^7.6.2" - detect-node "^2.0.4" - unset-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"