Skip to content

Commit e2fc34c

Browse files
committed
Merge pull request #34 from doug-martin/master
v0.2.5
2 parents d3aecad + 9438929 commit e2fc34c

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

History.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
#0.2.4
1+
# v0.2.5
2+
3+
* Fixed issue where not all rows are emitted when using `pause` and `resume`
4+
5+
# v0.2.4
26

37
* Added more fine grained control to `.pause` and `.resume`
48
* You can now pause resume between chunks
59

6-
# 0.2.3
10+
# v0.2.3
711

812
* Add new `createWriteStream` for creating a streaming csv writer
913

docs/History.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,18 @@
176176

177177

178178

179-
<h1>0.2.4</h1>
179+
<h1>v0.2.5</h1>
180+
<ul>
181+
<li>Fixed issue where not all rows are emitted when using <code>pause</code> and <code>resume</code></li>
182+
</ul>
183+
<h1>v0.2.4</h1>
180184
<ul>
181185
<li>Added more fine grained control to <code>.pause</code> and <code>.resume</code><ul>
182186
<li>You can now pause resume between chunks</li>
183187
</ul>
184188
</li>
185189
</ul>
186-
<h1>0.2.3</h1>
190+
<h1>v0.2.3</h1>
187191
<ul>
188192
<li>Add new <code>createWriteStream</code> for creating a streaming csv writer</li>
189193
</ul>

lib/parser_stream.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ extended(ParserStream).extend({
175175
this.paused = false;
176176
var buffered = this.__buffered, l = buffered.length;
177177
if (l) {
178-
var i = -1, entry;
179-
while (++i < buffered.length) {
178+
var entry;
179+
while (buffered.length) {
180180
entry = buffered.shift();
181181
this.__emitRecord(entry[0], entry[1]);
182182
//handle case where paused is called while emitting data

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fast-csv",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"description": "CSV parser and writer",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)