Update dependencies
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"lerna": "2.5.1",
|
||||
"lerna": "2.11.0",
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"command": {
|
||||
|
||||
+2
-2
@@ -7,10 +7,10 @@
|
||||
"scripts": {
|
||||
"build": "polkadot-dev-build-babel && polkadot-dev-build-docs",
|
||||
"check": "eslint packages && flow check",
|
||||
"clean": "polkadot-dev-clean-build",
|
||||
"test": "jest --coverage"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/dev": "^0.17.13",
|
||||
"lerna": "^2.5.1"
|
||||
"@polkadot/dev": "^0.18.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,8 @@ const assert = require('@polkadot/util/assert');
|
||||
|
||||
const internalDecode = require('./decode');
|
||||
|
||||
module.exports = function decoder (input?: Uint8Array): Uint8Array | Array<*> {
|
||||
// flowlint-next-line unclear-type:off
|
||||
module.exports = function decoder (input?: Uint8Array): Uint8Array | Array<any> {
|
||||
if (!input || input.length === 0) {
|
||||
return new Uint8Array([]);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
// @flow
|
||||
|
||||
export type DecodeOutput = {
|
||||
decoded: Uint8Array | Array<*>,
|
||||
// flowlint-next-line unclear-type:off
|
||||
decoded: Uint8Array | Array<any>,
|
||||
remainder: Uint8Array
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"test": "echo \"Tests only available from root wrapper\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-jsonrpc": "^0.10.2"
|
||||
"@polkadot/api-jsonrpc": "^0.10.11"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-runtime": "^6.26.0",
|
||||
|
||||
Reference in New Issue
Block a user