(depName: string, range: string, catalogs: CatalogMap)
| 192 | |
| 193 | /** Resolve a specific dependency's catalog: reference */ |
| 194 | export function resolveCatalogDep(depName: string, range: string, catalogs: CatalogMap): string | null { |
| 195 | if (!range.startsWith('catalog:')) return null; |
| 196 | const catalog = catalogs.get(catalogNameFromRange(range)); |
| 197 | if (!catalog) return null; |
| 198 | return catalog[depName] ?? null; |
| 199 | } |
| 200 | |
| 201 | /** |
| 202 | * Diff two catalog states and return the set of (catalogName → changed depNames). |
no test coverage detected
searching dependent graphs…