Bump deps (#340)

* Bump deps

* Adjust for new eslint parser
This commit is contained in:
Jaco Greeff
2020-07-02 08:01:50 +02:00
committed by GitHub
parent c8f4983946
commit 4c58f48645
25 changed files with 1084 additions and 1051 deletions
+5 -5
View File
@@ -29,11 +29,11 @@
"test:one": "polkadot-dev-run-test"
},
"devDependencies": {
"@babel/core": "^7.10.3",
"@babel/runtime": "^7.10.3",
"@polkadot/dev": "^0.55.12",
"@polkadot/ts": "^0.3.26",
"@types/jest": "^26.0.0",
"@babel/core": "^7.10.4",
"@babel/runtime": "^7.10.4",
"@polkadot/dev": "^0.55.18",
"@polkadot/ts": "^0.3.27",
"@types/jest": "^26.0.3",
"babel-plugin-transform-vue-template": "^0.4.2",
"empty": "^0.10.1",
"react": "^16.13.1",
+1 -1
View File
@@ -9,6 +9,6 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3"
"@babel/runtime": "^7.10.4"
}
}
+1 -1
View File
@@ -9,6 +9,6 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3"
"@babel/runtime": "^7.10.4"
}
}
+6 -6
View File
@@ -38,15 +38,15 @@
"stream-http": "^3.1.1"
},
"devDependencies": {
"@babel/core": "^7.10.3",
"@babel/runtime": "^7.10.3",
"@polkadot/keyring": "^2.15.1",
"@polkadot/util": "^2.15.1",
"@polkadot/util-crypto": "^2.15.1",
"@babel/core": "^7.10.4",
"@babel/runtime": "^7.10.4",
"@polkadot/keyring": "^2.16.1",
"@polkadot/util": "^2.16.1",
"@polkadot/util-crypto": "^2.16.1",
"@react-native-community/cli-platform-ios": "^4.10.1",
"@types/react-test-renderer": "16.9.2",
"babel-jest": "^26.1.0",
"metro-react-native-babel-preset": "^0.59.0",
"metro-react-native-babel-preset": "^0.60.0",
"react-test-renderer": "16.13.1"
},
"peerDependencies": {
+4 -4
View File
@@ -9,7 +9,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3",
"@babel/runtime": "^7.10.4",
"@polkadot/ui-settings": "0.55.0-beta.4",
"@polkadot/ui-shared": "0.55.0-beta.4",
"color": "^3.1.2",
@@ -26,9 +26,9 @@
"styled-components": "*"
},
"devDependencies": {
"@polkadot/keyring": "^2.15.1",
"@polkadot/util": "^2.15.1",
"@polkadot/util-crypto": "^2.15.1",
"@polkadot/keyring": "^2.16.1",
"@polkadot/util": "^2.16.1",
"@polkadot/util-crypto": "^2.16.1",
"@types/react-copy-to-clipboard": "^4.3.0",
"@types/react-dom": "^16.9.8",
"@types/styled-components": "^5.1.0",
@@ -17,15 +17,11 @@
// - Overall it is now just a static component, expecting an address as an input value
import { Circle } from '@polkadot/ui-shared/icons/types';
import { Props as BaseProps } from '../types';
import { Props } from '../types';
import React from 'react';
import { polkadotIcon } from '@polkadot/ui-shared';
interface Props extends BaseProps {
isAlternative?: boolean;
}
function renderCircle ({ cx, cy, fill, r }: Circle, key: number): React.ReactNode {
return (
<circle
+4 -1
View File
@@ -3,17 +3,20 @@
// of the Apache-2.0 license. See the LICENSE file for details.
import { Prefix } from '@polkadot/util-crypto/address/types';
import React from 'react';
export interface BaseProps {
className?: string;
style?: Record<string, string | number>;
style?: React.CSSProperties;
}
export interface Props extends BaseProps {
address: string;
isAlternative?: boolean;
className?: string;
publicKey: string;
size: number;
style?: React.CSSProperties;
}
export interface IdentityProps extends BaseProps {
+1 -1
View File
@@ -9,7 +9,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3",
"@babel/runtime": "^7.10.4",
"qrcode-generator": "^1.4.4",
"react-qr-reader": "^2.2.1"
},
+4 -3
View File
@@ -2,8 +2,6 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseProps } from './types';
import React, { useEffect, useRef, useState } from 'react';
import styled from 'styled-components';
import { xxhashAsHex } from '@polkadot/util-crypto';
@@ -11,8 +9,11 @@ import { xxhashAsHex } from '@polkadot/util-crypto';
import qrcode from './qrcode';
import { createFrames, createImgSize } from './util';
interface Props extends BaseProps {
interface Props {
className?: string;
size?: string | number;
skipEncoding?: boolean;
style?: React.CSSProperties;
value: Uint8Array;
}
+4 -3
View File
@@ -2,16 +2,17 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseProps } from './types';
import React, { useEffect, useState } from 'react';
import { createAddressPayload } from './util';
import QrDisplay from './Display';
interface Props extends BaseProps {
interface Props {
address: string;
genesisHash: string;
className?: string;
size?: string | number;
style?: React.CSSProperties;
}
function DisplayExtrinsic ({ address, className, genesisHash, size, style }: Props): React.ReactElement<Props> | null {
+4 -3
View File
@@ -2,18 +2,19 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseProps } from './types';
import React, { useEffect, useState } from 'react';
import { createSignPayload } from './util';
import QrDisplay from './Display';
interface Props extends BaseProps {
interface Props {
address: string;
className?: string;
cmd: number;
genesisHash: Uint8Array | string;
payload: Uint8Array;
size?: string | number;
style?: React.CSSProperties;
}
function DisplayPayload ({ address, className, cmd, genesisHash, payload, size, style }: Props): React.ReactElement<Props> | null {
+4 -2
View File
@@ -6,12 +6,14 @@ import { NetworkSpecsStruct } from '@polkadot/ui-settings';
import React, { useEffect, useState } from 'react';
import QrDisplay from './Display';
import { BaseProps } from './types';
import { encodeString } from './util';
interface Props extends BaseProps {
interface Props {
className?: string;
networkSpecs: NetworkSpecsStruct;
size?: string | number;
style?: React.CSSProperties;
}
function DisplayNetworkSpecs ({ className, networkSpecs, size, style }: Props): React.ReactElement<Props> | null {
+4 -3
View File
@@ -2,18 +2,19 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseProps } from './types';
import React, { useCallback, useEffect, useState } from 'react';
import Reader from 'react-qr-reader';
import styled from 'styled-components';
import { createImgSize } from './util';
interface Props extends BaseProps {
interface Props {
className?: string;
delay?: number;
onError?: (error: Error) => void;
onScan: (data: string) => void;
size?: string | number;
style?: React.CSSProperties;
}
const DEFAULT_DELAY = 150;
+4 -3
View File
@@ -2,8 +2,6 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseProps } from './types';
import React, { useCallback } from 'react';
import { assert } from '@polkadot/util';
import { decodeAddress } from '@polkadot/util-crypto';
@@ -18,9 +16,12 @@ interface ScanType {
name?: string;
}
interface Props extends BaseProps {
interface Props {
className?: string;
onError?: (error: Error) => void;
onScan: (scanned: ScanType) => void;
size?: string | number;
style?: React.CSSProperties;
}
function ScanAddress ({ className, onError, onScan, size, style }: Props): React.ReactElement<Props> {
+4 -3
View File
@@ -2,8 +2,6 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseProps } from './types';
import React, { useCallback } from 'react';
import QrScan from './Scan';
@@ -12,9 +10,12 @@ interface ScanType {
signature: string;
}
interface Props extends BaseProps {
interface Props {
className?: string;
onError?: (error: Error) => void;
onScan: (scanned: ScanType) => void;
size?: string | number;
style?: React.CSSProperties;
}
function ScanSignature ({ className, onError, onScan, size, style }: Props): React.ReactElement<Props> {
-9
View File
@@ -1,9 +0,0 @@
// Copyright 2017-2020 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export interface BaseProps {
className?: string;
size?: string | number;
style?: Record<string, string | number>;
}
+3 -3
View File
@@ -9,7 +9,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3",
"@babel/runtime": "^7.10.4",
"@polkadot/ui-shared": "0.55.0-beta.4",
"react-native-svg": "^12.1.0"
},
@@ -19,7 +19,7 @@
"react-native": "*"
},
"devDependencies": {
"@polkadot/util-crypto": "^2.15.1",
"@types/react-native": "^0.62.13"
"@polkadot/util-crypto": "^2.16.1",
"@types/react-native": "^0.62.16"
}
}
@@ -3,17 +3,13 @@
// of the Apache-2.0 license. See the LICENSE file for details.
import { Circle as CircleType } from '@polkadot/ui-shared/icons/types';
import { Props as BaseProps } from '../types';
import { Props } from '../types';
import React from 'react';
import { View } from 'react-native';
import Svg, { Circle as SvgCircle } from 'react-native-svg';
import { polkadotIcon } from '@polkadot/ui-shared';
interface Props extends BaseProps {
isAlternative?: boolean;
}
function renderCircle ({ cx, cy, fill, r }: CircleType, key: number): React.ReactNode {
return (
<SvgCircle
@@ -4,6 +4,7 @@
export interface Props {
address: string;
isAlternative?: boolean;
publicKey: string;
size: number;
}
+1 -1
View File
@@ -9,6 +9,6 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3"
"@babel/runtime": "^7.10.4"
}
}
+6 -6
View File
@@ -17,24 +17,24 @@
"./ledger/transportsWeb": "./ledger/transportsEmpty"
},
"dependencies": {
"@babel/runtime": "^7.10.3",
"@babel/runtime": "^7.10.4",
"@ledgerhq/hw-transport-webusb": "^5.17.0",
"@zondax/ledger-polkadot": "^0.10.4",
"mkdirp": "^1.0.4",
"rxjs": "^6.5.5",
"rxjs": "^6.6.0",
"store": "^2.0.12"
},
"devDependencies": {
"@polkadot/keyring": "^2.15.1",
"@polkadot/types": "^1.22.0-beta.3",
"@polkadot/util": "^2.15.1",
"@polkadot/keyring": "^2.16.1",
"@polkadot/types": "^1.23.0-beta.3",
"@polkadot/util": "^2.16.1",
"@types/ledgerhq__hw-transport-node-hid": "^4.22.1",
"@types/ledgerhq__hw-transport-webusb": "^4.70.0",
"@types/mkdirp": "^1.0.1",
"@types/store": "^2.0.2"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid": "^5.17.0"
"@ledgerhq/hw-transport-node-hid": "^5.18.0"
},
"peerDependencies": {
"@polkadot/keyring": "*",
+2 -2
View File
@@ -9,12 +9,12 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3",
"@babel/runtime": "^7.10.4",
"eventemitter3": "^4.0.4",
"store": "^2.0.12"
},
"devDependencies": {
"@polkadot/util": "^2.15.1",
"@polkadot/util": "^2.16.1",
"@types/store": "^2.0.2"
},
"peerDependencies": {
+3 -3
View File
@@ -9,7 +9,7 @@
],
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3",
"@babel/runtime": "^7.10.4",
"color": "^3.1.2"
},
"peerDependencies": {
@@ -17,8 +17,8 @@
"@polkadot/util-crypto": "*"
},
"devDependencies": {
"@polkadot/util": "^2.15.1",
"@polkadot/util-crypto": "^2.15.1",
"@polkadot/util": "^2.16.1",
"@polkadot/util-crypto": "^2.16.1",
"@types/color": "^3.0.1",
"@types/xmlserializer": "^0.6.0"
}
+2 -2
View File
@@ -9,7 +9,7 @@
"main": "index.js",
"license": "Apache-2.0",
"dependencies": {
"@babel/runtime": "^7.10.3",
"@babel/runtime": "^7.10.4",
"@polkadot/ui-shared": "0.55.0-beta.4",
"jdenticon": "2.2.0"
},
@@ -18,7 +18,7 @@
"vue": "*"
},
"devDependencies": {
"@polkadot/util-crypto": "^2.15.1",
"@polkadot/util-crypto": "^2.16.1",
"vue": "^2.6.11"
}
}
+1014 -976
View File
File diff suppressed because it is too large Load Diff