wifiNetworks() improved SSID parsing (macOS)

This commit is contained in:
Sebastian Hildebrandt 2023-08-23 07:32:35 +02:00
parent 525538cf60
commit ec625f72e1
6 changed files with 47 additions and 41 deletions

View File

@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment | | Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- | | ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.19.1 | 2023-08-23 | `wifiNetworks()` improved SSID parsing (macOS) |
| 5.19.0 | 2023-08-22 | `currentLoad()` added steal and guest time (linux) | | 5.19.0 | 2023-08-22 | `currentLoad()` added steal and guest time (linux) |
| 5.18.15 | 2023-08-10 | `npm` command extended | | 5.18.15 | 2023-08-10 | `npm` command extended |
| 5.18.14 | 2023-08-09 | `fsSIze()` fixed syntax error | | 5.18.14 | 2023-08-09 | `fsSIze()` fixed syntax error |

View File

@ -57,6 +57,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">5.19.1</th>
<td>2023-08-23</td>
<td><span class="code">wifiNetworks()</span> improved parsing SSID (macOS)</td>
</tr>
<tr> <tr>
<th scope="row">5.19.0</th> <th scope="row">5.19.0</th>
<td>2023-08-22</td> <td>2023-08-22</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo"> <img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div> <div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div> <div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.19.0</span></div> <div class="version">New Version: <span id="version">5.19.1</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button> <button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div> </div>
<div class="down"> <div class="down">

View File

@ -162,9 +162,9 @@
<td>currentLoadGuest</td> <td>currentLoadGuest</td>
<td>X</td> <td>X</td>
<td></td> <td></td>
<td>X</td> <td></td>
<td>X</td> <td></td>
<td>X</td> <td></td>
<td>Time spent for running virtual CPU in %</td> <td>Time spent for running virtual CPU in %</td>
</tr> </tr>
<tr> <tr>

View File

@ -366,9 +366,9 @@ function parseWifiDarwin(wifiObj) {
}); });
} }
} }
// if (wifiItem.SSID) { if (wifiItem.SSID) {
// ssid = Buffer.from(wifiItem.SSID, 'base64').toString('utf8'); ssid = Buffer.from(wifiItem.SSID, 'base64').toString('utf8');
// } }
result.push({ result.push({
ssid, ssid,
bssid: wifiItem.BSSID || '', bssid: wifiItem.BSSID || '',