Bump deps (common, local types) (#4726)

This commit is contained in:
Jaco Greeff 2021-02-25 07:55:48 +01:00 committed by GitHub
parent f6d8a5ca30
commit ddbf46e7a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
47 changed files with 916 additions and 819 deletions

View File

@ -12,17 +12,17 @@
"packages/*"
],
"resolutions": {
"@polkadot/api": "^3.10.2",
"@polkadot/api-contract": "^3.10.2",
"@polkadot/hw-ledger": "^5.7.1",
"@polkadot/keyring": "^5.7.1",
"@polkadot/networks": "^5.7.1",
"@polkadot/phishing": "^0.5.34",
"@polkadot/types": "^3.10.2",
"@polkadot/util": "^5.7.1",
"@polkadot/util-crypto": "^5.7.1",
"@polkadot/wasm-crypto": "^3.2.3",
"@polkadot/x-rxjs": "^5.7.1",
"@polkadot/api": "^3.10.3-5",
"@polkadot/api-contract": "^3.10.3-5",
"@polkadot/hw-ledger": "^5.7.2-3",
"@polkadot/keyring": "^5.7.2-3",
"@polkadot/networks": "^5.7.2-3",
"@polkadot/phishing": "^0.5.37",
"@polkadot/types": "^3.10.3-5",
"@polkadot/util": "^5.7.2-3",
"@polkadot/util-crypto": "^5.7.2-3",
"@polkadot/wasm-crypto": "^3.2.4",
"@polkadot/x-rxjs": "^5.7.2-3",
"babel-core": "^7.0.0-bridge.0",
"styled-components": "^5.2.0",
"typescript": "^4.1.5"
@ -60,15 +60,15 @@
"test": "polkadot-dev-run-test --selectProjects=fast-tests --silent --testPathIgnorePatterns slow --testNamePattern='^((?!--SLOW--).)*$'",
"test:all": "polkadot-dev-run-test --selectProjects=all-tests --silent",
"test:one": "polkadot-dev-run-test",
"start": "yarn clean && cd packages/apps && yarn webpack-cli serve --config webpack.serve.js --port 3000 --watch",
"start": "yarn clean && cd packages/apps && yarn webpack-cli serve --config webpack.serve.js --port 3000",
"start:electron": "yarn clean:electronBuild && concurrently 'yarn build:devElectronMain && cd packages/apps-electron && electron ./build/electron.js' 'yarn build:devElectronRenderer'"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/register": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@babel/core": "^7.13.1",
"@babel/register": "^7.13.0",
"@babel/runtime": "^7.13.7",
"@pinata/sdk": "^1.1.11",
"@polkadot/dev": "^0.61.26",
"@polkadot/dev": "^0.61.27",
"@polkadot/ts": "^0.3.59",
"@types/bn.js": "^4.11.6",
"@types/chart.js": "^2.9.30",
@ -76,7 +76,7 @@
"@types/jest": "^26.0.20",
"@types/react-beautiful-dnd": "^13.0.0",
"@types/react-copy-to-clipboard": "^5.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-dom": "^17.0.1",
"@types/react-router-dom": "^5.1.7",
"@types/store": "^2.0.2",
"@types/styled-components": "^5.1.7",
@ -96,7 +96,7 @@
"stylelint": "^13.9.0",
"stylelint-config-recommended": "^3.0.0",
"stylelint-config-styled-components": "^0.1.1",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0"
"webpack": "^5.24.2",
"webpack-cli": "^4.5.0"
}
}

View File

