( diff: ApiDiff, annotations: ReadonlyMap<string, MigrationAnnotation>, importMapSections: string )
| 417 | } |
| 418 | |
| 419 | export const unannotatedModuleIds = ( |
| 420 | diff: ApiDiff, |
| 421 | annotations: ReadonlyMap<string, MigrationAnnotation>, |
| 422 | importMapSections: string |
| 423 | ): ReadonlyArray<string> => { |
| 424 | const replacements = importMapReplacements(importMapSections) |
| 425 | return removedModules(diff).filter((module) => |
| 426 | !annotations.has(module) && |
| 427 | !replacements.has(module) && |
| 428 | ![...annotations.keys()].some((id) => id.startsWith(`${module}#`)) |
| 429 | ) |
| 430 | } |
| 431 | |
| 432 | export const renderMissingAnnotations = ( |
| 433 | diff: ApiDiff, |
no test coverage detected