From 06e413e0a1c7127e0d98abf9ade402dc34467b98 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 5 Jan 2015 00:54:30 +0100 Subject: [PATCH] replace git-sha1 with simple-sha1 contributes to GH issue #234 --- lib/storage.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/storage.js b/lib/storage.js index d652c662..df873051 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 8747c3b7..e2cbd028 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",