Socket
Socket
Sign inDemoInstall

node-xml-lite

Package Overview
Dependencies
2
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

.npmignore

8

index.js

@@ -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;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc