@fast-csv/format
Advanced tools
Comparing version 4.0.3 to 4.1.1
@@ -7,3 +7,3 @@ "use strict"; | ||
constructor(formatterOptions) { | ||
super({ objectMode: formatterOptions.objectMode }); | ||
super({ writableObjectMode: formatterOptions.objectMode }); | ||
this.hasWrittenBOM = false; | ||
@@ -10,0 +10,0 @@ this.formatterOptions = formatterOptions; |
@@ -17,3 +17,3 @@ "use strict"; | ||
this.REPLACE_REGEXP = new RegExp(formatterOptions.quote, 'g'); | ||
const escapePattern = `[${formatterOptions.delimiter}${lodash_escaperegexp_1.default(formatterOptions.rowDelimiter)}']`; | ||
const escapePattern = `[${formatterOptions.delimiter}${lodash_escaperegexp_1.default(formatterOptions.rowDelimiter)}|\r|\n']`; | ||
this.ESCAPE_REGEXP = new RegExp(escapePattern); | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "@fast-csv/format", | ||
"version": "4.0.3", | ||
"version": "4.1.1", | ||
"description": "fast-csv formatting module", | ||
@@ -31,2 +31,3 @@ "keywords": [ | ||
"scripts": { | ||
"prepare": "npm run build", | ||
"build": "npm run clean && npm run compile", | ||
@@ -53,3 +54,3 @@ "clean": "rm -rf ./build && rm -rf tsconfig.tsbuildinfo", | ||
}, | ||
"gitHead": "87b13abc941b15b8f4a14b9dc39a324b75b3e496" | ||
"gitHead": "1cf0c07413504f28bec613e3b82efa439c0f8b2f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
42942