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

jsontoxml

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsontoxml - npm Package Compare versions

Comparing version 0.0.12 to 0.1.0

4

jsontoxml.js

@@ -84,6 +84,6 @@ //copyright Ryan Day 2010 <http://ryanday.org>, Joscha Feth 2013 <http://www.feth.com> [MIT Licensed]

var c = ''+node_data.value;
content.push(options.escape ? esc(c) : c);
content.push(options.escape && !node_data.noescape ? esc(c) : c);
} else if(typeof node_data.text != 'undefined') {
var c = ''+node_data.text;
content.push(options.escape ? esc(c) : c);
content.push(options.escape && !node_data.noescape ? esc(c) : c);
}

@@ -90,0 +90,0 @@

{
"name": "jsontoxml",
"version": "0.0.12",
"version": "0.1.0",
"description": "This is a library designed to render js objects as xml. Its not made to parse or otherwise edit existing xml/html structures.",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/ken-franken/node-jsontoxml",

@@ -18,3 +18,4 @@ //copyright Ryan Day 2010 <http://ryanday.org> [MIT Licensed]

]},
{name:'taco',attrs:{mood:"party!"}}
{name:'taco',attrs:{mood:"party!"}},
{name:'andrew', text:"<wuz>here</wuz>", noescape:true}
],

@@ -44,2 +45,3 @@ parent2:{

+"<taco mood=\"party!\"/>"
+"<andrew><wuz>here</wuz></andrew>"
+'</parent>'

@@ -68,2 +70,3 @@ +'<parent2>'

+"<taco mood=\"party!\"/>"
+"<andrew><wuz>here</wuz></andrew>"
+'</parent>'

@@ -70,0 +73,0 @@ +'<parent2>'

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