convert-csv-to-json
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "convert-csv-to-json", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Convert CSV to JSON", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -40,4 +40,3 @@ 'use strict'; | ||
for (let i = 1; i < lines.length; i++) { | ||
let currentLine = lines[i].replace(/""/g, '"').split(fieldDelimiter); | ||
console.log('CURRENT LINE\N ' + currentLine); | ||
let currentLine = lines[i].replace(/""/g, '').split(fieldDelimiter); | ||
if (stringUtils.hasContent(currentLine)) { | ||
@@ -44,0 +43,0 @@ jsonResult.push(this.buildJsonResult(headers, currentLine)); |
Sorry, the diff of this file is not supported yet
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
93236
154