Bump deps (#312)
This commit is contained in:
+2
-2
@@ -10,7 +10,7 @@
|
||||
],
|
||||
"resolutions": {
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"typescript": "^3.2.2"
|
||||
"typescript": "^3.3.3"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "polkadot-dev-build-ts && polkadot-dev-build-docs",
|
||||
@@ -21,7 +21,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.2",
|
||||
"@polkadot/dev": "^0.23.15",
|
||||
"@polkadot/dev": "^0.24.2",
|
||||
"@polkadot/ts": "^0.1.52"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/chainspec#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@polkadot/util": "^0.34.12"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/db#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@polkadot/trie-hash": "^0.34.12",
|
||||
"@polkadot/util": "^0.34.12",
|
||||
"@types/mkdirp": "^0.5.2",
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@polkadot/util": "^0.34.12",
|
||||
"@polkadot/util-crypto": "^0.34.12",
|
||||
"@types/bs58": "^4.0.0",
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-codec#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@polkadot/util": "^0.34.12"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-db#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@polkadot/db": "^0.34.12",
|
||||
"@polkadot/trie-codec": "^0.34.12",
|
||||
"@polkadot/trie-hash": "^0.34.12",
|
||||
|
||||
@@ -43,7 +43,7 @@ describe.skip('official tests', () => {
|
||||
|
||||
it(name, () => {
|
||||
keys.map((key) =>
|
||||
trie.put(toU8a(key), toU8a((input as any)[key]))
|
||||
trie.put(toU8a(key), toU8a(input[key]))
|
||||
);
|
||||
|
||||
expect(
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-hash#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@polkadot/util": "^0.34.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -28,15 +28,16 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@parity/schnorrkel-js": "^0.1.2",
|
||||
"@polkadot/util": "^0.34.12",
|
||||
"@types/bip39": "^2.4.1",
|
||||
"@types/bip39": "^2.4.2",
|
||||
"@types/webassembly-js-api": "^0.0.2",
|
||||
"@types/xxhashjs": "^0.2.0",
|
||||
"bip39": "^2.5.0",
|
||||
"blakejs": "^1.1.0",
|
||||
"js-sha3": "^0.8.0",
|
||||
"tweetnacl": "^1.0.0",
|
||||
"tweetnacl": "^1.0.1",
|
||||
"xxhashjs": "^0.2.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,9 +25,9 @@ export default function xxhash64AsValue (data: Buffer | Uint8Array | string, see
|
||||
return xxhashjs.h64(data, seed);
|
||||
}
|
||||
|
||||
// @ts-ignore conversion works, yields correct result
|
||||
return xxhashjs.h64(
|
||||
// @ts-ignore conversion works, yields correct result
|
||||
u8aToBuffer(data),
|
||||
seed
|
||||
);
|
||||
) as any;
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-rlp#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@polkadot/util": "^0.34.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -7,7 +7,14 @@ import { getSingleFile } from 'ethereumjs-testing';
|
||||
|
||||
import bnToU8a from '@polkadot/util/bn/toU8a';
|
||||
|
||||
export default function getTests (file: string) {
|
||||
type Tests = Array<{
|
||||
name: string,
|
||||
input: any,
|
||||
output?: string,
|
||||
root: string
|
||||
}>;
|
||||
|
||||
export default function getTests (file: string): Tests {
|
||||
const tests = getSingleFile(file);
|
||||
|
||||
return Object.keys(tests).map((name) => ({
|
||||
|
||||
@@ -28,18 +28,17 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@types/bn.js": "^4.11.3",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@types/bn.js": "^4.11.4",
|
||||
"@types/camelcase": "^4.1.0",
|
||||
"@types/deasync": "^0.1.0",
|
||||
"@types/ip-regex": "^3.0.0",
|
||||
"@types/xxhashjs": "^0.1.1",
|
||||
"bn.js": "^4.11.8",
|
||||
"camelcase": "^5.0.0",
|
||||
"chalk": "^2.4.2",
|
||||
"core-js": "^2.6.2",
|
||||
"core-js": "^2.6.5",
|
||||
"deasync": "^0.1.14",
|
||||
"ip-regex": "^3.0.0",
|
||||
"moment": "^2.23.0"
|
||||
"ip-regex": "^4.0.0",
|
||||
"moment": "^2.24.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user