Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.1.2 to 1.1.3

6

lib/index.js

@@ -204,7 +204,7 @@ // Generated by CoffeeScript 1.10.0

}
if (!this.options.relax_column_count && line.length !== this.line_length) {
if (line.length !== this.line_length && !this.options.relax_column_count && !(line.length === 1 && line[0] === '')) {
if (this.options.columns != null) {
this.emit('error', Error("Number of columns on line " + this.lines + " does not match header"));
throw Error("Number of columns on line " + this.lines + " does not match header");
} else {
this.emit('error', Error("Number of columns is inconsistent on line " + this.lines));
throw Error("Number of columns is inconsistent on line " + this.lines);
}

@@ -211,0 +211,0 @@ }

{
"version": "1.1.2",
"version": "1.1.3",
"name": "csv-parse",

@@ -4,0 +4,0 @@ "description": "CSV parsing implementing the Node.js `stream.Transform` API",

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