From b8f353abe83328824b76953a88696b854f13c5f9 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 4 Feb 2016 10:05:19 +0700 Subject: [PATCH] Include rusha via npm --- package.json | 11 ++++++----- src/crypto/hash/index.js | 3 +-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 30879667..86b95447 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,9 @@ "test": "grunt test" }, "devDependencies": { + "asmcrypto": "git://github.com/openpgpjs/asmcrypto.js.git#openpgp_build", "chai": "~3.4.1", + "es6-promise": "^1.0.0", "grunt": "~0.4.5", "grunt-browserify": "~4.0.1", "grunt-contrib-clean": "~0.7.0", @@ -49,14 +51,13 @@ "grunt-text-replace": "~0.4.0", "istanbul": "~0.4.1", "mocha": "~2.3.4", - "whatwg-fetch": "~0.11.0" + "rusha": "^0.8.3", + "whatwg-fetch": "~0.11.0", + "zlibjs": "~0.2.0" }, "dependencies": { - "asmcrypto": "git://github.com/openpgpjs/asmcrypto.js.git#openpgp_build", - "es6-promise": "^1.0.0", "node-fetch": "^1.3.3", - "node-localstorage": "~1.1.2", - "zlibjs": "~0.2.0" + "node-localstorage": "~1.1.2" }, "repository": { "type": "git", diff --git a/src/crypto/hash/index.js b/src/crypto/hash/index.js index a80f5b22..c886c95e 100644 --- a/src/crypto/hash/index.js +++ b/src/crypto/hash/index.js @@ -1,13 +1,12 @@ /** * @requires crypto/hash/sha - * @requires crypto/hash/rusha * @requires util * @requires config * @module crypto/hash */ var sha = require('./sha.js'), asmCrypto = require('asmcrypto'), - rusha = require('./rusha.js'), + rusha = require('rusha'), config = require('../../config'), util = require('../../util.js');