(o)
| 153 | |
| 154 | // Strip empty values so they don't shadow enrichment defaults during merge |
| 155 | const compact = (o) => |
| 156 | Object.fromEntries( |
| 157 | Object.entries(o).filter(([, v]) => v !== undefined && v !== null && v !== ''), |
| 158 | ); |
| 159 | |
| 160 | // Resolve hostname to IP so providers requiring a numeric address still work |
| 161 | const resolveHost = async (hostname) => { |