commit nodejs-combined-stream for openSUSE:Factory
Hello community,
here is the log from the commit of package nodejs-combined-stream for openSUSE:Factory checked in at 2015-06-30 10:17:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-combined-stream (Old)
and /work/SRC/openSUSE:Factory/.nodejs-combined-stream.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-combined-stream"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-combined-stream/nodejs-combined-stream.changes 2015-04-27 13:00:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-combined-stream.new/nodejs-combined-stream.changes 2015-06-30 10:17:10.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 26 17:54:43 UTC 2015 - i@marguerite.su
+
+- update version 0.0.7
+
+-------------------------------------------------------------------
Old:
----
combined-stream-0.0.5.tgz
New:
----
combined-stream-0.0.7.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-combined-stream.spec ++++++
--- /var/tmp/diff_new_pack.kiKgRP/_old 2015-06-30 10:17:10.000000000 +0200
+++ /var/tmp/diff_new_pack.kiKgRP/_new 2015-06-30 10:17:10.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name combined-stream
Name: nodejs-combined-stream
-Version: 0.0.5
+Version: 0.0.7
Release: 0
Summary: A stream that emits multiple other streams one after another
License: MIT
++++++ combined-stream-0.0.5.tgz -> combined-stream-0.0.7.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/lib/combined_stream.js new/package/lib/combined_stream.js
--- old/package/lib/combined_stream.js 2014-06-24 09:29:21.000000000 +0200
+++ new/package/lib/combined_stream.js 2014-10-31 11:16:07.000000000 +0100
@@ -30,7 +30,7 @@
CombinedStream.isStreamLike = function(stream) {
return (typeof stream !== 'function')
&& (typeof stream !== 'string')
- && (typeof stream !== 'boolean')
+ && (typeof stream !== 'boolean')
&& (typeof stream !== 'number')
&& (!Buffer.isBuffer(stream));
};
@@ -40,12 +40,12 @@
if (isStreamLike) {
if (!(stream instanceof DelayedStream)) {
- stream.on('data', this._checkDataSize.bind(this));
-
- stream = DelayedStream.create(stream, {
+ var newStream = DelayedStream.create(stream, {
maxDataSize: Infinity,
pauseStream: this.pauseStreams,
});
+ stream.on('data', this._checkDataSize.bind(this));
+ stream = newStream;
}
this._handleErrors(stream);
@@ -97,7 +97,7 @@
var isStreamLike = CombinedStream.isStreamLike(stream);
if (isStreamLike) {
- stream.on('end', this._getNext.bind(this))
+ stream.on('end', this._getNext.bind(this));
stream.pipe(this, {end: false});
return;
}
@@ -123,6 +123,7 @@
return;
}
+ if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause();
this.emit('pause');
};
@@ -133,6 +134,7 @@
this._getNext();
}
+ if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume();
this.emit('resume');
};
@@ -159,7 +161,7 @@
}
var message =
- 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'
+ 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.';
this._emitError(new Error(message));
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2014-06-24 10:20:51.000000000 +0200
+++ new/package/package.json 2014-10-31 11:17:09.000000000 +0100
@@ -2,7 +2,7 @@
"author": "Felix Geisendörfer
participants (1)
-
root@hilbert.suse.de