Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

convert-csv-to-json

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convert-csv-to-json - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

package.json
{
"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

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