-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typeof os.networkInterfaces family is a number (v18.0.0) #42861
Comments
VoltrexKeyva
changed the title
typeof os.networkInterfaces family is a number (v18.0.0
typeof os.networkInterfaces family is a number (v18.0.0)
Apr 25, 2022
zhangyuheng
added a commit
to zhangyuheng/address
that referenced
this issue
Apr 29, 2022
- typeof os.networkInterfaces family is a number (v18.0.0) @see nodejs/node#42861
zhangyuheng
added a commit
to zhangyuheng/address
that referenced
this issue
Apr 29, 2022
- typeof os.networkInterfaces family is a number (v18.0.0) @see nodejs/node#42861
fengmk2
pushed a commit
to node-modules/address
that referenced
this issue
Apr 29, 2022
- typeof os.networkInterfaces family is a number (v18.0.0) @see nodejs/node#42861 closes #25
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: