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:
Diffstat (limited to 'lib/file-stream.js')
-rw-r--r--lib/file-stream.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/file-stream.js b/lib/file-stream.js
index e7dee68..a3682b1 100644
--- a/lib/file-stream.js
+++ b/lib/file-stream.js
@@ -1,7 +1,9 @@
-const debug = require('debug')('webtorrent:file-stream')
-const stream = require('readable-stream')
+const stream = require('stream')
+const debugFactory = require('debug')
const eos = require('end-of-stream')
+const debug = debugFactory('webtorrent:file-stream')
+
/**
* Readable stream of a torrent file
*