whatwg-url
Advanced tools
Comparing version 8.5.0 to 8.6.0
@@ -759,2 +759,6 @@ "use strict"; | ||
if (this.stateOverride === "hostname") { | ||
return false; | ||
} | ||
const host = parseHost(this.buffer, isNotSpecial(this.url)); | ||
@@ -768,5 +772,2 @@ if (host === failure) { | ||
this.state = "port"; | ||
if (this.stateOverride === "hostname") { | ||
return false; | ||
} | ||
} else if (isNaN(c) || c === 47 || c === 63 || c === 35 || | ||
@@ -773,0 +774,0 @@ (isSpecial(this.url) && c === 92)) { |
{ | ||
"name": "whatwg-url", | ||
"version": "8.5.0", | ||
"version": "8.6.0", | ||
"description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"lodash": "^4.7.0", | ||
"tr46": "^2.0.2", | ||
"tr46": "^2.1.0", | ||
"webidl-conversions": "^6.1.0" | ||
@@ -23,6 +23,6 @@ }, | ||
"domexception": "^2.0.1", | ||
"eslint": "^7.20.0", | ||
"glob": "^7.1.6", | ||
"got": "^11.8.1", | ||
"jest": "^26.6.3", | ||
"eslint": "^7.28.0", | ||
"glob": "^7.1.7", | ||
"got": "^11.8.2", | ||
"jest": "^27.0.4", | ||
"recast": "^0.20.4", | ||
@@ -29,0 +29,0 @@ "webidl2js": "^16.2.0" |
@@ -7,3 +7,3 @@ # whatwg-url | ||
whatwg-url is currently up to date with the URL spec up to commit [0915d88](https://github.com/whatwg/url/commit/0915d886bbf409331857f56e6d2bfd0cb5e01de7). | ||
whatwg-url is currently up to date with the URL spec up to commit [6d4669a](https://github.com/whatwg/url/commit/6d4669a9a8cc90582bdb1e3cdb758e45242812b0). | ||
@@ -10,0 +10,0 @@ For `file:` URLs, whose [origin is left unspecified](https://url.spec.whatwg.org/#concept-url-origin), whatwg-url chooses to use a new opaque origin (which serializes to `"null"`). |
90634
Updatedtr46@^2.1.0