From e1a612bfbdf8d13e38d68a62d6597481e2b8553a Mon Sep 17 00:00:00 2001 From: Dominik Guzei Date: Wed, 27 Apr 2022 17:28:43 +0200 Subject: [PATCH] [DDW-596] switch to SWC and latest eslint --- .eslintrc | 9 +- package.json | 66 +- source/common/ipc/lib/IpcChannel.ts | 3 +- source/main/cardano/utils.ts | 2 +- source/main/ipc/load-asset.ts | 6 +- source/main/ipc/manageAppUpdateChannel.ts | 2 +- source/renderer/app/App.tsx | 2 +- source/renderer/app/WindowSizeManager.tsx | 39 +- source/renderer/app/api/utils/apiHelpers.ts | 4 +- .../renderer/app/components/assets/Asset.tsx | 2 - .../hardware-wallet/HardwareWalletStatus.tsx | 50 +- .../layout/VerticalFlexContainer.tsx | 6 +- .../SyncingProgress/SyncingProgress.tsx | 90 +- .../SyncingProgress/index.ts | 4 +- .../app/components/navigation/NavDropdown.tsx | 3 +- .../app/components/navigation/Navigation.tsx | 9 +- .../settings/categories/SecuritySettings.tsx | 6 +- .../categories/StakePoolsSettings.tsx | 2 +- .../components/settings/menu/SettingsMenu.tsx | 4 +- .../app/components/sidebar/Sidebar.tsx | 6 +- .../sidebar/wallets/WalletSearch.tsx | 6 +- .../DelegationStepsConfirmationDialog.tsx | 30 +- .../OversaturationText.tsx | 4 +- .../staking/epochs/StakingEpochs.tsx | 6 +- .../staking/layouts/StakingWithNavigation.tsx | 13 +- .../components/voting/VotingUnavailable.tsx | 4 +- .../voting/voting-info/VotingInfo.tsx | 6 +- .../wallet/receive/WalletReceiveRandom.tsx | 36 +- .../settings/DeleteWalletConfirmation.tsx | 46 +- .../settings/ExportWalletToFileDialog.tsx | 2 +- .../wallet/settings/ICOPublicKeyBox.tsx | 44 +- .../wallet/settings/PublicKeyField.tsx | 4 +- .../wallet/settings/PublicKeyFieldSkin.tsx | 4 +- .../UndelegateWalletConfirmationDialog.tsx | 30 +- .../wallet/settings/WalletPublicKeyBox.tsx | 42 +- .../settings/WalletSettingsRemoveButton.tsx | 24 +- .../wallet-token-picker/WalletTokenPicker.tsx | 10 +- .../WalletTokenPickerCheckbox.tsx | 6 +- .../tokens/wallet-token/WalletTokenFooter.tsx | 4 +- .../tokens/wallet-token/WalletTokenHeader.tsx | 4 +- .../WalletTokensSearch.tsx | 4 +- .../transactions/WalletTransactions.tsx | 8 +- .../VirtualTransactionList.tsx | 1 - .../widgets/WalletRestoreSteps.tsx | 2 +- .../widgets/forms/ItemsDropdown.tsx | 4 +- .../notification-dot/NotificationDot.tsx | 6 +- .../app/containers/MenuUpdater/MenuUpdater.ts | 11 +- .../MenuUpdater/useMenuUpdater.spec.tsx | 4 +- .../app/containers/TopBarContainer.tsx | 6 +- .../categories/SecuritySettingsPage.tsx | 4 +- .../PaperWalletCreateCertificatePage.tsx | 20 +- .../dialogs/WalletCreateDialogContainer.tsx | 5 +- .../app/features/discreet-mode/context.tsx | 4 +- .../DiscreetToggleTopBar.tsx | 4 +- .../ui/discreet-toggle/DiscreetModeToggle.tsx | 10 +- .../app/features/local-storage/context.tsx | 7 +- source/renderer/app/utils/shelleyLedger.ts | 12 +- .../addons/DaedalusMenu/DaedalusMenu.tsx | 6 - storybook/stories/_support/utils.ts | 6 +- .../nodes/errors/NoDiskSpaceError.stories.tsx | 22 +- .../nodes/errors/SystemTimeError.stories.tsx | 22 +- .../syncing/SyncingConnecting.stories.tsx | 248 ++-- .../updates/DataLayerMigration.stories.tsx | 6 +- .../settings/utils/SettingsWrapper.tsx | 7 +- .../staking/DelegationCenter.stories.tsx | 74 +- storybook/stories/staking/Epochs.stories.tsx | 54 +- .../staking/RedeemItnWallets.stories.tsx | 24 +- storybook/stories/staking/Rewards.stories.tsx | 26 +- .../stories/staking/StakePools.stories.tsx | 4 +- .../staking/StakePoolsTable.stories.tsx | 132 +- storybook/stories/staking/StakingWrapper.tsx | 4 +- .../stories/staking/Undelegate.stories.tsx | 72 +- .../HardwareWalletWithNavigationLayout.tsx | 3 - .../wallets/_utils/HardwareWalletsWrapper.tsx | 4 +- .../_utils/WalletWithNavigationLayout.tsx | 3 - .../stories/wallets/_utils/WalletsWrapper.tsx | 4 +- .../settings/WalletSettingsScreen.stories.tsx | 4 +- tests/setup-common.ts | 2 +- yarn.lock | 1079 +++++++---------- 79 files changed, 1188 insertions(+), 1370 deletions(-) diff --git a/.eslintrc b/.eslintrc index 1e6b625d8c..14e5b2d0a0 100755 --- a/.eslintrc +++ b/.eslintrc @@ -84,7 +84,14 @@ "react/no-did-update-set-state": 1, "react/sort-comp": 0, "react/state-in-constructor": 0, - "react/static-property-placement": 0 + "react/static-property-placement": 0, + "react/jsx-no-useless-fragment": 0, + "prefer-regex-literals": 0, + "no-unused-vars": "warn", + "react/no-unused-class-component-methods": "warn", + "react/no-unstable-nested-components": "warn", + "no-promise-executor-return": "warn", + "default-param-last": "warn" }, "plugins": ["@typescript-eslint", "import", "promise", "react", "jest"], "globals": { diff --git a/package.json b/package.json index bcd23684b6..4dfb899f84 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "start:dev": "nodemon --watch 'dist/main' --exec 'NODE_ENV=development yarn start'", "test": "NODE_ENV=test yarn build && yarn test:unit && yarn test:e2e:fail-fast", "test:jest": "jest", - "test:generate:report": "ts-node tests/reporter.ts", + "test:generate:report": "yarn node-swc tests/reporter.ts", "test:unit": "yarn cucumber:run --require 'tests/**/unit/**/*.ts' --tags '@unit and not @skip and not @wip'", "test:unit:rerun": "yarn cucumber:rerun --require 'tests/**/unit/**/*.ts' --tags '@unit and not @skip and not @wip'", "test:unit:watch": "nodemon --watch source --watch tests --exec \"yarn test:unit --tags '@unit and @watch'\"", @@ -30,15 +30,17 @@ "test:e2e:rerun:fail-fast": "yarn cucumber:rerun --require 'tests/setup-e2e.ts' --require 'tests/**/e2e/**/*.ts' --tags '@e2e and not @skip and not @wip'", "test:e2e:watch": "gulp test:e2e:watch", "test:e2e:watch:once": "KEEP_APP_AFTER_TESTS=true yarn test:e2e --tags '@e2e and @watch'", - "cucumber": "cross-env NODE_ENV=test cucumber-js --require 'tests/setup-common.ts' --require-module @babel/register -f json:tests-report/report-data.json -f summary:tests-report/summary.log -f node_modules/cucumber-pretty:tests-report/results.log --format-options '{\"snippetInterface\": \"async-await\"}' -f node_modules/cucumber-pretty --format-options '{\"snippetInterface\": \"async-await\"}' -f rerun:tests/@rerun.txt", + "cucumber": "cross-env NODE_ENV=test cucumber-js --require-module '@swc-node/register' --require 'tests/setup-common.ts' -f json:tests-report/report-data.json -f summary:tests-report/summary.log -f node_modules/cucumber-pretty:tests-report/results.log --format-options '{\"snippetInterface\": \"async-await\"}' -f node_modules/cucumber-pretty --format-options '{\"snippetInterface\": \"async-await\"}' -f rerun:tests/@rerun.txt", "cucumber:run": "yarn cucumber tests", "cucumber:fail-fast": "yarn cucumber tests --fail-fast", "cucumber:rerun": "yarn cucumber tests-report/@rerun.txt", "cucumber:rerun:fail-fast": "yarn cucumber tests-report/@rerun.txt --fail-fast", + "node-swc": "node -r @swc-node/register", "debug": "gulp debug", - "package": "cross-env NODE_ENV=production yarn build && cross-env NODE_ENV=production babel-node scripts/package.js", + "package": "cross-env NODE_ENV=production yarn build && cross-env NODE_ENV=production yarn node-swc scripts/package.js", "package:all": "yarn package --all", - "lint": "eslint --format=node_modules/eslint-formatter-pretty source storybook utils --ext .ts,.tsx", + "lint": "eslint --format=node_modules/eslint-formatter-pretty source storybook utils --ext .ts,.tsx", + "lint:fix": "eslint --fix --fix-type problem --ext '.ts,.tsx' source storybook utils", "compile": "tsc --noEmit", "precompile": "yarn typedef:sass", "prettier": "./node_modules/.bin/prettier \"**/*.*\"", @@ -47,14 +49,14 @@ "stylelint": "./node_modules/.bin/stylelint \"**/*.scss\"", "stylelint:fix": "yarn stylelint --fix", "i18n:extract": "formatjs extract 'source/**/*.{ts,tsx}' --ignore='**/*.d.ts' --format='translations/formatter.js' --extract-source-location --out-file='translations/messages.json'", - "i18n:check": "ts-node ./translations/translation-runner.ts", + "i18n:check": "yarn node-swc ./translations/translation-runner.ts", "i18n:manage": "yarn i18n:extract && yarn i18n:check", "storybook": "start-storybook -p 6006 -c storybook --ci /", "storybook:build": "build-storybook -c storybook -o dist/storybook", "storybook:build:chromatic": "build-storybook -c storybook", - "themes:check:createTheme": "gulp build:themes && ts-node -r esm ./dist/scripts/check.js", - "themes:update": "gulp build:themes && ts-node -r esm ./dist/scripts/update.js && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts", - "themes:copy": "ts-node -r @babel/register -r @babel/polyfill source/renderer/app/themes/utils/copyTheme.ts && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts", + "themes:check:createTheme": "gulp build:themes && yarn node-swc ./dist/scripts/check.js", + "themes:update": "gulp build:themes && yarn node-swc ./dist/scripts/update.js && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts", + "themes:copy": "yarn node-swc source/renderer/app/themes/utils/copyTheme.ts && yarn prettier --loglevel warn --write source/renderer/app/themes/daedalus/*.ts", "clear:cache": "rimraf ./node_modules/.cache", "clear:translations": "rimraf ./translations/messages", "nix:alonzo_purple": "./nix/yarn-nix-shell.sh alonzo_purple alonzo_purple", @@ -64,15 +66,15 @@ "nix:shelley_qa": "./nix/yarn-nix-shell.sh shelley_qa shelley_qa", "nix:staging": "./nix/yarn-nix-shell.sh staging staging", "nix:testnet": "./nix/yarn-nix-shell.sh testnet testnet", - "byron:wallet:importer": "ts-node utils/api-importer/byron-wallet-importer.ts", - "shelley:wallet:importer": "ts-node utils/api-importer/shelley-wallet-importer.ts", - "mary:wallet:importer": "ts-node utils/api-importer/mary-wallet-importer.ts", - "itn:byron:wallet:importer": "ts-node utils/api-importer/itn-byron-wallet-importer.ts", - "itn:shelley:wallet:importer": "ts-node utils/api-importer/itn-shelley-wallet-importer.ts", - "yoroi:wallet:importer": "ts-node utils/api-importer/yoroi-wallet-importer.ts", - "create-news-verification-hashes": "ts-node utils/create-news-verification-hashes/index.ts", - "lockfile:check": "ts-node utils/lockfile-checker/index.ts --check", - "lockfile:fix": "ts-node utils/lockfile-checker/index.ts --fix", + "byron:wallet:importer": "yarn node-swc utils/api-importer/byron-wallet-importer.ts", + "shelley:wallet:importer": "yarn node-swc utils/api-importer/shelley-wallet-importer.ts", + "mary:wallet:importer": "yarn node-swc utils/api-importer/mary-wallet-importer.ts", + "itn:byron:wallet:importer": "yarn node-swc utils/api-importer/itn-byron-wallet-importer.ts", + "itn:shelley:wallet:importer": "yarn node-swc utils/api-importer/itn-shelley-wallet-importer.ts", + "yoroi:wallet:importer": "yarn node-swc utils/api-importer/yoroi-wallet-importer.ts", + "create-news-verification-hashes": "yarn node-swc utils/create-news-verification-hashes/index.ts", + "lockfile:check": "yarn node-swc utils/lockfile-checker/index.ts --check", + "lockfile:fix": "yarn node-swc utils/lockfile-checker/index.ts --fix", "postinstall": "./scripts/postinstall.sh", "typedef:sass": "typed-scss-modules source/renderer/app" }, @@ -92,6 +94,7 @@ "@storybook/core": "6.4.20", "@storybook/manager-webpack5": "6.4.20", "@storybook/react": "6.4.20", + "@swc-node/register": "1.4.2", "@swc/core": "1.2.164", "@testing-library/jest-dom": "5.15.1", "@testing-library/react": "12.1.2", @@ -102,16 +105,12 @@ "@types/react": "17.0.38", "@types/react-svg-inline": "2.1.3", "@types/react-table": "^7.7.9", - "@typescript-eslint/eslint-plugin": "5.10.1", - "@typescript-eslint/parser": "5.10.1", + "@typescript-eslint/eslint-plugin": "5.20.0", + "@typescript-eslint/parser": "5.20.0", "@xarc/run": "1.1.1", "asar": "2.1.0", "autodll-webpack-plugin": "0.4.2", "axios": "0.24.0", - "babel-eslint": "10.1.0", - "babel-jest": "27.4.2", - "babel-loader": "8.2.3", - "babel-plugin-react-intl": "3.0.1", "bufferutil": "4.0.1", "cache-loader": "4.1.0", "chai": "4.3.4", @@ -128,17 +127,17 @@ "electron-packager": "15.4.0", "electron-rebuild": "2.0.1", "electron-reloader": "1.2.1", - "eslint": "7.32.0", - "eslint-config-airbnb": "18.2.0", + "eslint": "8.13.0", + "eslint-config-airbnb": "19.0.4", "eslint-config-prettier": "8.5.0", - "eslint-formatter-pretty": "4.0.0", - "eslint-import-resolver-webpack": "0.13.1", - "eslint-plugin-import": "2.24.2", - "eslint-plugin-jest": "25.3.0", - "eslint-plugin-jsx-a11y": "6.4.1", - "eslint-plugin-promise": "5.1.0", - "eslint-plugin-react": "7.25.1", - "eslint-plugin-react-hooks": "4.2.0", + "eslint-formatter-pretty": "4.1.0", + "eslint-import-resolver-webpack": "0.13.2", + "eslint-plugin-import": "2.26.0", + "eslint-plugin-jest": "26.1.4", + "eslint-plugin-jsx-a11y": "6.5.1", + "eslint-plugin-promise": "6.0.0", + "eslint-plugin-react": "7.29.4", + "eslint-plugin-react-hooks": "4.4.0", "esm": "3.2.25", "gulp-shell": "0.8.0", "hash.js": "1.1.7", @@ -185,7 +184,6 @@ "thread-loader": "2.1.3", "timemachine": "0.3.2", "transform-loader": "0.2.4", - "ts-node": "10.4.0", "typed-scss-modules": "5.0.0", "typescript": "4.6.2", "utf-8-validate": "5.0.2", diff --git a/source/common/ipc/lib/IpcChannel.ts b/source/common/ipc/lib/IpcChannel.ts index 4d1e3e4643..c013849c8c 100644 --- a/source/common/ipc/lib/IpcChannel.ts +++ b/source/common/ipc/lib/IpcChannel.ts @@ -59,7 +59,8 @@ export class IpcChannel { // Enforce the singleton pattern based on the channel name const existingChannel = IpcChannel._instances[channelName]; - if (existingChannel) return existingChannel; + if (existingChannel) + throw new Error(`Channel ${channelName} already exists`); IpcChannel._instances[channelName] = this; this._broadcastChannel = `${channelName}-broadcast`; this._requestChannel = `${channelName}-request`; diff --git a/source/main/cardano/utils.ts b/source/main/cardano/utils.ts index b81ede4251..17febca9f3 100644 --- a/source/main/cardano/utils.ts +++ b/source/main/cardano/utils.ts @@ -140,7 +140,7 @@ export const createSelfnodeConfig = async ( const configFileContent = await fs.readFile(configFilePath); const configFile = JSON.stringify({ - ...JSON.parse(configFileContent), + ...JSON.parse(configFileContent.toString()), GenesisFile: genesisPath, }); const configPath = path.join(stateDir, 'config.yaml'); diff --git a/source/main/ipc/load-asset.ts b/source/main/ipc/load-asset.ts index 9880926c76..f0a30a5928 100644 --- a/source/main/ipc/load-asset.ts +++ b/source/main/ipc/load-asset.ts @@ -14,14 +14,14 @@ const loadAssetChannel: MainIpcChannel< export default () => { loadAssetChannel.onRequest((request: LoadAssetRendererRequest) => { const asset = path.resolve(__dirname, `../renderer/${request.fileName}`); - return new Promise((resolve, reject) => + return new Promise((resolve, reject) => { fs.readFile(asset, 'base64', (error, data) => { if (error) { reject(error); } else { resolve(data); } - }) - ); + }); + }); }); }; diff --git a/source/main/ipc/manageAppUpdateChannel.ts b/source/main/ipc/manageAppUpdateChannel.ts index 0aaa69df9b..0b2920ad6a 100644 --- a/source/main/ipc/manageAppUpdateChannel.ts +++ b/source/main/ipc/manageAppUpdateChannel.ts @@ -30,7 +30,7 @@ export const handleManageAppUpdateRequests = (window: BrowserWindow) => { success: boolean | null | undefined, functionPrefix: string, messageText = '', - _data?: Record + _data: Record = {} ): Response => { let status = statuses.PROGRESS; if (success === true) status = statuses.SUCCESS; diff --git a/source/renderer/app/App.tsx b/source/renderer/app/App.tsx index 4cf5deda95..04b87ad789 100755 --- a/source/renderer/app/App.tsx +++ b/source/renderer/app/App.tsx @@ -61,7 +61,7 @@ class App extends Component<{ {/* @ts-ignore ts-migrate(2769) FIXME: No overload matches this call. */} - + {this.props.children}; - } +export default function WindowSizeManager(props: Props) { + useEffect(() => { + updateMinScreenHeight(props.minScreenHeight); + }, [props.minScreenHeight]); + return props.children; } diff --git a/source/renderer/app/api/utils/apiHelpers.ts b/source/renderer/app/api/utils/apiHelpers.ts index 85f51f2927..63fbd025e8 100644 --- a/source/renderer/app/api/utils/apiHelpers.ts +++ b/source/renderer/app/api/utils/apiHelpers.ts @@ -21,7 +21,9 @@ export const testSync = (apiMethod: (...args: Array) => any) => { }; // helper code for deferring API call execution export const wait = (ms: number): Promise => - new Promise((resolve) => setTimeout(resolve, ms)); + new Promise((resolve) => { + setTimeout(resolve, ms); + }); export const doesWalletRequireAdaToRemainToSupportTokens = ( error: ErrorType, hasAssetsRemainingAfterTransaction?: boolean diff --git a/source/renderer/app/components/assets/Asset.tsx b/source/renderer/app/components/assets/Asset.tsx index 7a252b4fe2..8c28ed3e07 100644 --- a/source/renderer/app/components/assets/Asset.tsx +++ b/source/renderer/app/components/assets/Asset.tsx @@ -94,8 +94,6 @@ class Asset extends Component { intl: intlShape.isRequired, }; // @ts-ignore ts-migrate(2304) FIXME: Cannot find name 'TimeoutID'. - copyNotificationTimeout: TimeoutID; - // @ts-ignore ts-migrate(2304) FIXME: Cannot find name 'TimeoutID'. displayDelayTimeout: TimeoutID; state = { isPillPopOverVisible: false, diff --git a/source/renderer/app/components/hardware-wallet/HardwareWalletStatus.tsx b/source/renderer/app/components/hardware-wallet/HardwareWalletStatus.tsx index 42d110e505..795717fd24 100644 --- a/source/renderer/app/components/hardware-wallet/HardwareWalletStatus.tsx +++ b/source/renderer/app/components/hardware-wallet/HardwareWalletStatus.tsx @@ -312,38 +312,32 @@ class HardwareWalletStatus extends Component { } return ( - <> -
-
-
- {hasInstructionsLink && instructionsLink ? ( - - ) : ( - label - )} -
- {secondaryMessage && ( -
- {intl.formatMessage(secondaryMessage)} -
+
+
+
+ {hasInstructionsLink && instructionsLink ? ( + + ) : ( + label )}
- {isLoading && ( - - )} - {isReady && ( - - )} - {isError && ( - + {secondaryMessage && ( +
+ {intl.formatMessage(secondaryMessage)} +
)}
- + {isLoading && ( + + )} + {isReady && } + {isError && } +
); } } diff --git a/source/renderer/app/components/layout/VerticalFlexContainer.tsx b/source/renderer/app/components/layout/VerticalFlexContainer.tsx index a5d9fb9330..bf307640f8 100644 --- a/source/renderer/app/components/layout/VerticalFlexContainer.tsx +++ b/source/renderer/app/components/layout/VerticalFlexContainer.tsx @@ -7,8 +7,8 @@ type Props = { children?: Node | null | undefined; }; -const VerticalFlexContainer = ({ children }: Props) => ( -
{children}
-); +function VerticalFlexContainer({ children }: Props) { + return
{children}
; +} export default memo(VerticalFlexContainer); diff --git a/source/renderer/app/components/loading/syncing-connecting/SyncingProgress/SyncingProgress.tsx b/source/renderer/app/components/loading/syncing-connecting/SyncingProgress/SyncingProgress.tsx index 0fc509d96f..fb1c35c533 100644 --- a/source/renderer/app/components/loading/syncing-connecting/SyncingProgress/SyncingProgress.tsx +++ b/source/renderer/app/components/loading/syncing-connecting/SyncingProgress/SyncingProgress.tsx @@ -40,51 +40,53 @@ const makePercentageCellStyles = (loaded: boolean) => [styles.faded]: loaded, }); -const SyncingProgress: FC = (props, { intl }: Context) => ( -
-
- {blockSyncTypesOrdered.map((type) => ( -
- -
- ))} +function SyncingProgress(props: Props, { intl }: Context) { + return ( +
+
+ {blockSyncTypesOrdered.map((type) => ( +
+ +
+ ))} +
+
+ {blockSyncTypesOrdered.map((type) => ( +
+ + {intl.formatMessage(getProgressNameByBlockSyncType(type))} + + + + + + +
+ ))} +
+
+ {blockSyncTypesOrdered.map((type) => ( +
+ {Math.floor(props[type])}% +
+ ))} +
-
- {blockSyncTypesOrdered.map((type) => ( -
- - {intl.formatMessage(getProgressNameByBlockSyncType(type))} - - - - - - -
- ))} -
-
- {blockSyncTypesOrdered.map((type) => ( -
- {Math.floor(props[type])}% -
- ))} -
-
-); + ); +} SyncingProgress.contextTypes = { intl: intlShape.isRequired, diff --git a/source/renderer/app/components/loading/syncing-connecting/SyncingProgress/index.ts b/source/renderer/app/components/loading/syncing-connecting/SyncingProgress/index.ts index 9b9d94a83e..0bddb2d513 100644 --- a/source/renderer/app/components/loading/syncing-connecting/SyncingProgress/index.ts +++ b/source/renderer/app/components/loading/syncing-connecting/SyncingProgress/index.ts @@ -1 +1,3 @@ -export { default } from './SyncingProgress'; +import syncProgress from './SyncingProgress'; + +export default syncProgress; diff --git a/source/renderer/app/components/navigation/NavDropdown.tsx b/source/renderer/app/components/navigation/NavDropdown.tsx index 2db0506865..8918805cce 100644 --- a/source/renderer/app/components/navigation/NavDropdown.tsx +++ b/source/renderer/app/components/navigation/NavDropdown.tsx @@ -4,6 +4,7 @@ import classnames from 'classnames'; import { Dropdown } from 'react-polymorph/lib/components/Dropdown'; import NavButton from './NavButton'; import styles from './NavDropdown.scss'; +import { NavDropdownProps } from './Navigation'; type Props = { label: string; @@ -56,7 +57,7 @@ class NavDropdown extends Component { onItemSelected={({ value }) => { onChange(value); }} - optionRenderer={(o) => ( + optionRenderer={(o: NavDropdownProps) => (
{o.label}
diff --git a/source/renderer/app/components/navigation/Navigation.tsx b/source/renderer/app/components/navigation/Navigation.tsx index ec78693b83..b63b4bc9ed 100755 --- a/source/renderer/app/components/navigation/Navigation.tsx +++ b/source/renderer/app/components/navigation/Navigation.tsx @@ -4,20 +4,21 @@ import styles from './Navigation.scss'; import NavButton from './NavButton'; import NavDropdown from './NavDropdown'; -export type NavButtonProps = { - type?: 'button'; +type NavItemProps = { id: string; label: string; icon?: string; hasNotification?: boolean; }; -export type NavDropdownProps = NavButtonProps & { +export type NavButtonProps = NavItemProps & { + type?: 'button'; +}; +export type NavDropdownProps = NavItemProps & { type: 'dropdown'; options: Array<{ value: number | string; label: string; }>; - hasNotification?: boolean; }; type Props = { activeItem: string; diff --git a/source/renderer/app/components/settings/categories/SecuritySettings.tsx b/source/renderer/app/components/settings/categories/SecuritySettings.tsx index 8e097268c4..74a8773dde 100644 --- a/source/renderer/app/components/settings/categories/SecuritySettings.tsx +++ b/source/renderer/app/components/settings/categories/SecuritySettings.tsx @@ -13,13 +13,13 @@ type Props = { onOpenDiscreetModeToggle: () => void; }; -const SecuritySettings = ({ +function SecuritySettings({ intl, discreetMode, openDiscreetMode, onDiscreetModeToggle, onOpenDiscreetModeToggle, -}: Props) => { +}: Props) { return (
@@ -52,6 +52,6 @@ const SecuritySettings = ({
); -}; +} export default injectIntl(SecuritySettings); diff --git a/source/renderer/app/components/settings/categories/StakePoolsSettings.tsx b/source/renderer/app/components/settings/categories/StakePoolsSettings.tsx index e766293857..4a34e9aba0 100644 --- a/source/renderer/app/components/settings/categories/StakePoolsSettings.tsx +++ b/source/renderer/app/components/settings/categories/StakePoolsSettings.tsx @@ -270,7 +270,7 @@ class StakePoolsSettings extends Component { options={smashSelectOptions} onChange={this.handleOnSelectSmashServerType} optionHeight={50} - selectionRenderer={({ label }) => ( + selectionRenderer={({ label }: { label: string }) => (
{label}
)} /> diff --git a/source/renderer/app/components/settings/menu/SettingsMenu.tsx b/source/renderer/app/components/settings/menu/SettingsMenu.tsx index 02ccc21038..57a2736ae1 100644 --- a/source/renderer/app/components/settings/menu/SettingsMenu.tsx +++ b/source/renderer/app/components/settings/menu/SettingsMenu.tsx @@ -14,7 +14,7 @@ type Props = { onItemClick: (...args: Array) => any; }; -const SettingsMenu = ({ intl, onItemClick, isActiveItem, isFlight }: Props) => { +function SettingsMenu({ intl, onItemClick, isActiveItem, isFlight }: Props) { return (
@@ -65,6 +65,6 @@ const SettingsMenu = ({ intl, onItemClick, isActiveItem, isFlight }: Props) => {
); -}; +} export default injectIntl(observer(SettingsMenu)); diff --git a/source/renderer/app/components/sidebar/Sidebar.tsx b/source/renderer/app/components/sidebar/Sidebar.tsx index 7f57de7fbf..179e78569f 100644 --- a/source/renderer/app/components/sidebar/Sidebar.tsx +++ b/source/renderer/app/components/sidebar/Sidebar.tsx @@ -29,7 +29,7 @@ const getCategoryContent = (categoryName: string, network) => ) : null; -const Sidebar = ({ +function Sidebar({ menus, categories, activeSidebarCategory, @@ -39,7 +39,7 @@ const Sidebar = ({ isShelleyActivated, onActivateCategory, network, -}: Props) => { +}: Props) { const hasSubMenu = shouldShowWalletSubMenu({ activeSidebarCategory, walletRoute: CATEGORIES_BY_NAME.WALLETS.route, @@ -85,6 +85,6 @@ const Sidebar = ({ )}
); -}; +} export default observer(Sidebar); diff --git a/source/renderer/app/components/sidebar/wallets/WalletSearch.tsx b/source/renderer/app/components/sidebar/wallets/WalletSearch.tsx index 2d3628cc49..6a486b3b64 100644 --- a/source/renderer/app/components/sidebar/wallets/WalletSearch.tsx +++ b/source/renderer/app/components/sidebar/wallets/WalletSearch.tsx @@ -23,11 +23,11 @@ type Props = { searchValue?: string; }; -const WalletSearchComponent = ({ +function WalletSearchComponent({ searchValue = '', onSearch = noop, intl, -}: Props) => { +}: Props) { const hasValue = !!searchValue.length; return ( ); -}; +} export const WalletSearch = injectIntl(observer(WalletSearchComponent)); diff --git a/source/renderer/app/components/staking/delegation-setup-wizard/DelegationStepsConfirmationDialog.tsx b/source/renderer/app/components/staking/delegation-setup-wizard/DelegationStepsConfirmationDialog.tsx index b3fff1a5e0..14b47e723f 100644 --- a/source/renderer/app/components/staking/delegation-setup-wizard/DelegationStepsConfirmationDialog.tsx +++ b/source/renderer/app/components/staking/delegation-setup-wizard/DelegationStepsConfirmationDialog.tsx @@ -247,22 +247,20 @@ class DelegationStepsConfirmationDialog extends Component { {transactionFee && transactionFee.deposits.isZero && !transactionFee.deposits.isZero() && ( - <> -
-

- {intl.formatMessage(messages.depositLabel)} -

-

- - {formattedWalletAmount(transactionFee.deposits, false)} - - - {` `} - {intl.formatMessage(globalMessages.adaUnit)} - -

-
- +
+

+ {intl.formatMessage(messages.depositLabel)} +

+

+ + {formattedWalletAmount(transactionFee.deposits, false)} + + + {` `} + {intl.formatMessage(globalMessages.adaUnit)} + +

+
)}
diff --git a/source/renderer/app/components/staking/delegation-setup-wizard/OversaturationText.tsx b/source/renderer/app/components/staking/delegation-setup-wizard/OversaturationText.tsx index 68db43268d..00512fe89e 100644 --- a/source/renderer/app/components/staking/delegation-setup-wizard/OversaturationText.tsx +++ b/source/renderer/app/components/staking/delegation-setup-wizard/OversaturationText.tsx @@ -24,7 +24,7 @@ type Props = { centerText?: boolean; }; -const OversaturationTextComponent = (props: Props) => { +function OversaturationTextComponent(props: Props) { const { oversaturationPercentage, centerText } = props; const oversaturationClasses = classnames([ styles.component, @@ -40,6 +40,6 @@ const OversaturationTextComponent = (props: Props) => { />

); -}; +} export const OversaturationText = injectIntl(OversaturationTextComponent); diff --git a/source/renderer/app/components/staking/epochs/StakingEpochs.tsx b/source/renderer/app/components/staking/epochs/StakingEpochs.tsx index b0157cb90a..08d224ad12 100644 --- a/source/renderer/app/components/staking/epochs/StakingEpochs.tsx +++ b/source/renderer/app/components/staking/epochs/StakingEpochs.tsx @@ -23,6 +23,10 @@ const messages = defineMessages({ description: 'Headline for the previous epoch.', }, }); +type SelectOption = { + label: string; + value: unknown; +}; type Props = { currentEpochName: string; currentEpochData: EpochData; @@ -109,7 +113,7 @@ class StakingEpochs extends Component { value={selectedEpoch} onChange={this.onSelectedEpochChange} skin={SelectSkin} - selectionRenderer={(option) => ( + selectionRenderer={(option: SelectOption) => (
{option.label}
)} optionHeight={50} diff --git a/source/renderer/app/components/staking/layouts/StakingWithNavigation.tsx b/source/renderer/app/components/staking/layouts/StakingWithNavigation.tsx index 9f0973ad92..1048bc290b 100644 --- a/source/renderer/app/components/staking/layouts/StakingWithNavigation.tsx +++ b/source/renderer/app/components/staking/layouts/StakingWithNavigation.tsx @@ -20,7 +20,7 @@ export const StakingPageScrollContext = React.createContext({ @observer class StakingWithNavigation extends Component { - stakingPageRef = createRef(); + stakingPageScrollContext = { scrollElementRef: createRef() }; render() { const { @@ -32,11 +32,7 @@ class StakingWithNavigation extends Component { } = this.props; const componentStyles = classnames([styles.component, styles[activeItem]]); return ( - +
{ showInfoTab={showInfoTab} />
-
+
{children}
diff --git a/source/renderer/app/components/voting/VotingUnavailable.tsx b/source/renderer/app/components/voting/VotingUnavailable.tsx index d2e4d72ab4..4cf089c1e6 100644 --- a/source/renderer/app/components/voting/VotingUnavailable.tsx +++ b/source/renderer/app/components/voting/VotingUnavailable.tsx @@ -10,7 +10,7 @@ type Props = { syncPercentage: number; }; -const VotingUnavailable = ({ syncPercentage }: Props) => { +function VotingUnavailable({ syncPercentage }: Props) { return (
@@ -24,6 +24,6 @@ const VotingUnavailable = ({ syncPercentage }: Props) => {
); -}; +} export default observer(VotingUnavailable); diff --git a/source/renderer/app/components/voting/voting-info/VotingInfo.tsx b/source/renderer/app/components/voting/voting-info/VotingInfo.tsx index 525099eae2..55d05bfb68 100644 --- a/source/renderer/app/components/voting/voting-info/VotingInfo.tsx +++ b/source/renderer/app/components/voting/voting-info/VotingInfo.tsx @@ -20,7 +20,7 @@ const phaseToComponentMap: { [key in FundPhase]: React.FC } = { [FundPhase.RESULTS]: ResultsPhase, }; -const VotingInfo = ({ +function VotingInfo({ currentLocale, currentDateFormat, currentTimeFormat, @@ -28,7 +28,7 @@ const VotingInfo = ({ fundInfo, onRegisterToVoteClick, onExternalLinkClick, -}: Props) => { +}: Props) { const PhaseComponent = phaseToComponentMap[fundPhase]; return (
@@ -69,6 +69,6 @@ const VotingInfo = ({
); -}; +} export default observer(VotingInfo); diff --git a/source/renderer/app/components/wallet/receive/WalletReceiveRandom.tsx b/source/renderer/app/components/wallet/receive/WalletReceiveRandom.tsx index 5dd35f968b..0c1fc39a20 100644 --- a/source/renderer/app/components/wallet/receive/WalletReceiveRandom.tsx +++ b/source/renderer/app/components/wallet/receive/WalletReceiveRandom.tsx @@ -277,27 +277,23 @@ class WalletReceiveRandom extends Component {
{walletAddresses.length ? ( - <> -
-

- {intl.formatMessage( - messages.generatedAddressesSectionTitle - )} -
- -
-

+
+

+ {intl.formatMessage(messages.generatedAddressesSectionTitle)} +
+ +
+

- -
- + +
) : null} diff --git a/source/renderer/app/components/wallet/settings/DeleteWalletConfirmation.tsx b/source/renderer/app/components/wallet/settings/DeleteWalletConfirmation.tsx index d5822f9f62..c12186b26e 100644 --- a/source/renderer/app/components/wallet/settings/DeleteWalletConfirmation.tsx +++ b/source/renderer/app/components/wallet/settings/DeleteWalletConfirmation.tsx @@ -16,7 +16,7 @@ type Props = { checkboxLabel: string; }; -const DeleteWalletConfirmation = ({ +function DeleteWalletConfirmation({ isBackupNoticeAccepted, confirmationValue, onAcceptBackupNotice, @@ -24,27 +24,29 @@ const DeleteWalletConfirmation = ({ handleSubmit, checkboxLabel, inputLabel, -}: Props) => ( - <> - - {isBackupNoticeAccepted && ( - - submitOnEnter(handleSubmit, event) - } - onChange={onConfirmationValueChange} - skin={InputSkin} +}: Props) { + return ( + <> + - )} - -); + {isBackupNoticeAccepted && ( + + submitOnEnter(handleSubmit, event) + } + onChange={onConfirmationValueChange} + skin={InputSkin} + /> + )} + + ); +} export default DeleteWalletConfirmation; diff --git a/source/renderer/app/components/wallet/settings/ExportWalletToFileDialog.tsx b/source/renderer/app/components/wallet/settings/ExportWalletToFileDialog.tsx index 675e6cd70e..87ecbca361 100644 --- a/source/renderer/app/components/wallet/settings/ExportWalletToFileDialog.tsx +++ b/source/renderer/app/components/wallet/settings/ExportWalletToFileDialog.tsx @@ -136,7 +136,7 @@ class ExportWalletToFileDialog extends Component { }, }); }; - handleSubmitOnEnter = submitOnEnter.bind(this, this.submit); + // handleSubmitOnEnter = submitOnEnter.bind(this, this.submit); render() { // const { form } = this; diff --git a/source/renderer/app/components/wallet/settings/ICOPublicKeyBox.tsx b/source/renderer/app/components/wallet/settings/ICOPublicKeyBox.tsx index 88ea4169d6..0e9ca553df 100644 --- a/source/renderer/app/components/wallet/settings/ICOPublicKeyBox.tsx +++ b/source/renderer/app/components/wallet/settings/ICOPublicKeyBox.tsx @@ -40,32 +40,30 @@ type Props = { intl: intlShape.isRequired; }; -const ICOPublicKeyBox = (props: Props) => { +function ICOPublicKeyBox(props: Props) { const { publicKey, locale, onCopyICOPublicKey, openDialogAction, intl } = props; return ( - <> - - - openDialogAction({ - dialog: PublicKeyQRCodeDialog, - }) - } - onOpenWalletKeyDialog={() => - openDialogAction({ - dialog: ICOPublicKeyDialog, - }) - } - messages={messages} - /> - - + + + openDialogAction({ + dialog: PublicKeyQRCodeDialog, + }) + } + onOpenWalletKeyDialog={() => + openDialogAction({ + dialog: ICOPublicKeyDialog, + }) + } + messages={messages} + /> + ); -}; +} export default injectIntl(ICOPublicKeyBox); diff --git a/source/renderer/app/components/wallet/settings/PublicKeyField.tsx b/source/renderer/app/components/wallet/settings/PublicKeyField.tsx index 1a465202a7..b5c19aa9e1 100644 --- a/source/renderer/app/components/wallet/settings/PublicKeyField.tsx +++ b/source/renderer/app/components/wallet/settings/PublicKeyField.tsx @@ -29,7 +29,7 @@ type Props = { description?: string; }; -const PublicKeyField = (props: Props) => { +function PublicKeyField(props: Props) { const { publicKey, onOpenWalletKeyDialog, @@ -128,6 +128,6 @@ const PublicKeyField = (props: Props) => { ); -}; +} export default injectIntl(PublicKeyField); diff --git a/source/renderer/app/components/wallet/settings/PublicKeyFieldSkin.tsx b/source/renderer/app/components/wallet/settings/PublicKeyFieldSkin.tsx index d4ebd01383..c001670369 100644 --- a/source/renderer/app/components/wallet/settings/PublicKeyFieldSkin.tsx +++ b/source/renderer/app/components/wallet/settings/PublicKeyFieldSkin.tsx @@ -20,7 +20,7 @@ type Props = InputProps & { valueVisible: boolean; onCopyValue: (...args: Array) => any; }; -export default (props: Props) => { +export default function (props: Props) { const renderInput = () => ( { render={render} /> ); -}; +} diff --git a/source/renderer/app/components/wallet/settings/UndelegateWalletConfirmationDialog.tsx b/source/renderer/app/components/wallet/settings/UndelegateWalletConfirmationDialog.tsx index af85e86e2e..dd4710ff00 100644 --- a/source/renderer/app/components/wallet/settings/UndelegateWalletConfirmationDialog.tsx +++ b/source/renderer/app/components/wallet/settings/UndelegateWalletConfirmationDialog.tsx @@ -373,22 +373,20 @@ class UndelegateWalletConfirmationDialog extends Component {

{fees && !fees.depositsReclaimed.isZero() && ( - <> -
-

- {intl.formatMessage(messages.depositLabel)} -

-

- - {formattedWalletAmount(fees.depositsReclaimed, false)} - - - {` `} - {intl.formatMessage(globalMessages.adaUnit)} - -

-
- +
+

+ {intl.formatMessage(messages.depositLabel)} +

+

+ + {formattedWalletAmount(fees.depositsReclaimed, false)} + + + {` `} + {intl.formatMessage(globalMessages.adaUnit)} + +

+
)} {isHardwareWallet ? ( diff --git a/source/renderer/app/components/wallet/settings/WalletPublicKeyBox.tsx b/source/renderer/app/components/wallet/settings/WalletPublicKeyBox.tsx index f7a5383317..eedbd28287 100644 --- a/source/renderer/app/components/wallet/settings/WalletPublicKeyBox.tsx +++ b/source/renderer/app/components/wallet/settings/WalletPublicKeyBox.tsx @@ -33,30 +33,28 @@ type Props = { openDialogAction: (...args: Array) => any; }; -const WalletPublicKeyBox = (props: Props) => { +function WalletPublicKeyBox(props: Props) { const { publicKey, locale, onCopyWalletPublicKey, openDialogAction } = props; return ( - <> - - - openDialogAction({ - dialog: WalletPublicKeyQRCodeDialog, - }) - } - onOpenWalletKeyDialog={() => - openDialogAction({ - dialog: PublicKeyDialog, - }) - } - messages={messages} - /> - - + + + openDialogAction({ + dialog: WalletPublicKeyQRCodeDialog, + }) + } + onOpenWalletKeyDialog={() => + openDialogAction({ + dialog: PublicKeyDialog, + }) + } + messages={messages} + /> + ); -}; +} export default injectIntl(WalletPublicKeyBox); diff --git a/source/renderer/app/components/wallet/settings/WalletSettingsRemoveButton.tsx b/source/renderer/app/components/wallet/settings/WalletSettingsRemoveButton.tsx index 5a682d4feb..3b6f8ba463 100644 --- a/source/renderer/app/components/wallet/settings/WalletSettingsRemoveButton.tsx +++ b/source/renderer/app/components/wallet/settings/WalletSettingsRemoveButton.tsx @@ -9,19 +9,21 @@ type Props = { disabled?: boolean; }; -const WalletSettingsRemoveButton = ({ +function WalletSettingsRemoveButton({ onClick, label, disabled = false, -}: Props) => ( - ); -}; +} type Props = { className: string; }; -const DiscreetModeToggleContainer = ({ className }: Props) => { +function DiscreetModeToggleContainer({ className }: Props) { const { isDiscreetMode, toggleDiscreetMode } = useDiscreetModeFeature(); return ( { onToggle={toggleDiscreetMode} /> ); -}; +} export const DiscreetModeToggle = injectIntl( observer(DiscreetModeToggleContainer) diff --git a/source/renderer/app/features/local-storage/context.tsx b/source/renderer/app/features/local-storage/context.tsx index 7039616051..8cb02f87bc 100644 --- a/source/renderer/app/features/local-storage/context.tsx +++ b/source/renderer/app/features/local-storage/context.tsx @@ -12,10 +12,7 @@ interface Props { children: Node; localStorage: LocalStorageApi; } -export const LocalStorageFeatureProvider = ({ - children, - localStorage, -}: Props) => { +export function LocalStorageFeatureProvider({ children, localStorage }: Props) { const [localStorageFeature] = useState(() => { // @ts-ignore ts-migrate(2339) FIXME: Property 'daedalus' does not exist on type 'Window... Remove this comment to see the full error message window.daedalus = merge(window.daedalus, { @@ -30,7 +27,7 @@ export const LocalStorageFeatureProvider = ({ {children} ); -}; +} export function useLocalStorageFeature(): LocalStorageApi { return getFeatureFromContext(localStorageContext); } diff --git a/source/renderer/app/utils/shelleyLedger.ts b/source/renderer/app/utils/shelleyLedger.ts index 55aa38a9dd..28f26b9ca1 100644 --- a/source/renderer/app/utils/shelleyLedger.ts +++ b/source/renderer/app/utils/shelleyLedger.ts @@ -158,10 +158,10 @@ export const prepareTokenBundle = (assets: CoinSelectionAssetsType) => { return tokenBundle; }; -export const ShelleyTxOutput = ( +export function ShelleyTxOutput( output: CoinSelectionOutput, addressStyle: AddressStyle -) => { +) { const { address, amount, derivationPath, assets } = output; const adaCoinQuantity = amount.quantity; const coins = @@ -186,12 +186,12 @@ export const ShelleyTxOutput = ( stakingPath: isChange ? [2147485500, 2147485463, 2147483648, 2, 0] : null, encodeCBOR, }; -}; -export const ShelleyTxCert = (cert: { +} +export function ShelleyTxCert(cert: { type: string; accountAddress: string; pool: string | null | undefined; -}) => { +}) { const { type, accountAddress, pool } = cert; let hash; let poolHash; @@ -221,7 +221,7 @@ export const ShelleyTxCert = (cert: { poolHash: poolHash || null, encodeCBOR, }; -}; +} export const ShelleyTxWithdrawal = ( withdrawals: Array ) => { diff --git a/storybook/addons/DaedalusMenu/DaedalusMenu.tsx b/storybook/addons/DaedalusMenu/DaedalusMenu.tsx index 8c5775f65f..24682e513c 100644 --- a/storybook/addons/DaedalusMenu/DaedalusMenu.tsx +++ b/storybook/addons/DaedalusMenu/DaedalusMenu.tsx @@ -60,12 +60,6 @@ class DaedalusMenu extends Component { // @ts-ignore ts-migrate(2322) FIXME: Type 'URLSearchParams' is not assignable to type '... Remove this comment to see the full error message parent.window.location.hash = hash; }; - handleSetParam = (param: string, value: string) => { - const query = set({}, param, value); - this.setState(query); - this.setHashParam(param, value); - sessionStorage.setItem(param, value); // updateParam(query); - }; render() { const { themeName, localeName, osName } = this.state; diff --git a/storybook/stories/_support/utils.ts b/storybook/stories/_support/utils.ts index 3a3f949112..c1a1309432 100644 --- a/storybook/stories/_support/utils.ts +++ b/storybook/stories/_support/utils.ts @@ -109,8 +109,8 @@ export const generateWallet = ( total: [], }, reward: string | number = 0, - delegatedStakePool?: StakePool, - hasPassword?: boolean, + delegatedStakePool: StakePool = null, + hasPassword = false, status: SyncStateStatus = WalletSyncStateStatuses.READY, isHardwareWallet = false, id: string = generateHash() @@ -171,7 +171,7 @@ export const generateAssetToken = ( policyId: string, assetName = '', fingerprint = '', - quantity: number, + quantity = 0, metadata?: AssetMetadata | null, decimals?: number | null, recommendedDecimals?: number | null diff --git a/storybook/stories/nodes/errors/NoDiskSpaceError.stories.tsx b/storybook/stories/nodes/errors/NoDiskSpaceError.stories.tsx index 57a76ed6bb..02136613f4 100644 --- a/storybook/stories/nodes/errors/NoDiskSpaceError.stories.tsx +++ b/storybook/stories/nodes/errors/NoDiskSpaceError.stories.tsx @@ -2,13 +2,15 @@ import React from 'react'; import { text } from '@storybook/addon-knobs'; import NoDiskSpaceError from '../../../../source/renderer/app/components/loading/no-disk-space-error/NoDiskSpaceError'; -export const NoDiskSpaceErrorStory = () => ( - -); +export function NoDiskSpaceErrorStory() { + return ( + + ); +} diff --git a/storybook/stories/nodes/errors/SystemTimeError.stories.tsx b/storybook/stories/nodes/errors/SystemTimeError.stories.tsx index deca9d3432..ff5a4bcd61 100644 --- a/storybook/stories/nodes/errors/SystemTimeError.stories.tsx +++ b/storybook/stories/nodes/errors/SystemTimeError.stories.tsx @@ -3,13 +3,15 @@ import { boolean, number } from '@storybook/addon-knobs'; import { action } from '@storybook/addon-actions'; import SystemTimeError from '../../../../source/renderer/app/components/loading/system-time-error/SystemTimeError'; -export const SystemTimeErrorStory = ({ locale }: { locale: string }) => ( - -); +export function SystemTimeErrorStory({ locale }: { locale: string }) { + return ( + + ); +} diff --git a/storybook/stories/nodes/syncing/SyncingConnecting.stories.tsx b/storybook/stories/nodes/syncing/SyncingConnecting.stories.tsx index 79f983c4fd..32be7afb2a 100644 --- a/storybook/stories/nodes/syncing/SyncingConnecting.stories.tsx +++ b/storybook/stories/nodes/syncing/SyncingConnecting.stories.tsx @@ -31,124 +31,130 @@ const makeBlockSyncProgress = () => ({ }), }); -export const DefaultSyncingConnectingStory = () => ( - 'default')} - disableDownloadLogs={boolean('disableDownloadLogs', true)} - showNewsFeedIcon - blockSyncProgress={makeBlockSyncProgress()} - /> -); -export const ConnectivityIssuesSyncingConnectingStory = () => ( - 'default')} - disableDownloadLogs={boolean('disableDownloadLogs', false)} - showNewsFeedIcon - /> -); -export const LoadingWalletDataSyncingConnectingStory = () => ( - 'default')} - disableDownloadLogs={false} - showNewsFeedIcon - /> -); +export function DefaultSyncingConnectingStory() { + return ( + 'default')} + disableDownloadLogs={boolean('disableDownloadLogs', true)} + showNewsFeedIcon + blockSyncProgress={makeBlockSyncProgress()} + /> + ); +} +export function ConnectivityIssuesSyncingConnectingStory() { + return ( + 'default')} + disableDownloadLogs={boolean('disableDownloadLogs', false)} + showNewsFeedIcon + /> + ); +} +export function LoadingWalletDataSyncingConnectingStory() { + return ( + 'default')} + disableDownloadLogs={false} + showNewsFeedIcon + /> + ); +} diff --git a/storybook/stories/nodes/updates/DataLayerMigration.stories.tsx b/storybook/stories/nodes/updates/DataLayerMigration.stories.tsx index bc8160420c..0f9c5f4004 100644 --- a/storybook/stories/nodes/updates/DataLayerMigration.stories.tsx +++ b/storybook/stories/nodes/updates/DataLayerMigration.stories.tsx @@ -2,6 +2,6 @@ import React from 'react'; import { action } from '@storybook/addon-actions'; import DataLayerMigrationForm from '../../../../source/renderer/app/components/profile/data-layer-migration/DataLayerMigrationForm'; -export const DataLayerMigrationStory = () => ( - -); +export function DataLayerMigrationStory() { + return ; +} diff --git a/storybook/stories/settings/utils/SettingsWrapper.tsx b/storybook/stories/settings/utils/SettingsWrapper.tsx index 4b4247caa5..b42802daa0 100644 --- a/storybook/stories/settings/utils/SettingsWrapper.tsx +++ b/storybook/stories/settings/utils/SettingsWrapper.tsx @@ -16,7 +16,10 @@ const pageNames = { }; /* eslint-disable react/display-name */ -export default (story: Record, context: Record) => { +export default function ( + story: Record, + context: Record +) { const storyWithKnobs = withKnobs(story, context); const menu = ( , context: Record) => { ); -}; +} diff --git a/storybook/stories/staking/DelegationCenter.stories.tsx b/storybook/stories/staking/DelegationCenter.stories.tsx index ae8bf14277..f3b9500772 100644 --- a/storybook/stories/staking/DelegationCenter.stories.tsx +++ b/storybook/stories/staking/DelegationCenter.stories.tsx @@ -351,7 +351,7 @@ const wallets = [ RECOVERY_PHRASE_VERIFICATION_TYPES.NEVER_VERIFIED, }), ]; -export const StakingDelegationCenterStory = ({ +export function StakingDelegationCenterStory({ locale, isLoading, isEpochsInfoAvailable, @@ -361,38 +361,40 @@ export const StakingDelegationCenterStory = ({ isLoading: boolean; isEpochsInfoAvailable: boolean; currentTheme: string; -}) => ( - - find(STAKE_POOLS, (stakePool) => stakePool.id === poolId) - } - numberOfStakePools={STAKE_POOLS.length} - networkTip={networkTip} - nextEpoch={nextEpoch} - // @ts-ignore ts-migrate(2769) FIXME: No overload matches this call. - fetchingStakePoolsFailed={isLoading} - futureEpoch={futureEpoch} - currentLocale={locale} - isLoading={isLoading} - isEpochsInfoAvailable={isEpochsInfoAvailable} - slotLength={null} - epochLength={null} - containerClassName="StakingWithNavigation_page" - currentTheme={currentTheme} - numberOfRankedStakePools={ - STAKE_POOLS.slice( - 0, - number('Pools', 300, { - range: true, - min: 37, - max: 300, - step: 1, - }) - ).length - } - onOpenExternalLink={action('onOpenExternalLink')} - /> -); +}) { + return ( + + find(STAKE_POOLS, (stakePool) => stakePool.id === poolId) + } + numberOfStakePools={STAKE_POOLS.length} + networkTip={networkTip} + nextEpoch={nextEpoch} + // @ts-ignore ts-migrate(2769) FIXME: No overload matches this call. + fetchingStakePoolsFailed={isLoading} + futureEpoch={futureEpoch} + currentLocale={locale} + isLoading={isLoading} + isEpochsInfoAvailable={isEpochsInfoAvailable} + slotLength={null} + epochLength={null} + containerClassName="StakingWithNavigation_page" + currentTheme={currentTheme} + numberOfRankedStakePools={ + STAKE_POOLS.slice( + 0, + number('Pools', 300, { + range: true, + min: 37, + max: 300, + step: 1, + }) + ).length + } + onOpenExternalLink={action('onOpenExternalLink')} + /> + ); +} diff --git a/storybook/stories/staking/Epochs.stories.tsx b/storybook/stories/staking/Epochs.stories.tsx index b2f376c653..dee6bdbbb2 100644 --- a/storybook/stories/staking/Epochs.stories.tsx +++ b/storybook/stories/staking/Epochs.stories.tsx @@ -14,29 +14,31 @@ const endDateTimeKnob = (name, defaultValue) => { return new Date(stringTimestamp).toISOString(); }; -export const StakingEpochsStory = () => ( - -); +export function StakingEpochsStory() { + return ( + + ); +} diff --git a/storybook/stories/staking/RedeemItnWallets.stories.tsx b/storybook/stories/staking/RedeemItnWallets.stories.tsx index fc6bf42c46..ab32f6f809 100644 --- a/storybook/stories/staking/RedeemItnWallets.stories.tsx +++ b/storybook/stories/staking/RedeemItnWallets.stories.tsx @@ -74,7 +74,7 @@ const WALLETS = [ // undefined, // true, // WalletSyncStateStatuses.SYNCING -export const Step1ConfigurationDialogStory = () => { +export function Step1ConfigurationDialogStory() { const redeemWallet = select( 'Redeem Wallet', WALLETS.reduce((obj, wallet) => { @@ -104,8 +104,8 @@ export const Step1ConfigurationDialogStory = () => { suggestedMnemonics={validWords} /> ); -}; -export const Step2ConfirmationDialogStory = () => { +} +export function Step2ConfirmationDialogStory() { const redeemWallet = select( 'Redeem Wallet', WALLETS.reduce((obj, wallet) => { @@ -128,8 +128,8 @@ export const Step2ConfirmationDialogStory = () => { isSubmitting={boolean('isSubmitting', false)} /> ); -}; -export const Step3SuccessDialogStory = () => { +} +export function Step3SuccessDialogStory() { const redeemWallet = select( 'Redeem Wallet', WALLETS.reduce((obj, wallet) => { @@ -150,21 +150,21 @@ export const Step3SuccessDialogStory = () => { onClose={action('onClose')} /> ); -}; -export const Step3FailureDialogStory = () => { +} +export function Step3FailureDialogStory() { return ( ); -}; -export const NoWalletsDialogDialogStory = () => { +} +export function NoWalletsDialogDialogStory() { return ( ); -}; -export const RedemptionUnavailableDialogDialogStory = () => { +} +export function RedemptionUnavailableDialogDialogStory() { return ( { })} /> ); -}; +} diff --git a/storybook/stories/staking/Rewards.stories.tsx b/storybook/stories/staking/Rewards.stories.tsx index a09780a332..4099e5cf85 100644 --- a/storybook/stories/staking/Rewards.stories.tsx +++ b/storybook/stories/staking/Rewards.stories.tsx @@ -14,15 +14,17 @@ const rewards = map(REWARDS, (reward) => { unspent: new BigNumber(reward.unspent), }; }); -export const StakingRewardsStory = () => ( - -); +export function StakingRewardsStory() { + return ( + + ); +} diff --git a/storybook/stories/staking/StakePools.stories.tsx b/storybook/stories/staking/StakePools.stories.tsx index 252db277b3..6c3d058969 100644 --- a/storybook/stories/staking/StakePools.stories.tsx +++ b/storybook/stories/staking/StakePools.stories.tsx @@ -72,7 +72,7 @@ type Props = { locale: string; isLoading: boolean; }; -export const StakePoolsStory = (props: Props) => { +export function StakePoolsStory(props: Props) { const selectedWallet = select( 'selectedWallet', { @@ -121,4 +121,4 @@ export const StakePoolsStory = (props: Props) => { selectedDelegationWalletId={selectedWallet} /> ); -}; +} diff --git a/storybook/stories/staking/StakePoolsTable.stories.tsx b/storybook/stories/staking/StakePoolsTable.stories.tsx index 22f5c94d0e..b3a363b4c2 100644 --- a/storybook/stories/staking/StakePoolsTable.stories.tsx +++ b/storybook/stories/staking/StakePoolsTable.stories.tsx @@ -14,70 +14,40 @@ const listTitle = { type Props = { currentTheme: string; }; -export const StakePoolsTableStory = (props: Props) => { +export function StakePoolsTableStory(props: Props) { return ( - -
+ +

- -

- -

- { max: 300, step: 1, }) - ).length - } - onTableHeaderMouseEnter={() => {}} - onTableHeaderMouseLeave={() => {}} + ).length, + }} /> -

-
+ + {}} + onTableHeaderMouseLeave={() => {}} + /> + ); -}; +} diff --git a/storybook/stories/staking/StakingWrapper.tsx b/storybook/stories/staking/StakingWrapper.tsx index 02324ab06c..dea904dae1 100644 --- a/storybook/stories/staking/StakingWrapper.tsx +++ b/storybook/stories/staking/StakingWrapper.tsx @@ -17,7 +17,7 @@ const pageNames = { epochs: 'Epochs', info: 'Info', }; -export default (story, context) => { +export default function (story, context) { const storyWithKnobs = withKnobs(story, context); const getItemFromContext = () => context.parameters.id; @@ -56,4 +56,4 @@ export default (story, context) => { ); -}; +} diff --git a/storybook/stories/staking/Undelegate.stories.tsx b/storybook/stories/staking/Undelegate.stories.tsx index c125113034..d7e34f5fe1 100644 --- a/storybook/stories/staking/Undelegate.stories.tsx +++ b/storybook/stories/staking/Undelegate.stories.tsx @@ -66,42 +66,46 @@ const hardwareWallet = generateWallet( 'ready', true ); -export const StakingUndelegateConfirmationStory = (props: { +export function StakingUndelegateConfirmationStory(props: { unknownStakePool?: boolean; isHardwareWallet?: boolean; -}) => ( - null} - onExternalLinkClick={() => null} - isSubmitting={false} - error={null} - fees={{ - fee: new BigNumber(number('fee', 3)), - deposits: new BigNumber(0), - depositsReclaimed: new BigNumber(number('depositsReclaimed', 10)), - }} - hwDeviceStatus="ready" - isTrezor={boolean('isTrezor', false)} - /> -); -export const StakingUndelegateConfirmationResultStory = ({ +}) { + return ( + null} + onExternalLinkClick={() => null} + isSubmitting={false} + error={null} + fees={{ + fee: new BigNumber(number('fee', 3)), + deposits: new BigNumber(0), + depositsReclaimed: new BigNumber(number('depositsReclaimed', 10)), + }} + hwDeviceStatus="ready" + isTrezor={boolean('isTrezor', false)} + /> + ); +} +export function StakingUndelegateConfirmationResultStory({ locale, }: { locale: string; -}) => ( - null} - currentLocale={locale} - futureEpochStartTime={moment().add(35, 'hour').toString()} - /> -); +}) { + return ( + null} + currentLocale={locale} + futureEpochStartTime={moment().add(35, 'hour').toString()} + /> + ); +} diff --git a/storybook/stories/wallets/_utils/HardwareWalletWithNavigationLayout.tsx b/storybook/stories/wallets/_utils/HardwareWalletWithNavigationLayout.tsx index 644e7dd743..2757e0cc3b 100644 --- a/storybook/stories/wallets/_utils/HardwareWalletWithNavigationLayout.tsx +++ b/storybook/stories/wallets/_utils/HardwareWalletWithNavigationLayout.tsx @@ -23,9 +23,6 @@ export default class WalletWithNavigationLayout extends Component { stores: null, storiesProps: null, }; - getItemFromContext = (context: contextType) => { - return context.kind.replace('Wallets|', '').toLocaleLowerCase(); - }; render() { const { stores, context, children } = this.props; diff --git a/storybook/stories/wallets/_utils/HardwareWalletsWrapper.tsx b/storybook/stories/wallets/_utils/HardwareWalletsWrapper.tsx index 07a8ad5cc6..312249e9b4 100644 --- a/storybook/stories/wallets/_utils/HardwareWalletsWrapper.tsx +++ b/storybook/stories/wallets/_utils/HardwareWalletsWrapper.tsx @@ -4,7 +4,7 @@ import StoryLayout from '../../_support/StoryLayout'; import StoryProvider from '../../_support/StoryProvider'; import StoryDecorator from '../../_support/StoryDecorator'; -export default (story: any, context: any) => { +export default function (story: any, context: any) { const storyWithKnobs = withKnobs(story, context); return ( @@ -15,4 +15,4 @@ export default (story: any, context: any) => { ); -}; +} diff --git a/storybook/stories/wallets/_utils/WalletWithNavigationLayout.tsx b/storybook/stories/wallets/_utils/WalletWithNavigationLayout.tsx index 0f31d99e15..2f4aad2bb6 100644 --- a/storybook/stories/wallets/_utils/WalletWithNavigationLayout.tsx +++ b/storybook/stories/wallets/_utils/WalletWithNavigationLayout.tsx @@ -24,9 +24,6 @@ export default class WalletWithNavigationLayout extends Component { stores: null, storiesProps: null, }; - getItemFromContext = (context: contextType) => { - return context.kind.replace('Wallets|', '').toLocaleLowerCase(); - }; render() { const { stores, context, children } = this.props; diff --git a/storybook/stories/wallets/_utils/WalletsWrapper.tsx b/storybook/stories/wallets/_utils/WalletsWrapper.tsx index 384cdfbc18..d3e4bf8c07 100644 --- a/storybook/stories/wallets/_utils/WalletsWrapper.tsx +++ b/storybook/stories/wallets/_utils/WalletsWrapper.tsx @@ -5,7 +5,7 @@ import StoryProvider from '../../_support/StoryProvider'; import StoryDecorator from '../../_support/StoryDecorator'; import WalletWithNavigationLayout from './WalletWithNavigationLayout'; -export default (story: any, context: any) => { +export default function (story: any, context: any) { const storyWithKnobs = withKnobs(story, context); return ( @@ -22,4 +22,4 @@ export default (story: any, context: any) => { ); -}; +} diff --git a/storybook/stories/wallets/settings/WalletSettingsScreen.stories.tsx b/storybook/stories/wallets/settings/WalletSettingsScreen.stories.tsx index c0aa050b72..4a1a743438 100644 --- a/storybook/stories/wallets/settings/WalletSettingsScreen.stories.tsx +++ b/storybook/stories/wallets/settings/WalletSettingsScreen.stories.tsx @@ -136,7 +136,7 @@ const getWalletDates = (type: string, status: string) => { }; }; -export default (props: { locale: Locale }) => { +export default function (props: { locale: Locale }) { const { locale } = props; // @ts-ignore ts-migrate(2339) FIXME: Property 'type' does not exist on type 'SelectType... Remove this comment to see the full error message const { type, status } = select( @@ -441,4 +441,4 @@ export default (props: { locale: Locale }) => { isDelegating={false} /> ); -}; +} diff --git a/tests/setup-common.ts b/tests/setup-common.ts index 1f28c5fe0b..c9bac6d2a0 100644 --- a/tests/setup-common.ts +++ b/tests/setup-common.ts @@ -7,6 +7,6 @@ global.environment = environment; Before(function () { this.context = {}; }); -After(function () { +After(() => { sinon.restore(); }); diff --git a/yarn.lock b/yarn.lock index da9e1112d6..71114ccfcc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,12 +2,6 @@ # yarn lockfile v1 -"@babel/code-frame@7.12.11": - version "7.12.11" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" - dependencies: - "@babel/highlight" "^7.10.4" - "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.10.4.tgz#168da1a36e90da68ae8d49c0f1b48c7c6249213a" @@ -20,12 +14,6 @@ dependencies: "@babel/highlight" "^7.16.0" -"@babel/code-frame@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789" - dependencies: - "@babel/highlight" "^7.16.7" - "@babel/compat-data@^7.13.11", "@babel/compat-data@^7.16.0", "@babel/compat-data@^7.16.4": version "7.16.4" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.16.4.tgz#081d6bbc336ec5c2435c6346b2ae1fb98b5ac68e" @@ -136,14 +124,6 @@ jsesc "^2.5.1" source-map "^0.5.0" -"@babel/generator@^7.16.8": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.16.8.tgz#359d44d966b8cd059d543250ce79596f792f2ebe" - dependencies: - "@babel/types" "^7.16.8" - jsesc "^2.5.1" - source-map "^0.5.0" - "@babel/helper-annotate-as-pure@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz#5bf0d495a3f757ac3bda48b5bf3b3ba309c72ba3" @@ -242,12 +222,6 @@ dependencies: "@babel/types" "^7.16.0" -"@babel/helper-environment-visitor@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz#ff484094a839bde9d89cd63cba017d7aae80ecd7" - dependencies: - "@babel/types" "^7.16.7" - "@babel/helper-explode-assignable-expression@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.0.tgz#753017337a15f46f9c09f674cff10cee9b9d7778" @@ -270,14 +244,6 @@ "@babel/template" "^7.16.0" "@babel/types" "^7.16.0" -"@babel/helper-function-name@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz#f1ec51551fb1c8956bc8dd95f38523b6cf375f8f" - dependencies: - "@babel/helper-get-function-arity" "^7.16.7" - "@babel/template" "^7.16.7" - "@babel/types" "^7.16.7" - "@babel/helper-get-function-arity@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz#98c1cbea0e2332f33f9a4661b8ce1505b2c19ba2" @@ -290,24 +256,12 @@ dependencies: "@babel/types" "^7.16.0" -"@babel/helper-get-function-arity@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz#ea08ac753117a669f1508ba06ebcc49156387419" - dependencies: - "@babel/types" "^7.16.7" - "@babel/helper-hoist-variables@^7.16.0": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz#4c9023c2f1def7e28ff46fc1dbcd36a39beaa81a" dependencies: "@babel/types" "^7.16.0" -"@babel/helper-hoist-variables@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz#86bcb19a77a509c7b77d0e22323ef588fa58c246" - dependencies: - "@babel/types" "^7.16.7" - "@babel/helper-member-expression-to-functions@^7.10.4": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz#ae69c83d84ee82f4b42f96e2a09410935a8f26df" @@ -473,12 +427,6 @@ dependencies: "@babel/types" "^7.16.0" -"@babel/helper-split-export-declaration@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz#0b648c0c42da9d3920d85ad585f2778620b8726b" - dependencies: - "@babel/types" "^7.16.7" - "@babel/helper-validator-identifier@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz#a78c7a7251e01f616512d31b10adcf52ada5e0d2" @@ -487,10 +435,6 @@ version "7.15.7" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz#220df993bfe904a4a6b02ab4f3385a5ebf6e2389" -"@babel/helper-validator-identifier@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" - "@babel/helper-validator-option@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz#6e72a1fff18d5dfcb878e1e62f1a021c4b72d5a3" @@ -544,14 +488,6 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/highlight@^7.16.7": - version "7.16.10" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88" - dependencies: - "@babel/helper-validator-identifier" "^7.16.7" - chalk "^2.0.0" - js-tokens "^4.0.0" - "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.0", "@babel/parser@^7.16.3": version "7.16.4" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.4.tgz#d5f92f57cf2c74ffe9b37981c0e72fee7311372e" @@ -564,10 +500,6 @@ version "7.16.6" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.6.tgz#8f194828193e8fa79166f34a4b4e52f3e769a314" -"@babel/parser@^7.16.10", "@babel/parser@^7.16.7", "@babel/parser@^7.7.0": - version "7.16.12" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.16.12.tgz#9474794f9a650cf5e2f892444227f98e28cdf8b6" - "@babel/parser@^7.16.4": version "7.17.9" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.9.tgz#9c94189a6062f0291418ca021077983058e171ef" @@ -1295,7 +1227,7 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.17.2": +"@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2": version "7.17.9" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.9.tgz#d19fbf802d01a8cb6cf053a64e472d42c434ba72" dependencies: @@ -1317,14 +1249,6 @@ "@babel/parser" "^7.16.0" "@babel/types" "^7.16.0" -"@babel/template@^7.16.7": - version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155" - dependencies: - "@babel/code-frame" "^7.16.7" - "@babel/parser" "^7.16.7" - "@babel/types" "^7.16.7" - "@babel/traverse@^7.1.0", "@babel/traverse@^7.13.0", "@babel/traverse@^7.16.0", "@babel/traverse@^7.16.3": version "7.16.3" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.3.tgz#f63e8a938cc1b780f66d9ed3c54f532ca2d14787" @@ -1368,21 +1292,6 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/traverse@^7.7.0": - version "7.16.10" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.16.10.tgz#448f940defbe95b5a8029975b051f75993e8239f" - dependencies: - "@babel/code-frame" "^7.16.7" - "@babel/generator" "^7.16.8" - "@babel/helper-environment-visitor" "^7.16.7" - "@babel/helper-function-name" "^7.16.7" - "@babel/helper-hoist-variables" "^7.16.7" - "@babel/helper-split-export-declaration" "^7.16.7" - "@babel/parser" "^7.16.10" - "@babel/types" "^7.16.8" - debug "^4.1.0" - globals "^11.1.0" - "@babel/types@^7.0.0", "@babel/types@^7.12.11", "@babel/types@^7.12.7", "@babel/types@^7.16.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3": version "7.16.0" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.16.0.tgz#db3b313804f96aadd0b776c4823e127ad67289ba" @@ -1398,13 +1307,6 @@ lodash "^4.17.19" to-fast-properties "^2.0.0" -"@babel/types@^7.16.7", "@babel/types@^7.16.8", "@babel/types@^7.7.0": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.16.8.tgz#0ba5da91dd71e0a4e7781a30f22770831062e3c1" - dependencies: - "@babel/helper-validator-identifier" "^7.16.7" - to-fast-properties "^2.0.0" - "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" @@ -1427,16 +1329,6 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@cspotcode/source-map-consumer@0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b" - -"@cspotcode/source-map-support@0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5" - dependencies: - "@cspotcode/source-map-consumer" "0.8.0" - "@discoveryjs/json-ext@^0.5.0", "@discoveryjs/json-ext@^0.5.3": version "0.5.6" resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.6.tgz#d5e0706cf8c6acd8c6032f8d54070af261bbbb2f" @@ -1581,17 +1473,17 @@ version "0.2.5" resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.5.tgz#8eed982e2ee6f7f4e44c253e12962980791efd46" -"@eslint/eslintrc@^0.4.3": - version "0.4.3" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c" +"@eslint/eslintrc@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.2.1.tgz#8b5e1c49f4077235516bc9ec7d41378c0f69b8c6" dependencies: ajv "^6.12.4" - debug "^4.1.1" - espree "^7.3.0" + debug "^4.3.2" + espree "^9.3.1" globals "^13.9.0" - ignore "^4.0.6" + ignore "^5.2.0" import-fresh "^3.2.1" - js-yaml "^3.13.1" + js-yaml "^4.1.0" minimatch "^3.0.4" strip-json-comments "^3.1.1" @@ -1672,15 +1564,15 @@ dependencies: "@hapi/hoek" "^9.0.0" -"@humanwhocodes/config-array@^0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9" +"@humanwhocodes/config-array@^0.9.2": + version "0.9.5" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.9.5.tgz#2cbaf9a89460da24b5ca6531b8bbfc23e1df50c7" dependencies: - "@humanwhocodes/object-schema" "^1.2.0" + "@humanwhocodes/object-schema" "^1.2.1" debug "^4.1.1" minimatch "^3.0.4" -"@humanwhocodes/object-schema@^1.2.0": +"@humanwhocodes/object-schema@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" @@ -1852,26 +1744,6 @@ source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/transform@^27.4.2": - version "27.4.2" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.4.2.tgz#459885e96de2e21fc68b8b371e90aa653966dd0d" - dependencies: - "@babel/core" "^7.1.0" - "@jest/types" "^27.4.2" - babel-plugin-istanbul "^6.0.0" - chalk "^4.0.0" - convert-source-map "^1.4.0" - fast-json-stable-stringify "^2.0.0" - graceful-fs "^4.2.4" - jest-haste-map "^27.4.2" - jest-regex-util "^27.4.0" - jest-util "^27.4.2" - micromatch "^4.0.4" - pirates "^4.0.1" - slash "^3.0.0" - source-map "^0.6.1" - write-file-atomic "^3.0.0" - "@jest/types@^26.6.2": version "26.6.2" resolved "https://registry.yarnpkg.com/@jest/types/-/types-26.6.2.tgz#bef5a532030e1d88a2f5a6d933f84e97226ed48e" @@ -1892,16 +1764,6 @@ "@types/yargs" "^16.0.0" chalk "^4.0.0" -"@jest/types@^27.4.2": - version "27.4.2" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.4.2.tgz#96536ebd34da6392c2b7c7737d693885b5dd44a5" - dependencies: - "@types/istanbul-lib-coverage" "^2.0.0" - "@types/istanbul-reports" "^3.0.0" - "@types/node" "*" - "@types/yargs" "^16.0.0" - chalk "^4.0.0" - "@ledgerhq/devices@^5.26.0": version "5.26.0" resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-5.26.0.tgz#6c25ee48d0d2f49a8fa1abc11f3efd888f3fea68" @@ -2485,7 +2347,6 @@ "@storybook/theming" "6.4.20" "@types/color-convert" "^2.0.0" "@types/overlayscrollbars" "^1.12.0" - "@types/react-syntax-highlighter" "11.0.5" color-convert "^2.0.1" core-js "^3.8.2" fast-deep-equal "^3.1.3" @@ -2754,7 +2615,6 @@ version "6.4.20" resolved "https://registry.yarnpkg.com/@storybook/node-logger/-/node-logger-6.4.20.tgz#41618be54ba6f98a7c96bdb2c92ebd34c7231505" dependencies: - "@types/npmlog" "^4.1.2" chalk "^4.1.0" core-js "^3.8.2" npmlog "^5.0.1" @@ -2928,58 +2788,134 @@ remark "^12.0.0" unist-util-find-all-after "^3.0.1" +"@swc-node/core@^1.8.2": + version "1.8.2" + resolved "https://registry.yarnpkg.com/@swc-node/core/-/core-1.8.2.tgz#950ad394a8e8385658e6a951ec554bbf61a1693e" + dependencies: + "@swc/core" "^1.2.119" + +"@swc-node/register@1.4.2": + version "1.4.2" + resolved "https://registry.yarnpkg.com/@swc-node/register/-/register-1.4.2.tgz#98801cc5ad8792519511bd6ae31c01f40aa487a3" + dependencies: + "@swc-node/core" "^1.8.2" + "@swc-node/sourcemap-support" "^0.1.11" + chalk "4" + debug "^4.3.3" + pirates "^4.0.4" + tslib "^2.3.1" + typescript "^4.5.3" + +"@swc-node/sourcemap-support@^0.1.11": + version "0.1.11" + resolved "https://registry.yarnpkg.com/@swc-node/sourcemap-support/-/sourcemap-support-0.1.11.tgz#50cda396baade0636e8f53596b7a66386490c06d" + dependencies: + source-map-support "^0.5.21" + "@swc/core-android-arm-eabi@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-android-arm-eabi/-/core-android-arm-eabi-1.2.164.tgz#91dade277d6ff3017df0f08c48acef6c6f094129" +"@swc/core-android-arm-eabi@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-android-arm-eabi/-/core-android-arm-eabi-1.2.170.tgz#8ab91c077b0d9185a79093af5ed719388c01f9d9" + "@swc/core-android-arm64@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-android-arm64/-/core-android-arm64-1.2.164.tgz#8a1542788c37f0c0f7ccae78338276c735ebc560" +"@swc/core-android-arm64@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-android-arm64/-/core-android-arm64-1.2.170.tgz#3efae60c11e4f4c0e15946a3e2cfb684e7b85d0c" + "@swc/core-darwin-arm64@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.164.tgz#dc005f9ad96418d9aed8258b4c4e0932b665a488" +"@swc/core-darwin-arm64@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.2.170.tgz#5210d477928e9960081be8bbd31aa37058920a45" + "@swc/core-darwin-x64@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.2.164.tgz#dafff10f4850b2251c3786292665ce917954f8e2" +"@swc/core-darwin-x64@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.2.170.tgz#849001483350bc4a68d9f497d252951ca76a9c63" + "@swc/core-freebsd-x64@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.164.tgz#4be6a52f43022df409d964ae2f920e0eeb8f3955" +"@swc/core-freebsd-x64@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-freebsd-x64/-/core-freebsd-x64-1.2.170.tgz#3b9f211b010ddf1794a7831908de7d02462919b9" + "@swc/core-linux-arm-gnueabihf@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.164.tgz#a6dac7f9654bdf863cdcc3143dc2abfb8faffeea" +"@swc/core-linux-arm-gnueabihf@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.2.170.tgz#9f65ecfeda4a83980018a11f56693ca078355020" + "@swc/core-linux-arm64-gnu@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.164.tgz#26684021f8f2d974045ce29b3f4e17e441f6e964" +"@swc/core-linux-arm64-gnu@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.2.170.tgz#5274de217d8da91b7db9922845c557e0af852abd" + "@swc/core-linux-arm64-musl@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.164.tgz#88731dfa9d61162710849383d0cd24f6a2e97335" +"@swc/core-linux-arm64-musl@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.2.170.tgz#810e7ad139cfe465fba19f18acbcc0b9c116bd16" + "@swc/core-linux-x64-gnu@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.164.tgz#bbe19048a58a5f639fccec47fde26c79d154b476" +"@swc/core-linux-x64-gnu@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.2.170.tgz#0a42c292a712c4df004c1d357b51d194ab374e6d" + "@swc/core-linux-x64-musl@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.164.tgz#dfbf220f3552e0d10a59c2aaad24a299145d3f11" +"@swc/core-linux-x64-musl@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.2.170.tgz#689ebc06b1de498554daf93a1cfab4681f63366a" + "@swc/core-win32-arm64-msvc@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.164.tgz#4164831f8af2da39461d2374bc784667f188d96a" +"@swc/core-win32-arm64-msvc@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.2.170.tgz#9f2c669a630d671c6364692e0e1dd07bb984535f" + "@swc/core-win32-ia32-msvc@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.164.tgz#f647cc5de26e5eef464325a145b9a37044813f4d" +"@swc/core-win32-ia32-msvc@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.2.170.tgz#dcd178b32742e769d9d7e85688ac3571600b4ed5" + "@swc/core-win32-x64-msvc@1.2.164": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.164.tgz#e5268d50d300fc863f2d7c146b8d41d338bf7ac9" +"@swc/core-win32-x64-msvc@1.2.170": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.2.170.tgz#438153f028ef2fbc48b88fdf9d79dbfbf5c40b94" + "@swc/core@1.2.164", "@swc/core@^1.2.152": version "1.2.164" resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.2.164.tgz#158f49cf262357cdbae590a14c7a690b89e6e22a" @@ -2998,6 +2934,24 @@ "@swc/core-win32-ia32-msvc" "1.2.164" "@swc/core-win32-x64-msvc" "1.2.164" +"@swc/core@^1.2.119": + version "1.2.170" + resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.2.170.tgz#8d9b7f3d4501c2f75c7cb640a2de6396096ce917" + optionalDependencies: + "@swc/core-android-arm-eabi" "1.2.170" + "@swc/core-android-arm64" "1.2.170" + "@swc/core-darwin-arm64" "1.2.170" + "@swc/core-darwin-x64" "1.2.170" + "@swc/core-freebsd-x64" "1.2.170" + "@swc/core-linux-arm-gnueabihf" "1.2.170" + "@swc/core-linux-arm64-gnu" "1.2.170" + "@swc/core-linux-arm64-musl" "1.2.170" + "@swc/core-linux-x64-gnu" "1.2.170" + "@swc/core-linux-x64-musl" "1.2.170" + "@swc/core-win32-arm64-msvc" "1.2.170" + "@swc/core-win32-ia32-msvc" "1.2.170" + "@swc/core-win32-x64-msvc" "1.2.170" + "@szmarczak/http-timer@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" @@ -3016,7 +2970,6 @@ dependencies: "@babel/code-frame" "^7.10.4" "@babel/runtime" "^7.12.5" - "@types/aria-query" "^4.2.0" aria-query "^5.0.0" chalk "^4.1.0" dom-accessibility-api "^0.5.9" @@ -3106,22 +3059,6 @@ varuint-bitcoin "^1.1.2" wif "^2.0.6" -"@tsconfig/node10@^1.0.7": - version "1.0.8" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.8.tgz#c1e4e80d6f964fbecb3359c43bd48b40f7cadad9" - -"@tsconfig/node12@^1.0.7": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.9.tgz#62c1f6dee2ebd9aead80dc3afa56810e58e1a04c" - -"@tsconfig/node14@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.1.tgz#95f2d167ffb9b8d2068b0b235302fafd4df711f2" - -"@tsconfig/node16@^1.0.2": - version "1.0.2" - resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.2.tgz#423c77877d0569db20e1fc80885ac4118314010e" - "@types/aes-js@3.1.1": version "3.1.1" resolved "https://registry.yarnpkg.com/@types/aes-js/-/aes-js-3.1.1.tgz#34b3978122310c135de4b377270d1d65676fae28" @@ -3140,16 +3077,6 @@ "@types/babel__template" "*" "@types/babel__traverse" "*" -"@types/babel__core@^7.1.14": - version "7.1.17" - resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.17.tgz#f50ac9d20d64153b510578d84f9643f9a3afbe64" - dependencies: - "@babel/parser" "^7.1.0" - "@babel/types" "^7.0.0" - "@types/babel__generator" "*" - "@types/babel__template" "*" - "@types/babel__traverse" "*" - "@types/babel__generator@*": version "7.6.3" resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.3.tgz#f456b4b2ce79137f768aa130d2423d2f0ccfaba5" @@ -3202,6 +3129,13 @@ "@types/estree" "*" "@types/json-schema" "*" +"@types/eslint@^7.2.13": + version "7.29.0" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-7.29.0.tgz#e56ddc8e542815272720bb0b4ccc2aff9c3e1c78" + dependencies: + "@types/estree" "*" + "@types/json-schema" "*" + "@types/estree@*", "@types/estree@^0.0.50": version "0.0.50" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.50.tgz#1e0caa9364d3fccd2931c3ed96fdbeaa5d4cca83" @@ -3260,7 +3194,7 @@ version "3.0.1" resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" dependencies: - "@types/istanbul-lib-report" "*" + "@types/jest@*": version "27.0.3" @@ -3508,7 +3442,6 @@ dependencies: "@types/node" "*" "@types/tapable" "^1" - "@types/uglify-js" "*" "@types/webpack-sources" "*" anymatch "^3.0.0" source-map "^0.6.0" @@ -3520,7 +3453,6 @@ "@types/anymatch" "*" "@types/node" "*" "@types/tapable" "*" - "@types/uglify-js" "*" "@types/webpack-sources" "*" source-map "^0.6.0" @@ -3556,13 +3488,13 @@ dependencies: "@types/node" "*" -"@typescript-eslint/eslint-plugin@5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.10.1.tgz#870195d0f2146b36d11fc71131b75aba52354c69" +"@typescript-eslint/eslint-plugin@5.20.0": + version "5.20.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.20.0.tgz#022531a639640ff3faafaf251d1ce00a2ef000a1" dependencies: - "@typescript-eslint/scope-manager" "5.10.1" - "@typescript-eslint/type-utils" "5.10.1" - "@typescript-eslint/utils" "5.10.1" + "@typescript-eslint/scope-manager" "5.20.0" + "@typescript-eslint/type-utils" "5.20.0" + "@typescript-eslint/utils" "5.20.0" debug "^4.3.2" functional-red-black-tree "^1.0.1" ignore "^5.1.8" @@ -3570,103 +3502,62 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@^5.0.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-5.5.0.tgz#3fe2514dc2f3cd95562206e4058435ea51df609e" +"@typescript-eslint/parser@5.20.0": + version "5.20.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.20.0.tgz#4991c4ee0344315c2afc2a62f156565f689c8d0b" dependencies: - "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.5.0" - "@typescript-eslint/types" "5.5.0" - "@typescript-eslint/typescript-estree" "5.5.0" - eslint-scope "^5.1.1" - eslint-utils "^3.0.0" - -"@typescript-eslint/parser@5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.10.1.tgz#4ce9633cc33fc70bc13786cb793c1a76fe5ad6bd" - dependencies: - "@typescript-eslint/scope-manager" "5.10.1" - "@typescript-eslint/types" "5.10.1" - "@typescript-eslint/typescript-estree" "5.10.1" + "@typescript-eslint/scope-manager" "5.20.0" + "@typescript-eslint/types" "5.20.0" + "@typescript-eslint/typescript-estree" "5.20.0" debug "^4.3.2" -"@typescript-eslint/scope-manager@5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.10.1.tgz#f0539c73804d2423506db2475352a4dec36cd809" - dependencies: - "@typescript-eslint/types" "5.10.1" - "@typescript-eslint/visitor-keys" "5.10.1" - -"@typescript-eslint/scope-manager@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.5.0.tgz#2b9f3672fa6cddcb4160e7e8b49ef1fd00f83c09" +"@typescript-eslint/scope-manager@5.20.0": + version "5.20.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.20.0.tgz#79c7fb8598d2942e45b3c881ced95319818c7980" dependencies: - "@typescript-eslint/types" "5.5.0" - "@typescript-eslint/visitor-keys" "5.5.0" + "@typescript-eslint/types" "5.20.0" + "@typescript-eslint/visitor-keys" "5.20.0" -"@typescript-eslint/type-utils@5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.10.1.tgz#5e526c00142585e40ab1503e83f1ff608c367405" +"@typescript-eslint/type-utils@5.20.0": + version "5.20.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.20.0.tgz#151c21cbe9a378a34685735036e5ddfc00223be3" dependencies: - "@typescript-eslint/utils" "5.10.1" + "@typescript-eslint/utils" "5.20.0" debug "^4.3.2" tsutils "^3.21.0" -"@typescript-eslint/types@5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.10.1.tgz#dca9bd4cb8c067fc85304a31f38ec4766ba2d1ea" - -"@typescript-eslint/types@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.5.0.tgz#fee61ae510e84ed950a53937a2b443e078107003" - -"@typescript-eslint/typescript-estree@5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.10.1.tgz#b268e67be0553f8790ba3fe87113282977adda15" - dependencies: - "@typescript-eslint/types" "5.10.1" - "@typescript-eslint/visitor-keys" "5.10.1" - debug "^4.3.2" - globby "^11.0.4" - is-glob "^4.0.3" - semver "^7.3.5" - tsutils "^3.21.0" +"@typescript-eslint/types@5.20.0": + version "5.20.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.20.0.tgz#fa39c3c2aa786568302318f1cb51fcf64258c20c" -"@typescript-eslint/typescript-estree@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.5.0.tgz#12f422698c1636bd0206086bbec9844c54625ebc" +"@typescript-eslint/typescript-estree@5.20.0": + version "5.20.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.20.0.tgz#ab73686ab18c8781bbf249c9459a55dc9417d6b0" dependencies: - "@typescript-eslint/types" "5.5.0" - "@typescript-eslint/visitor-keys" "5.5.0" + "@typescript-eslint/types" "5.20.0" + "@typescript-eslint/visitor-keys" "5.20.0" debug "^4.3.2" globby "^11.0.4" is-glob "^4.0.3" semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/utils@5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.10.1.tgz#fa682a33af47080ba2c4368ee0ad2128213a1196" +"@typescript-eslint/utils@5.20.0", "@typescript-eslint/utils@^5.10.0": + version "5.20.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.20.0.tgz#b8e959ed11eca1b2d5414e12417fd94cae3517a5" dependencies: "@types/json-schema" "^7.0.9" - "@typescript-eslint/scope-manager" "5.10.1" - "@typescript-eslint/types" "5.10.1" - "@typescript-eslint/typescript-estree" "5.10.1" + "@typescript-eslint/scope-manager" "5.20.0" + "@typescript-eslint/types" "5.20.0" + "@typescript-eslint/typescript-estree" "5.20.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" -"@typescript-eslint/visitor-keys@5.10.1": - version "5.10.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.10.1.tgz#29102de692f59d7d34ecc457ed59ab5fc558010b" - dependencies: - "@typescript-eslint/types" "5.10.1" - eslint-visitor-keys "^3.0.0" - -"@typescript-eslint/visitor-keys@5.5.0": - version "5.5.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.5.0.tgz#4787586897b61f26068a3db5c50b3f5d254f9083" +"@typescript-eslint/visitor-keys@5.20.0": + version "5.20.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.20.0.tgz#70236b5c6b67fbaf8b2f58bf3414b76c1e826c2a" dependencies: - "@typescript-eslint/types" "5.5.0" + "@typescript-eslint/types" "5.20.0" eslint-visitor-keys "^3.0.0" "@vue/compiler-core@3.2.33", "@vue/compiler-core@^3.2.23": @@ -4135,15 +4026,11 @@ acorn-walk@^7.0.0, acorn-walk@^7.1.1: version "7.2.0" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" -acorn-walk@^8.1.1: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - acorn@^6.4.1: version "6.4.2" resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6" -acorn@^7.0.0, acorn@^7.1.1, acorn@^7.4.0: +acorn@^7.0.0, acorn@^7.1.1: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" @@ -4151,6 +4038,10 @@ acorn@^8.2.4, acorn@^8.4.1: version "8.6.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.6.0.tgz#e3692ba0eb1a0c83eaa4f37f5fa7368dd7142895" +acorn@^8.7.0: + version "8.7.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf" + add-px-to-style@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/add-px-to-style/-/add-px-to-style-1.0.0.tgz#d0c135441fa8014a8137904531096f67f28f263a" @@ -4249,7 +4140,7 @@ ajv@^8.0.0: require-from-string "^2.0.2" uri-js "^4.2.2" -ajv@^8.0.1, ajv@^8.6.3: +ajv@^8.6.3: version "8.11.0" resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.0.tgz#977e91dd96ca669f54a11e23e378e33b884a565f" dependencies: @@ -4287,10 +4178,6 @@ ansi-colors@^3.0.0: version "3.2.4" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf" -ansi-colors@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348" - ansi-escapes@^4.2.1: version "4.3.1" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.1.tgz#a5c47cc43181f1f38ffd7076837700d395522a61" @@ -4454,16 +4341,16 @@ are-we-there-yet@~1.1.2: delegates "^1.0.0" readable-stream "^2.0.6" -arg@^4.1.0: - version "4.1.3" - resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" - argparse@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" dependencies: sprintf-js "~1.0.2" +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + aria-query@^4.2.2: version "4.2.2" resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-4.2.2.tgz#0d2ca6c9aceb56b8977e9fed6aed7e15bbd2f83b" @@ -4527,7 +4414,7 @@ array-from@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/array-from/-/array-from-2.1.1.tgz#cfe9d8c26628b9dc5aecc62a9f5d8f1f352c1195" -array-includes@^3.0.3, array-includes@^3.1.1: +array-includes@^3.0.3: version "3.1.1" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.1.tgz#cdd67e6852bdf9c1215460786732255ed2459348" dependencies: @@ -4545,6 +4432,16 @@ array-includes@^3.1.3: get-intrinsic "^1.1.1" is-string "^1.0.5" +array-includes@^3.1.4: + version "3.1.4" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.4.tgz#f5b493162c760f3539631f005ba2bb46acb45ba9" + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + get-intrinsic "^1.1.1" + is-string "^1.0.7" + array-initial@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/array-initial/-/array-initial-1.1.0.tgz#2fa74b26739371c3947bd7a7adc73be334b3d795" @@ -4595,13 +4492,14 @@ array.prototype.flat@^1.2.1: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" -array.prototype.flat@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz#6ef638b43312bd401b4c6199fdec7e2dc9e9a123" +array.prototype.flat@^1.2.5: + version "1.3.0" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz#0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b" dependencies: - call-bind "^1.0.0" + call-bind "^1.0.2" define-properties "^1.1.3" - es-abstract "^1.18.0-next.1" + es-abstract "^1.19.2" + es-shim-unscopables "^1.0.0" array.prototype.flatmap@^1.2.1: version "1.2.3" @@ -4611,13 +4509,14 @@ array.prototype.flatmap@^1.2.1: es-abstract "^1.17.0-next.1" function-bind "^1.1.1" -array.prototype.flatmap@^1.2.4: - version "1.2.5" - resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.2.5.tgz#908dc82d8a406930fdf38598d51e7411d18d4446" +array.prototype.flatmap@^1.2.5: + version "1.3.0" + resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz#a7e8ed4225f4788a70cd910abcf0791e76a5534f" dependencies: - call-bind "^1.0.0" + call-bind "^1.0.2" define-properties "^1.1.3" - es-abstract "^1.19.0" + es-abstract "^1.19.2" + es-shim-unscopables "^1.0.0" array.prototype.map@^1.0.1: version "1.0.2" @@ -4831,9 +4730,9 @@ aws4@^1.8.0: version "1.10.1" resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.10.1.tgz#e1e82e4f3e999e2cfd61b161280d16a111f86428" -axe-core@^4.0.2: - version "4.3.5" - resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.3.5.tgz#78d6911ba317a8262bfee292aeafcc1e04b49cc5" +axe-core@^4.3.5: + version "4.4.1" + resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.4.1.tgz#7dbdc25989298f9ad006645cd396782443757413" axios@0.24.0: version "0.24.0" @@ -4851,30 +4750,6 @@ axobject-query@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be" -babel-eslint@10.1.0: - version "10.1.0" - resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232" - dependencies: - "@babel/code-frame" "^7.0.0" - "@babel/parser" "^7.7.0" - "@babel/traverse" "^7.7.0" - "@babel/types" "^7.7.0" - eslint-visitor-keys "^1.0.0" - resolve "^1.12.0" - -babel-jest@27.4.2: - version "27.4.2" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.4.2.tgz#6edf80971045cfd44f3f10b6eda6007d95f62742" - dependencies: - "@jest/transform" "^27.4.2" - "@jest/types" "^27.4.2" - "@types/babel__core" "^7.1.14" - babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^27.4.0" - chalk "^4.0.0" - graceful-fs "^4.2.4" - slash "^3.0.0" - babel-jest@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-26.6.3.tgz#d87d25cb0037577a0c89f82e5755c5d293c01056" @@ -4888,7 +4763,7 @@ babel-jest@^26.6.3: graceful-fs "^4.2.4" slash "^3.0.0" -babel-loader@8.2.3, babel-loader@^8.0.0: +babel-loader@^8.0.0: version "8.2.3" resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-8.2.3.tgz#8986b40f1a64cacfcb4b8429320085ef68b1342d" dependencies: @@ -4954,15 +4829,6 @@ babel-plugin-jest-hoist@^26.6.2: "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" -babel-plugin-jest-hoist@^27.4.0: - version "27.4.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.4.0.tgz#d7831fc0f93573788d80dee7e682482da4c730d6" - dependencies: - "@babel/template" "^7.3.3" - "@babel/types" "^7.3.3" - "@types/babel__core" "^7.0.0" - "@types/babel__traverse" "^7.0.6" - babel-plugin-macros@^2.0.0, babel-plugin-macros@^2.8.0: version "2.8.0" resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.8.0.tgz#0f958a7cc6556b1e65344465d99111a1e5e10138" @@ -5019,14 +4885,6 @@ babel-plugin-react-docgen@^4.2.1: lodash "^4.17.15" react-docgen "^5.0.0" -babel-plugin-react-intl@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/babel-plugin-react-intl/-/babel-plugin-react-intl-3.0.1.tgz#4abc7fff04a7bbbb7034aec0a675713f2e52181c" - dependencies: - "@babel/runtime" "^7.0.0" - intl-messageformat-parser "^1.2.0" - mkdirp "^0.5.1" - babel-plugin-syntax-jsx@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" @@ -5055,13 +4913,6 @@ babel-preset-jest@^26.6.2: babel-plugin-jest-hoist "^26.6.2" babel-preset-current-node-syntax "^1.0.0" -babel-preset-jest@^27.4.0: - version "27.4.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.4.0.tgz#70d0e676a282ccb200fbabd7f415db5fdf393bca" - dependencies: - babel-plugin-jest-hoist "^27.4.0" - babel-preset-current-node-syntax "^1.0.0" - babel-runtime@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" @@ -5869,16 +5720,16 @@ chai@4.3.4: pathval "^1.1.1" type-detect "^4.0.5" -chalk@4.1.0, chalk@^4.0.0, chalk@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" +chalk@4, chalk@4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" dependencies: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" +chalk@4.1.0, chalk@^4.0.0, chalk@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" dependencies: ansi-styles "^4.1.0" supports-color "^7.1.0" @@ -6045,10 +5896,6 @@ ci-info@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" -ci-info@^3.2.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.3.0.tgz#b4ed1fb6818dea4803a55c623041f9165d2066b2" - cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -6559,7 +6406,6 @@ cosmiconfig@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" dependencies: - "@types/parse-json" "^4.0.0" import-fresh "^3.1.0" parse-json "^5.0.0" path-type "^4.0.0" @@ -6569,7 +6415,6 @@ cosmiconfig@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.0.tgz#ef9b44d773959cae63ddecd122de23853b60f8d3" dependencies: - "@types/parse-json" "^4.0.0" import-fresh "^3.2.1" parse-json "^5.0.0" path-type "^4.0.0" @@ -6657,10 +6502,6 @@ create-react-context@0.3.0: gud "^1.0.0" warning "^4.0.3" -create-require@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" - cross-env@7.0.2: version "7.0.2" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.2.tgz#bd5ed31339a93a3418ac4f3ca9ca3403082ae5f9" @@ -7017,9 +6858,9 @@ d@1, d@^1.0.1: es5-ext "^0.10.50" type "^1.0.1" -damerau-levenshtein@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz#143c1641cb3d85c60c32329e26899adea8701791" +damerau-levenshtein@^1.0.7: + version "1.0.8" + resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.8.tgz#b43d286ccbd36bc5b2f7ed41caf2d0aba1f8a6e7" dash-ast@^1.0.0: version "1.0.0" @@ -7085,7 +6926,7 @@ debug@^3.1.1, debug@^3.2.7: dependencies: ms "^2.1.1" -debug@^4.0.0: +debug@^4.0.0, debug@^4.3.3: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" dependencies: @@ -7771,9 +7612,9 @@ emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" -emoji-regex@^9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.0.0.tgz#48a2309cc8a1d2e9d23bc6a67c39b63032e76ea4" +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" emojis-list@^3.0.0: version "3.0.0" @@ -7828,12 +7669,6 @@ enhanced-resolve@^5.8.3: graceful-fs "^4.2.4" tapable "^2.2.0" -enquirer@^2.3.5: - version "2.3.6" - resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" - dependencies: - ansi-colors "^4.1.1" - entities@^1.1.1, entities@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56" @@ -7936,7 +7771,7 @@ es-abstract@^1.18.0-next.2: string.prototype.trimstart "^1.0.4" unbox-primitive "^1.0.1" -es-abstract@^1.18.5, es-abstract@^1.19.0, es-abstract@^1.19.1: +es-abstract@^1.18.5, es-abstract@^1.19.1: version "1.19.1" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.1.tgz#d4885796876916959de78edaa0df456627115ec3" dependencies: @@ -7961,6 +7796,31 @@ es-abstract@^1.18.5, es-abstract@^1.19.0, es-abstract@^1.19.1: string.prototype.trimstart "^1.0.4" unbox-primitive "^1.0.1" +es-abstract@^1.19.2: + version "1.19.5" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.5.tgz#a2cb01eb87f724e815b278b0dd0d00f36ca9a7f1" + dependencies: + call-bind "^1.0.2" + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + get-intrinsic "^1.1.1" + get-symbol-description "^1.0.0" + has "^1.0.3" + has-symbols "^1.0.3" + internal-slot "^1.0.3" + is-callable "^1.2.4" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-weakref "^1.0.2" + object-inspect "^1.12.0" + object-keys "^1.1.1" + object.assign "^4.1.2" + string.prototype.trimend "^1.0.4" + string.prototype.trimstart "^1.0.4" + unbox-primitive "^1.0.1" + es-array-method-boxes-properly@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz#873f3e84418de4ee19c5be752990b2e44718d09e" @@ -7981,6 +7841,12 @@ es-module-lexer@^0.9.0: version "0.9.3" resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-0.9.3.tgz#6f13db00cc38417137daf74366f535c8eb438f19" +es-shim-unscopables@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" + dependencies: + has "^1.0.3" + es-to-primitive@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" @@ -8132,30 +7998,32 @@ escodegen@~1.9.0: optionalDependencies: source-map "~0.6.1" -eslint-config-airbnb-base@^14.2.0: - version "14.2.1" - resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz#8a2eb38455dc5a312550193b319cdaeef042cd1e" +eslint-config-airbnb-base@^15.0.0: + version "15.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz#6b09add90ac79c2f8d723a2580e07f3925afd236" dependencies: confusing-browser-globals "^1.0.10" object.assign "^4.1.2" - object.entries "^1.1.2" + object.entries "^1.1.5" + semver "^6.3.0" -eslint-config-airbnb@18.2.0: - version "18.2.0" - resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-18.2.0.tgz#8a82168713effce8fc08e10896a63f1235499dcd" +eslint-config-airbnb@19.0.4: + version "19.0.4" + resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-19.0.4.tgz#84d4c3490ad70a0ffa571138ebcdea6ab085fdc3" dependencies: - eslint-config-airbnb-base "^14.2.0" - object.assign "^4.1.0" - object.entries "^1.1.2" + eslint-config-airbnb-base "^15.0.0" + object.assign "^4.1.2" + object.entries "^1.1.5" eslint-config-prettier@8.5.0: version "8.5.0" resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" -eslint-formatter-pretty@4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/eslint-formatter-pretty/-/eslint-formatter-pretty-4.0.0.tgz#dc15f3bf4fb51b7ba5fbedb77f57ba8841140ce2" +eslint-formatter-pretty@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/eslint-formatter-pretty/-/eslint-formatter-pretty-4.1.0.tgz#7a6877c14ffe2672066c853587d89603e97c7708" dependencies: + "@types/eslint" "^7.2.13" ansi-escapes "^4.2.1" chalk "^4.1.0" eslint-rule-docs "^1.1.5" @@ -8171,9 +8039,9 @@ eslint-import-resolver-node@^0.3.6: debug "^3.2.7" resolve "^1.20.0" -eslint-import-resolver-webpack@0.13.1: - version "0.13.1" - resolved "https://registry.yarnpkg.com/eslint-import-resolver-webpack/-/eslint-import-resolver-webpack-0.13.1.tgz#6d2fb928091daf2da46efa1e568055555b2de902" +eslint-import-resolver-webpack@0.13.2: + version "0.13.2" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-webpack/-/eslint-import-resolver-webpack-0.13.2.tgz#fc813df0d08b9265cc7072d22393bda5198bdc1e" dependencies: array-find "^1.0.0" debug "^3.2.7" @@ -8181,87 +8049,86 @@ eslint-import-resolver-webpack@0.13.1: find-root "^1.1.0" has "^1.0.3" interpret "^1.4.0" - is-core-module "^2.4.0" - is-regex "^1.1.3" + is-core-module "^2.7.0" + is-regex "^1.1.4" lodash "^4.17.21" resolve "^1.20.0" semver "^5.7.1" -eslint-module-utils@^2.6.2: - version "2.7.1" - resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.1.tgz#b435001c9f8dd4ab7f6d0efcae4b9696d4c24b7c" +eslint-module-utils@^2.7.3: + version "2.7.3" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.3.tgz#ad7e3a10552fdd0642e1e55292781bd6e34876ee" dependencies: debug "^3.2.7" find-up "^2.1.0" - pkg-dir "^2.0.0" -eslint-plugin-import@2.24.2: - version "2.24.2" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.24.2.tgz#2c8cd2e341f3885918ee27d18479910ade7bb4da" +eslint-plugin-import@2.26.0: + version "2.26.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" dependencies: - array-includes "^3.1.3" - array.prototype.flat "^1.2.4" + array-includes "^3.1.4" + array.prototype.flat "^1.2.5" debug "^2.6.9" doctrine "^2.1.0" eslint-import-resolver-node "^0.3.6" - eslint-module-utils "^2.6.2" - find-up "^2.0.0" + eslint-module-utils "^2.7.3" has "^1.0.3" - is-core-module "^2.6.0" - minimatch "^3.0.4" - object.values "^1.1.4" - pkg-up "^2.0.0" - read-pkg-up "^3.0.0" - resolve "^1.20.0" - tsconfig-paths "^3.11.0" + is-core-module "^2.8.1" + is-glob "^4.0.3" + minimatch "^3.1.2" + object.values "^1.1.5" + resolve "^1.22.0" + tsconfig-paths "^3.14.1" -eslint-plugin-jest@25.3.0: - version "25.3.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-25.3.0.tgz#6c04bbf13624a75684a05391a825b58e2e291950" +eslint-plugin-jest@26.1.4: + version "26.1.4" + resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-26.1.4.tgz#8e3410093ff4439d0c3a371add5bf9e05623a57a" dependencies: - "@typescript-eslint/experimental-utils" "^5.0.0" + "@typescript-eslint/utils" "^5.10.0" -eslint-plugin-jsx-a11y@6.4.1: - version "6.4.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.4.1.tgz#a2d84caa49756942f42f1ffab9002436391718fd" +eslint-plugin-jsx-a11y@6.5.1: + version "6.5.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.5.1.tgz#cdbf2df901040ca140b6ec14715c988889c2a6d8" dependencies: - "@babel/runtime" "^7.11.2" + "@babel/runtime" "^7.16.3" aria-query "^4.2.2" - array-includes "^3.1.1" + array-includes "^3.1.4" ast-types-flow "^0.0.7" - axe-core "^4.0.2" + axe-core "^4.3.5" axobject-query "^2.2.0" - damerau-levenshtein "^1.0.6" - emoji-regex "^9.0.0" + damerau-levenshtein "^1.0.7" + emoji-regex "^9.2.2" has "^1.0.3" - jsx-ast-utils "^3.1.0" + jsx-ast-utils "^3.2.1" language-tags "^1.0.5" + minimatch "^3.0.4" -eslint-plugin-promise@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-5.1.0.tgz#fb2188fb734e4557993733b41aa1a688f46c6f24" +eslint-plugin-promise@6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-6.0.0.tgz#017652c07c9816413a41e11c30adc42c3d55ff18" -eslint-plugin-react-hooks@4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz#8c229c268d468956334c943bb45fc860280f5556" +eslint-plugin-react-hooks@4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.4.0.tgz#71c39e528764c848d8253e1aa2c7024ed505f6c4" -eslint-plugin-react@7.25.1: - version "7.25.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.25.1.tgz#9286b7cd9bf917d40309760f403e53016eda8331" +eslint-plugin-react@7.29.4: + version "7.29.4" + resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.29.4.tgz#4717de5227f55f3801a5fd51a16a4fa22b5914d2" dependencies: - array-includes "^3.1.3" - array.prototype.flatmap "^1.2.4" + array-includes "^3.1.4" + array.prototype.flatmap "^1.2.5" doctrine "^2.1.0" - estraverse "^5.2.0" - has "^1.0.3" + estraverse "^5.3.0" jsx-ast-utils "^2.4.1 || ^3.0.0" - minimatch "^3.0.4" - object.entries "^1.1.4" - object.fromentries "^2.0.4" - object.values "^1.1.4" - prop-types "^15.7.2" + minimatch "^3.1.2" + object.entries "^1.1.5" + object.fromentries "^2.0.5" + object.hasown "^1.1.0" + object.values "^1.1.5" + prop-types "^15.8.1" resolve "^2.0.0-next.3" - string.prototype.matchall "^4.0.5" + semver "^6.3.0" + string.prototype.matchall "^4.0.6" eslint-rule-docs@^1.1.5: version "1.1.210" @@ -8281,11 +8148,12 @@ eslint-scope@^4.0.3: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-utils@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" +eslint-scope@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" dependencies: - eslint-visitor-keys "^1.1.0" + esrecurse "^4.3.0" + estraverse "^5.2.0" eslint-utils@^3.0.0: version "3.0.0" @@ -8293,10 +8161,6 @@ eslint-utils@^3.0.0: dependencies: eslint-visitor-keys "^2.0.0" -eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" - eslint-visitor-keys@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" @@ -8305,48 +8169,47 @@ eslint-visitor-keys@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.2.0.tgz#6fbb166a6798ee5991358bc2daa1ba76cc1254a1" -eslint@7.32.0: - version "7.32.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d" +eslint-visitor-keys@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" + +eslint@8.13.0: + version "8.13.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.13.0.tgz#6fcea43b6811e655410f5626cfcf328016badcd7" dependencies: - "@babel/code-frame" "7.12.11" - "@eslint/eslintrc" "^0.4.3" - "@humanwhocodes/config-array" "^0.5.0" + "@eslint/eslintrc" "^1.2.1" + "@humanwhocodes/config-array" "^0.9.2" ajv "^6.10.0" chalk "^4.0.0" cross-spawn "^7.0.2" - debug "^4.0.1" + debug "^4.3.2" doctrine "^3.0.0" - enquirer "^2.3.5" escape-string-regexp "^4.0.0" - eslint-scope "^5.1.1" - eslint-utils "^2.1.0" - eslint-visitor-keys "^2.0.0" - espree "^7.3.1" + eslint-scope "^7.1.1" + eslint-utils "^3.0.0" + eslint-visitor-keys "^3.3.0" + espree "^9.3.1" esquery "^1.4.0" esutils "^2.0.2" fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" functional-red-black-tree "^1.0.1" - glob-parent "^5.1.2" + glob-parent "^6.0.1" globals "^13.6.0" - ignore "^4.0.6" + ignore "^5.2.0" import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" - js-yaml "^3.13.1" + js-yaml "^4.1.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" lodash.merge "^4.6.2" minimatch "^3.0.4" natural-compare "^1.4.0" optionator "^0.9.1" - progress "^2.0.0" - regexpp "^3.1.0" - semver "^7.2.1" - strip-ansi "^6.0.0" + regexpp "^3.2.0" + strip-ansi "^6.0.1" strip-json-comments "^3.1.0" - table "^6.0.9" text-table "^0.2.0" v8-compile-cache "^2.0.3" @@ -8354,13 +8217,13 @@ esm@3.2.25, esm@^3.2.25: version "3.2.25" resolved "https://registry.yarnpkg.com/esm/-/esm-3.2.25.tgz#342c18c29d56157688ba5ce31f8431fbb795cc10" -espree@^7.3.0, espree@^7.3.1: - version "7.3.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" +espree@^9.3.1: + version "9.3.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.1.tgz#8793b4bc27ea4c778c19908e0719e7b8f4115bcd" dependencies: - acorn "^7.4.0" + acorn "^8.7.0" acorn-jsx "^5.3.1" - eslint-visitor-keys "^1.3.0" + eslint-visitor-keys "^3.3.0" esprima@^3.1.3: version "3.1.3" @@ -8394,6 +8257,10 @@ estraverse@^5.1.0, estraverse@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" +estraverse@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + estraverse@~1.5.0: version "1.5.1" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.5.1.tgz#867a3e8e58a9f84618afb6c2ddbcd916b7cbaf71" @@ -9252,7 +9119,7 @@ fsevents@^1.2.7: bindings "^1.5.0" nan "^2.12.1" -fsevents@^2.1.2, fsevents@^2.3.2, fsevents@~2.3.2: +fsevents@^2.1.2, fsevents@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" @@ -9280,6 +9147,10 @@ functions-have-names@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.1.tgz#a981ac397fa0c9964551402cdc5533d7a4d52f91" +functions-have-names@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" + fuse.js@6.5.3: version "6.5.3" resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-6.5.3.tgz#7446c0acbc4ab0ab36fa602e97499bdb69452b93" @@ -9436,6 +9307,12 @@ glob-parent@^5.1.0, glob-parent@^5.1.2, glob-parent@~5.1.0, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" +glob-parent@^6.0.1: + version "6.0.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + dependencies: + is-glob "^4.0.3" + glob-promise@^3.4.0: version "3.4.0" resolved "https://registry.yarnpkg.com/glob-promise/-/glob-promise-3.4.0.tgz#b6b8f084504216f702dc2ce8c9bc9ac8866fdb20" @@ -9839,6 +9716,10 @@ has-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.2.tgz#165d3070c00309752a1236a479331e3ac56f1423" +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + has-tostringtag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" @@ -10114,7 +9995,6 @@ html-webpack-plugin@5.4.0: version "5.4.0" resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.4.0.tgz#d016cd9594be5c243bb5c12287af43babbe1c094" dependencies: - "@types/html-minifier-terser" "^6.0.0" html-minifier-terser "^6.0.2" lodash "^4.17.21" pretty-error "^3.0.4" @@ -10124,7 +10004,6 @@ html-webpack-plugin@^4.0.0: version "4.5.2" resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-4.5.2.tgz#76fc83fa1a0f12dd5f7da0404a54e2699666bc12" dependencies: - "@types/html-minifier-terser" "^5.0.0" "@types/tapable" "^1.0.5" "@types/webpack" "^4.41.8" html-minifier-terser "^5.0.1" @@ -10138,7 +10017,6 @@ html-webpack-plugin@^5.0.0: version "5.5.0" resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.5.0.tgz#c3911936f57681c1f9f4d8b68c158cd9dfe52f50" dependencies: - "@types/html-minifier-terser" "^6.0.0" html-minifier-terser "^6.0.2" lodash "^4.17.21" pretty-error "^4.0.0" @@ -10346,7 +10224,7 @@ ignore-by-default@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" -ignore@^4.0.3, ignore@^4.0.6: +ignore@^4.0.3: version "4.0.6" resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" @@ -10493,10 +10371,6 @@ intl-messageformat-parser@1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/intl-messageformat-parser/-/intl-messageformat-parser-1.4.0.tgz#b43d45a97468cadbe44331d74bb1e8dea44fc075" -intl-messageformat-parser@^1.2.0: - version "1.8.1" - resolved "https://registry.yarnpkg.com/intl-messageformat-parser/-/intl-messageformat-parser-1.8.1.tgz#0eb14c5618333be4c95c409457b66c8c33ddcc01" - intl-messageformat@^2.0.0, intl-messageformat@^2.1.0: version "2.2.0" resolved "https://registry.yarnpkg.com/intl-messageformat/-/intl-messageformat-2.2.0.tgz#345bcd46de630b7683330c2e52177ff5eab484fc" @@ -10629,15 +10503,15 @@ is-ci@^2.0.0: dependencies: ci-info "^2.0.0" -is-core-module@^2.2.0, is-core-module@^2.4.0: +is-core-module@^2.2.0: version "2.4.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.4.0.tgz#8e9fc8e15027b011418026e98f0e6f4d86305cc1" dependencies: has "^1.0.3" -is-core-module@^2.6.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.8.0.tgz#0321336c3d0925e497fd97f5d95cb114a5ccd548" +is-core-module@^2.7.0, is-core-module@^2.8.1: + version "2.9.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" dependencies: has "^1.0.3" @@ -10787,6 +10661,10 @@ is-negative-zero@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.1.tgz#3de746c18dda2319241a53675908d8f766f11c24" +is-negative-zero@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" + is-npm@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8" @@ -10905,6 +10783,12 @@ is-shared-array-buffer@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" +is-shared-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" + dependencies: + call-bind "^1.0.2" + is-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" @@ -10975,6 +10859,12 @@ is-weakref@^1.0.1: dependencies: call-bind "^1.0.0" +is-weakref@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" + dependencies: + call-bind "^1.0.2" + is-whitespace-character@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.4.tgz#0858edd94a95594c7c9dd0b5c174ec6e45ee4aa7" @@ -11260,25 +11150,6 @@ jest-haste-map@^26.6.2: optionalDependencies: fsevents "^2.1.2" -jest-haste-map@^27.4.2: - version "27.4.2" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.4.2.tgz#7fc7d5e568cca704284f4850885b74a0b8b87587" - dependencies: - "@jest/types" "^27.4.2" - "@types/graceful-fs" "^4.1.2" - "@types/node" "*" - anymatch "^3.0.3" - fb-watchman "^2.0.0" - graceful-fs "^4.2.4" - jest-regex-util "^27.4.0" - jest-serializer "^27.4.0" - jest-util "^27.4.2" - jest-worker "^27.4.2" - micromatch "^4.0.4" - walker "^1.0.7" - optionalDependencies: - fsevents "^2.3.2" - jest-jasmine2@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz#adc3cf915deacb5212c93b9f3547cd12958f2edd" @@ -11347,10 +11218,6 @@ jest-regex-util@^26.0.0: version "26.0.0" resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-26.0.0.tgz#d25e7184b36e39fd466c3bc41be0971e821fee28" -jest-regex-util@^27.4.0: - version "27.4.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.4.0.tgz#e4c45b52653128843d07ad94aec34393ea14fbca" - jest-resolve-dependencies@^26.6.3: version "26.6.3" resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz#6680859ee5d22ee5dcd961fe4871f59f4c784fb6" @@ -11436,13 +11303,6 @@ jest-serializer@^26.6.2: "@types/node" "*" graceful-fs "^4.2.4" -jest-serializer@^27.4.0: - version "27.4.0" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.4.0.tgz#34866586e1cae2388b7d12ffa2c7819edef5958a" - dependencies: - "@types/node" "*" - graceful-fs "^4.2.4" - jest-snapshot@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-26.6.2.tgz#f3b0af1acb223316850bd14e1beea9837fb39c84" @@ -11479,17 +11339,6 @@ jest-util@^26.6.2: is-ci "^2.0.0" micromatch "^4.0.2" -jest-util@^27.4.2: - version "27.4.2" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.4.2.tgz#ed95b05b1adfd761e2cda47e0144c6a58e05a621" - dependencies: - "@jest/types" "^27.4.2" - "@types/node" "*" - chalk "^4.0.0" - ci-info "^3.2.0" - graceful-fs "^4.2.4" - picomatch "^2.2.3" - jest-validate@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-26.6.2.tgz#23d380971587150467342911c3d7b4ac57ab20ec" @@ -11521,7 +11370,7 @@ jest-worker@^26.5.0, jest-worker@^26.6.2: merge-stream "^2.0.0" supports-color "^7.0.0" -jest-worker@^27.0.6, jest-worker@^27.4.2: +jest-worker@^27.0.6: version "27.4.2" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.4.2.tgz#0fb123d50955af1a450267787f340a1bf7e12bc4" dependencies: @@ -11578,6 +11427,12 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + dependencies: + argparse "^2.0.1" + jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" @@ -11636,7 +11491,7 @@ json-buffer@3.0.1, json-buffer@~3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" -json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2: +json-parse-better-errors@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" @@ -11749,13 +11604,20 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" -"jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.1.0: +"jsx-ast-utils@^2.4.1 || ^3.0.0": version "3.2.1" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.2.1.tgz#720b97bfe7d901b927d87c3773637ae8ea48781b" dependencies: array-includes "^3.1.3" object.assign "^4.1.2" +jsx-ast-utils@^3.2.1: + version "3.2.2" + resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-3.2.2.tgz#6ab1e52c71dfc0c0707008a91729a9491fe9f76c" + dependencies: + array-includes "^3.1.4" + object.assign "^4.1.2" + jszip@^3.1.0: version "3.6.0" resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.6.0.tgz#839b72812e3f97819cc13ac4134ffced95dd6af9" @@ -11968,15 +11830,6 @@ load-json-file@^2.0.0: pify "^2.0.0" strip-bom "^3.0.0" -load-json-file@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - loader-runner@^2.3.1, loader-runner@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357" @@ -12112,10 +11965,6 @@ lodash.toarray@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.toarray/-/lodash.toarray-4.4.0.tgz#24c4bfcd6b2fba38bfd0594db1179d8e9b656561" -lodash.truncate@^4.4.2: - version "4.4.2" - resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" - lodash.union@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.union/-/lodash.union-4.6.0.tgz#48bb5088409f16f1821666641c44dd1aaae3cd88" @@ -12273,10 +12122,6 @@ make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: dependencies: semver "^6.0.0" -make-error@^1.1.1: - version "1.3.6" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" - make-iterator@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/make-iterator/-/make-iterator-1.0.1.tgz#29b33f312aa8f547c4a5e490f56afcec99133ad6" @@ -12487,7 +12332,6 @@ meow@^7.1.1: version "7.1.1" resolved "https://registry.yarnpkg.com/meow/-/meow-7.1.1.tgz#7c01595e3d337fcb0ec4e8eed1666ea95903d306" dependencies: - "@types/minimist" "^1.2.0" camelcase-keys "^6.2.2" decamelize-keys "^1.1.0" hard-rejection "^2.1.0" @@ -12643,7 +12487,7 @@ minimalistic-crypto-utils@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" -minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.4: +minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.2: version "3.0.4" resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" dependencies: @@ -12657,7 +12501,7 @@ minimist-options@4.1.0: is-plain-obj "^1.1.0" kind-of "^6.0.3" -minimist@1.2.6, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5: +minimist@1.2.6, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5, minimist@^1.2.6: version "1.2.6" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" @@ -13233,6 +13077,10 @@ object-inspect@^1.11.0, object-inspect@^1.9.0: version "1.11.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.11.0.tgz#9dceb146cedd4148a0d9e51ab88d34cf509922b1" +object-inspect@^1.12.0: + version "1.12.0" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" + object-inspect@^1.6.0, object-inspect@^1.8.0: version "1.8.0" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.8.0.tgz#df807e5ecf53a609cc6bfe93eac3cc7be5b3a9d0" @@ -13285,7 +13133,7 @@ object.defaults@^1.0.0, object.defaults@^1.1.0: for-own "^1.0.0" isobject "^3.0.0" -object.entries@^1.1.0, object.entries@^1.1.2: +object.entries@^1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.2.tgz#bc73f00acb6b6bb16c203434b10f9a7e797d3add" dependencies: @@ -13293,7 +13141,7 @@ object.entries@^1.1.0, object.entries@^1.1.2: es-abstract "^1.17.5" has "^1.0.3" -object.entries@^1.1.4: +object.entries@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" dependencies: @@ -13310,7 +13158,7 @@ object.entries@^1.1.4: function-bind "^1.1.1" has "^1.0.3" -object.fromentries@^2.0.4: +object.fromentries@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251" dependencies: @@ -13325,6 +13173,13 @@ object.getownpropertydescriptors@^2.0.3: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" +object.hasown@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.0.tgz#7232ed266f34d197d15cac5880232f7a4790afe5" + dependencies: + define-properties "^1.1.3" + es-abstract "^1.19.1" + object.map@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/object.map/-/object.map-1.0.1.tgz#cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37" @@ -13354,7 +13209,7 @@ object.values@^1.1.0: function-bind "^1.1.1" has "^1.0.3" -object.values@^1.1.4: +object.values@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" dependencies: @@ -13702,13 +13557,6 @@ parse-json@^2.2.0: dependencies: error-ex "^1.2.0" -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - parse-json@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.1.0.tgz#f96088cdf24a8faa9aea9a009f2d9d942c999646" @@ -13802,6 +13650,10 @@ path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + path-root-regex@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" @@ -13931,6 +13783,10 @@ pirates@^4.0.0, pirates@^4.0.1: dependencies: node-modules-regexp "^1.0.0" +pirates@^4.0.4: + version "4.0.5" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" + pkg-dir@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" @@ -13955,12 +13811,6 @@ pkg-dir@^5.0.0: dependencies: find-up "^5.0.0" -pkg-up@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f" - dependencies: - find-up "^2.1.0" - pkg-up@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-3.1.0.tgz#100ec235cc150e4fd42519412596a28512a0def5" @@ -14462,6 +14312,14 @@ prop-types@^15.0.0: object-assign "^4.1.1" react-is "^16.13.1" +prop-types@^15.8.1: + version "15.8.1" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + property-information@^5.0.0: version "5.5.0" resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.5.0.tgz#4dc075d493061a82e2b7d096f406e076ed859943" @@ -15156,13 +15014,6 @@ read-pkg-up@^2.0.0: find-up "^2.0.0" read-pkg "^2.0.0" -read-pkg-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" - dependencies: - find-up "^2.0.0" - read-pkg "^3.0.0" - read-pkg-up@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" @@ -15187,14 +15038,6 @@ read-pkg@^2.0.0: normalize-package-data "^2.3.2" path-type "^2.0.0" -read-pkg@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - dependencies: - load-json-file "^4.0.0" - normalize-package-data "^2.3.2" - path-type "^3.0.0" - read-pkg@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" @@ -15365,14 +15208,15 @@ regexp.prototype.flags@^1.2.0, regexp.prototype.flags@^1.3.0: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" -regexp.prototype.flags@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz#7ef352ae8d159e758c0eadca6f8fcb4eef07be26" +regexp.prototype.flags@^1.4.1: + version "1.4.3" + resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" dependencies: call-bind "^1.0.2" define-properties "^1.1.3" + functions-have-names "^1.2.2" -regexpp@^3.1.0, regexpp@^3.2.0: +regexpp@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" @@ -15693,6 +15537,14 @@ resolve@^1.14.2, resolve@^1.18.1, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.9 is-core-module "^2.2.0" path-parse "^1.0.6" +resolve@^1.22.0: + version "1.22.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" + dependencies: + is-core-module "^2.8.1" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@^2.0.0-next.3: version "2.0.0-next.3" resolved "https://registry.yarnpkg.com/resolve/-/resolve-2.0.0-next.3.tgz#d41016293d4a8586a39ca5d9b5f15cbea1f55e46" @@ -16407,7 +16259,7 @@ source-map-support@0.5.19, source-map-support@~0.5.12: buffer-from "^1.0.0" source-map "^0.6.0" -source-map-support@^0.5.16, source-map-support@^0.5.6, source-map-support@~0.5.20: +source-map-support@^0.5.16, source-map-support@^0.5.21, source-map-support@^0.5.6, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" dependencies: @@ -16800,17 +16652,17 @@ string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0: regexp.prototype.flags "^1.3.0" side-channel "^1.0.2" -string.prototype.matchall@^4.0.5: - version "4.0.6" - resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.6.tgz#5abb5dabc94c7b0ea2380f65ba610b3a544b15fa" +string.prototype.matchall@^4.0.6: + version "4.0.7" + resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d" dependencies: call-bind "^1.0.2" define-properties "^1.1.3" es-abstract "^1.19.1" get-intrinsic "^1.1.1" - has-symbols "^1.0.2" + has-symbols "^1.0.3" internal-slot "^1.0.3" - regexp.prototype.flags "^1.3.1" + regexp.prototype.flags "^1.4.1" side-channel "^1.0.4" string.prototype.padend@^3.0.0: @@ -17097,6 +16949,10 @@ supports-hyperlinks@^2.0.0: has-flag "^4.0.0" supports-color "^7.0.0" +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + sver-compat@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/sver-compat/-/sver-compat-1.5.0.tgz#3cf87dfeb4d07b4a3f14827bc186b3fd0c645cd8" @@ -17146,16 +17002,6 @@ table@^6.0.1: slice-ansi "^4.0.0" string-width "^4.2.0" -table@^6.0.9: - version "6.8.0" - resolved "https://registry.yarnpkg.com/table/-/table-6.8.0.tgz#87e28f14fa4321c3377ba286f07b79b281a3b3ca" - dependencies: - ajv "^8.0.1" - lodash.truncate "^4.4.2" - slice-ansi "^4.0.0" - string-width "^4.2.3" - strip-ansi "^6.0.1" - tail@2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/tail/-/tail-2.2.4.tgz#90dd4c5a174a3fa39dcb65a1df1950a4a0093a41" @@ -17639,34 +17485,17 @@ ts-essentials@^2.0.3: version "2.0.12" resolved "https://registry.yarnpkg.com/ts-essentials/-/ts-essentials-2.0.12.tgz#c9303f3d74f75fa7528c3d49b80e089ab09d8745" -ts-node@10.4.0: - version "10.4.0" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.4.0.tgz#680f88945885f4e6cf450e7f0d6223dd404895f7" - dependencies: - "@cspotcode/source-map-support" "0.7.0" - "@tsconfig/node10" "^1.0.7" - "@tsconfig/node12" "^1.0.7" - "@tsconfig/node14" "^1.0.0" - "@tsconfig/node16" "^1.0.2" - acorn "^8.4.1" - acorn-walk "^8.1.1" - arg "^4.1.0" - create-require "^1.1.0" - diff "^4.0.1" - make-error "^1.1.1" - yn "3.1.1" - ts-pnp@^1.1.6: version "1.2.0" resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" -tsconfig-paths@^3.11.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz#19769aca6ee8f6a1a341e38c8fa45dd9fb18899b" +tsconfig-paths@^3.14.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" dependencies: "@types/json5" "^0.0.29" json5 "^1.0.1" - minimist "^1.2.0" + minimist "^1.2.6" strip-bom "^3.0.0" tsee@1.3.2: @@ -17683,7 +17512,7 @@ tslib@^1.8.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" -tslib@^2.0.0, tslib@^2.0.3, tslib@^2.3.0: +tslib@^2.0.0, tslib@^2.0.3, tslib@^2.3.0, tslib@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" @@ -17811,7 +17640,7 @@ typescript@4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4" -typescript@^4.5: +typescript@^4.5, typescript@^4.5.3: version "4.6.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c" @@ -19104,10 +18933,6 @@ yauzl@^2.10.0: buffer-crc32 "~0.2.3" fd-slicer "~1.1.0" -yn@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" - yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"