( range: string, depName: string, catalogChanges: Map<string, Set<string>>, )
| 230 | * Used to match package.json dep ranges against changed catalog entries. |
| 231 | */ |
| 232 | export function isCatalogRefAffected( |
| 233 | range: string, |
| 234 | depName: string, |
| 235 | catalogChanges: Map<string, Set<string>>, |
| 236 | ): boolean { |
| 237 | if (!range.startsWith('catalog:')) return false; |
| 238 | return catalogChanges.get(catalogNameFromRange(range))?.has(depName) ?? false; |
| 239 | } |
no test coverage detected
searching dependent graphs…