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.1.6 to 1.1.7

11

lib/index.js

@@ -79,3 +79,3 @@ // Generated by CoffeeScript 1.10.0

Parser = function(options) {
var base, base1, base10, base11, base12, base13, base14, base15, base2, base3, base4, base5, base6, base7, base8, base9, k, v;
var base, base1, base10, base11, base12, base13, base14, base15, base16, base2, base3, base4, base5, base6, base7, base8, base9, k, v;
if (options == null) {

@@ -139,2 +139,5 @@ options = {};

}
if ((base16 = this.options).skip_lines_with_empty_values == null) {
base16.skip_lines_with_empty_values = false;
}
this.lines = 0;

@@ -199,2 +202,5 @@ this.count = 0;

var field, i, j, len, lineAsColumns, rawBuf, row;
if (this.options.skip_lines_with_empty_values && line.join('').trim() === '') {
return;
}
row = null;

@@ -230,2 +236,5 @@ if (this.options.columns === true) {

field = line[i];
if (this.options.columns[i] === false) {
continue;
}
lineAsColumns[this.options.columns[i]] = field;

@@ -232,0 +241,0 @@ }

2

package.json
{
"version": "1.1.6",
"version": "1.1.7",
"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