Skip to content

net: add note about ipv4 mapped to ipv6 being classified as ipv6#62117

Open
gamemaker1 wants to merge 1 commit intonodejs:mainfrom
gamemaker1:docs-net-ipv4-mapped-v6
Open

net: add note about ipv4 mapped to ipv6 being classified as ipv6#62117
gamemaker1 wants to merge 1 commit intonodejs:mainfrom
gamemaker1:docs-net-ipv4-mapped-v6

Conversation

@gamemaker1
Copy link

Hi,

This PR adds a note and examples to the documentation of the isIP and isIPv6 methods, informing the reader that IPv4 addresses mapped to IPv6 are classified as IPv6.

This is not related to an existing issue, as far as I could find. I am opening this PR in the context of GHSA-46wh-pxpv-q5gq.

Please let me know if I have made any mistake, or if this change is not something that you want to merge.

Thanks!

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem. labels Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants