Better Updates Tab and updates count (#2151)

* wip

* should be working now

* delete unused function

* delete 2 more unused functions

* update fixture to include beta registry

* address comments

* wait for connection to get local packages
This commit is contained in:
Matt Hill
2023-02-06 10:55:51 -07:00
committed by Aiden McClelland
parent 62f78e4312
commit 4d3df867da
7 changed files with 82 additions and 75 deletions

View File

@@ -45,10 +45,6 @@ export function isValidHttpUrl(url: string): boolean {
}
}
export function getUrlHostname(url: string): string {
return new URL(url).hostname
}
export function toUrl(text: string | null | undefined): string {
try {
const url = new URL(text as string)