🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

xml-utils

Package Overview
Dependencies
Maintainers
1
Versions
26
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

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",