Comparing version 0.0.12 to 0.1.0
@@ -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>' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14456
280
0