1
0
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:
s2
2021-06-19 01:25:45 +02:00
parent ef3070bdb7
commit cea9885dde
658 changed files with 5044 additions and 80808 deletions

View File

@@ -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;