csv-parse
Advanced tools
Comparing version 1.2.1 to 1.2.2
# Changelog | ||
## Trunk | ||
## v1.2.2 | ||
* relax: handle double quote | ||
## v1.2.1 | ||
* src: group state variable initialisation | ||
@@ -7,0 +11,0 @@ * package: update repo url |
@@ -403,3 +403,5 @@ // Generated by CoffeeScript 1.12.7 | ||
this._.quoting = false; | ||
this._.field = "" + this.options.quote + this._.field; | ||
if (this._.field) { | ||
this._.field = "" + this.options.quote + this._.field; | ||
} | ||
} else { | ||
@@ -497,3 +499,3 @@ return Error("Invalid closing quote at line " + (this.lines + 1) + "; found " + (JSON.stringify(this._.nextChar)) + " instead of delimiter " + (JSON.stringify(this.options.delimiter))); | ||
if (!this._.commenting && ((ref2 = this._.field) != null ? ref2.length : void 0) > this.options.max_limit_on_data_read) { | ||
return Error("Delimiter not found in the file " + (JSON.stringify(this.options.delimiter))); | ||
return Error("Field exceeds max_limit_on_data_read setting (" + this.options.max_limit_on_data_read + ") " + (JSON.stringify(this.options.delimiter))); | ||
} | ||
@@ -500,0 +502,0 @@ if (!this._.commenting && ((ref3 = this._.line) != null ? ref3.length : void 0) > this.options.max_limit_on_data_read) { |
{ | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"name": "csv-parse", | ||
@@ -31,3 +31,3 @@ "description": "CSV parsing implementing the Node.js `stream.Transform` API", | ||
"type": "git", | ||
"url": "http://www.github.com/adaltas/node-csv-parse" | ||
"url": "https://github.com/wdavidw/node-csv-parse" | ||
}, | ||
@@ -41,4 +41,4 @@ "homepage": "http://csv.adaltas.com/parse/", | ||
"csv-spectrum": "1.0.0", | ||
"mocha": "3.4.2", | ||
"should": "11.2.1" | ||
"mocha": "3.5.3", | ||
"should": "13.0.1" | ||
}, | ||
@@ -45,0 +45,0 @@ "optionalDependencies": {}, |
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
32973
19
756