dns.lookup options type coercion DEP0153
Handle DEP0153 by converting literal dns.lookup() and dnsPromises.lookup() option values to their proper types.
See DEP0153.
Example
diff
diff
Limitations
This recipe only changes literal option values. Dynamic values such as { family: familyOption } need manual review.