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

xmldom

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmldom - npm Package Compare versions

Comparing version 0.1.26 to 0.1.27

16

dom.js

@@ -1006,5 +1006,7 @@ /*

if (needNamespaceDefine(attr,isHTML, visibleNamespaces)) {
var ns = attr.prefix ? ' xmlns:' + attr.prefix : " xmlns";
buf.push(ns, '="' , attr.namespaceURI , '"');
visibleNamespaces.push({ prefix: attr.prefix, namespace: attr.namespaceURI });
var prefix = attr.prefix||'';
var uri = attr.namespaceURI;
var ns = prefix ? ' xmlns:' + prefix : " xmlns";
buf.push(ns, '="' , uri , '"');
visibleNamespaces.push({ prefix: prefix, namespace:uri });
}

@@ -1015,5 +1017,7 @@ serializeToString(attr,buf,isHTML,nodeFilter,visibleNamespaces);

if (needNamespaceDefine(node,isHTML, visibleNamespaces)) {
var ns = node.prefix ? ' xmlns:' + node.prefix : " xmlns";
buf.push(ns, '="' , node.namespaceURI , '"');
visibleNamespaces.push({ prefix: node.prefix, namespace: node.namespaceURI });
var prefix = node.prefix||'';
var uri = node.namespaceURI;
var ns = prefix ? ' xmlns:' + prefix : " xmlns";
buf.push(ns, '="' , uri , '"');
visibleNamespaces.push({ prefix: prefix, namespace:uri });
}

@@ -1020,0 +1024,0 @@

{
"name": "xmldom",
"version": "0.1.26",
"version": "0.1.27",
"description": "A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).",

@@ -5,0 +5,0 @@ "keywords": ["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"],

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