Comparing version 0.1.17 to 0.1.18
@@ -87,2 +87,8 @@ function DOMParser(options){ | ||
}, | ||
allText:function(source) { | ||
var doc = this.document; | ||
var el = doc.createTextNode(source); | ||
appendElement(this, el); | ||
this.currentElement = el; | ||
}, | ||
startElement:function(namespaceURI, localName, qName, attrs) { | ||
@@ -89,0 +95,0 @@ var doc = this.document; |
{ | ||
"name": "xmldom", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"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"], |
@@ -118,3 +118,3 @@ //[4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF] | ||
if(!source.substr(start).match(/^\s*$/)){ | ||
errorHandler.error('source code out of document root'); | ||
domBuilder.allText(source); | ||
} | ||
@@ -121,0 +121,0 @@ return; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
64278
11
1887