object-to-xml
Advanced tools
Comparing version 1.0.1 to 1.1.0
{ | ||
"name": "object-to-xml", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Convert any object to XML", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"dank-map": "~0.1.0", | ||
"sanitizer": "0.0.15" | ||
"sanitizer": "0.1.3" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
@@ -28,2 +28,13 @@ var ObjectToXML = require('../'); | ||
, h : "<!asdf&" | ||
, i : { | ||
"@" : { | ||
numeric : 42 | ||
} | ||
} | ||
, j : { | ||
"@" : { | ||
numeric : 42 | ||
} | ||
, "#" : "value" | ||
} | ||
}); | ||
@@ -45,6 +56,8 @@ | ||
+ '<h><!asdf&</h>\n' | ||
+ '<i numeric="42" />\n' | ||
+ '<j numeric="42">value</j>\n' | ||
; | ||
test.equal(expect, str); | ||
test.done(); | ||
} |
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
6704
131
+ Addedsanitizer@0.1.3(transitive)
- Removedsanitizer@0.0.15(transitive)
Updatedsanitizer@0.1.3