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.0.3 to 1.0.4

8

lib/sync.js

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

}
records = [];
records = options.objname ? {} : [];
if (data instanceof Buffer) {

@@ -21,3 +21,7 @@ decoder = new StringDecoder();

parser.push = function(record) {
return records.push(record);
if (options.objname) {
return records[record[0]] = record[1];
} else {
return records.push(record);
}
};

@@ -24,0 +28,0 @@ parser.__write(data, false);

{
"version": "1.0.3",
"version": "1.0.4",
"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