Bump dev, cleanup new TS additional checks (#259)
This commit is contained in:
+1
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user