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