New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

csv-streamify

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-streamify - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

LICENSE

14

csv-streamify.js

@@ -28,4 +28,4 @@ var Transform = require('stream').Transform,

if (!Iconv) throw new Error('Please "npm install node-iconv"')
this.iconv = new Iconv(opts.encoding, 'UTF-8')
;delete opts.encoding
this.iconv = new Iconv(opts.encoding, 'UTF-8');
delete opts.encoding
}

@@ -44,2 +44,3 @@

this.empty = opts.hasOwnProperty('empty') ? opts.empty : ''
this.objectMode = opts.objectMode || false

@@ -89,4 +90,9 @@ // state

// emit the parsed line array as a string
this.push(JSON.stringify(this.line))
// emit the parsed line as an array if in object mode
// or as a stringified array (default)
if (this.objectMode) {
this.push(this.line)
} else {
this.push(JSON.stringify(this.line))
}

@@ -93,0 +99,0 @@ if (this.cb) this.body.push(this.line)

{
"name": "csv-streamify",
"version": "0.3.2",
"version": "0.4.0",
"description": "Streaming CSV Parser. Made entirely out of streams.",

@@ -19,3 +19,3 @@ "author": "Clemens Stolle",

],
"license": "WTFPL",
"license": "BSD",
"devDependencies": {

@@ -22,0 +22,0 @@ "mocha": "1.8.x",

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