@ -10,15 +10,15 @@
"license": "Apache-2.0",
"dependencies": {
"@acala-network/type-definitions": "^0.6.2-12",
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@darwinia/types": "^1.1.0-alpha.1",
"@edgeware/node-types": "^3.3.1",
"@interlay/polkabtc-types": "^0.3.4",
"@laminar/type-definitions": "^0.2.0-beta.143",
"@polkadot/networks": "^5.7.1",
"@edgeware/node-types": "^3.3.2",
"@interlay/polkabtc-types": "^0.5.0",
"@laminar/type-definitions": "^0.3.1",
"@polkadot/networks": "^5.7.2-3",
"@snowfork/snowbridge-types": "^0.2.3",
"@sora-substrate/type-definitions": "^0.4.1",
"@subsocial/types": "^0.4.29",
"@sora-substrate/type-definitions": "^0.4.7",
"@subsocial/types": "^0.4.33-w3f-grant2",
"moonbeam-types-bundle": "1.1.6"
},
"devDependencies": {

View File

@ -5,4 +5,4 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types';
import { typesBundleForPolkadot } from '@laminar/type-definitions';
export default typesBundleForPolkadot.spec.acala as OverrideBundleDefinition;
export default typesBundleForPolkadot.spec.laminar as unknown as OverrideBundleDefinition;

View File

@ -4,23 +4,23 @@
"private": true,
"version": "0.81.2-9",
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/core": "^7.13.1",
"@babel/polyfill": "^7.12.1",
"@polkadot/dev": "^0.61.26",
"@polkadot/dev": "^0.61.27",
"@polkadot/react-components": "^0.81.2-9",
"electron-log": "^4.3.1",
"electron-updater": "^4.3.7"
},
"devDependencies": {
"@types/react-dom": "^17.0.0",
"@types/react-dom": "^17.0.1",
"@types/tmp": "^0.2.0",
"babel-loader": "^8.2.2",
"copy-webpack-plugin": "^7.0.0",
"html-webpack-plugin": "^4.5.1",
"html-webpack-plugin": "^4.5.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"thread-loader": "^3.0.1",
"tmp": "^0.2.1",
"webpack": "^5.19.0"
"webpack": "^5.24.2"
}
}

View File

@ -9,6 +9,6 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5"
"@babel/runtime": "^7.13.7"
}
}

View File

@ -11,12 +11,12 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/core": "^7.13.1",
"@babel/polyfill": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/apps-config": "^0.81.2-9",
"@polkadot/apps-routing": "^0.81.2-9",
"@polkadot/dev": "^0.61.26",
"@polkadot/dev": "^0.61.27",
"@polkadot/react-api": "^0.81.2-9",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-hooks": "^0.81.2-9",
@ -32,20 +32,20 @@
"buffer": "^6.0.3",
"copy-webpack-plugin": "^7.0.0",
"crypto-browserify": "^3.12.0",
"css-loader": "^5.0.1",
"css-loader": "^5.0.2",
"empty": "^0.10.1",
"file-loader": "^6.2.0",
"html-loader": "^1.3.2",
"html-webpack-plugin": "^4.5.1",
"html-webpack-plugin": "^4.5.2",
"markdown-loader": "^6.0.0",
"mini-css-extract-plugin": "^1.3.5",
"mini-css-extract-plugin": "^1.3.8",
"null-loader": "^4.0.1",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"url-loader": "^4.1.1",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0",
"webpack": "^5.24.2",
"webpack-cli": "^4.5.0",
"webpack-dev-server": "^4.0.0-beta.0",
"webpack-merge": "^5.7.3"
}

View File

@ -9,8 +9,8 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/phishing": "^0.5.34",
"@babel/runtime": "^7.13.7",
"@polkadot/phishing": "^0.5.37",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/vanitygen": "^0.29.1",
"detect-browser": "^5.2.0",

View File

