Title: doc: clarify dns.lookup() callback signature when all is true by galaxy4276 · Pull Request #62800 · nodejs/node · GitHub
Open Graph Title: doc: clarify dns.lookup() callback signature when all is true by galaxy4276 · Pull Request #62800 · nodejs/node
X Title: doc: clarify dns.lookup() callback signature when all is true by galaxy4276 · Pull Request #62800 · nodejs/node
Description: Summary The callback parameter block for dns.lookup() only documented the default signature (err, address, family). When options.all is set to true, the callback signature changes to (err, addresses), but the addresses argument was absent from the structured parameter documentation. it was only mentioned in prose below. Changes Add addresses {Object[]} to the callback parameter block, describing the array of { address, family } objects returned when options.all is true Add "Not provided when options.all is true" notes to address and family parameters to make the two code paths explicit Fixes: #57355 Test plan Documentation change only — no runtime behavior affected make lint-md passes
Open Graph Description: Summary The callback parameter block for dns.lookup() only documented the default signature (err, address, family). When options.all is set to true, the callback signature changes to (err, addresse...
X Description: Summary The callback parameter block for dns.lookup() only documented the default signature (err, address, family). When options.all is set to true, the callback signature changes to (err, addresse...
Opengraph URL: https://github.com/nodejs/node/pull/62800
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:79a36683-effc-3c03-84c4-b68807b3d974 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE32:AAFC3:BC8EB0:FE689B:6A4C58D6 |
| html-safe-nonce | 0b850c1514b8993ddfefeb703434755cab8a10515cdb5ad2c2d7ee182a1c8708 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTMyOkFBRkMzOkJDOEVCMDpGRTY4OUI6NkE0QzU4RDYiLCJ2aXNpdG9yX2lkIjoiNjA2NTAzMzA5OTgyOTA3NDEzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dffb194f1bd5d654cecbe7a87f3d34fcb5104b31672487dcc7b9fa5db3002617 |
| hovercard-subject-tag | pull_request:3549698356 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/pull/62800/files |
| twitter:image | https://avatars.githubusercontent.com/u/50310464?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/50310464?s=400&v=4 |
| og:image:alt | Summary The callback parameter block for dns.lookup() only documented the default signature (err, address, family). When options.all is set to true, the callback signature changes to (err, addresse... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 14099438da5379150f15a2892474c7c7e6c0e55e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width