through2
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "through2", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise", | ||
@@ -5,0 +5,0 @@ "main": "through2.js", |
@@ -6,3 +6,3 @@ const Transform = require('readable-stream/transform') | ||
if (!(this instanceof Through2)) | ||
return new Through2(transform) | ||
return new Through2(options, transform, flush) | ||
@@ -9,0 +9,0 @@ if (typeof options == 'function') { |
2207