(diff: ApiDiff)
| 117 | left.length === right.length && left.every((value, index) => value === right[index]) |
| 118 | |
| 119 | const addedApiSignatures = (diff: ApiDiff): ReadonlyMap<string, ReadonlyArray<string>> => { |
| 120 | const signatures = new Map<string, Array<string>>() |
| 121 | for (const change of diff.changes) { |
| 122 | if (change.classification !== "api-added" || change.headApiId === undefined || change.after === undefined) { |
| 123 | continue |
| 124 | } |
| 125 | const id = stableApiId(change.headApiId) |
| 126 | const group = signatures.get(id) |
| 127 | if (group === undefined) { |
| 128 | signatures.set(id, [change.after]) |
| 129 | } else { |
| 130 | group.push(change.after) |
| 131 | } |
| 132 | } |
| 133 | for (const group of signatures.values()) { |
| 134 | group.sort(compareStrings) |
| 135 | } |
| 136 | return signatures |
| 137 | } |
| 138 | |
| 139 | const isUnchangedModuleMove = ( |
| 140 | id: string, |
no test coverage detected