json-2-csv
Advanced tools
Comparing version 3.14.1 to 3.14.2
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66630
1211