systeminformation 5.21.9 → 5.21.10
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.
- package/lib/internet.js +0 -1
- package/lib/wifi.js +6 -2
- package/package.json +1 -1
package/lib/internet.js
CHANGED
package/lib/wifi.js
CHANGED
|
@@ -366,8 +366,12 @@ function parseWifiDarwin(wifiObj) {
|
|
|
366
366
|
});
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
if (wifiItem.SSID) {
|
|
370
|
-
|
|
369
|
+
if (wifiItem.SSID && ssid === '') {
|
|
370
|
+
try {
|
|
371
|
+
ssid = Buffer.from(wifiItem.SSID, 'base64').toString('utf8');
|
|
372
|
+
} catch (err) {
|
|
373
|
+
util.noop();
|
|
374
|
+
}
|
|
371
375
|
}
|
|
372
376
|
result.push({
|
|
373
377
|
ssid,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.21.
|
|
3
|
+
"version": "5.21.10",
|
|
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)",
|