(field: string, from: unknown, to: string | number)
| 147 | * describing the repository rather than the software. |
| 148 | */ |
| 149 | const propose = (field: string, from: unknown, to: string | number) => { |
| 150 | const change = { field, from, to }; |
| 151 | if (AUTO_APPLIED.has(field) || from == null || from === "") { |
| 152 | changes.push(change); |
| 153 | return; |
| 154 | } |
| 155 | if (ACCEPTED.has(`${entry.slug}:${field}`)) { |
| 156 | changes.push(change); |
| 157 | return; |
| 158 | } |
| 159 | if (isRejected(OVERRIDES, entry.slug, field, String(to))) return; |
| 160 | suggestions.push(change); |
| 161 | }; |
| 162 | |
| 163 | if (meta) { |
| 164 | // repository — upstream resolves renames/transfers, so a differing |
no test coverage detected