trumpet
Advanced tools
Comparing version 1.7.1 to 1.7.2
@@ -40,3 +40,7 @@ var Duplex = require('readable-stream').Duplex; | ||
while ((row = s.read()) !== null) { | ||
if (row[1] && row[1].length) { | ||
if (row[0] === 'END') { | ||
this.push(row[1][1]) | ||
read ++ | ||
} | ||
else if (row[1] && row[1].length) { | ||
this.push(row[1]); | ||
@@ -43,0 +47,0 @@ read ++; |
{ | ||
"name": "trumpet", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "parse and transform streaming html using css selectors", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
75159
1425