The target field is named target here; Node spells the identical field
name. Normalizing both onto SrvRecord.host is the whole reason
these two resolvers exist separately — a port that passed either shape
through unchanged would type-check on both runtimes and produce undefined
hostnames on one of them.
One SRV record as
Deno.resolveDnsreturns it.The target field is named
targethere; Node spells the identical fieldname. Normalizing both ontoSrvRecord.hostis the whole reason these two resolvers exist separately — a port that passed either shape through unchanged would type-check on both runtimes and produceundefinedhostnames on one of them.Since
0.2.0