systeminformation 5.22.4 → 5.22.6
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/lib/network.js +1 -1
- package/lib/wifi.js +1 -1
- package/package.json +1 -1
package/lib/network.js
CHANGED
|
@@ -1033,7 +1033,7 @@ function networkInterfaces(callback, rescan, defaultString) {
|
|
|
1033
1033
|
ifaceName = detail.name;
|
|
1034
1034
|
dhcp = detail.dhcp;
|
|
1035
1035
|
operstate = detail.operstate;
|
|
1036
|
-
speed = detail.speed;
|
|
1036
|
+
speed = operstate === 'up' ? detail.speed : 0;
|
|
1037
1037
|
type = detail.type;
|
|
1038
1038
|
foundFirst = true;
|
|
1039
1039
|
}
|
package/lib/wifi.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.22.
|
|
3
|
+
"version": "5.22.6",
|
|
4
4
|
"description": "Advanced, lightweight system and OS information library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",
|