Socket
Socket
Sign inDemoInstall

json2csv

Package Overview
Dependencies
Maintainers
4
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json2csv - npm Package Compare versions

Comparing version 4.3.3 to 4.3.4

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="4.3.4"></a>
## [4.3.4](https://github.com/zemirco/json2csv/compare/v4.3.3...v4.3.4) (2019-02-11)
### Bug Fixes
* issue with fields.value function not receiving correct fields ([#353](https://github.com/zemirco/json2csv/issues/353)) ([851c02f](https://github.com/zemirco/json2csv/commit/851c02f))
<a name="4.3.3"></a>

@@ -7,0 +17,0 @@ ## [4.3.3](https://github.com/zemirco/json2csv/compare/v4.3.2...v4.3.3) (2019-01-11)

7

lib/JSON2CSVBase.js

@@ -70,6 +70,7 @@ 'use strict';

if (typeof fieldInfo.value === 'function') {
const label = fieldInfo.label || fieldInfo.value;
const field = { label, default: defaultValue };
return {
label: fieldInfo.label || fieldInfo.value,
value: row => {
const field = { label: this.label, default: defaultValue };
label,
value(row) {
const value = fieldInfo.value(row, field);

@@ -76,0 +77,0 @@ return (value === null || value === undefined)

{
"name": "json2csv",
"version": "4.3.3",
"version": "4.3.4",
"description": "Convert JSON to CSV",

@@ -51,3 +51,3 @@ "keywords": [

"coveralls": "^3.0.1",
"docpress": "^0.7.4",
"docpress": "~0.7.5",
"eslint": "^5.0.1",

@@ -54,0 +54,0 @@ "gh-pages": "^2.0.1",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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