csv-parse
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -7,3 +7,3 @@ | ||
this.length = 0; | ||
this.buf = Buffer.alloc(size); | ||
this.buf = Buffer.allocUnsafe(size); | ||
} | ||
@@ -20,3 +20,3 @@ prepend(val){ | ||
const buf = this.buf; | ||
this.buf = Buffer.alloc(this.size); | ||
this.buf = Buffer.allocUnsafe(this.size); | ||
val.copy(this.buf, 0); | ||
@@ -48,3 +48,3 @@ buf.copy(this.buf, val.length); | ||
this.size = this.size * 2; | ||
const buf = Buffer.alloc(this.size); | ||
const buf = Buffer.allocUnsafe(this.size); | ||
this.buf.copy(buf,0, 0, length); | ||
@@ -51,0 +51,0 @@ this.buf = buf; |
{ | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"name": "csv-parse", | ||
@@ -49,3 +49,3 @@ "description": "CSV parsing implementing the Node.js `stream.Transform` API", | ||
"coffeescript": "^2.6.1", | ||
"csv-generate": "^4.0.1", | ||
"csv-generate": "^4.0.2", | ||
"csv-spectrum": "^1.0.0", | ||
@@ -60,3 +60,3 @@ "each": "^1.2.2", | ||
"should": "^13.2.3", | ||
"stream-transform": "^3.0.1", | ||
"stream-transform": "^3.0.2", | ||
"ts-node": "^10.4.0", | ||
@@ -113,3 +113,3 @@ "typescript": "^4.4.4" | ||
}, | ||
"gitHead": "469fb3877909c5c2146b606becaad38210945e1d" | ||
"gitHead": "f1abfafb56b5fd1f4097967052299dacaa2d8100" | ||
} |
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
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
1601130
37942