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 0.0.5 to 0.0.6

2

lib/index.js

@@ -61,3 +61,3 @@ // Generated by CoffeeScript 1.7.1

});
parser.on('finish', function() {
parser.on('end', function() {
if (!called) {

@@ -64,0 +64,0 @@ return callback(null, chunks);

{
"version": "0.0.5",
"version": "0.0.6",
"name": "csv-parse",

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

@@ -119,3 +119,3 @@ [![Build Status](https://secure.travis-ci.org/wdavidw/node-csv-parse.png)](http://travis-ci.org/wdavidw/node-csv-parse)

* `rowDelimiter` String used to delimit record rows or a special value; special values are 'auto', 'unix', 'mac', 'windows', 'unicode'; defaults to 'auto' (discovered in source or 'unix' if no source is specified).
* `quote` Optionnal character surrounding a field, one character only, defaults to double quotes.
* `quote` Optional character surrounding a field, one character only, defaults to double quotes.
* `escape` Set the escape character, one character only, defaults to double quotes.

@@ -122,0 +122,0 @@ * `columns` List of fields as an array, a user defined callback accepting the first line and returning the column names or true if autodiscovered in the first CSV line, default to null, affect the result data set in the sense that records will be objects instead of arrays.

@@ -6,3 +6,2 @@

var output = [];
var parser = parse({delimiter: ':'})

@@ -9,0 +8,0 @@ var input = fs.createReadStream('/etc/passwd');

@@ -66,3 +66,3 @@

callback err
parser.on 'finish', ->
parser.on 'end', ->
callback null, chunks unless called

@@ -69,0 +69,0 @@ parser

Sorry, the diff of this file is not supported yet

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