node-modules / address

Get current machine IP and MAC address.
Other
233 stars 32 forks source link

Nodev18 os.networkInterfaces() now returns a number instead of a string #28

Closed salazarm closed 2 years ago

salazarm commented 2 years ago

This is breaking address.ip() which is breaking react-scripts on node v18.

We should check process.version for node 18 and instead check for the number.