mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 20:30:04 +02:00
update node modules
This commit is contained in:
7
node_modules/whatwg-url/dist/url-state-machine.js
generated
vendored
7
node_modules/whatwg-url/dist/url-state-machine.js
generated
vendored
@@ -756,6 +756,10 @@ URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) {
|
||||
return failure;
|
||||
}
|
||||
|
||||
if (this.stateOverride === "hostname") {
|
||||
return false;
|
||||
}
|
||||
|
||||
const host = parseHost(this.buffer, isNotSpecial(this.url));
|
||||
if (host === failure) {
|
||||
return failure;
|
||||
@@ -764,9 +768,6 @@ URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) {
|
||||
this.url.host = host;
|
||||
this.buffer = "";
|
||||
this.state = "port";
|
||||
if (this.stateOverride === "hostname") {
|
||||
return false;
|
||||
}
|
||||
} else if (isNaN(c) || c === 47 || c === 63 || c === 35 ||
|
||||
(isSpecial(this.url) && c === 92)) {
|
||||
--this.pointer;
|
||||
|
Reference in New Issue
Block a user