Comparing version 1.2.3 to 1.2.4
@@ -936,3 +936,3 @@ ;(function (sax) { // wrapper for non-node envs | ||
entity = entity.replace(/^0+/, '') | ||
if (numStr.toLowerCase() !== entity) { | ||
if (isNaN(num) || numStr.toLowerCase() !== entity) { | ||
strictFail(parser, 'Invalid character entity') | ||
@@ -939,0 +939,0 @@ return '&' + parser.entity + ';' |
@@ -5,3 +5,3 @@ { | ||
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"main": "lib/sax.js", | ||
@@ -24,4 +24,4 @@ "license": "ISC", | ||
"standard": "^8.6.0", | ||
"tap": "^10.0.2" | ||
"tap": "^10.5.1" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
54588