Closed
Description
Affected URL(s)
https://nodejs.org/dist/latest-v18.x/docs/api/os.html#osnetworkinterfaces
Description of the problem
according to this commit: 3a26db9 , the type of os.networkInterfaces family is an integer now, but the api doc still show as string.
Another problem about this change, some functions of package require('ip') may not working. error message: details.family.toLowerCase is not a function
detail code: https://github.com/indutny/node-ip/blob/master/lib/ip.js#L385
(Just bring it up incase someone get the same error