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

@vaibhavbhatt2110/convert-to-json

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaibhavbhatt2110/convert-to-json - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js

@@ -24,4 +24,2 @@ const xml2js = require('xml2js');

console.log(typeof(header));
// header = JSON.stringify(header);

@@ -35,6 +33,3 @@ obj[header] = set[i];

const len = data.length ;
const variable = data.indexOf("<")
console.log(variable);
if(variable==0){

@@ -41,0 +36,0 @@ return xmldataconverter(data)

2

package.json
{
"name": "@vaibhavbhatt2110/convert-to-json",
"version": "1.0.0",
"version": "1.0.1",
"description": "This converts the XML and CSV data to JSON format.",

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

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