csv-parse
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -152,3 +152,3 @@ // Generated by CoffeeScript 1.10.0 | ||
Parser.prototype._transform = function(chunk, encoding, callback) { | ||
var err, error; | ||
var err; | ||
if (chunk instanceof Buffer) { | ||
@@ -167,3 +167,3 @@ chunk = this.decoder.write(chunk); | ||
Parser.prototype._flush = function(callback) { | ||
var err, error; | ||
var err; | ||
try { | ||
@@ -170,0 +170,0 @@ this.__write(this.decoder.end(), true); |
{ | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"name": "csv-parse", | ||
@@ -4,0 +4,0 @@ "description": "CSV parsing implementing the Node.js `stream.Transform` API", |
@@ -13,3 +13,4 @@ | ||
parser.on('readable', function(){ | ||
while(record = parser.read()){ | ||
var record; | ||
while (record = parser.read()) { | ||
output.push(record); | ||
@@ -16,0 +17,0 @@ } |
20754
16
513