csv-parse
Advanced tools
Comparing version 5.5.0 to 5.5.1
@@ -27,3 +27,3 @@ | ||
// Implementation of `Transform._transform` | ||
_transform(buf, encoding, callback){ | ||
_transform(buf, _, callback){ | ||
if(this.state.stop === true){ | ||
@@ -36,3 +36,6 @@ return; | ||
this.push(null); | ||
this.on('end', this.destroy); | ||
this.end(); | ||
this.destroy(); | ||
// Note 231005, end wasnt used and destroy was called as: | ||
// this.on('end', this.destroy); | ||
}); | ||
@@ -39,0 +42,0 @@ if(err !== undefined){ |
{ | ||
"version": "5.5.0", | ||
"version": "5.5.1", | ||
"name": "csv-parse", | ||
@@ -69,3 +69,3 @@ "description": "CSV parsing implementing the Node.js `stream.Transform` API", | ||
"coffeescript": "^2.7.0", | ||
"csv-generate": "^4.2.8", | ||
"csv-generate": "^4.3.0", | ||
"csv-spectrum": "^1.0.0", | ||
@@ -80,3 +80,3 @@ "each": "^2.4.0", | ||
"should": "^13.2.3", | ||
"stream-transform": "^3.2.8", | ||
"stream-transform": "^3.2.9", | ||
"ts-node": "^10.9.1", | ||
@@ -121,3 +121,3 @@ "typescript": "^5.2.2" | ||
"test": "mocha 'test/**/*.{coffee,ts}'", | ||
"test:legacy": "mocha --ignore test/api.web_stream.coffee --ignore test/api.stream.finished.coffee --loader=./test/loaders/legacy/all.js 'test/**/*.{coffee,ts}'" | ||
"test:legacy": "mocha --ignore test/api.web_stream.coffee --ignore test/api.stream.finished.coffee --ignore test/option.to_line.coffee --loader=./test/loaders/legacy/all.js 'test/**/*.{coffee,ts}'" | ||
}, | ||
@@ -142,3 +142,3 @@ "type": "module", | ||
}, | ||
"gitHead": "c3347b15c75224255c839b3d8a406f74efd90123" | ||
"gitHead": "632c10eb8a9a27749b58831fe6c4ead43ad63354" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1399601
32487