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

json-csv

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-csv - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

test/issue-10.coffee

15

exporter.js

@@ -53,7 +53,10 @@ var es = require('event-stream');

var label = field.label || field.field
if (line)
if (line === 'START') {
line = '';
} else {
line += this.fieldSeparator
}
line += self.prepValue(label)
return line
}, '', this)
}, 'START', this)
header += '\r\n'

@@ -67,5 +70,7 @@ return header

var label = field.label || field.field
if (line)
if (line === 'START') {
line = '';
} else {
line += this.fieldSeparator
}
var val = self.getValue(data, field.name)

@@ -80,3 +85,3 @@ if (field.filter) {

return line
}, '', this)
}, 'START', this)

@@ -83,0 +88,0 @@ row += '\r\n'

{
"name": "json-csv",
"version": "1.0.3",
"version": "1.0.4",
"description": "Export a richly structured, JSON array to CSV",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/IWSLLC/json-csv",

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