systeminformation 5.9.17 → 5.9.18

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.
Files changed (2) hide show
  1. package/lib/wifi.js +1 -4
  2. package/package.json +1 -1
package/lib/wifi.js CHANGED
@@ -377,10 +377,7 @@ function parseWifiDarwin(wifiObj) {
377
377
  security,
378
378
  wpaFlags,
379
379
  rsnFlags: []
380
-
381
380
  });
382
- wifiItem.BSSID;
383
-
384
381
  });
385
382
  }
386
383
  return result;
@@ -578,7 +575,7 @@ function wifiConnections(callback) {
578
575
  const noise = util.toInt(util.getValue(lines2, 'agrCtlNoise', ':', true));
579
576
  const signalLevel = rssi - noise;
580
577
  // const signal = wifiQualityFromDB(signalLevel);
581
- if (ssid && bssid) {
578
+ if (ssid || bssid) {
582
579
  result.push({
583
580
  id: 'Wi-Fi',
584
581
  iface,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.9.17",
3
+ "version": "5.9.18",
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)",