From aad942f474e0448446d941541fc4ad828fb964c8 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Tue, 12 Mar 2024 17:17:32 +0100 Subject: [PATCH] wifiConnections() patch for mac OS Sonome 14.4 (macOS) --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 2 +- lib/wifi.js | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e645893..f590d7e 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.22.1 | 2024-03-12 | `wifiConnections()` patch for mac OS Sonome 14.4 (macOS) | | 5.22.0 | 2024-02-18 | `wifiConnections()` added signal quality attribute | | 5.21.25 | 2024-02-17 | `wifiConnections()` fixed signal strength (windows) | | 5.21.24 | 2024-01-21 | `osInfo()` improved release version parsing (linux) | diff --git a/docs/history.html b/docs/history.html index 77129c8..ef2cf42 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.22.1 + 2024-03-12 + wifiConnections() patch for mac OS Sonome 14.4 (macOS) + 5.22.0 2024-02-18 diff --git a/docs/index.html b/docs/index.html index 4caab5f..f31743c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.22.0
+
New Version: 5.22.1
diff --git a/lib/wifi.js b/lib/wifi.js index a822786..06aa783 100644 --- a/lib/wifi.js +++ b/lib/wifi.js @@ -621,7 +621,7 @@ function wifiConnections(callback) { } if (lines2.length > 10) { const ssid = util.getValue(lines2, 'ssid', ':', true); - const bssid = util.getValue(lines2, 'bssid', ':', true) || formatBssid(util.getValue(lines3, 'IO80211BSSID', '=', true));; + const bssid = util.getValue(lines2, 'bssid', ':', true) || formatBssid(util.getValue(lines3, 'IO80211BSSID', '=', true)); const security = util.getValue(lines2, 'link auth', ':', true); const txRate = util.getValue(lines2, 'lastTxRate', ':', true); const channel = util.getValue(lines2, 'channel', ':', true).split(',')[0];