whatwg-url
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -149,6 +149,6 @@ "use strict"; | ||
if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { | ||
if (input.length > 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { | ||
input = input.substring(2); | ||
R = 16; | ||
} else if (input.length >= 1 && input.charAt(0) === "0") { | ||
} else if (input.length > 1 && input.charAt(0) === "0") { | ||
input = input.substring(1); | ||
@@ -155,0 +155,0 @@ R = 8; |
{ | ||
"name": "whatwg-url", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "An implementation of the WHATWG URL algorithm", | ||
@@ -5,0 +5,0 @@ "main": "lib/url.js", |
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
36625