Bump deps (#490)

This commit is contained in:
Jaco Greeff
2019-11-13 10:17:40 +01:00
committed by GitHub
parent ed402341dc
commit dec88b6ab7
12 changed files with 402 additions and 348 deletions
+3 -3
View File
@@ -21,9 +21,9 @@
"test:one": "jest"
},
"devDependencies": {
"@babel/core": "^7.7.0",
"@polkadot/dev": "^0.32.0-beta.13",
"@polkadot/ts": "^0.1.84",
"@babel/core": "^7.7.2",
"@polkadot/dev": "^0.32.0-beta.14",
"@polkadot/ts": "^0.1.85",
"gh-pages": "^2.1.1"
}
}
+1 -1
View File
@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/chainspec#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@polkadot/util": "^1.7.0-beta.6"
}
}
+1 -1
View File
@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/db#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@polkadot/trie-hash": "^1.7.0-beta.6",
"@polkadot/util": "^1.7.0-beta.6",
"lru_map": "^0.3.3"
+1 -1
View File
@@ -27,7 +27,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@polkadot/util": "^1.7.0-beta.6",
"@polkadot/util-crypto": "^1.7.0-beta.6"
}
+1 -1
View File
@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-codec#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@polkadot/util": "^1.7.0-beta.6"
}
}
+1 -1
View File
@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-db#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@polkadot/db": "^1.7.0-beta.6",
"@polkadot/trie-codec": "^1.7.0-beta.6",
"@polkadot/trie-hash": "^1.7.0-beta.6",
+1 -1
View File
@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-hash#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@polkadot/util": "^1.7.0-beta.6"
},
"devDependencies": {
+1 -1
View File
@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@polkadot/util": "^1.7.0-beta.6",
"@polkadot/wasm-crypto": "^0.14.1",
"@types/bip39": "^2.4.2",
@@ -2,6 +2,8 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { stringToU8a, u8aToHex } from '@polkadot/util';
import testingPairs, { TestKeyringMap } from '../../../keyring/src/testingPairs';
import decode from './decode';
@@ -20,6 +22,12 @@ describe('decode', (): void => {
);
});
it('decodes the council address', (): void => {
expect(
u8aToHex(decode('F3opxRbN5ZbjJNU511Kj2TLuzFcDq9BGduA9TgiECafpg29'))
).toEqual(u8aToHex(stringToU8a('modlpy/trsry'.padEnd(32, '\0'))));
});
it('converts a publicKey (u8a) as-is', (): void => {
expect(
decode(new Uint8Array([1, 2, 3]))
+1 -1
View File
@@ -27,7 +27,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-rlp#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@polkadot/util": "^1.7.0-beta.6"
},
"devDependencies": {
+2 -2
View File
@@ -25,11 +25,11 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util#readme",
"dependencies": {
"@babel/runtime": "^7.7.1",
"@babel/runtime": "^7.7.2",
"@types/bn.js": "^4.11.5",
"bn.js": "^4.11.8",
"camelcase": "^5.3.1",
"chalk": "^2.4.2",
"chalk": "^3.0.0",
"ip-regex": "^4.1.0",
"moment": "^2.24.0"
}
+381 -335
View File
File diff suppressed because it is too large Load Diff