diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/hash.js | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) |
update packages
Diffstat (limited to 'node_modules/hash.js')
-rw-r--r-- | node_modules/hash.js/.npmignore | 2 | ||||
-rw-r--r-- | node_modules/hash.js/lib/hash.d.ts | 5 | ||||
-rw-r--r-- | node_modules/hash.js/package.json | 8 |
3 files changed, 7 insertions, 8 deletions
diff --git a/node_modules/hash.js/.npmignore b/node_modules/hash.js/.npmignore deleted file mode 100644 index 1ca957177..000000000 --- a/node_modules/hash.js/.npmignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules/ -npm-debug.log diff --git a/node_modules/hash.js/lib/hash.d.ts b/node_modules/hash.js/lib/hash.d.ts index 2994a75ed..abbb5c531 100644 --- a/node_modules/hash.js/lib/hash.d.ts +++ b/node_modules/hash.js/lib/hash.d.ts @@ -1,7 +1,7 @@ declare var hash: Hash; declare module "hash.js" { - export default hash; + export = hash; } interface BlockHash<T> { @@ -14,7 +14,8 @@ interface MessageDigest<T> { blockSize: number outSize: number update(msg: any, enc?: 'hex'): T - digest(enc?: 'hex'): T + digest(): number[] + digest(enc: 'hex'): string } interface Hash { diff --git a/node_modules/hash.js/package.json b/node_modules/hash.js/package.json index 20524c865..b06072b14 100644 --- a/node_modules/hash.js/package.json +++ b/node_modules/hash.js/package.json @@ -1,6 +1,6 @@ { "name": "hash.js", - "version": "1.1.3", + "version": "1.1.5", "description": "Various hash functions that could be run by both browser and node", "main": "lib/hash.js", "typings": "lib/hash.d.ts", @@ -26,10 +26,10 @@ "homepage": "https://github.com/indutny/hash.js", "dependencies": { "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.0" + "minimalistic-assert": "^1.0.1" }, "devDependencies": { - "eslint": "^4.0.0", - "mocha": "^3.4.2" + "eslint": "^4.19.1", + "mocha": "^5.2.0" } } |