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

xml2json

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml2json - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

lib/json2xml.js

@@ -29,3 +29,3 @@ module.exports = function toXml(json, xml) {

xml = xml.replace(/>$/, '');
xml += ' ' + key + "='" + obj[key] + "'>";
xml += ' ' + key + '="' + obj[key] + '">';
}

@@ -32,0 +32,0 @@ }

{ "name" : "xml2json",
"version": "0.3.0",
"version": "0.3.1",
"author": "Andrew Turley",

@@ -8,3 +8,5 @@ "email": "aturley@buglabs.net",

"main": "index",
"contributors":[ {"name": "Camilo Aguilar", "email": "camilo@buglabs.net"}],
"contributors":[
{"name": "Camilo Aguilar", "email": "camilo@buglabs.net"}
],
"dependencies": {

@@ -11,0 +13,0 @@ "node-expat": ">=1.4.1 <2.0.0"

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