Socket
Socket
Sign inDemoInstall

sax

Package Overview
Dependencies
0
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.1.5

test/parser-position.js

12

lib/sax.js

@@ -281,7 +281,9 @@ // wrapper for non-node envs

c = chunk.charAt(i++);
parser.position ++;
if (c === "\n") {
parser.line ++;
parser.column = 0;
} else parser.column ++;
if (c) {
parser.position ++;
if (c === "\n") {
parser.line ++;
parser.column = 0;
} else parser.column ++;
}
}

@@ -288,0 +290,0 @@ parser.textNode += chunk.substring(starti, i-1);

{ "name" : "sax"
, "author" : "Isaac Z. Schlueter <i@izs.me>"
, "version" : "0.1.4"
, "version" : "0.1.5"
, "main" : "lib/sax"

@@ -5,0 +5,0 @@ , "license" : "MIT"

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