systeminformation 5.28.6 → 5.28.7
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 +3 -3
- package/package.json +1 -1
package/lib/network.js
CHANGED
|
@@ -997,9 +997,9 @@ function networkInterfaces(callback, rescan, defaultString) {
|
|
|
997
997
|
mtu = parseInt(util.getValue(lines, 'mtu'), 10);
|
|
998
998
|
let myspeed = parseInt(util.getValue(lines, 'speed'), 10);
|
|
999
999
|
speed = isNaN(myspeed) ? null : myspeed;
|
|
1000
|
-
|
|
1001
|
-
if (speed === null && wirelessspeed
|
|
1002
|
-
myspeed = parseFloat(wirelessspeed
|
|
1000
|
+
const wirelessspeed = util.getValue(lines, 'tx bitrate');
|
|
1001
|
+
if (speed === null && wirelessspeed) {
|
|
1002
|
+
myspeed = parseFloat(wirelessspeed);
|
|
1003
1003
|
speed = isNaN(myspeed) ? null : myspeed;
|
|
1004
1004
|
}
|
|
1005
1005
|
carrierChanges = parseInt(util.getValue(lines, 'carrier_changes'), 10);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.28.
|
|
3
|
+
"version": "5.28.7",
|
|
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)",
|