Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
set username(v) {
reinitializeURL(this);
const { url } = this;
if (url === null || url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file") {
return;
}
whatwgURL.setTheUsername(url, v);
updateHref(this);
}
set username(v) {
reinitializeURL(this);
const { url } = this;
if (url === null || url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file") {
return;
}
whatwgURL.setTheUsername(url, v);
updateHref(this);
}
set username(v) {
reinitializeURL(this);
const { url } = this;
if (url === null || url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file") {
return;
}
whatwgURL.setTheUsername(url, v);
updateHref(this);
}