+13
-8
@@ -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 |
+1
-1
@@ -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", |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
56195
0.09%1566
0.32%