Socket
Socket
Sign inDemoInstall

object-to-xml

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-to-xml - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

package.json
{
"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>&lt;!asdf&amp;</h>\n'
+ '<i numeric="42" />\n'
+ '<j numeric="42">value</j>\n'
;
test.equal(expect, str);
test.done();
}
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