Comparing version 1.1.0 to 1.2.0
@@ -0,1 +1,5 @@ | ||
# v1.2.0 | ||
* Use `safer-buffer` polyfill to support node >= 8. | ||
# v1.1.0 | ||
@@ -2,0 +6,0 @@ |
var fs = require("fs"), | ||
util = require("util"), | ||
extended = require("../extended"), | ||
Buffer = require('safer-buffer').Buffer, | ||
escape = extended.escape, | ||
@@ -62,3 +63,3 @@ isArray = extended.isArray, | ||
if (checkHeaders(self, item)) { | ||
self.push(new Buffer(transformItem(self, item), "utf8")); | ||
self.push(Buffer.from(transformItem(self, item), "utf8")); | ||
} | ||
@@ -65,0 +66,0 @@ cb(); |
var fs = require("fs"), | ||
extended = require("../extended"), | ||
Buffer = require('safer-buffer').Buffer, | ||
has = extended.has, | ||
@@ -132,3 +133,3 @@ isBoolean = extended.isBoolean, | ||
stream.totalCount++; | ||
stream.push(new Buffer(stream.formatter(stream.headers, true), "utf8")); | ||
stream.push(Buffer.from(stream.formatter(stream.headers, true), "utf8")); | ||
stream.hasWrittenHeaders = true; | ||
@@ -135,0 +136,0 @@ ret = isHashArray(item) || !isArray(item); |
{ | ||
"name": "fast-csv", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "CSV parser and writer", | ||
@@ -35,7 +35,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"extended": "0.0.6", | ||
"is-extended": "0.0.10", | ||
"object-extended": "0.0.7", | ||
"extended": "0.0.6", | ||
"safer-buffer": "^2.1.2", | ||
"string-extended": "0.0.8" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61820
939
5
+ Addedsafer-buffer@^2.1.2
+ Addedsafer-buffer@2.1.2(transitive)