@ -9,12 +9,12 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"file-saver": "^2.0.5"
},
"devDependencies": {
"@testing-library/react": "^11.2.3",
"@testing-library/react": "^11.2.5",
"testcontainers": "^6.4.2"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
},
"devDependencies": {

View File

@ -46,7 +46,7 @@ jest.mock('./hooks/useBounties', () => ({
let aProposal: (extrinsic: SubmittableExtrinsic<'promise'>, ayes?: string[], nays?: string[]) => DeriveCollectiveProposal;
let augmentedApi: ApiPromise;
let aBounty: ({ status, value }?: Partial<Bounty>) => Bounty;
let aBountyIndex: (index?:number) => BountyIndex;
let aBountyIndex: (index?: number) => BountyIndex;
let bountyStatusWith: ({ curator, status, updateDue }: { curator?: string, status?: string, updateDue?: number}) => BountyStatus;
let bountyWith: ({ status, value }: { status?: string, value?: number }) => Bounty;

View File

@ -2,8 +2,8 @@
// SPDX-License-Identifier: Apache-2.0
type bountyTheme = {
dark:string;
light:string;
dark: string;
light: string;
}
export const bountyLabelColor: bountyTheme = {

View File

@ -31,7 +31,7 @@ function aGenesisHash () {
}
type FindOne = (match: string) => Promise<HTMLElement>;
type FindManyWithMatcher = (match: string | ((match: string)=> boolean)) => Promise<HTMLElement[]>
type FindManyWithMatcher = (match: string | ((match: string) => boolean)) => Promise<HTMLElement[]>
type GetMany = (match: string) => HTMLElement[];
class NotYetRendered extends Error {
@ -52,7 +52,7 @@ interface RenderedBountiesPage {
export class BountiesPage {
aBounty: ({ status, value }?: Partial<Bounty>) => Bounty;
aBountyIndex: (index?:number) => BountyIndex;
aBountyIndex: (index?: number) => BountyIndex;
aBountyStatus: (status: string) => BountyStatus;
bountyStatusWith: ({ curator, status }: { curator?: string, status?: string, }) => BountyStatus;
bountyWith: ({ status, value }: { status?: string, value?: number }) => Bounty;

View File

@ -3,7 +3,7 @@
import { fireEvent } from '@testing-library/react';
export const clickButtonWithName = async (buttonName: string, findByRole: (...args : any[]) => Promise<HTMLElement>): Promise<void> => {
export const clickButtonWithName = async (buttonName: string, findByRole: (...args: any[]) => Promise<HTMLElement>): Promise<void> => {
const button = await findByRole('button', { name: buttonName });
fireEvent.click(button);

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"secp256k1": "^3.8.0"
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api-contract": "^3.10.2"
"@babel/runtime": "^7.13.7",
"@polkadot/api-contract": "^3.10.3-5"
}
}

View File

@ -44,7 +44,7 @@ function sortMessages (messages: AbiMessage[]): [AbiMessage, number][] {
);
}
function Messages ({ className = '', contract, contractAbi: { constructors, messages, project: { source } }, isLabelled, isWatching, onSelect, onSelectConstructor, withConstructors, withMessages, withWasm } : Props): React.ReactElement<Props> {
function Messages ({ className = '', contract, contractAbi: { constructors, messages, project: { source } }, isLabelled, isWatching, onSelect, onSelectConstructor, withConstructors, withMessages, withWasm }: Props): React.ReactElement<Props> {
const { t } = useTranslation();
const { api } = useApi();
const optInfo = useCall<Option<ContractInfo>>(contract && api.query.contracts.contractInfoOf, [contract?.address]);

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-query": "^0.81.2-9"
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-query": "^0.81.2-9"
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-params": "^0.81.2-9",
"@polkadot/react-signer": "^0.81.2-9"

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-query": "^0.81.2-9"
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/apps-config": "^0.81.2-9",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-query": "^0.81.2-9",

View File

@ -74,7 +74,7 @@ async function retrieveAll (): Promise<Defaults> {
});
// fill in all empty values (useful for download, filling in)
keys.forEach((lng):void => {
keys.forEach((lng): void => {
Object.keys(english).forEach((record): void => {
Object.keys(english[record]).forEach((key): void => {
if (!languageCache[lng][key]) {

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -8,7 +8,7 @@
"author": "Jaco Greeff <jacogr@gmail.com>",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/app-explorer": "^0.81.2-9",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-query": "^0.81.2-9"

View File

@ -9,7 +9,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-params": "^0.81.2-9"
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -9,7 +9,7 @@
"maintainers": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-query": "^0.81.2-9"
}

View File

@ -12,7 +12,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9",
"@polkadot/react-query": "^0.81.2-9"
}

View File

@ -14,10 +14,10 @@
"bugs": "https://github.com/polkadot-js/apps/issues",
"homepage": "https://github.com/polkadot-js/apps/tree/master/packages/react-api#readme",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@polkadot/api": "^3.10.2",
"@babel/runtime": "^7.13.7",
"@polkadot/api": "^3.10.3-5",
"@polkadot/extension-dapp": "^0.37.2-0",
"@polkadot/x-rxjs": "^5.7.1",
"fflate": "^0.6.1"
"@polkadot/x-rxjs": "^5.7.2-3",
"fflate": "^0.6.4"
}
}

View File

@ -8,19 +8,19 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@fortawesome/fontawesome-svg-core": "^1.2.34",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@fortawesome/react-fontawesome": "^0.1.14",
"@polkadot/keyring": "^5.7.1",
"@polkadot/keyring": "^5.7.2-3",
"@polkadot/react-api": "^0.81.2-9",
"@polkadot/react-identicon": "^0.69.2-1",
"@polkadot/react-qr": "^0.69.2-1",
"@polkadot/react-query": "^0.81.2-9",
"@polkadot/ui-keyring": "^0.69.2-1",
"@polkadot/ui-settings": "^0.69.2-1",
"@polkadot/util": "^5.7.1",
"@polkadot/util-crypto": "^5.7.1",
"@polkadot/util": "^5.7.2-3",
"@polkadot/util-crypto": "^5.7.2-3",
"chart.js": "^2.9.4",
"codeflask": "^1.4.1",
"i18next": "^19.8.5",
@ -32,12 +32,12 @@
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "^17.0.1",
"react-dropzone": "^11.2.4",
"react-i18next": "^11.8.5",
"react-i18next": "^11.8.8",
"react-is": "^17.0.1",
"react-markdown": "^5.0.3",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-tooltip": "^4.2.13",
"react-tooltip": "^4.2.14",
"semantic-ui-css": "^2.4.1",
"semantic-ui-react": "^0.88.2",
"store": "^2.0.12",

View File

@ -57,7 +57,7 @@ function getRawSignature (value: IExtrinsic): ExtrinsicSignature | undefined {
return (value as any)._raw?.signature?.multiSignature as ExtrinsicSignature;
}
function extractState (value:IExtrinsic | IMethod, withHash?: boolean, withSignature?: boolean): Extracted {
function extractState (value: IExtrinsic | IMethod, withHash?: boolean, withSignature?: boolean): Extracted {
const params = GenericCall.filterOrigin(value.meta).map(({ name, type }): Param => ({
name: name.toString(),
type: getTypeDef(type.toString())

View File

@ -17,7 +17,7 @@ export interface Props {
className?: string;
help?: string
label?: React.ReactNode;
onChange?:(value: number) => void;
onChange?: (value: number) => void;
value?: number;
}

View File

@ -11,6 +11,6 @@
"bugs": "https://github.com/polkadot-js/apps/issues",
"homepage": "https://github.com/polkadot-js/apps/tree/master/packages/react-hooks#readme",
"dependencies": {
"@babel/runtime": "^7.12.5"
"@babel/runtime": "^7.13.7"
}
}

View File

@ -8,7 +8,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -11,6 +11,6 @@
"bugs": "https://github.com/polkadot-js/apps/issues",
"homepage": "https://github.com/polkadot-js/apps/tree/master/packages/react-query#readme",
"dependencies": {
"@babel/runtime": "^7.12.5"
"@babel/runtime": "^7.13.7"
}
}

View File

@ -8,7 +8,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime": "^7.13.7",
"@polkadot/react-components": "^0.81.2-9"
}
}

View File

@ -8,7 +8,7 @@
"contributors": [],
"license": "Apache-2.0",
"dependencies": {
"@testing-library/react": "^11.2.3",
"@testing-library/react": "^11.2.5",
"testcontainers": "^6.4.2"
},
"devDependencies": {

View File

@ -23,5 +23,5 @@ export async function waitFor (predicate: () => Promise<boolean> | boolean, { in
return true;
}
export const sleep = (ms: number):Promise<void> =>
export const sleep = (ms: number): Promise<void> =>
new Promise((resolve) => setTimeout(resolve, ms));

1547
yarn.lock

File diff suppressed because it is too large Load Diff