Socket
Socket
Sign inDemoInstall

json-2-csv

Package Overview
Dependencies
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-2-csv - npm Package Compare versions

Comparing version 3.14.1 to 3.14.2

9

lib/csv2json.js

@@ -293,4 +293,9 @@ 'use strict';

// Otherwise add the key and value to the document
return path.setPath(document, key.value, value);
try {
// Otherwise add the key and value to the document
return path.setPath(document, key.value, value);
} catch (error) {
// Catch any errors where key paths are null or '' and continue
return document;
}
}, {});

@@ -297,0 +302,0 @@ }

@@ -8,3 +8,3 @@ {

"description": "A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.",
"version": "3.14.1",
"version": "3.14.2",
"homepage": "https://mrodrig.github.io/json-2-csv",

@@ -11,0 +11,0 @@ "repository": {

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