Socket
Socket
Sign inDemoInstall

csv-parse

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-parse - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

test.coffee

6

CHANGELOG.md
# 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

6

lib/index.js

@@ -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": {},

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc