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.0.4 to 1.1.0

2

find-tag-by-name.js

@@ -11,3 +11,3 @@ const indexOfMatch = require("./index-of-match.js");

const start = indexOfMatch(xml, `\<${tagName}[ \>]`, startIndex);
const start = indexOfMatch(xml, `\<${tagName}[ \>\/]`, startIndex);
if (debug) console.log("[xml-utils] start:", start);

@@ -14,0 +14,0 @@ if (start === -1) return undefined;

{
"name": "xml-utils",
"version": "1.0.4",
"version": "1.1.0",
"description": "Parse XML without Blowing Up Your Bundle Size",

@@ -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