whatwg-url
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -177,2 +177,3 @@ "use strict"; | ||
url.query = null; | ||
return; | ||
} | ||
@@ -179,0 +180,0 @@ |
@@ -714,3 +714,3 @@ "use strict"; | ||
URLStateMachine.prototype["parse host name"] = | ||
URLStateMachine.prototype["parse hostname"] = | ||
URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { | ||
@@ -730,3 +730,3 @@ if (c === 58 && !this.arrFlag) { | ||
this.state = "port"; | ||
if (this.stateOverride === "host name") { | ||
if (this.stateOverride === "hostname") { | ||
return false; | ||
@@ -733,0 +733,0 @@ } |
{ | ||
"name": "whatwg-url", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery", | ||
@@ -5,0 +5,0 @@ "main": "lib/public-api.js", |
46772
1400