Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-01-05 08:55:38 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-01-05 08:55:38 +0300
commit5ab99cc2c2de446f3ddc39e47a20d5ca01ba99e5 (patch)
tree439d9ec304d18f3e3bd48556d61571275260312a
parent65db14f353519d9a18f350ed5938119ef37f54a8 (diff)
parent06e413e0a1c7127e0d98abf9ade402dc34467b98 (diff)
Merge pull request #236 from astro/simple-sha1
replace git-sha1 with simple-sha1
-rw-r--r--lib/storage.js2
-rw-r--r--package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/storage.js b/lib/storage.js
index d652c66..df87305 100644
--- a/lib/storage.js
+++ b/lib/storage.js
@@ -11,7 +11,7 @@ var FileStream = require('./file-stream')
var inherits = require('inherits')
var MultiStream = require('multistream')
var once = require('once')
-var sha1 = require('git-sha1')
+var sha1 = require('simple-sha1')
var BLOCK_LENGTH = 16 * 1024
diff --git a/package.json b/package.json
index 8747c3b..e2cbd02 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,6 @@
"dezalgo": "^1.0.1",
"end-of-stream": "^1.0.0",
"extend.js": "^0.0.2",
- "git-sha1": "^0.1.2",
"hat": "0.0.3",
"inherits": "^2.0.1",
"load-ip-set": "^1.0.3",
@@ -62,6 +61,7 @@
"rimraf": "^2.2.5",
"run-parallel": "^1.0.0",
"simple-get": "^1.0.0",
+ "simple-sha1": "^1.0.2",
"speedometer": "^0.1.2",
"thunky": "^0.1.0",
"torrent-discovery": "^2.0.1",