Comparing version 0.1.13 to 0.1.14
@@ -250,5 +250,5 @@ function DOMParser(options){ | ||
var XMLReader = require('./sax').XMLReader; | ||
var DOMImplementation = require('./dom').DOMImplementation; | ||
var DOMImplementation = exports.DOMImplementation = require('./dom').DOMImplementation; | ||
exports.XMLSerializer = require('./dom').XMLSerializer ; | ||
exports.DOMParser = DOMParser; | ||
} |
@@ -504,2 +504,5 @@ /* | ||
var newFirst = newChild.firstChild; | ||
if (newFirst == null) { | ||
return newChild; | ||
} | ||
var newLast = newChild.lastChild; | ||
@@ -920,2 +923,5 @@ }else{ | ||
buf.push('<',nodeName); | ||
if (node.namespaceURI) { | ||
buf.push(' xmlns="',node.namespaceURI.replace(/[<&"]/g,_xmlEncoder),'"'); | ||
} | ||
for(var i=0;i<len;i++){ | ||
@@ -922,0 +928,0 @@ serializeToString(attrs.item(i),buf,isHTML); |
{ | ||
"name": "xmldom", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "A W3C Standard XML DOM(Level2 CORE) implementation and parser(DOMParser/XMLSerializer).", | ||
@@ -18,3 +18,3 @@ "keywords": ["w3c","dom","xml","parser","javascript","DOMParser","XMLSerializer"], | ||
{"name" : "Harutyun Amirjanyan","email" : "amirjanyan@gmail.com","web" : "https://github.com/nightwing"}, | ||
{"name" : "bigeasy","email" : "alan@prettyrobots.com","web" : "http://www.prettyrobots.com/"} | ||
{"name" : "Alan Gutierrez","email" : "alan@prettyrobots.com","web" : "http://www.prettyrobots.com/"} | ||
], | ||
@@ -21,0 +21,0 @@ "bugs": {"email": "jindw@xidea.org","url": "http://github.com/jindw/xmldom/issues"}, |
@@ -207,4 +207,4 @@ Introduction | ||
--- | ||
* [Node] | ||
Source position extension; | ||
* [Node] Source position extension; | ||
attribute: | ||
@@ -211,0 +211,0 @@ //Numbered starting from '1' |
@@ -434,3 +434,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] | ||
} | ||
case '[': | ||
default: | ||
if(source.substr(start+3,6) == 'CDATA['){ | ||
@@ -552,2 +552,2 @@ var end = source.indexOf(']]>',start+9); | ||
exports.XMLReader=XMLReader; | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
1308204
29
2680
1