You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

sax

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sax - npm Package Compare versions

Comparing version
1.4.2
to
1.4.3
+13
-8
lib/sax.js

@@ -783,3 +783,3 @@ ;(function (sax) {

'Actual: ' +
parser.attribValue,
parser.attribValue
)

@@ -796,3 +796,3 @@ } else if (

'Actual: ' +
parser.attribValue,
parser.attribValue
)

@@ -839,3 +839,3 @@ } else {

parser,
'Unbound namespace prefix: ' + JSON.stringify(parser.tagName),
'Unbound namespace prefix: ' + JSON.stringify(parser.tagName)
)

@@ -879,3 +879,3 @@ tag.uri = qn.prefix

parser,
'Unbound namespace prefix: ' + JSON.stringify(prefix),
'Unbound namespace prefix: ' + JSON.stringify(prefix)
)

@@ -1006,3 +1006,8 @@ a.uri = prefix

entity = entity.replace(/^0+/, '')
if (isNaN(num) || numStr.toLowerCase() !== entity) {
if (
isNaN(num) ||
numStr.toLowerCase() !== entity ||
num < 0 ||
num > 0x10ffff
) {
strictFail(parser, 'Invalid character entity')

@@ -1044,3 +1049,3 @@ return '&' + parser.entity + ';'

parser,
'Cannot write after close. Assign an onready handler.',
'Cannot write after close. Assign an onready handler.'
)

@@ -1197,3 +1202,3 @@ }

parser,
'Inappropriately located doctype declaration',
'Inappropriately located doctype declaration'
)

@@ -1411,3 +1416,3 @@ }

parser,
'Forward-slash in opening tag not followed by >',
'Forward-slash in opening tag not followed by >'
)

@@ -1414,0 +1419,0 @@ parser.state = S.ATTRIB

@@ -5,3 +5,3 @@ {

"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
"version": "1.4.2",
"version": "1.4.3",
"main": "lib/sax.js",

@@ -8,0 +8,0 @@ "license": "BlueOak-1.0.0",