[Pkg-javascript-commits] [node-lazystream] 02/05: Use stream instead of readable-stream

Sruthi Chandran srud-guest at moszumanska.debian.org
Tue Dec 6 06:06:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

srud-guest pushed a commit to branch master
in repository node-lazystream.

commit 448dfef74040134b210db3a49c9aad167a3c351c
Author: Sruthi <srud at disroot.org>
Date:   Tue Dec 6 11:06:09 2016 +0530

    Use stream instead of readable-stream
---
 debian/patches/series           |  1 +
 debian/patches/use-stream.patch | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index d7678e3..0652bc1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+use-stream.patch
 readable_stream.patch
diff --git a/debian/patches/use-stream.patch b/debian/patches/use-stream.patch
new file mode 100644
index 0000000..3fc063c
--- /dev/null
+++ b/debian/patches/use-stream.patch
@@ -0,0 +1,20 @@
+--- a/lib/lazystream.js
++++ b/lib/lazystream.js
+@@ -1,5 +1,5 @@
+ var util = require('util');
+-var PassThrough = require('readable-stream/passthrough');
++var PassThrough = require('stream').PassThrough;
+ 
+ module.exports = {
+   Readable: Readable,
+--- a/test/helper.js
++++ b/test/helper.js
+@@ -1,6 +1,6 @@
+ 
+-var _Readable = require('readable-stream/readable');
+-var _Writable = require('readable-stream/writable');
++var _Readable = require('stream').Readable;
++var _Writable = require('stream').Writable;
+ var util = require('util');
+ 
+ module.exports = {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-lazystream.git



More information about the Pkg-javascript-commits mailing list