Skip to content

Conversation

mfdebian
Copy link
Contributor

@mfdebian mfdebian commented Aug 1, 2024

This PR adds the ESM counterparts of the CJS examples for the DNS documentation.

I've also updated examples like this one to reflect the up-to-date output for the lookup (it's an IPv6 address now).

I've also changed the examples that used example.com for example.org just to be consistent with the rest of the examples and to update the actual response received nowadays.

I've tested every single example and they all work/behave as expected.
Best regards!

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added dns Issues and PRs related to the dns subsystem. doc Issues and PRs related to the documentations. labels Aug 1, 2024
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Aug 6, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 6, 2024
@nodejs-github-bot nodejs-github-bot merged commit e2c6220 into nodejs:main Aug 6, 2024
@nodejs-github-bot
Copy link
Collaborator

Landed in e2c6220

@mfdebian mfdebian deleted the docs-dns-esm branch August 9, 2024 22:08
@RafaelGSS RafaelGSS mentioned this pull request Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. dns Issues and PRs related to the dns subsystem. doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants