New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4 to 0.6.5

8

index.js

@@ -161,9 +161,9 @@ var sax = require("sax");

findChildren(ns, name) {
if(name )return this.children.filter(function(c) { return name == c.nameWithoutPrefix() && c.namespace() === ns;});
return this.children.filter(function(c) { return ns == c.name });
if(name )return this.children.filter(function(c) { return typeof(c) !== 'string' && name == c.nameWithoutPrefix() && c.namespace() === ns;});
return this.children.filter(function(c) { return typeof(c) !== 'string' && ns == c.name });
}
firstChild(ns,name) {
if(name)return this.children.find(function(c) { return name == c.nameWithoutPrefix() && c.namespace() === ns;});
return this.children.find(function(c) { return ns == c.name });
if(name)return this.children.find(function(c) { return typeof(c) !== 'string' && name == c.nameWithoutPrefix() && c.namespace() === ns;});
return this.children.find(function(c) { return typeof(c) !== 'string' && ns == c.name });
}

@@ -170,0 +170,0 @@

{
"name": "xmlobject",
"version": "0.6.4",
"version": "0.6.5",
"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