Bump deps (#488)

This commit is contained in:
Jaco Greeff
2019-11-06 22:18:57 +01:00
committed by GitHub
parent 4ab8dd70bd
commit af751c6c89
20 changed files with 608 additions and 561 deletions
+4 -4
View File
@@ -9,7 +9,7 @@
],
"resolutions": {
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.6.4"
"typescript": "^3.7.2"
},
"scripts": {
"build": "polkadot-dev-build-ts",
@@ -21,9 +21,9 @@
"test:one": "jest"
},
"devDependencies": {
"@babel/core": "^7.6.4",
"@polkadot/dev": "^0.32.0-beta.12",
"@polkadot/ts": "^0.1.83",
"@babel/core": "^7.7.0",
"@polkadot/dev": "^0.32.0-beta.13",
"@polkadot/ts": "^0.1.84",
"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.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/util": "^1.7.0-beta.4"
}
}
+1 -1
View File
@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/db#readme",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/trie-hash": "^1.7.0-beta.4",
"@polkadot/util": "^1.7.0-beta.4",
"lru_map": "^0.3.3"
+1 -1
View File
@@ -62,7 +62,7 @@ import TransactionDb from './engines/TransactionDb';
* ```
*/
export default class Memory extends TransactionDb {
public constructor () {
constructor () {
super(new MemoryDb());
}
}
+1 -1
View File
@@ -20,7 +20,7 @@ export default class LruDb implements BaseDb {
private lru: LRUMap<string, CachedValue>;
public constructor (backing: BaseDb, itemCount: number = DEFAULT_ITEM_COUNT) {
constructor (backing: BaseDb, itemCount: number = DEFAULT_ITEM_COUNT) {
this.backing = backing;
this.lru = new LRUMap(itemCount);
}
+1 -1
View File
@@ -20,7 +20,7 @@ export default class TransactionDb implements TxDb {
private txStarted: boolean;
public constructor (backing: BaseDb) {
constructor (backing: BaseDb) {
this.backing = backing;
this.txStarted = false;
}
+1 -1
View File
@@ -27,7 +27,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/util": "^1.7.0-beta.4",
"@polkadot/util-crypto": "^1.7.0-beta.4"
}
+1 -1
View File
@@ -39,7 +39,7 @@ export default class Keyring implements KeyringInstance {
public setSS58Format = setSS58Format;
public constructor (options: KeyringOptions = {}) {
constructor (options: KeyringOptions = {}) {
options.type = options.type || 'ed25519';
options.ss58Format = isNumber(options.ss58Format)
? options.addressPrefix
+1 -1
View File
@@ -12,7 +12,7 @@ type KeyringPairMap = Record<string, KeyringPair>;
export default class Pairs implements KeyringPairs {
private _map: KeyringPairMap;
public constructor () {
constructor () {
this._map = {};
}
+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.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/util": "^1.7.0-beta.4"
}
}
+1 -1
View File
@@ -21,7 +21,7 @@ export default class NodeHeader {
private _value: Null | BranchHeader | ExtensionHeader | LeafHeader;
public constructor (input?: null | Uint8Array | (null | Uint8Array)[]) {
constructor (input?: null | Uint8Array | (null | Uint8Array)[]) {
const [nodeType, value] = Array.isArray(input)
? NodeHeader.decodeNodeHeaderArray(input)
: NodeHeader.decodeNodeHeaderU8a(input);
+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.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/db": "^1.7.0-beta.4",
"@polkadot/trie-codec": "^1.7.0-beta.4",
"@polkadot/trie-hash": "^1.7.0-beta.4",
+1 -1
View File
@@ -7,7 +7,7 @@ export default class Checkpoint {
protected rootHash: Uint8Array;
public constructor (rootHash: Uint8Array) {
constructor (rootHash: Uint8Array) {
this.rootHash = rootHash;
this.txRoot = rootHash;
}
+1 -1
View File
@@ -42,7 +42,7 @@ export default class Impl extends Checkpoint {
protected constants: Constants;
public constructor (db: TxDb, rootHash?: Uint8Array, codec: Codec = substrateCodec) {
constructor (db: TxDb, rootHash?: Uint8Array, codec: Codec = substrateCodec) {
const _constants = constants(codec);
super(rootHash || _constants.EMPTY_HASH);
+1 -1
View File
@@ -25,7 +25,7 @@ const l = logger('trie/db');
* @example See [Polkadot-JS Common Trie-DB Examples](https://polkadot.js.org/api/common/examples/trie-db/)
*/
export default class Trie extends Impl implements TrieDb {
public constructor (db: TxDb = new MemoryDb(), rootHash?: Uint8Array, codec?: Codec) {
constructor (db: TxDb = new MemoryDb(), rootHash?: Uint8Array, codec?: Codec) {
super(db, rootHash, codec);
l.debug((): string => `Created with ${this.codec.type} codec, root ${u8aToHex(this.rootHash, 64)}`);
+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.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/util": "^1.7.0-beta.4"
},
"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.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/util": "^1.7.0-beta.4",
"@polkadot/wasm-crypto": "^0.14.1",
"@types/bip39": "^2.4.2",
+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.6.3",
"@babel/runtime": "^7.7.1",
"@polkadot/util": "^1.7.0-beta.4"
},
"devDependencies": {
+1 -1
View File
@@ -25,7 +25,7 @@
},
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util#readme",
"dependencies": {
"@babel/runtime": "^7.6.3",
"@babel/runtime": "^7.7.1",
"@types/bn.js": "^4.11.5",
"bn.js": "^4.11.8",
"camelcase": "^5.3.1",
+586 -539
View File
File diff suppressed because it is too large Load Diff