diff --git a/package.json b/package.json index 67435e73a1..229fecc108 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "devDependencies": { "@crustio/crust-pin": "^1.0.0", "@pinata/sdk": "^1.2.1", - "@polkadot/dev": "^0.72.43", + "@polkadot/dev": "^0.73.1", "@types/chart.js": "^2.9.37", "@types/file-saver": "^2.0.5", "@types/react-beautiful-dnd": "^13.1.4", @@ -121,6 +121,7 @@ "@polkadot/x-textencoder": "^11.1.3", "@polkadot/x-ws": "^11.1.3", "styled-components": "^5.3.1", - "typescript": "^5.0.4" + "typescript": "^5.0.4", + "tsconfig-paths": "^4.0.0" } } diff --git a/packages/apps-config/src/api/params/tracks/util.ts b/packages/apps-config/src/api/params/tracks/util.ts index 1714e38b4b..140e9339a3 100644 --- a/packages/apps-config/src/api/params/tracks/util.ts +++ b/packages/apps-config/src/api/params/tracks/util.ts @@ -1,7 +1,9 @@ // Copyright 2017-2023 @polkadot/app-config authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { BN, formatBalance } from '@polkadot/util'; +import type { BN } from '@polkadot/util'; + +import { formatBalance } from '@polkadot/util'; interface FormatOptions { decimals: number; diff --git a/packages/apps-electron/package.json b/packages/apps-electron/package.json index 2a140c5bdf..94bb35ef59 100644 --- a/packages/apps-electron/package.json +++ b/packages/apps-electron/package.json @@ -15,7 +15,7 @@ "sideEffects": false, "version": "0.127.2-8-x", "dependencies": { - "@polkadot/dev": "^0.72.43", + "@polkadot/dev": "^0.73.1", "@polkadot/react-components": "^0.127.2-8-x", "electron-log": "^5.0.0-beta.16", "electron-updater": "^5.3.0" diff --git a/packages/apps-electron/src/electron/autoUpdater.ts b/packages/apps-electron/src/electron/autoUpdater.ts index 45eff9bf1c..935c1fe85c 100644 --- a/packages/apps-electron/src/electron/autoUpdater.ts +++ b/packages/apps-electron/src/electron/autoUpdater.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { AppUpdater } from 'electron-updater'; +import type { AppUpdater } from 'electron-updater'; export async function setupAutoUpdater (): Promise { const { autoUpdater } = await import('electron-updater'); diff --git a/packages/apps-electron/src/electron/contentSecurityPolicy.ts b/packages/apps-electron/src/electron/contentSecurityPolicy.ts index a9d105a120..4c6f6f5402 100644 --- a/packages/apps-electron/src/electron/contentSecurityPolicy.ts +++ b/packages/apps-electron/src/electron/contentSecurityPolicy.ts @@ -1,7 +1,9 @@ // Copyright 2017-2023 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { HeadersReceivedResponse, session } from 'electron'; +import type { HeadersReceivedResponse } from 'electron'; + +import { session } from 'electron'; export function setupContentSecurityPolicy (_: string): void { session.defaultSession.webRequest.onHeadersReceived((details, respond: (response: HeadersReceivedResponse) => void) => { diff --git a/packages/apps-electron/src/main/account-store.spec.ts b/packages/apps-electron/src/main/account-store.spec.ts index 50a2182ac9..663ac4fa17 100644 --- a/packages/apps-electron/src/main/account-store.spec.ts +++ b/packages/apps-electron/src/main/account-store.spec.ts @@ -6,6 +6,7 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore Warned on by nodenext resolution (while package does build in bundler mode) import type { KeyringJson } from '@polkadot/ui-keyring/types'; +import type { IpcMainHandler } from './ipc-main-handler.js'; import * as tmp from 'tmp'; @@ -14,7 +15,6 @@ import * as tmp from 'tmp'; import { FileStore } from '@polkadot/ui-keyring/stores'; import { accountStoreIpcHandler } from './account-store.js'; -import { IpcMainHandler } from './ipc-main-handler.js'; const exampleAccount = (address: string): KeyringJson => ({ address, diff --git a/packages/apps-electron/src/main/account-store.ts b/packages/apps-electron/src/main/account-store.ts index 76f22af107..5d62b22cd9 100644 --- a/packages/apps-electron/src/main/account-store.ts +++ b/packages/apps-electron/src/main/account-store.ts @@ -4,6 +4,7 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore Warned on by nodenext resolution (while package does build in bundler mode) import type { KeyringJson } from '@polkadot/ui-keyring/types'; +import type { IpcMainHandler } from './ipc-main-handler.js'; import electron from 'electron'; import path from 'path'; @@ -12,7 +13,6 @@ import path from 'path'; // @ts-ignore Warned on by nodenext resolution (while package does build in bundler mode) import { FileStore } from '@polkadot/ui-keyring/stores'; -import { IpcMainHandler } from './ipc-main-handler.js'; import { registerIpcHandler } from './register-ipc-handler.js'; const ACCOUNTS_SUBFOLDER = 'polkadot-accounts'; diff --git a/packages/apps-electron/src/main/register-ipc-handler.ts b/packages/apps-electron/src/main/register-ipc-handler.ts index 5f0bcb5077..46baa105f6 100644 --- a/packages/apps-electron/src/main/register-ipc-handler.ts +++ b/packages/apps-electron/src/main/register-ipc-handler.ts @@ -1,9 +1,9 @@ // Copyright 2017-2023 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 -import electron from 'electron'; +import type { IpcMainHandler } from './ipc-main-handler.js'; -import { IpcMainHandler } from './ipc-main-handler.js'; +import electron from 'electron'; export const registerIpcHandler = (ipcHandler: IpcMainHandler): void => { for (const [channel, listener] of Object.entries(ipcHandler)) { diff --git a/packages/apps/package.json b/packages/apps/package.json index a063bcb581..1116d1cf77 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -18,7 +18,7 @@ "dependencies": { "@polkadot/apps-config": "^0.127.2-8-x", "@polkadot/apps-routing": "^0.127.2-8-x", - "@polkadot/dev": "^0.72.43", + "@polkadot/dev": "^0.73.1", "@polkadot/react-api": "^0.127.2-8-x", "@polkadot/react-components": "^0.127.2-8-x", "@polkadot/react-hooks": "^0.127.2-8-x", diff --git a/packages/apps/src/Endpoints/types.ts b/packages/apps/src/Endpoints/types.ts index 3f5fbd98f9..8c60efc376 100644 --- a/packages/apps/src/Endpoints/types.ts +++ b/packages/apps/src/Endpoints/types.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 -import React from 'react'; +import type React from 'react'; export interface Network { isChild?: boolean; diff --git a/packages/apps/src/Menu/types.tsx b/packages/apps/src/Menu/types.tsx index bf073ae778..4fd9913880 100644 --- a/packages/apps/src/Menu/types.tsx +++ b/packages/apps/src/Menu/types.tsx @@ -2,10 +2,9 @@ // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; +import type React from 'react'; import type { Routes } from '@polkadot/apps-routing/types'; -import React from 'react'; - export interface ItemRoute { Modal?: React.ComponentType; href?: string; diff --git a/packages/apps/src/endpoint.ts b/packages/apps/src/endpoint.ts index ef0d4ee17a..4171bdcfc8 100644 --- a/packages/apps/src/endpoint.ts +++ b/packages/apps/src/endpoint.ts @@ -1,7 +1,8 @@ // Copyright 2017-2023 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { ApiPromise } from '@polkadot/api'; +import type { ApiPromise } from '@polkadot/api'; + import { isFunction, isObject } from '@polkadot/util'; type ApiMapper = Record>>; diff --git a/packages/page-accounts/src/Accounts/Account.tsx b/packages/page-accounts/src/Accounts/Account.tsx index 12998fd710..315892a496 100644 --- a/packages/page-accounts/src/Accounts/Account.tsx +++ b/packages/page-accounts/src/Accounts/Account.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { DeriveDemocracyLock, DeriveStakingAccount } from '@polkadot/api-derive/types'; import type { Ledger } from '@polkadot/hw-ledger'; @@ -12,7 +13,6 @@ import type { AccountBalance, Delegation } from '../types.js'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import useAccountLocks from '@polkadot/app-referenda/useAccountLocks'; import { AddressInfo, AddressSmall, Badge, Button, ChainLock, Columar, CryptoType, Forget, LinkExternal, Menu, Popup, styled, Table, Tags } from '@polkadot/react-components'; import { useAccountInfo, useApi, useBalancesAll, useBestNumber, useCall, useLedger, useQueue, useStakingInfo, useToggle } from '@polkadot/react-hooks'; diff --git a/packages/page-accounts/src/Accounts/index.spec.ts b/packages/page-accounts/src/Accounts/index.spec.ts index d00b1bcdaa..731a90160b 100644 --- a/packages/page-accounts/src/Accounts/index.spec.ts +++ b/packages/page-accounts/src/Accounts/index.spec.ts @@ -4,7 +4,10 @@ /// import type { AddressFlags } from '@polkadot/react-hooks/types'; +import type { Table } from '@polkadot/test-support/pagesElements'; +import type { u32 } from '@polkadot/types'; import type { AccountId, Multisig, ProxyDefinition, Timepoint, Voting, VotingDelegating } from '@polkadot/types/interfaces'; +import type { AccountRow } from '../../test/pageElements/AccountRow.js'; import { fireEvent, screen, within } from '@testing-library/react'; @@ -14,14 +17,11 @@ import { toShortAddress } from '@polkadot/react-components/util'; import { anAccountWithBalance, anAccountWithBalanceAndMeta, anAccountWithInfo, anAccountWithInfoAndMeta, anAccountWithMeta, anAccountWithStaking } from '@polkadot/test-support/creation/account'; import { makeStakingLedger as ledger } from '@polkadot/test-support/creation/staking'; import { alice, bob, MemoryStore } from '@polkadot/test-support/keyring'; -import { Table } from '@polkadot/test-support/pagesElements'; import { balance, mockApiHooks, showBalance } from '@polkadot/test-support/utils'; -import { u32 } from '@polkadot/types'; import { TypeRegistry } from '@polkadot/types/create'; import { keyring } from '@polkadot/ui-keyring'; import { BN } from '@polkadot/util'; -import { AccountRow } from '../../test/pageElements/AccountRow.js'; import { AccountsPage } from '../../test/pages/accountsPage.js'; // FIXME isSplit Table diff --git a/packages/page-accounts/src/Sidebar/Sidebar.spec.tsx b/packages/page-accounts/src/Sidebar/Sidebar.spec.tsx index aba5144b9d..e34a6ab264 100644 --- a/packages/page-accounts/src/Sidebar/Sidebar.spec.tsx +++ b/packages/page-accounts/src/Sidebar/Sidebar.spec.tsx @@ -4,6 +4,7 @@ /// import type { AddressFlags } from '@polkadot/react-hooks/types'; +import type { Sidebar } from '@polkadot/test-support/pagesElements'; import type { RegistrationJudgement } from '@polkadot/types/interfaces'; import { fireEvent, screen, waitFor, within } from '@testing-library/react'; @@ -12,7 +13,6 @@ import i18next from '@polkadot/react-components/i18n'; import { anAccount, anAccountWithInfo, anAccountWithMeta } from '@polkadot/test-support/creation/account'; import { alice, bob, MemoryStore } from '@polkadot/test-support/keyring'; import { charlieShortAddress, ferdieShortAddress, mockRegistration, registrars } from '@polkadot/test-support/mockData'; -import { Sidebar } from '@polkadot/test-support/pagesElements'; import { mockApiHooks } from '@polkadot/test-support/utils'; import { keyring } from '@polkadot/ui-keyring'; diff --git a/packages/page-accounts/src/modals/IdentityMain.tsx b/packages/page-accounts/src/modals/IdentityMain.tsx index 3ce97fcac3..37e0c6bb47 100644 --- a/packages/page-accounts/src/modals/IdentityMain.tsx +++ b/packages/page-accounts/src/modals/IdentityMain.tsx @@ -1,12 +1,12 @@ // Copyright 2017-2023 @polkadot/app-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { Data, Option } from '@polkadot/types'; import type { IdentityInfo, Registration } from '@polkadot/types/interfaces'; import React, { useEffect, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { Input, InputBalance, Modal, Toggle, TxButton } from '@polkadot/react-components'; import { getAddressMeta } from '@polkadot/react-components/util'; import { useApi, useCall } from '@polkadot/react-hooks'; diff --git a/packages/page-accounts/test/pages/accountsPage.tsx b/packages/page-accounts/test/pages/accountsPage.tsx index 25c3fbffe5..1b8227dcc4 100644 --- a/packages/page-accounts/test/pages/accountsPage.tsx +++ b/packages/page-accounts/test/pages/accountsPage.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/page-accounts authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Sidebar } from '@polkadot/test-support/pagesElements'; import type { AccountOverrides } from '@polkadot/test-support/types'; import { fireEvent, screen, within } from '@testing-library/react'; @@ -8,7 +9,6 @@ import React from 'react'; import { anAccount } from '@polkadot/test-support/creation/account'; import { Page } from '@polkadot/test-support/pages/Page'; -import { Sidebar } from '@polkadot/test-support/pagesElements'; import { assertText, clickButton } from '@polkadot/test-support/utils'; import { settings } from '@polkadot/ui-settings'; diff --git a/packages/page-addresses/src/Contacts/index.spec.ts b/packages/page-addresses/src/Contacts/index.spec.ts index a21e9966ce..7eb599dba1 100644 --- a/packages/page-addresses/src/Contacts/index.spec.ts +++ b/packages/page-addresses/src/Contacts/index.spec.ts @@ -3,12 +3,13 @@ /// +import type { Table } from '@polkadot/test-support/pagesElements'; + import { screen } from '@testing-library/react'; import i18next from '@polkadot/react-components/i18n'; import { aContactWithBalance } from '@polkadot/test-support/creation/contact'; import { MemoryStore } from '@polkadot/test-support/keyring'; -import { Table } from '@polkadot/test-support/pagesElements'; import { balance } from '@polkadot/test-support/utils'; import { keyring } from '@polkadot/ui-keyring'; diff --git a/packages/page-addresses/test/pages/addressesPage.tsx b/packages/page-addresses/test/pages/addressesPage.tsx index b1ce354b07..e6a24f8277 100644 --- a/packages/page-addresses/test/pages/addressesPage.tsx +++ b/packages/page-addresses/test/pages/addressesPage.tsx @@ -1,13 +1,13 @@ // Copyright 2017-2023 @polkadot/page-addresses authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Row } from '@polkadot/test-support/pagesElements'; import type { AccountOverrides as ContactOverrides } from '@polkadot/test-support/types'; import React from 'react'; import { aContact } from '@polkadot/test-support/creation/contact'; import { Page } from '@polkadot/test-support/pages/Page'; -import { Row } from '@polkadot/test-support/pagesElements'; import { mockAccountHooks } from '@polkadot/test-support/utils'; import AddressOverview from '../../src/Contacts/index.js'; diff --git a/packages/page-bounties/src/Bounties.spec.ts b/packages/page-bounties/src/Bounties.spec.ts index b304b99ceb..7aed01f943 100644 --- a/packages/page-bounties/src/Bounties.spec.ts +++ b/packages/page-bounties/src/Bounties.spec.ts @@ -3,6 +3,7 @@ /// +import type { ApiPromise } from '@polkadot/api'; import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { DeriveCollectiveProposal } from '@polkadot/api-derive/types'; import type { BountyIndex, BountyStatus } from '@polkadot/types/interfaces'; @@ -10,7 +11,6 @@ import type { PalletBountiesBounty } from '@polkadot/types/lookup'; import { fireEvent } from '@testing-library/react'; -import { ApiPromise } from '@polkadot/api'; import i18next from '@polkadot/react-components/i18n'; import { createAugmentedApi } from '@polkadot/test-support/api'; import { balanceOf } from '@polkadot/test-support/creation/balance'; diff --git a/packages/page-bounties/test/pages/bountiesPage.tsx b/packages/page-bounties/test/pages/bountiesPage.tsx index bc63b87712..645360fa86 100644 --- a/packages/page-bounties/test/pages/bountiesPage.tsx +++ b/packages/page-bounties/test/pages/bountiesPage.tsx @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { RenderResult } from '@testing-library/react'; +import type { ApiPromise } from '@polkadot/api'; import type { DeriveCollectiveProposal } from '@polkadot/api-derive/types'; import type { ApiProps } from '@polkadot/react-api/types'; import type { PartialQueueTxExtrinsic, QueueProps, QueueTxExtrinsicAdd } from '@polkadot/react-components/Status/types'; @@ -14,7 +15,6 @@ import React, { Suspense } from 'react'; import { MemoryRouter } from 'react-router-dom'; import { ThemeProvider } from 'styled-components'; -import { ApiPromise } from '@polkadot/api'; import { lightTheme } from '@polkadot/apps/themes'; import { POLKADOT_GENESIS } from '@polkadot/apps-config'; import { ApiCtx } from '@polkadot/react-api'; diff --git a/packages/page-contracts/src/Codes/Upload.tsx b/packages/page-contracts/src/Codes/Upload.tsx index 0dbded8290..cec3c5197b 100644 --- a/packages/page-contracts/src/Codes/Upload.tsx +++ b/packages/page-contracts/src/Codes/Upload.tsx @@ -3,6 +3,7 @@ import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { CodeSubmittableResult } from '@polkadot/api-contract/promise/types'; +import type { BN } from '@polkadot/util'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; @@ -11,7 +12,7 @@ import { Button, Dropdown, InputAddress, InputBalance, InputFile, MarkError, Mod import { useAccountId, useApi, useFormField, useNonEmptyString, useStepper } from '@polkadot/react-hooks'; import { Available } from '@polkadot/react-query'; import { keyring } from '@polkadot/ui-keyring'; -import { BN, BN_ZERO, isNull, isWasm, stringify } from '@polkadot/util'; +import { BN_ZERO, isNull, isWasm, stringify } from '@polkadot/util'; import { ABI, InputMegaGas, InputName, MessageSignature, Params } from '../shared/index.js'; import store from '../store.js'; diff --git a/packages/page-contracts/src/Contracts/Deploy.tsx b/packages/page-contracts/src/Contracts/Deploy.tsx index 9399a9a1dd..8d47ce3777 100644 --- a/packages/page-contracts/src/Contracts/Deploy.tsx +++ b/packages/page-contracts/src/Contracts/Deploy.tsx @@ -3,6 +3,7 @@ import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { BlueprintSubmittableResult } from '@polkadot/api-contract/promise/types'; +import type { BN } from '@polkadot/util'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; @@ -11,7 +12,7 @@ import { Dropdown, Input, InputAddress, InputBalance, Modal, Toggle, TxButton } import { useApi, useFormField, useNonEmptyString } from '@polkadot/react-hooks'; import { Available } from '@polkadot/react-query'; import { keyring } from '@polkadot/ui-keyring'; -import { BN, BN_ZERO, isHex, stringify } from '@polkadot/util'; +import { BN_ZERO, isHex, stringify } from '@polkadot/util'; import { randomAsHex } from '@polkadot/util-crypto'; import { ABI, InputMegaGas, InputName, MessageSignature, Params } from '../shared/index.js'; diff --git a/packages/page-contracts/src/shared/ABI.tsx b/packages/page-contracts/src/shared/ABI.tsx index cd68983a6d..86a8b2e118 100644 --- a/packages/page-contracts/src/shared/ABI.tsx +++ b/packages/page-contracts/src/shared/ABI.tsx @@ -1,9 +1,10 @@ // Copyright 2017-2023 @polkadot/app-contracts authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Abi } from '@polkadot/api-contract'; + import React from 'react'; -import { Abi } from '@polkadot/api-contract'; import { IconLink, InputFile, Labelled } from '@polkadot/react-components'; import { useTranslation } from '../translate.js'; diff --git a/packages/page-contracts/src/shared/Messages.tsx b/packages/page-contracts/src/shared/Messages.tsx index 3081130f44..c7d4b92ab5 100644 --- a/packages/page-contracts/src/shared/Messages.tsx +++ b/packages/page-contracts/src/shared/Messages.tsx @@ -1,14 +1,13 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { ContractPromise } from '@polkadot/api-contract'; +import type { Abi, ContractPromise } from '@polkadot/api-contract'; import type { AbiMessage, ContractCallOutcome } from '@polkadot/api-contract/types'; import type { Option } from '@polkadot/types'; import type { ContractInfo } from '@polkadot/types/interfaces'; import React, { useCallback, useEffect, useState } from 'react'; -import { Abi } from '@polkadot/api-contract'; import { Expander, styled } from '@polkadot/react-components'; import { useApi, useCall } from '@polkadot/react-hooks'; import { formatNumber } from '@polkadot/util'; diff --git a/packages/page-explorer/src/NodeInfo/index.tsx b/packages/page-explorer/src/NodeInfo/index.tsx index 37a4ec73e8..def612869f 100644 --- a/packages/page-explorer/src/NodeInfo/index.tsx +++ b/packages/page-explorer/src/NodeInfo/index.tsx @@ -1,11 +1,11 @@ // Copyright 2017-2023 @polkadot/app-nodeinfo authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { Info } from './types.js'; import React, { useEffect, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { useApi } from '@polkadot/react-hooks'; import Extrinsics from '../BlockInfo/Extrinsics.js'; diff --git a/packages/page-parachains/src/Overview/Parachain.tsx b/packages/page-parachains/src/Overview/Parachain.tsx index ef842921e7..90fc0c8526 100644 --- a/packages/page-parachains/src/Overview/Parachain.tsx +++ b/packages/page-parachains/src/Overview/Parachain.tsx @@ -2,6 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { AccountId, GroupIndex, ParaId } from '@polkadot/types/interfaces'; +import type { BN } from '@polkadot/util'; import type { LeasePeriod, QueuedAction } from '../types.js'; import type { EventMapInfo, ValidatorInfo } from './types.js'; @@ -9,7 +10,7 @@ import React, { useCallback, useEffect, useMemo, useState } from 'react'; import { AddressMini, Badge, Expander, ParaLink, styled, Table } from '@polkadot/react-components'; import { BlockToTime } from '@polkadot/react-query'; -import { BN, formatNumber } from '@polkadot/util'; +import { formatNumber } from '@polkadot/util'; import { useTranslation } from '../translate.js'; import Lifecycle from './Lifecycle.js'; diff --git a/packages/page-staking/src/Actions/Account/BondExtra.tsx b/packages/page-staking/src/Actions/Account/BondExtra.tsx index f9f65425b0..d0a66de01e 100644 --- a/packages/page-staking/src/Actions/Account/BondExtra.tsx +++ b/packages/page-staking/src/Actions/Account/BondExtra.tsx @@ -1,12 +1,12 @@ // Copyright 2017-2023 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DeriveBalancesAll, DeriveStakingAccount } from '@polkadot/api-derive/types'; import type { AmountValidateState } from '../types.js'; import React, { useMemo, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { InputAddress, InputBalance, Modal, TxButton } from '@polkadot/react-components'; import { useApi, useCall } from '@polkadot/react-hooks'; import { BalanceFree } from '@polkadot/react-query'; diff --git a/packages/page-staking/src/Actions/Account/index.tsx b/packages/page-staking/src/Actions/Account/index.tsx index 5aa2632d4d..7bbb3d6f94 100644 --- a/packages/page-staking/src/Actions/Account/index.tsx +++ b/packages/page-staking/src/Actions/Account/index.tsx @@ -1,18 +1,19 @@ // Copyright 2017-2023 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DeriveBalancesAll, DeriveStakingAccount } from '@polkadot/api-derive/types'; import type { StakerState } from '@polkadot/react-hooks/types'; import type { PalletStakingUnappliedSlash } from '@polkadot/types/lookup'; +import type { BN } from '@polkadot/util'; import type { SortedTargets } from '../../types.js'; import type { Slash } from '../types.js'; import React, { useCallback, useMemo } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { AddressInfo, AddressMini, AddressSmall, Badge, Button, Menu, Popup, StakingBonded, StakingRedeemable, StakingUnbonding, styled, TxButton } from '@polkadot/react-components'; import { useApi, useCall, useQueue, useToggle } from '@polkadot/react-hooks'; -import { BN, formatNumber, isFunction } from '@polkadot/util'; +import { formatNumber, isFunction } from '@polkadot/util'; import { useTranslation } from '../../translate.js'; import useSlashingSpans from '../useSlashingSpans.js'; diff --git a/packages/page-staking/src/Actions/Accounts.tsx b/packages/page-staking/src/Actions/Accounts.tsx index f724bcee4b..c9c29479b9 100644 --- a/packages/page-staking/src/Actions/Accounts.tsx +++ b/packages/page-staking/src/Actions/Accounts.tsx @@ -3,12 +3,12 @@ import type { StakerState } from '@polkadot/react-hooks/types'; import type { PalletStakingUnappliedSlash } from '@polkadot/types/lookup'; +import type { BN } from '@polkadot/util'; import type { SortedTargets } from '../types.js'; import React, { useRef } from 'react'; import { Table } from '@polkadot/react-components'; -import { BN } from '@polkadot/util'; import { useTranslation } from '../translate.js'; import Account from './Account/index.js'; diff --git a/packages/page-staking/src/Actions/Pools.tsx b/packages/page-staking/src/Actions/Pools.tsx index 8e11d04856..cee49722b9 100644 --- a/packages/page-staking/src/Actions/Pools.tsx +++ b/packages/page-staking/src/Actions/Pools.tsx @@ -4,13 +4,13 @@ import type { DeriveSessionProgress } from '@polkadot/api-derive/types'; import type { OwnPool } from '@polkadot/app-staking2/Pools/types'; import type { PalletStakingUnappliedSlash } from '@polkadot/types/lookup'; +import type { BN } from '@polkadot/util'; import type { SortedTargets } from '../types.js'; import React, { useRef } from 'react'; import { Table } from '@polkadot/react-components'; import { useApi, useCall } from '@polkadot/react-hooks'; -import { BN } from '@polkadot/util'; import { useTranslation } from '../translate.js'; import Pool from './Pool/index.js'; diff --git a/packages/page-staking/src/Actions/useInactives.ts b/packages/page-staking/src/Actions/useInactives.ts index 704705bfdb..752772f891 100644 --- a/packages/page-staking/src/Actions/useInactives.ts +++ b/packages/page-staking/src/Actions/useInactives.ts @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { QueryableStorageMultiArg } from '@polkadot/api/types'; import type { DeriveSessionIndexes } from '@polkadot/api-derive/types'; import type { Option } from '@polkadot/types'; @@ -8,7 +9,6 @@ import type { EraIndex, Exposure, Nominations, SlashingSpans } from '@polkadot/t import { useEffect, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { createNamedHook, useApi, useCall, useIsMountedRef } from '@polkadot/react-hooks'; import { BN_ZERO } from '@polkadot/util'; diff --git a/packages/page-staking/src/Payouts/PayButton.tsx b/packages/page-staking/src/Payouts/PayButton.tsx index 8a37afc12f..990a7d95fb 100644 --- a/packages/page-staking/src/Payouts/PayButton.tsx +++ b/packages/page-staking/src/Payouts/PayButton.tsx @@ -1,13 +1,13 @@ // Copyright 2017-2023 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { EraIndex } from '@polkadot/types/interfaces'; import type { PayoutValidator } from './types.js'; import React, { useEffect, useMemo, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { AddressMini, Button, InputAddress, Modal, Static, styled, TxButton } from '@polkadot/react-components'; import { useApi, useToggle, useTxBatch } from '@polkadot/react-hooks'; diff --git a/packages/page-staking/src/Validators/Address/index.tsx b/packages/page-staking/src/Validators/Address/index.tsx index 47725cbc09..14327c68b4 100644 --- a/packages/page-staking/src/Validators/Address/index.tsx +++ b/packages/page-staking/src/Validators/Address/index.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DeriveHeartbeatAuthor } from '@polkadot/api-derive/types'; import type { Option } from '@polkadot/types'; import type { SlashingSpans, ValidatorPrefs } from '@polkadot/types/interfaces'; @@ -10,7 +11,6 @@ import type { NominatorValue } from './types.js'; import React, { useMemo } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { AddressSmall, Columar, Icon, LinkExternal, Table, Tag } from '@polkadot/react-components'; import { checkVisibility } from '@polkadot/react-components/util'; import { useApi, useCall, useDeriveAccountInfo, useToggle } from '@polkadot/react-hooks'; diff --git a/packages/page-storage/src/Selection/Modules.tsx b/packages/page-storage/src/Selection/Modules.tsx index 7fb081c120..42d41dcf79 100644 --- a/packages/page-storage/src/Selection/Modules.tsx +++ b/packages/page-storage/src/Selection/Modules.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/app-storage authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { QueryableStorageEntry } from '@polkadot/api/types'; import type { RawParams, TypeDefExt } from '@polkadot/react-params/types'; import type { StorageEntryTypeLatest } from '@polkadot/types/interfaces'; @@ -9,7 +10,6 @@ import type { ComponentProps as Props } from '../types.js'; import React, { useCallback, useMemo, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { Button, Columar, Input, InputStorage, Inspect as DecodeInspect, Output, styled } from '@polkadot/react-components'; import { useApi } from '@polkadot/react-hooks'; import Params from '@polkadot/react-params'; diff --git a/packages/react-api/src/hoc/calls.ts b/packages/react-api/src/hoc/calls.ts index 457b4bd2d5..875754857f 100644 --- a/packages/react-api/src/hoc/calls.ts +++ b/packages/react-api/src/hoc/calls.ts @@ -1,11 +1,10 @@ // Copyright 2017-2023 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type React from 'react'; import type { ApiProps, SubtractProps } from '../types.js'; import type { Options } from './types.js'; -import React from 'react'; - import withCall from './call.js'; type Call = string | [string, Options]; diff --git a/packages/react-api/src/hoc/multi.ts b/packages/react-api/src/hoc/multi.ts index 59dd50e518..b558de7c05 100644 --- a/packages/react-api/src/hoc/multi.ts +++ b/packages/react-api/src/hoc/multi.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 -import React from 'react'; +import type React from 'react'; type HOC = (Component: React.ComponentType) => React.ComponentType; diff --git a/packages/react-api/src/hoc/types.ts b/packages/react-api/src/hoc/types.ts index dbdfc53767..361a03a60b 100644 --- a/packages/react-api/src/hoc/types.ts +++ b/packages/react-api/src/hoc/types.ts @@ -1,10 +1,9 @@ // Copyright 2017-2023 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type React from 'react'; import type { OnChangeCb } from '../types.js'; -import React from 'react'; - export type Transform = (value: any, index: number) => any; export interface DefaultProps { diff --git a/packages/react-api/src/util/intervalObservable.ts b/packages/react-api/src/util/intervalObservable.ts index ccb687078f..98c83e8778 100644 --- a/packages/react-api/src/util/intervalObservable.ts +++ b/packages/react-api/src/util/intervalObservable.ts @@ -1,9 +1,10 @@ // Copyright 2017-2023 @polkadot/react-api authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { Subscription } from 'rxjs'; import type { CallState } from '../types.js'; -import { interval, Subscription } from 'rxjs'; +import { interval } from 'rxjs'; const interval$ = interval(500); diff --git a/packages/react-components/src/InputAddress/types.ts b/packages/react-components/src/InputAddress/types.ts index 6363ab1890..a4b433c38c 100644 --- a/packages/react-components/src/InputAddress/types.ts +++ b/packages/react-components/src/InputAddress/types.ts @@ -1,10 +1,9 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type React from 'react'; import type { KeyringOption$Type, KeyringSectionOption } from '@polkadot/ui-keyring/options/types'; -import React from 'react'; - export interface Option extends KeyringSectionOption { className?: string; text: React.ReactNode; diff --git a/packages/react-components/src/InputBalance.tsx b/packages/react-components/src/InputBalance.tsx index 591e6af74f..ad4da627ab 100644 --- a/packages/react-components/src/InputBalance.tsx +++ b/packages/react-components/src/InputBalance.tsx @@ -1,11 +1,12 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { BN } from '@polkadot/util'; import type { SiDef } from '@polkadot/util/types'; import React, { useMemo } from 'react'; -import { BN, formatBalance, isUndefined } from '@polkadot/util'; +import { formatBalance, isUndefined } from '@polkadot/util'; import InputNumber from './InputNumber.js'; diff --git a/packages/react-components/src/InputConsts/index.tsx b/packages/react-components/src/InputConsts/index.tsx index 4d63228e3f..fb66716763 100644 --- a/packages/react-components/src/InputConsts/index.tsx +++ b/packages/react-components/src/InputConsts/index.tsx @@ -1,13 +1,13 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { ConstantCodec } from '@polkadot/types/metadata/decorate/types'; import type { DropdownOptions } from '../util/types.js'; import type { ConstValue, ConstValueBase } from './types.js'; import React, { useCallback, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { useApi } from '@polkadot/react-hooks'; import LinkedWrapper from '../InputExtrinsic/LinkedWrapper.js'; diff --git a/packages/react-components/src/InputConsts/options/key.tsx b/packages/react-components/src/InputConsts/options/key.tsx index 2cfdb830d7..ed2bc6adb8 100644 --- a/packages/react-components/src/InputConsts/options/key.tsx +++ b/packages/react-components/src/InputConsts/options/key.tsx @@ -1,12 +1,12 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { ConstantCodec } from '@polkadot/types/metadata/decorate/types'; import type { DropdownOption, DropdownOptions } from '../../util/types.js'; import React from 'react'; -import { ApiPromise } from '@polkadot/api'; import { getSiName } from '@polkadot/types/metadata/util'; export default function createOptions (api: ApiPromise, sectionName: string): DropdownOptions { diff --git a/packages/react-components/src/InputConsts/options/section.ts b/packages/react-components/src/InputConsts/options/section.ts index 7c4bd7700e..3245d9159d 100644 --- a/packages/react-components/src/InputConsts/options/section.ts +++ b/packages/react-components/src/InputConsts/options/section.ts @@ -1,10 +1,9 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DropdownOptions } from '../../util/types.js'; -import { ApiPromise } from '@polkadot/api'; - export default function createOptions (api: ApiPromise): DropdownOptions { return Object .keys(api.consts) diff --git a/packages/react-components/src/InputExtrinsic/SelectMethod.tsx b/packages/react-components/src/InputExtrinsic/SelectMethod.tsx index c86a748adb..d5309abd24 100644 --- a/packages/react-components/src/InputExtrinsic/SelectMethod.tsx +++ b/packages/react-components/src/InputExtrinsic/SelectMethod.tsx @@ -1,13 +1,12 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { SubmittableExtrinsicFunction } from '@polkadot/api/types'; import type { DropdownOptions } from '../util/types.js'; import React, { useCallback } from 'react'; -import { ApiPromise } from '@polkadot/api'; - import Dropdown from '../Dropdown.js'; interface Props { diff --git a/packages/react-components/src/InputExtrinsic/options/method.tsx b/packages/react-components/src/InputExtrinsic/options/method.tsx index c29ace8f9b..1902a6c402 100644 --- a/packages/react-components/src/InputExtrinsic/options/method.tsx +++ b/packages/react-components/src/InputExtrinsic/options/method.tsx @@ -1,12 +1,11 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DropdownOption, DropdownOptions } from '../../util/types.js'; import React from 'react'; -import { ApiPromise } from '@polkadot/api'; - export default function createOptions (api: ApiPromise, sectionName: string, filter?: (section: string, method?: string) => boolean): DropdownOptions { const section = api.tx[sectionName]; const isAllowed = !filter || filter(sectionName); diff --git a/packages/react-components/src/InputExtrinsic/options/section.ts b/packages/react-components/src/InputExtrinsic/options/section.ts index a87ddb1e14..53fcf3e3cb 100644 --- a/packages/react-components/src/InputExtrinsic/options/section.ts +++ b/packages/react-components/src/InputExtrinsic/options/section.ts @@ -1,10 +1,9 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DropdownOptions } from '../../util/types.js'; -import { ApiPromise } from '@polkadot/api'; - export default function createOptions (api: ApiPromise, filter?: (section: string, method?: string) => boolean): DropdownOptions { return Object .keys(api.tx) diff --git a/packages/react-components/src/InputRpc/options/method.tsx b/packages/react-components/src/InputRpc/options/method.tsx index 43fbbf2e3f..3942fe9bfa 100644 --- a/packages/react-components/src/InputRpc/options/method.tsx +++ b/packages/react-components/src/InputRpc/options/method.tsx @@ -1,13 +1,12 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DefinitionRpcExt } from '@polkadot/types/types'; import type { DropdownOption, DropdownOptions } from '../../util/types.js'; import React from 'react'; -import { ApiPromise } from '@polkadot/api'; - export default function createOptions (api: ApiPromise, rpcs: Record>, sectionName: string): DropdownOptions { const section = rpcs[sectionName]; diff --git a/packages/react-components/src/InputRpc/options/section.ts b/packages/react-components/src/InputRpc/options/section.ts index e48d2e4751..2cc49b2ff0 100644 --- a/packages/react-components/src/InputRpc/options/section.ts +++ b/packages/react-components/src/InputRpc/options/section.ts @@ -1,10 +1,9 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DropdownOptions } from '../../util/types.js'; -import { ApiPromise } from '@polkadot/api'; - export default function createOptions (api: ApiPromise): DropdownOptions { return Object .keys(api.rpc) diff --git a/packages/react-components/src/InputStorage/SelectKey.tsx b/packages/react-components/src/InputStorage/SelectKey.tsx index 861ab84fdf..e8aa8502e0 100644 --- a/packages/react-components/src/InputStorage/SelectKey.tsx +++ b/packages/react-components/src/InputStorage/SelectKey.tsx @@ -1,12 +1,12 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { QueryableStorageEntry } from '@polkadot/api/types'; import type { DropdownOptions } from '../util/types.js'; import React from 'react'; -import { ApiPromise } from '@polkadot/api'; import { useApi } from '@polkadot/react-hooks'; import Dropdown from '../Dropdown.js'; diff --git a/packages/react-components/src/InputStorage/options/key.tsx b/packages/react-components/src/InputStorage/options/key.tsx index 47fcfbba5a..7f42f3e4d0 100644 --- a/packages/react-components/src/InputStorage/options/key.tsx +++ b/packages/react-components/src/InputStorage/options/key.tsx @@ -1,12 +1,12 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { StorageEntry } from '@polkadot/types/primitive/types'; import type { DropdownOption, DropdownOptions } from '../../util/types.js'; import React from 'react'; -import { ApiPromise } from '@polkadot/api'; import { getSiName } from '@polkadot/types/metadata/util'; import { unwrapStorageType } from '@polkadot/types/util'; diff --git a/packages/react-components/src/InputStorage/options/section.ts b/packages/react-components/src/InputStorage/options/section.ts index 7bcc840200..a1db807200 100644 --- a/packages/react-components/src/InputStorage/options/section.ts +++ b/packages/react-components/src/InputStorage/options/section.ts @@ -1,10 +1,9 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DropdownOption, DropdownOptions } from '../../util/types.js'; -import { ApiPromise } from '@polkadot/api'; - export function sectionOptions (api: ApiPromise): DropdownOptions { return Object .keys(api.query) diff --git a/packages/react-components/src/Menu/types.ts b/packages/react-components/src/Menu/types.ts index 4643708d83..6a8feefe32 100644 --- a/packages/react-components/src/Menu/types.ts +++ b/packages/react-components/src/Menu/types.ts @@ -2,8 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; - -import React from 'react'; +import type React from 'react'; export interface HeaderProps { children?: React.ReactNode; diff --git a/packages/react-components/src/Popup/types.ts b/packages/react-components/src/Popup/types.ts index 078e796236..f02ff13a19 100644 --- a/packages/react-components/src/Popup/types.ts +++ b/packages/react-components/src/Popup/types.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 -import React from 'react'; +import type React from 'react'; export type HorizontalPosition = 'left' | 'middle' | 'right' export type VerticalPosition = 'top' | 'bottom' diff --git a/packages/react-components/src/Tabs/types.ts b/packages/react-components/src/Tabs/types.ts index 549fc9da7b..462e7cc7f0 100644 --- a/packages/react-components/src/Tabs/types.ts +++ b/packages/react-components/src/Tabs/types.ts @@ -2,8 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { IconName } from '@fortawesome/fontawesome-svg-core'; - -import React from 'react'; +import type React from 'react'; export interface TabItem { alias?: string; diff --git a/packages/react-components/src/TxButton.tsx b/packages/react-components/src/TxButton.tsx index a86be64ba4..451715f621 100644 --- a/packages/react-components/src/TxButton.tsx +++ b/packages/react-components/src/TxButton.tsx @@ -1,12 +1,12 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { SubmittableResult } from '@polkadot/api'; import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { TxButtonProps as Props } from './types.js'; import React, { useCallback, useEffect, useState } from 'react'; -import { SubmittableResult } from '@polkadot/api'; import { useIsMountedRef, useQueue } from '@polkadot/react-hooks'; import { assert, isFunction } from '@polkadot/util'; diff --git a/packages/react-components/src/util/checkVisibility.tsx b/packages/react-components/src/util/checkVisibility.tsx index d121cddc2a..51c46289be 100644 --- a/packages/react-components/src/util/checkVisibility.tsx +++ b/packages/react-components/src/util/checkVisibility.tsx @@ -1,9 +1,9 @@ // Copyright 2017-2023 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DeriveAccountInfo } from '@polkadot/api-derive/types'; -import { ApiPromise } from '@polkadot/api'; import { keyring } from '@polkadot/ui-keyring'; import { isFunction } from '@polkadot/util'; diff --git a/packages/react-hooks/src/ctx/Queue.tsx b/packages/react-hooks/src/ctx/Queue.tsx index b983bb5c76..3fd4e824cd 100644 --- a/packages/react-hooks/src/ctx/Queue.tsx +++ b/packages/react-hooks/src/ctx/Queue.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/react-components authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { SubmittableResult } from '@polkadot/api'; import type { SubmittableExtrinsic } from '@polkadot/api/promise/types'; import type { ActionStatus, ActionStatusPartial, PartialQueueTxExtrinsic, PartialQueueTxRpc, QueueProps, QueueStatus, QueueTx, QueueTxExtrinsic, QueueTxRpc, QueueTxStatus, SignerCallback } from '@polkadot/react-components/Status/types'; import type { Bytes } from '@polkadot/types'; @@ -9,7 +10,6 @@ import type { ITuple, Registry, SignerPayloadJSON } from '@polkadot/types/types' import React, { useCallback, useMemo, useRef, useState } from 'react'; -import { SubmittableResult } from '@polkadot/api'; import { getDispatchError, getIncompleteMessage } from '@polkadot/react-components/Status/checks'; import { STATUS_COMPLETE } from '@polkadot/react-components/Status/constants'; import { getContractAbi } from '@polkadot/react-components/util'; diff --git a/packages/react-hooks/src/useBlockTime.ts b/packages/react-hooks/src/useBlockTime.ts index b79f5b5537..1fe1f87c8a 100644 --- a/packages/react-hooks/src/useBlockTime.ts +++ b/packages/react-hooks/src/useBlockTime.ts @@ -3,11 +3,12 @@ import type { TFunction } from 'i18next'; import type { ApiPromise } from '@polkadot/api'; +import type { BN } from '@polkadot/util'; import type { Time } from '@polkadot/util/types'; import { useMemo } from 'react'; -import { BN, BN_MAX_INTEGER, BN_ONE, bnMin, bnToBn, extractTime } from '@polkadot/util'; +import { BN_MAX_INTEGER, BN_ONE, bnMin, bnToBn, extractTime } from '@polkadot/util'; import { createNamedHook } from './createNamedHook.js'; import { useTranslation } from './translate.js'; diff --git a/packages/react-hooks/src/useElementPosition.ts b/packages/react-hooks/src/useElementPosition.ts index d6e61dbef2..8b6a60c890 100644 --- a/packages/react-hooks/src/useElementPosition.ts +++ b/packages/react-hooks/src/useElementPosition.ts @@ -1,7 +1,9 @@ // Copyright 2017-2023 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 -import React, { useEffect, useState } from 'react'; +import type React from 'react'; + +import { useEffect, useState } from 'react'; import { createNamedHook } from './createNamedHook.js'; import { useIsMountedRef } from './useIsMountedRef.js'; diff --git a/packages/react-hooks/src/useParaApi.ts b/packages/react-hooks/src/useParaApi.ts index 8e5425a761..49a5effe74 100644 --- a/packages/react-hooks/src/useParaApi.ts +++ b/packages/react-hooks/src/useParaApi.ts @@ -1,12 +1,12 @@ // Copyright 2017-2023 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { LinkOption } from '@polkadot/apps-config/endpoints/types'; import type { BN } from '@polkadot/util'; import { useEffect, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { arrayShuffle } from '@polkadot/util'; import { createNamedHook } from './createNamedHook.js'; diff --git a/packages/react-hooks/src/usePopupWindow.ts b/packages/react-hooks/src/usePopupWindow.ts index b67847d46d..2343b251eb 100644 --- a/packages/react-hooks/src/usePopupWindow.ts +++ b/packages/react-hooks/src/usePopupWindow.ts @@ -1,9 +1,10 @@ // Copyright 2017-2023 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type React from 'react'; import type { HorizontalPosition, VerticalPosition } from '@polkadot/react-components/Popup/types'; -import React, { useEffect, useMemo, useState } from 'react'; +import { useEffect, useMemo, useState } from 'react'; import { getPosition } from '@polkadot/react-components/Popup/utils'; diff --git a/packages/react-hooks/src/useVotingStatus.ts b/packages/react-hooks/src/useVotingStatus.ts index 31c85d0162..6d0a1c928a 100644 --- a/packages/react-hooks/src/useVotingStatus.ts +++ b/packages/react-hooks/src/useVotingStatus.ts @@ -1,13 +1,13 @@ // Copyright 2017-2023 @polkadot/react-hooks authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { BlockNumber, Votes } from '@polkadot/types/interfaces'; import type { BN } from '@polkadot/util'; import type { CollectiveType } from './types.js'; import { useMemo } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { isFunction } from '@polkadot/util'; import { createNamedHook } from './createNamedHook.js'; diff --git a/packages/react-signer/src/Address.tsx b/packages/react-signer/src/Address.tsx index dc08bcd653..3e24403831 100644 --- a/packages/react-signer/src/Address.tsx +++ b/packages/react-signer/src/Address.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { QueueTx } from '@polkadot/react-components/Status/types'; import type { Option, Vec } from '@polkadot/types'; @@ -12,7 +13,6 @@ import type { AddressFlags, AddressProxy } from './types.js'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { InputAddress, MarkError, Modal, Toggle } from '@polkadot/react-components'; import { useAccounts, useApi, useIsMountedRef } from '@polkadot/react-hooks'; import { BN_ZERO, isFunction } from '@polkadot/util'; diff --git a/packages/react-signer/src/TxSigned.tsx b/packages/react-signer/src/TxSigned.tsx index 769dfc4f0c..587db136e7 100644 --- a/packages/react-signer/src/TxSigned.tsx +++ b/packages/react-signer/src/TxSigned.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2023 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { SignerOptions } from '@polkadot/api/submittable/types'; import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { Ledger } from '@polkadot/hw-ledger'; @@ -14,7 +15,6 @@ import type { AddressFlags, AddressProxy, QrState } from './types.js'; import React, { useCallback, useEffect, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { web3FromSource } from '@polkadot/extension-dapp'; import { Button, ErrorBoundary, Modal, Output, styled, Toggle } from '@polkadot/react-components'; import { useApi, useLedger, useQueue, useToggle } from '@polkadot/react-hooks'; diff --git a/packages/react-signer/src/index.tsx b/packages/react-signer/src/index.tsx index c9971400de..d63f3aa8ba 100644 --- a/packages/react-signer/src/index.tsx +++ b/packages/react-signer/src/index.tsx @@ -1,13 +1,13 @@ // Copyright 2017-2023 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { QueueTx, QueueTxMessageSetStatus, QueueTxResult } from '@polkadot/react-components/Status/types'; import type { BareProps as Props } from '@polkadot/react-components/types'; import type { DefinitionRpcExt } from '@polkadot/types/types'; import React, { useCallback, useEffect, useMemo, useState } from 'react'; -import { ApiPromise } from '@polkadot/api'; import { Modal, styled } from '@polkadot/react-components'; import { useApi, useQueue } from '@polkadot/react-hooks'; import { assert, isFunction, loggerFormat } from '@polkadot/util'; diff --git a/packages/react-signer/src/util.ts b/packages/react-signer/src/util.ts index 7b6f20eb38..15841b9735 100644 --- a/packages/react-signer/src/util.ts +++ b/packages/react-signer/src/util.ts @@ -1,11 +1,11 @@ // Copyright 2017-2023 @polkadot/react-signer authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { SubmittableResult } from '@polkadot/api'; import type { KeyringPair } from '@polkadot/keyring/types'; import type { QueueTx, QueueTxMessageSetStatus, QueueTxStatus } from '@polkadot/react-components/Status/types'; import type { AddressFlags } from './types.js'; -import { SubmittableResult } from '@polkadot/api'; import { keyring } from '@polkadot/ui-keyring'; const NOOP = () => undefined; diff --git a/packages/test-support/scripts/lib/bountyWaitFunctions.ts b/packages/test-support/scripts/lib/bountyWaitFunctions.ts index a0bd87b0d0..d0242040b0 100644 --- a/packages/test-support/scripts/lib/bountyWaitFunctions.ts +++ b/packages/test-support/scripts/lib/bountyWaitFunctions.ts @@ -1,10 +1,10 @@ // Copyright 2017-2023 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { DeriveBounty } from '@polkadot/api-derive/types'; import type { WaitOptions } from '@polkadot/test-support/types'; -import { ApiPromise } from '@polkadot/api'; import { waitFor } from '@polkadot/test-support/utils'; type bStatus = 'isFunded' | 'isActive'; diff --git a/packages/test-support/scripts/lib/multiFunctions.ts b/packages/test-support/scripts/lib/multiFunctions.ts index 0def937692..6bd66e41bd 100644 --- a/packages/test-support/scripts/lib/multiFunctions.ts +++ b/packages/test-support/scripts/lib/multiFunctions.ts @@ -1,9 +1,9 @@ // Copyright 2017-2023 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { KeyringPair } from '@polkadot/keyring/types'; -import { ApiPromise } from '@polkadot/api'; import { execute } from '@polkadot/test-support/transaction'; import { BN } from '@polkadot/util'; diff --git a/packages/test-support/src/creation/bounties.ts b/packages/test-support/src/creation/bounties.ts index e12cc144dd..5979a3ff33 100644 --- a/packages/test-support/src/creation/bounties.ts +++ b/packages/test-support/src/creation/bounties.ts @@ -1,12 +1,11 @@ // Copyright 2017-2023 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { BountyIndex, BountyStatus } from '@polkadot/types/interfaces'; import type { PalletBountiesBounty } from '@polkadot/types/lookup'; import type { Registry } from '@polkadot/types/types'; -import { ApiPromise } from '@polkadot/api'; - import { balanceOf } from './balance.js'; export class BountyFactory { diff --git a/packages/test-support/src/creation/treasury.ts b/packages/test-support/src/creation/treasury.ts index a3b363105e..d5bc9b0c04 100644 --- a/packages/test-support/src/creation/treasury.ts +++ b/packages/test-support/src/creation/treasury.ts @@ -1,10 +1,10 @@ // Copyright 2017-2023 @polkadot/test-support authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { ApiPromise } from '@polkadot/api'; import type { SubmittableExtrinsic } from '@polkadot/api/types'; import type { DeriveCollectiveProposal } from '@polkadot/api-derive/types'; -import { ApiPromise } from '@polkadot/api'; import { BN_ONE, BN_ZERO } from '@polkadot/util'; import { alice, bob } from '../keyring/addresses.js'; diff --git a/packages/test-support/src/react/apiInTests.ts b/packages/test-support/src/react/apiInTests.ts index ac6b9597d5..90efba94a7 100644 --- a/packages/test-support/src/react/apiInTests.ts +++ b/packages/test-support/src/react/apiInTests.ts @@ -2,8 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { PropsWithChildren } from 'react'; - -import React from 'react'; +import type React from 'react'; import { useApi } from '@polkadot/react-hooks'; diff --git a/packages/test-support/src/utils/balance.ts b/packages/test-support/src/utils/balance.ts index c6d640823f..e8eede462d 100644 --- a/packages/test-support/src/utils/balance.ts +++ b/packages/test-support/src/utils/balance.ts @@ -2,8 +2,9 @@ // SPDX-License-Identifier: Apache-2.0 import type { Balance } from '@polkadot/types/interfaces'; +import type { BN } from '@polkadot/util'; -import { BN, formatBalance } from '@polkadot/util'; +import { formatBalance } from '@polkadot/util'; import { balanceOf } from '../creation/balance.js'; diff --git a/packages/test-support/src/utils/mockApiHooks.ts b/packages/test-support/src/utils/mockApiHooks.ts index fa6c8b372a..0354e4ef9a 100644 --- a/packages/test-support/src/utils/mockApiHooks.ts +++ b/packages/test-support/src/utils/mockApiHooks.ts @@ -3,8 +3,7 @@ import type { Registrar } from '@polkadot/react-hooks/types'; import type { H256, Multisig, ProxyDefinition, RegistrationJudgement, Voting } from '@polkadot/types/interfaces'; - -import { BN } from '@polkadot/util'; +import type { BN } from '@polkadot/util'; class MockApiHooks { public multisigApprovals: [H256, Multisig][] | undefined = []; diff --git a/yarn.lock b/yarn.lock index e0454c5d63..1b36450323 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1719,7 +1719,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/apps-electron@workspace:packages/apps-electron" dependencies: - "@polkadot/dev": ^0.72.43 + "@polkadot/dev": ^0.73.1 "@polkadot/react-components": ^0.127.2-8-x "@types/react-dom": ^18.0.11 "@types/tmp": ^0.2.3 @@ -1745,7 +1745,7 @@ __metadata: dependencies: "@polkadot/apps-config": ^0.127.2-8-x "@polkadot/apps-routing": ^0.127.2-8-x - "@polkadot/dev": ^0.72.43 + "@polkadot/dev": ^0.73.1 "@polkadot/react-api": ^0.127.2-8-x "@polkadot/react-components": ^0.127.2-8-x "@polkadot/react-hooks": ^0.127.2-8-x @@ -1773,34 +1773,34 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/dev-test@npm:^0.72.43": - version: 0.72.43 - resolution: "@polkadot/dev-test@npm:0.72.43" +"@polkadot/dev-test@npm:^0.73.1": + version: 0.73.1 + resolution: "@polkadot/dev-test@npm:0.73.1" dependencies: jsdom: ^21.1.1 tslib: ^2.5.0 - checksum: c7675d4338bc7dd77a7b281e50f50a8c667aea516669b3b3ac522afbecbc4689be4b13273642c02aa7277eb67d0843646da6790c7310074d640d98dc30d067cf + checksum: b77723ea9cc92b0f0276a3c5e32f036b5838a0f1bdaf57e7adfb144cb24fa668852dda32a5a034332b24184327ceb5eddbd546830cc88f91cd3cab8cdbf1d288 languageName: node linkType: hard -"@polkadot/dev-ts@npm:^0.72.43": - version: 0.72.43 - resolution: "@polkadot/dev-ts@npm:0.72.43" +"@polkadot/dev-ts@npm:^0.73.1": + version: 0.73.1 + resolution: "@polkadot/dev-ts@npm:0.73.1" dependencies: json5: ^2.2.3 tslib: ^2.5.0 typescript: ^5.0.4 - checksum: 848c08c83f1e599322cd6afdd5562d4f51f82573cc2d12cb0a6b49554eee11d264ffb58d4b2a0359643d0854033877f2c020a2713709e360775375181c49bd25 + checksum: a594a30d6d552d80e6932f3b3576a1e1c8c4ac7c49b3f9470575dcdfe27b35d07f89b4fd83e94d822638f85ebd5b5299815b3a6241f5f59e38979be75807d5e5 languageName: node linkType: hard -"@polkadot/dev@npm:^0.72.43": - version: 0.72.43 - resolution: "@polkadot/dev@npm:0.72.43" +"@polkadot/dev@npm:^0.73.1": + version: 0.73.1 + resolution: "@polkadot/dev@npm:0.73.1" dependencies: "@eslint/js": ^8.38.0 - "@polkadot/dev-test": ^0.72.43 - "@polkadot/dev-ts": ^0.72.43 + "@polkadot/dev-test": ^0.73.1 + "@polkadot/dev-ts": ^0.73.1 "@rollup/plugin-alias": ^5.0.0 "@rollup/plugin-commonjs": ^24.1.0 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -1808,9 +1808,10 @@ __metadata: "@rollup/plugin-json": ^6.0.0 "@rollup/plugin-node-resolve": ^15.0.2 "@rushstack/eslint-patch": ^1.2.0 - "@tsconfig/strictest": ^2.0.0 - "@typescript-eslint/eslint-plugin": ^5.58.0 - "@typescript-eslint/parser": ^5.58.0 + "@tsconfig/esm": ^1.0.3 + "@tsconfig/strictest": ^2.0.1 + "@typescript-eslint/eslint-plugin": ^5.59.0 + "@typescript-eslint/parser": ^5.59.0 eslint: ^8.38.0 eslint-config-standard: ^17.0.0 eslint-import-resolver-node: ^0.3.7 @@ -1828,13 +1829,13 @@ __metadata: gh-pages: ^5.0.0 gh-release: ^7.0.2 madge: ^6.0.0 - rollup: ^3.20.2 + rollup: ^3.20.7 rollup-plugin-cleanup: ^3.2.1 tslib: ^2.5.0 typescript: ^5.0.4 - webpack: ^5.79.0 + webpack: ^5.80.0 webpack-cli: ^5.0.1 - webpack-dev-server: ^4.13.2 + webpack-dev-server: ^4.13.3 webpack-merge: ^5.8.0 webpack-subresource-integrity: ^5.2.0-rc.1 yargs: ^17.7.1 @@ -1862,7 +1863,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 77de56882855209cc02b9f5b4e37faea5971c9652486d596959703863923aebca4088aeac12fb03471c0c3fdf8715f4298e9529e70819851e3eb3f0c2cb1f0a3 + checksum: 36040232f4be9e8e5257f2df6cfbc18316cc9d44a1f3e87c8a12cc603bef8f836e1fc4d45cee7e6b4681f408c6706f01c7397d1f7acbc56ca9dac0f90c0bfe34 languageName: node linkType: hard @@ -2844,10 +2845,17 @@ __metadata: languageName: node linkType: hard -"@tsconfig/strictest@npm:^2.0.0": - version: 2.0.0 - resolution: "@tsconfig/strictest@npm:2.0.0" - checksum: a21d79fb3eb587e3e61b5bf3e4f52bc2a4f471ca4f3b1effe93849b97a36723cecfbef8181bac2c68cba9b44ef6b220cbe64194d17826622402de144383440f3 +"@tsconfig/esm@npm:^1.0.3": + version: 1.0.3 + resolution: "@tsconfig/esm@npm:1.0.3" + checksum: 07216f491c2603fbd7a5c214f39a2efa183c810dabb77d282ae930bab62f99ff7dbb2ddd7372e5e56ce72e8fb55eb92e3ee5dd6a46c0a7f980c1b59c402fa60b + languageName: node + linkType: hard + +"@tsconfig/strictest@npm:^2.0.1": + version: 2.0.1 + resolution: "@tsconfig/strictest@npm:2.0.1" + checksum: 3a9b913e06c20fee0a002fc22a925370525dd917853dee2e0082de763b10a61a69d72d60d02e243629da94b3e0b98843469a3b063c0ab2a5d6716183867dd114 languageName: node linkType: hard @@ -3149,13 +3157,6 @@ __metadata: languageName: node linkType: hard -"@types/json5@npm:^0.0.29": - version: 0.0.29 - resolution: "@types/json5@npm:0.0.29" - checksum: e60b153664572116dfea673c5bda7778dbff150498f44f998e34b5886d8afc47f16799280e4b6e241c0472aef1bc36add771c569c68fc5125fc2ae519a3eb9ac - languageName: node - linkType: hard - "@types/keyv@npm:*, @types/keyv@npm:^3.1.1": version: 3.1.1 resolution: "@types/keyv@npm:3.1.1" @@ -3598,14 +3599,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/eslint-plugin@npm:5.58.0" +"@typescript-eslint/eslint-plugin@npm:^5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.59.0" dependencies: "@eslint-community/regexpp": ^4.4.0 - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/type-utils": 5.58.0 - "@typescript-eslint/utils": 5.58.0 + "@typescript-eslint/scope-manager": 5.59.0 + "@typescript-eslint/type-utils": 5.59.0 + "@typescript-eslint/utils": 5.59.0 debug: ^4.3.4 grapheme-splitter: ^1.0.4 ignore: ^5.2.0 @@ -3618,43 +3619,43 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: e5d76d43c466ebd4b552e3307eff72ab5ae8a0c09a1d35fa13b62769ac3336df94d9281728ab5aafd2c14a0a644133583edcd708fce60a9a82df1db3ca3b8e14 + checksum: 3b2582fe7baa9bf7733be79c6e35a390806f91c8d5ba5b604f71cb3635fb36abc975b926195c3ef5c6a4018bb94f66e009d727e3af2ce8b92c96aa3ee9ed194a languageName: node linkType: hard -"@typescript-eslint/parser@npm:^5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/parser@npm:5.58.0" +"@typescript-eslint/parser@npm:^5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/parser@npm:5.59.0" dependencies: - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/typescript-estree": 5.58.0 + "@typescript-eslint/scope-manager": 5.59.0 + "@typescript-eslint/types": 5.59.0 + "@typescript-eslint/typescript-estree": 5.59.0 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 38681da48a40132c0538579c818ceef9ba2793ab8f79236c3f64980ba1649bb87cb367cd79d37bf2982b8bfbc28f91846b8676f9bd333e8b691c9befffd8874a + checksum: 1a442d6b776fc1dca4fe104bac77eae0a59b807ba11cef00dec8f5dbbc0fb4e5fc10519eac03dd94d52e4dd6d814800d0e5c0a3bd43eefce80d829c65ba47ad0 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/scope-manager@npm:5.58.0" +"@typescript-eslint/scope-manager@npm:5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/scope-manager@npm:5.59.0" dependencies: - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/visitor-keys": 5.58.0 - checksum: f0d3df5cc3c461fe63ef89ad886b53c239cc7c1d9061d83d8a9d9c8e087e5501eac84bebff8a954728c17ccea191f235686373d54d2b8b6370af2bcf2b18e062 + "@typescript-eslint/types": 5.59.0 + "@typescript-eslint/visitor-keys": 5.59.0 + checksum: dd89cd34291f7674edcbe9628748faa61dbf7199f9776586167e81fd91b93ba3a7f0ddd493c559c0dbb805b58629858fae648d56550e8ac5330b2ed1802b0178 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/type-utils@npm:5.58.0" +"@typescript-eslint/type-utils@npm:5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/type-utils@npm:5.59.0" dependencies: - "@typescript-eslint/typescript-estree": 5.58.0 - "@typescript-eslint/utils": 5.58.0 + "@typescript-eslint/typescript-estree": 5.59.0 + "@typescript-eslint/utils": 5.59.0 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -3662,7 +3663,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 803f24daed185152bf86952d4acebb5ea18ff03db5f28750368edf76fdea46b4b0f8803ae0b61c0282b47181c9977113457b16e33d5d2cb33b13855f55c5e5b2 + checksum: 811981ea117808315fe37ce8489ae6e20979f588cf0fdef2bd969d58c505ececff0bccf7957f3b178933028433ce28764ebc9fea32a35a4c2da81b5b1e98b454 languageName: node linkType: hard @@ -3673,19 +3674,19 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/types@npm:5.58.0" - checksum: 8622a73d73220c4a7111537825f488c0271272032a1d4e129dc722bc6e8b3ec84f64469b2ca3b8dae7da3a9c18953ce1449af51f5f757dad60835eb579ad1d2c +"@typescript-eslint/types@npm:5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/types@npm:5.59.0" + checksum: 5dc608a867b07b4262a236a264a65e894f841388b3aba461c4c1a30d76a2c3aed0c6a1e3d1ea2f64cce55e783091bafb826bf01a0ef83258820af63da860addf languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:5.58.0, @typescript-eslint/typescript-estree@npm:^5.13.0": - version: 5.58.0 - resolution: "@typescript-eslint/typescript-estree@npm:5.58.0" +"@typescript-eslint/typescript-estree@npm:5.59.0, @typescript-eslint/typescript-estree@npm:^5.13.0": + version: 5.59.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.59.0" dependencies: - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/visitor-keys": 5.58.0 + "@typescript-eslint/types": 5.59.0 + "@typescript-eslint/visitor-keys": 5.59.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -3694,7 +3695,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 51b668ec858db0c040a71dff526273945cee4ba5a9b240528d503d02526685882d900cf071c6636a4d9061ed3fd4a7274f7f1a23fba55c4b48b143344b4009c7 + checksum: d80f2766e2830dc830b9f4f1b9e744e1e7a285ebe72babdf0970f75bfe26cb832c6623bb836a53c48f1e707069d1e407ac1ea095bd583807007f713ba6e2e0e1 languageName: node linkType: hard @@ -3716,21 +3717,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.58.0, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0": - version: 5.58.0 - resolution: "@typescript-eslint/utils@npm:5.58.0" +"@typescript-eslint/utils@npm:5.59.0, @typescript-eslint/utils@npm:^5.10.0, @typescript-eslint/utils@npm:^5.57.0": + version: 5.59.0 + resolution: "@typescript-eslint/utils@npm:5.59.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@types/json-schema": ^7.0.9 "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.58.0 - "@typescript-eslint/types": 5.58.0 - "@typescript-eslint/typescript-estree": 5.58.0 + "@typescript-eslint/scope-manager": 5.59.0 + "@typescript-eslint/types": 5.59.0 + "@typescript-eslint/typescript-estree": 5.59.0 eslint-scope: ^5.1.1 semver: ^7.3.7 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: c618ae67963ecf96b1492c09afaeb363f542f0d6780bcac4af3c26034e3b20034666b2d523aa94821df813aafb57a0b150a7d5c2224fe8257452ad1de2237a58 + checksum: 228318df02f2381f859af184cafa5de4146a2e1518a5062444bf9bd7d468e058f9bd93a3e46cc4683d9bd02159648f416e5c7c539901ca16142456cae3c1af5f languageName: node linkType: hard @@ -3744,13 +3745,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:5.58.0": - version: 5.58.0 - resolution: "@typescript-eslint/visitor-keys@npm:5.58.0" +"@typescript-eslint/visitor-keys@npm:5.59.0": + version: 5.59.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.59.0" dependencies: - "@typescript-eslint/types": 5.58.0 + "@typescript-eslint/types": 5.59.0 eslint-visitor-keys: ^3.3.0 - checksum: ab2d1f37660559954c840429ef78bbf71834063557e3e68e435005b4987970b9356fdf217ead53f7a57f66f5488dc478062c5c44bf17053a8bf041733539b98f + checksum: e21656de02e221a27a5fe9f7fd34a1ca28530e47675134425f84fd0d1f276695fe39e35120837a491b02255d49aa2fd871e2c858ecccc66c687db972d057bd1c languageName: node linkType: hard @@ -3794,154 +3795,154 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/ast@npm:1.11.1" +"@webassemblyjs/ast@npm:1.11.5, @webassemblyjs/ast@npm:^1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/ast@npm:1.11.5" dependencies: - "@webassemblyjs/helper-numbers": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - checksum: 1eee1534adebeece635362f8e834ae03e389281972611408d64be7895fc49f48f98fddbbb5339bf8a72cb101bcb066e8bca3ca1bf1ef47dadf89def0395a8d87 + "@webassemblyjs/helper-numbers": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + checksum: 7df16d8d4364d40e2506776330f8114fddc6494e6e18e8d5ec386312a0881a564cef136b0a74cc4a6ba284e2ff6bad890ddc029a0ba6cf45cc15186e638db118 languageName: node linkType: hard -"@webassemblyjs/floating-point-hex-parser@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.11.1" - checksum: b8efc6fa08e4787b7f8e682182d84dfdf8da9d9c77cae5d293818bc4a55c1f419a87fa265ab85252b3e6c1fd323d799efea68d825d341a7c365c64bc14750e97 +"@webassemblyjs/floating-point-hex-parser@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.11.5" + checksum: a6f35e3035a1ec4e446fa43da01539f3ed7e0f4b53d152f36ff34be1b63b08d86c4b09b6af375c95472a75f0c37b3b98b07199d157e767b8b3274e7a3962890c languageName: node linkType: hard -"@webassemblyjs/helper-api-error@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-api-error@npm:1.11.1" - checksum: 0792813f0ed4a0e5ee0750e8b5d0c631f08e927f4bdfdd9fe9105dc410c786850b8c61bff7f9f515fdfb149903bec3c976a1310573a4c6866a94d49bc7271959 +"@webassemblyjs/helper-api-error@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-api-error@npm:1.11.5" + checksum: 717a6ffb3283bd24a7b74710c9bd3d71ec331a26c15446441af19fae9f087e36acb8dcf25b900b6897a1d1eff838e463fe678d66281e7eccee9a3ac0e3447372 languageName: node linkType: hard -"@webassemblyjs/helper-buffer@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-buffer@npm:1.11.1" - checksum: a337ee44b45590c3a30db5a8b7b68a717526cf967ada9f10253995294dbd70a58b2da2165222e0b9830cd4fc6e4c833bf441a721128d1fe2e9a7ab26b36003ce +"@webassemblyjs/helper-buffer@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-buffer@npm:1.11.5" + checksum: 2c0925b1c3c9b115c183b88d9cf1a12e87fa4fc83ef985aa2a65d72cda543eba6b73b378d231b4feb810b17d3aa6cd297bd603199854346f8a50e3458d7ebbc0 languageName: node linkType: hard -"@webassemblyjs/helper-numbers@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-numbers@npm:1.11.1" +"@webassemblyjs/helper-numbers@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-numbers@npm:1.11.5" dependencies: - "@webassemblyjs/floating-point-hex-parser": 1.11.1 - "@webassemblyjs/helper-api-error": 1.11.1 + "@webassemblyjs/floating-point-hex-parser": 1.11.5 + "@webassemblyjs/helper-api-error": 1.11.5 "@xtuc/long": 4.2.2 - checksum: 44d2905dac2f14d1e9b5765cf1063a0fa3d57295c6d8930f6c59a36462afecc6e763e8a110b97b342a0f13376166c5d41aa928e6ced92e2f06b071fd0db59d3a + checksum: 49c8bbf561d4df38009e38e6357c396f4454773fd31a03579a8e050a2b28053f5c47f675f00a37f79a65082c938c2159fa603049688ac01b1bafdb472c21110c languageName: node linkType: hard -"@webassemblyjs/helper-wasm-bytecode@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.11.1" - checksum: eac400113127832c88f5826bcc3ad1c0db9b3dbd4c51a723cfdb16af6bfcbceb608170fdaac0ab7731a7e18b291be7af68a47fcdb41cfe0260c10857e7413d97 +"@webassemblyjs/helper-wasm-bytecode@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.11.5" + checksum: 4e868de92587e131a7f22bc4eb44eee60c178d4c2c3eeabcb973b4eac73ec477f25d5f838394797265dbe4b600e781c6e150c762a45f249b94bf0711e73409a7 languageName: node linkType: hard -"@webassemblyjs/helper-wasm-section@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/helper-wasm-section@npm:1.11.1" +"@webassemblyjs/helper-wasm-section@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/helper-wasm-section@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-buffer": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - "@webassemblyjs/wasm-gen": 1.11.1 - checksum: 617696cfe8ecaf0532763162aaf748eb69096fb27950219bb87686c6b2e66e11cd0614d95d319d0ab1904bc14ebe4e29068b12c3e7c5e020281379741fe4bedf + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-buffer": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + "@webassemblyjs/wasm-gen": 1.11.5 + checksum: 1752d7e0dbbf236a5cdc2257e1626a3562bfb0a7d2e967dc5e798c73088f18f20a991491565e2ffee61615f08035b4760e7aa080380bb60b86b393b6eb7486ae languageName: node linkType: hard -"@webassemblyjs/ieee754@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/ieee754@npm:1.11.1" +"@webassemblyjs/ieee754@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/ieee754@npm:1.11.5" dependencies: "@xtuc/ieee754": ^1.2.0 - checksum: 23a0ac02a50f244471631802798a816524df17e56b1ef929f0c73e3cde70eaf105a24130105c60aff9d64a24ce3b640dad443d6f86e5967f922943a7115022ec + checksum: 68a855a3e3dd488fff4d2d100e491cb6ac07f728c9432f3216b8e1bb0a374b397b0a5f58fd3b71195e525d49c0c827db15c18897e1c220c629e759b19978e64c languageName: node linkType: hard -"@webassemblyjs/leb128@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/leb128@npm:1.11.1" +"@webassemblyjs/leb128@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/leb128@npm:1.11.5" dependencies: "@xtuc/long": 4.2.2 - checksum: 33ccc4ade2f24de07bf31690844d0b1ad224304ee2062b0e464a610b0209c79e0b3009ac190efe0e6bd568b0d1578d7c3047fc1f9d0197c92fc061f56224ff4a + checksum: 555314708b6615c203c31a9dd810141c6de728e0043c2169ca69905ccf4d8603102994cb74ac5d057ac229bfc2be40f69cad2edd134ef2b909ef694eefe7bba6 languageName: node linkType: hard -"@webassemblyjs/utf8@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/utf8@npm:1.11.1" - checksum: 972c5cfc769d7af79313a6bfb96517253a270a4bf0c33ba486aa43cac43917184fb35e51dfc9e6b5601548cd5931479a42e42c89a13bb591ffabebf30c8a6a0b +"@webassemblyjs/utf8@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/utf8@npm:1.11.5" + checksum: d8f67a5650d9bf26810da76e72d0547211a44f30f35657953f547e08185facb39ff326920bddec96d35b5cc65e4e66b1f23c6461847e2f93fad2a60b0bb20211 languageName: node linkType: hard -"@webassemblyjs/wasm-edit@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wasm-edit@npm:1.11.1" +"@webassemblyjs/wasm-edit@npm:^1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wasm-edit@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-buffer": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - "@webassemblyjs/helper-wasm-section": 1.11.1 - "@webassemblyjs/wasm-gen": 1.11.1 - "@webassemblyjs/wasm-opt": 1.11.1 - "@webassemblyjs/wasm-parser": 1.11.1 - "@webassemblyjs/wast-printer": 1.11.1 - checksum: 6d7d9efaec1227e7ef7585a5d7ff0be5f329f7c1c6b6c0e906b18ed2e9a28792a5635e450aca2d136770d0207225f204eff70a4b8fd879d3ac79e1dcc26dbeb9 + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-buffer": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + "@webassemblyjs/helper-wasm-section": 1.11.5 + "@webassemblyjs/wasm-gen": 1.11.5 + "@webassemblyjs/wasm-opt": 1.11.5 + "@webassemblyjs/wasm-parser": 1.11.5 + "@webassemblyjs/wast-printer": 1.11.5 + checksum: 790142a1e282848201c7b68860aabc0141ee44a98a62c3f0af05f8de3cc69b439c3af54ae9a06acbbfbf7fd192b30ee97fb31eda3e08973cae373534ad2135c7 languageName: node linkType: hard -"@webassemblyjs/wasm-gen@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wasm-gen@npm:1.11.1" +"@webassemblyjs/wasm-gen@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wasm-gen@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - "@webassemblyjs/ieee754": 1.11.1 - "@webassemblyjs/leb128": 1.11.1 - "@webassemblyjs/utf8": 1.11.1 - checksum: 1f6921e640293bf99fb16b21e09acb59b340a79f986c8f979853a0ae9f0b58557534b81e02ea2b4ef11e929d946708533fd0693c7f3712924128fdafd6465f5b + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + "@webassemblyjs/ieee754": 1.11.5 + "@webassemblyjs/leb128": 1.11.5 + "@webassemblyjs/utf8": 1.11.5 + checksum: 0122df4e5ce52d873f19f34b3ebe8237072e9e6a69667cbec42a2d98ba49f85ea2ed3d935195e6a7ad4f64b9dd7da42883f057fe1103d2062bc90f3428b063fe languageName: node linkType: hard -"@webassemblyjs/wasm-opt@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wasm-opt@npm:1.11.1" +"@webassemblyjs/wasm-opt@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wasm-opt@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-buffer": 1.11.1 - "@webassemblyjs/wasm-gen": 1.11.1 - "@webassemblyjs/wasm-parser": 1.11.1 - checksum: 21586883a20009e2b20feb67bdc451bbc6942252e038aae4c3a08e6f67b6bae0f5f88f20bfc7bd0452db5000bacaf5ab42b98cf9aa034a6c70e9fc616142e1db + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-buffer": 1.11.5 + "@webassemblyjs/wasm-gen": 1.11.5 + "@webassemblyjs/wasm-parser": 1.11.5 + checksum: f9416b0dece071e308616fb30e560f0c3c53b5bb23cc4409781b8c47d31e935b27e9a248c65aee9dd9136271e37a4c5cb0971b27e5adf623020fbb298423fe55 languageName: node linkType: hard -"@webassemblyjs/wasm-parser@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wasm-parser@npm:1.11.1" +"@webassemblyjs/wasm-parser@npm:1.11.5, @webassemblyjs/wasm-parser@npm:^1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wasm-parser@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/helper-api-error": 1.11.1 - "@webassemblyjs/helper-wasm-bytecode": 1.11.1 - "@webassemblyjs/ieee754": 1.11.1 - "@webassemblyjs/leb128": 1.11.1 - "@webassemblyjs/utf8": 1.11.1 - checksum: 1521644065c360e7b27fad9f4bb2df1802d134dd62937fa1f601a1975cde56bc31a57b6e26408b9ee0228626ff3ba1131ae6f74ffb7d718415b6528c5a6dbfc2 + "@webassemblyjs/ast": 1.11.5 + "@webassemblyjs/helper-api-error": 1.11.5 + "@webassemblyjs/helper-wasm-bytecode": 1.11.5 + "@webassemblyjs/ieee754": 1.11.5 + "@webassemblyjs/leb128": 1.11.5 + "@webassemblyjs/utf8": 1.11.5 + checksum: 094b3df07532cd2a1db91710622cbaf3d7467a361f9f73dc564999385a472fcc08497d8ccf9294bd7c8813d5e2056c06a81e032abb60520168899605fde9b12c languageName: node linkType: hard -"@webassemblyjs/wast-printer@npm:1.11.1": - version: 1.11.1 - resolution: "@webassemblyjs/wast-printer@npm:1.11.1" +"@webassemblyjs/wast-printer@npm:1.11.5": + version: 1.11.5 + resolution: "@webassemblyjs/wast-printer@npm:1.11.5" dependencies: - "@webassemblyjs/ast": 1.11.1 + "@webassemblyjs/ast": 1.11.5 "@xtuc/long": 4.2.2 - checksum: f15ae4c2441b979a3b4fce78f3d83472fb22350c6dc3fd34bfe7c3da108e0b2360718734d961bba20e7716cb8578e964b870da55b035e209e50ec9db0378a3f7 + checksum: c2995224c56b403be7fce7afbb3ad6b2ceadce07a47b28bce745eabb0435fa363c0180bca907d28703ece02422d0de219e689253b55de288c79b8f92416c1d71 languageName: node linkType: hard @@ -7508,13 +7509,13 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.10.0, enhanced-resolve@npm:^5.8.3": - version: 5.12.0 - resolution: "enhanced-resolve@npm:5.12.0" +"enhanced-resolve@npm:^5.0.0, enhanced-resolve@npm:^5.13.0, enhanced-resolve@npm:^5.8.3": + version: 5.13.0 + resolution: "enhanced-resolve@npm:5.13.0" dependencies: graceful-fs: ^4.2.4 tapable: ^2.2.0 - checksum: bf3f787facaf4ce3439bef59d148646344e372bef5557f0d37ea8aa02c51f50a925cd1f07b8d338f18992c29f544ec235a8c64bcdb56030196c48832a5494174 + checksum: 76d6844c4393d76beed5b3ce6cf5a98dee3ad5c84a9887f49ccde1224e3b7af201dfbd5a57ebf2b49f623b74883df262d50ff480d3cc02fc2881fc58b84e1bbe languageName: node linkType: hard @@ -11236,17 +11237,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"json5@npm:^1.0.1": - version: 1.0.1 - resolution: "json5@npm:1.0.1" - dependencies: - minimist: ^1.2.0 - bin: - json5: lib/cli.js - checksum: e76ea23dbb8fc1348c143da628134a98adf4c5a4e8ea2adaa74a80c455fc2cdf0e2e13e6398ef819bfe92306b610ebb2002668ed9fc1af386d593691ef346fc3 - languageName: node - linkType: hard - "json5@npm:^2.2.0, json5@npm:^2.2.2, json5@npm:^2.2.3": version: 2.2.3 resolution: "json5@npm:2.2.3" @@ -13583,7 +13573,7 @@ fsevents@~2.3.2: dependencies: "@crustio/crust-pin": ^1.0.0 "@pinata/sdk": ^1.2.1 - "@polkadot/dev": ^0.72.43 + "@polkadot/dev": ^0.73.1 "@types/chart.js": ^2.9.37 "@types/file-saver": ^2.0.5 "@types/react-beautiful-dnd": ^13.1.4 @@ -15004,9 +14994,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"rollup@npm:^3.20.2": - version: 3.20.2 - resolution: "rollup@npm:3.20.2" +"rollup@npm:^3.20.7": + version: 3.20.7 + resolution: "rollup@npm:3.20.7" dependencies: fsevents: ~2.3.2 dependenciesMeta: @@ -15014,7 +15004,7 @@ fsevents@~2.3.2: optional: true bin: rollup: dist/bin/rollup - checksum: 34b0932839b7c2a5d1742fb21ce95a47e0b49a0849f4abee2dccf25833187aa7babb898ca90d4fc761cffa4102b9ed0ac6ad7f6f6b96c8b8e2d67305abc5da65 + checksum: 443f26aa6e42b94b4b137fbc3a07c78254cafc4ae53e0547bf5a94337b0658ca100d4e1c7e24870e399e5c7068a419cc0d367bfd35f4b1552d0b5e6d3482c517 languageName: node linkType: hard @@ -15152,7 +15142,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"schema-utils@npm:^3.1.0, schema-utils@npm:^3.1.1": +"schema-utils@npm:^3.1.1, schema-utils@npm:^3.1.2": version: 3.1.2 resolution: "schema-utils@npm:3.1.2" dependencies: @@ -16703,19 +16693,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"tsconfig-paths@npm:^3.10.1, tsconfig-paths@npm:^3.14.1": - version: 3.14.1 - resolution: "tsconfig-paths@npm:3.14.1" - dependencies: - "@types/json5": ^0.0.29 - json5: ^1.0.1 - minimist: ^1.2.6 - strip-bom: ^3.0.0 - checksum: 8afa01c673ebb4782ba53d3a12df97fa837ce524f8ad38ee4e2b2fd57f5ac79abc21c574e9e9eb014d93efe7fe8214001b96233b5c6ea75bd1ea82afe17a4c6d - languageName: node - linkType: hard - -"tsconfig-paths@npm:^4.2.0": +"tsconfig-paths@npm:^4.0.0": version: 4.2.0 resolution: "tsconfig-paths@npm:4.2.0" dependencies: @@ -17873,9 +17851,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack-dev-server@npm:^4.13.2": - version: 4.13.2 - resolution: "webpack-dev-server@npm:4.13.2" +"webpack-dev-server@npm:^4.13.3": + version: 4.13.3 + resolution: "webpack-dev-server@npm:4.13.3" dependencies: "@types/bonjour": ^3.5.9 "@types/connect-history-api-fallback": ^1.3.5 @@ -17916,7 +17894,7 @@ fsevents@~2.3.2: optional: true bin: webpack-dev-server: bin/webpack-dev-server.js - checksum: 9bf573abf05b0e0f1e8219820f6264e25a0f8ee6aebed3c0d0449c24a37f88b575972e0a2bec426112ee37d48c8f5090e7754aa1873206d3c9b6344a54718232 + checksum: d019844d3bc384676921afadfbd0a95fd06e475f2d43604789a4a8f42f79a8fb37e745f15f47f352630046dd6c6c9694051a7552b34a056c59d3a601e74d6320 languageName: node linkType: hard @@ -17950,20 +17928,20 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack@npm:^5.79.0": - version: 5.79.0 - resolution: "webpack@npm:5.79.0" +"webpack@npm:^5.80.0": + version: 5.80.0 + resolution: "webpack@npm:5.80.0" dependencies: "@types/eslint-scope": ^3.7.3 "@types/estree": ^1.0.0 - "@webassemblyjs/ast": 1.11.1 - "@webassemblyjs/wasm-edit": 1.11.1 - "@webassemblyjs/wasm-parser": 1.11.1 + "@webassemblyjs/ast": ^1.11.5 + "@webassemblyjs/wasm-edit": ^1.11.5 + "@webassemblyjs/wasm-parser": ^1.11.5 acorn: ^8.7.1 acorn-import-assertions: ^1.7.6 browserslist: ^4.14.5 chrome-trace-event: ^1.0.2 - enhanced-resolve: ^5.10.0 + enhanced-resolve: ^5.13.0 es-module-lexer: ^1.2.1 eslint-scope: 5.1.1 events: ^3.2.0 @@ -17973,7 +17951,7 @@ fsevents@~2.3.2: loader-runner: ^4.2.0 mime-types: ^2.1.27 neo-async: ^2.6.2 - schema-utils: ^3.1.0 + schema-utils: ^3.1.2 tapable: ^2.1.1 terser-webpack-plugin: ^5.3.7 watchpack: ^2.4.0 @@ -17983,7 +17961,7 @@ fsevents@~2.3.2: optional: true bin: webpack: bin/webpack.js - checksum: 3fbd82dadc75c8f823c900c5d50263830b77e6be6a8abb26eec12f93dec94c2f07fa44c1ef1f28319682404e532d9707ed04ed6cb89af87ca7d544e435d8ef95 + checksum: 7b9229d64439ceb20372e0b1452025e2a37cf136f7867102e095b99c3f2bbaf8b0e7e8ff093278238e45b0b1efaae4ed5f0709be48c20e8dab94e94f11c8e5c7 languageName: node linkType: hard