Bump dev, cleanup new TS additional checks (#259)

This commit is contained in:
Jaco Greeff
2018-11-27 14:13:34 +01:00
committed by GitHub
parent aac39f97e3
commit 148f9569d4
5 changed files with 7 additions and 10 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@polkadot/dev": "^0.22.1",
"@polkadot/dev": "^0.22.2",
"@polkadot/ts": "^0.1.39"
}
}
-3
View File
@@ -24,7 +24,6 @@ const l = logger('db/flat');
export default class FileFlatDb implements BaseDb {
private _fd: number;
private _fileSize: number = 0;
private _base: string;
private _path: string;
private _file: string;
private _isCompressed: boolean;
@@ -33,7 +32,6 @@ export default class FileFlatDb implements BaseDb {
constructor (base: string, file: string = defaults.DEFAULT_FILE, options: BaseDbOptions = {}) {
this._fd = -1;
this._base = base;
this._file = file;
this._path = path.join(base, file);
this._lruBranch = new LRUMap(LRU_BRANCH_COUNT);
@@ -87,7 +85,6 @@ export default class FileFlatDb implements BaseDb {
const oldPath = this._path;
this._base = base;
this._file = file;
this._path = path.join(base, file);
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { KeyringPair, KeyringInstance } from './types';
import { KeyringPair } from './types';
import createKeyring from './testing';
import nobody from './pair/nobody';
+1 -1
View File
@@ -68,7 +68,7 @@ function _decode (input: null | Uint8Array): Uint8Array | null | Array<null | Ui
offset += nibbleData.length;
const [_, value] = compactStripLength(input.subarray(offset));
const [, value] = compactStripLength(input.subarray(offset));
return [
encodeNibbles(
+4 -4
View File
@@ -1301,10 +1301,10 @@
resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.2.tgz#54c5a964462be3d4d78af631363c18d6fa91ac26"
integrity sha512-yprFYuno9FtNsSHVlSWd+nRlmGoAbqbeCwOryP6sC/zoCjhpArcRMYp19EvpSUSizJAlsXEwJv+wcWS9XaXdMw==
"@polkadot/dev@^0.22.1":
version "0.22.1"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.22.1.tgz#28da715bc509ffb8bfb025207166073453533868"
integrity sha512-S8SiwP27H1Bv3Xmdj/X9miz84kdosGjnN9VgcPPaKFfYwMChMKdZpQamSL+O24poQIlJkiuAVkw7dl5Fs9YfZg==
"@polkadot/dev@^0.22.2":
version "0.22.2"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.22.2.tgz#8cec1857cc623425fd2dbd50889fa5d69fca1773"
integrity sha512-rHpr2jbFtCYAzd8F6Ss3Np8IjkcJoDQcVG5c5ubSQt/ur72d37GDgm+34jNfex0jE5xCEm1a2VyHy1x1IS28rw==
dependencies:
"@babel/cli" "^7.1.5"
"@babel/core" "^7.1.6"