systeminformation 5.21.3 → 5.21.4

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 +5 -0
  2. package/package.json +1 -1
package/lib/wifi.js CHANGED
@@ -598,6 +598,11 @@ function wifiConnections(callback) {
598
598
  }
599
599
  resolve(result);
600
600
  });
601
+ } else {
602
+ if (callback) {
603
+ callback(result);
604
+ }
605
+ resolve(result);
601
606
  }
602
607
  });
603
608
  } else if (_windows) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.21.3",
3
+ "version": "5.21.4",
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)",