node-xml-lite
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -174,2 +174,3 @@ | ||
/* | ||
StringBuffer.prototype.trimRight = function() { | ||
@@ -180,2 +181,3 @@ while (this.pos > 0 && isSpace(this.buffer[this.pos-1])) { | ||
}; | ||
*/ | ||
@@ -448,2 +450,3 @@ StringBuffer.prototype.toString = function(encoding) { | ||
break; | ||
/* | ||
case CHAR_CR: | ||
@@ -456,2 +459,3 @@ case CHAR_LF: | ||
break; | ||
*/ | ||
default: | ||
@@ -473,3 +477,3 @@ this.value.append(c); | ||
case CHAR_LESS: | ||
this.value.trimRight(); | ||
//this.value.trimRight(); | ||
if (!event(xtText, this.value.toString(this.encoding))) { | ||
@@ -480,2 +484,3 @@ return false; | ||
break; | ||
/* | ||
case CHAR_CR: | ||
@@ -488,2 +493,3 @@ case CHAR_LF: | ||
break; | ||
*/ | ||
case CHAR_AMPE: | ||
@@ -490,0 +496,0 @@ this.stack.state = xsEscape; |
{ | ||
"name": "node-xml-lite", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Pure javascript XML ANSI/Unicode SAX parser for Node.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -0,0 +0,0 @@ # node-xml-lite |
@@ -0,0 +0,0 @@ var |
Sorry, the diff of this file is not supported yet
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
Copyleft License
License(Experimental) Copyleft license information was found
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
71758
15
974
0
2
70
1