You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As reported on discord here in node version 18 on MacOS, the value of rinfo.family was an integer type 4.
Even though the documentation here states the value should be of type string with value being either 'ipv4' or 'ipv6'. Clearly this is not the case as I was also able to confirm the issue.
This PR makes the check for rinfo.family more robust such that it does not fail in this observed mismatch between documentation and behaviour of node/os version.
The text was updated successfully, but these errors were encountered:
As reported on discord here in node version 18 on MacOS, the value of rinfo.family was an integer type 4.
Even though the documentation here states the value should be of type string with value being either 'ipv4' or 'ipv6'. Clearly this is not the case as I was also able to confirm the issue.
This PR makes the check for
rinfo.family
more robust such that it does not fail in this observed mismatch between documentation and behaviour of node/os version.The text was updated successfully, but these errors were encountered: