New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

convert-csv-to-json

Package Overview
Dependencies
Maintainers
1
Versions
80
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.12 to 0.0.13

2

package.json
{
"name": "convert-csv-to-json",
"version": "0.0.12",
"version": "0.0.13",
"description": "Convert CSV to JSON",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,3 +10,3 @@ 'use strict';

getValueFormatByType(value) {
let isNumber = /^\d+$/.test(value);
let isNumber = !isNaN(value);
if (isNumber) {

@@ -18,6 +18,6 @@ return Number(value);

hasContent(values){
if(values.length >0){
for(let i=0; i<values.length;i++){
if(values[i]){
hasContent(values) {
if (values.length > 0) {
for (let i = 0; i < values.length; i++) {
if (values[i]) {
return true;

@@ -30,2 +30,2 @@ }

}
module.exports = new StringUtils();
module.exports = new StringUtils();

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