Socket
Socket
Sign inDemoInstall

sax

Package Overview
Dependencies
0
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.4 to 1.1.5

12

lib/sax.js

@@ -971,2 +971,10 @@ ;(function (sax) { // wrapper for non-node envs

function charAt (chunk, i) {
var result = ''
if (i < chunk.length) {
result = chunk.charAt(i)
}
return result
}
function write (chunk) {

@@ -987,3 +995,3 @@ var parser = this

while (true) {
c = chunk.charAt(i++)
c = charAt(chunk, i++)
parser.c = c

@@ -1019,3 +1027,3 @@ if (!c) {

while (c && c !== '<' && c !== '&') {
c = chunk.charAt(i++)
c = charAt(chunk, i++)
if (c && parser.trackPosition) {

@@ -1022,0 +1030,0 @@ parser.position++

9

package.json

@@ -5,9 +5,8 @@ {

"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"version": "1.1.4",
"version": "1.1.5",
"main": "lib/sax.js",
"license": "ISC",
"scripts": {
"test": "tap test/*.js",
"posttest": "npm run lint",
"lint": "standard -F test/*.js lib/*.js"
"test": "tap test/*.js --cov",
"posttest": "standard -F test/*.js lib/*.js"
},

@@ -23,4 +22,4 @@ "repository": "git://github.com/isaacs/sax-js.git",

"standard": "^5.3.1",
"tap": "^2.1.1"
"tap": "^5.2.0"
}
}
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