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

xmlobject

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmlobject - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

7

index.js

@@ -184,3 +184,8 @@ var sax = require("sax");

parser.onattribute = function (node) { current.setAttribute(node.name, node.value); };
parser.ontext = function (t) { stack[stack.length - 1].addChild(t); };
parser.ontext = function (t) {
if(stack.length > 0) {
var parent = stack[stack.length - 1];
parent.addChild(t);
}
};
parser.onclosetag = function (node) { current = stack.pop(); };

@@ -187,0 +192,0 @@ parser.onend = function (node) { cb(null,current) };

2

package.json
{
"name": "xmlobject",
"version": "0.6.1",
"version": "0.6.2",
"description": "Convert javascript objects to and from xml strings.",

@@ -5,0 +5,0 @@ "main": "index.js",

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