New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

xml-utils

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml-utils - npm Package Compare versions

Comparing version 1.10.0 to 1.10.1

16

find-tags-by-path.js

@@ -12,3 +12,9 @@ const findTagsByName = require("./find-tags-by-name.js");

let tags = findTagsByName(xml, path0.name, { debug, nested: false });
if (typeof path0.index === "number") tags = [tags[path0.index]];
if (typeof tags !== "undefined" && typeof path0.index === "number") {
if (typeof tags[path0.index] === "undefined") {
tags = [];
} else {
tags = [tags[path0.index]];
}
}
if (debug) console.log("first tags are:", tags);

@@ -39,3 +45,9 @@

tags = allSubTags;
if (typeof part.index === "number") tags = [tags[part.index]];
if (typeof part.index === "number") {
if (typeof tags[part.index] === "undefined") {
tags = [];
} else {
tags = [tags[part.index]];
}
}
}

@@ -42,0 +54,0 @@ return tags;

2

package.json
{
"name": "xml-utils",
"version": "1.10.0",
"version": "1.10.1",
"description": "Parse XML without Blowing Up Your Bundle Size",

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

Sorry, the diff of this file is not supported yet

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