Comparing version 1.3.0 to 1.4.0
@@ -52,3 +52,3 @@ var es = require('event-stream'); | ||
var header = _.reduce(self.options.fields, function(line, field) { | ||
var label = field.label || field.field | ||
var label = field.label || field.name | ||
if (line === 'START') { | ||
@@ -55,0 +55,0 @@ line = ''; |
{ | ||
"name": "json-csv", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Export a richly structured, JSON array to CSV", | ||
@@ -21,5 +21,5 @@ "homepage": "https://github.com/IWSLLC/json-csv", | ||
"devDependencies": { | ||
"coffee-script": "^1.10.0", | ||
"mocha": "^2.4.5", | ||
"should": "^8.3.0" | ||
"coffee-script": "^1.12.4", | ||
"mocha": "^3.2.0", | ||
"should": "^11.2.1" | ||
}, | ||
@@ -33,5 +33,5 @@ "bugs": { | ||
"dependencies": { | ||
"concat-stream": "^1.5.1", | ||
"event-stream": "^3.3.2", | ||
"lodash": "^4.7.0" | ||
"concat-stream": "^1.6.0", | ||
"event-stream": "^3.3.4", | ||
"lodash": "^4.17.4" | ||
}, | ||
@@ -38,0 +38,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
26354
21
Updatedconcat-stream@^1.6.0
Updatedevent-stream@^3.3.4
Updatedlodash@^4.17.4