wifiNetworks() improved parsing (mac OS)
This commit is contained in:
parent
fc90ccb3e4
commit
1b1552c94d
@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
||||
| 5.21.10 | 2023-10-04 | `wifiNetworks()` improved parsing (macOS) |
|
||||
| 5.21.9 | 2023-09-25 | `general` code cleanup |
|
||||
| 5.21.8 | 2023-09-20 | `battery()` fixed parsing (linux) |
|
||||
| 5.21.7 | 2023-09-19 | `wifiConnections()` `wifiNetworks()` fixed security issue (linux) |
|
||||
|
||||
@ -57,6 +57,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.21.10</th>
|
||||
<td>2023-10-04</td>
|
||||
<td><span class="code">wifiNetworks()</span> improved parsing (macOS)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.21.9</th>
|
||||
<td>2023-09-25</td>
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
<img class="logo" src="assets/logo.png" alt="logo">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span> </div>
|
||||
<div class="version">New Version: <span id="version">5.21.9</span></div>
|
||||
<div class="version">New Version: <span id="version">5.21.10</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>
|
||||
</div>
|
||||
<div class="down">
|
||||
@ -212,7 +212,7 @@
|
||||
<div class="title">Downloads last month</div>
|
||||
</div>
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
||||
<div class="numbers">650</div>
|
||||
<div class="numbers">658</div>
|
||||
<div class="title">Dependents</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -366,8 +366,12 @@ function parseWifiDarwin(wifiObj) {
|
||||
});
|
||||
}
|
||||
}
|
||||
if (wifiItem.SSID) {
|
||||
if (wifiItem.SSID && ssid === '') {
|
||||
try {
|
||||
ssid = Buffer.from(wifiItem.SSID, 'base64').toString('utf8');
|
||||
} catch (err) {
|
||||
util.noop();
|
||||
}
|
||||
}
|
||||
result.push({
|
||||
ssid,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user