diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e1f41f..a618712 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.21.4 | 2023-09-02 | `wifiConnections()` fixed when no wifi chip (macOS) | | 5.21.3 | 2023-08-31 | `cpuTemperature()` improved parsing for AMD (linux) | | 5.21.2 | 2023-08-30 | `cpuTemperature()` improved parsing for AMD (linux) | | 5.21.1 | 2023-08-28 | `graphics()` subVendor fix (linux) | diff --git a/docs/history.html b/docs/history.html index ffb163c..0d85261 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.21.4 + 2023-09-02 + wifiConnections() fixed when no wifi chip (macOS) + 5.21.3 2023-08-31 diff --git a/docs/index.html b/docs/index.html index 1d3d6fb..72d7fda 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.21.3
+
New Version: 5.21.4
diff --git a/lib/wifi.js b/lib/wifi.js index 957f36c..39ad08c 100644 --- a/lib/wifi.js +++ b/lib/wifi.js @@ -598,6 +598,11 @@ function wifiConnections(callback) { } resolve(result); }); + } else { + if (callback) { + callback(result); + } + resolve(result); } }); } else if (_windows) {