in src/api/catalog-search/catalog-search.ts [235:244]
public findByName(query: string): ExtendedCatalogPackage[] {
const results = [...this.map.values()].filter((pkg) => pkg.name === query);
const matches = new Array<ExtendedCatalogPackage>();
for (const pkg of results.values()) {
if (pkg.name === query) {
matches.push(pkg);
}
}
return matches;
}