systeminformation 5.27.16 → 5.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/lib/cpu.js +232 -39
- package/lib/graphics.js +348 -241
- package/lib/network.js +1 -1
- package/lib/system.js +246 -143
- package/lib/util.js +52 -51
- package/lib/wifi.js +120 -129
- package/package.json +1 -1
package/lib/network.js
CHANGED
|
@@ -786,7 +786,7 @@ function networkInterfaces(callback, rescan, defaultString) {
|
|
|
786
786
|
|
|
787
787
|
nics.forEach((nic) => {
|
|
788
788
|
if ({}.hasOwnProperty.call(ifaces, nic.iface)) {
|
|
789
|
-
ifaces[nic.iface].forEach(
|
|
789
|
+
ifaces[nic.iface].forEach((details) => {
|
|
790
790
|
if (details.family === 'IPv4' || details.family === 4) {
|
|
791
791
|
nic.ip4subnet = details.netmask;
|
|
792
792
|
}
|