systeminformation 5.27.0 → 5.27.2
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/cpu.js +15 -0
- package/lib/processes.js +1 -1
- package/lib/util.js +4 -0
- package/lib/wifi.js +2 -2
- package/package.json +1 -1
package/lib/cpu.js
CHANGED
|
@@ -571,6 +571,21 @@ const socketTypes = {
|
|
|
571
571
|
70: 'LGA2422',
|
|
572
572
|
71: 'LGA5773',
|
|
573
573
|
72: 'BGA5773',
|
|
574
|
+
73: 'AM5',
|
|
575
|
+
74: 'SP5',
|
|
576
|
+
75: 'SP6',
|
|
577
|
+
76: 'BGA883',
|
|
578
|
+
77: 'BGA1190',
|
|
579
|
+
78: 'BGA4129',
|
|
580
|
+
79: 'LGA4710',
|
|
581
|
+
80: 'LGA7529',
|
|
582
|
+
81: 'BGA1964',
|
|
583
|
+
82: 'BGA1792',
|
|
584
|
+
83: 'BGA2049',
|
|
585
|
+
84: 'BGA2551',
|
|
586
|
+
85: 'LGA1851',
|
|
587
|
+
86: 'BGA2114',
|
|
588
|
+
87: 'BGA2833'
|
|
574
589
|
};
|
|
575
590
|
|
|
576
591
|
const socketTypesByName = {
|
package/lib/processes.js
CHANGED
|
@@ -219,7 +219,7 @@ function services(srv, callback) {
|
|
|
219
219
|
|
|
220
220
|
} else {
|
|
221
221
|
ps = lines.filter(function (e) {
|
|
222
|
-
return (e.toLowerCase().indexOf(' ' + srv.toLowerCase() + ':') !== -1) || (e.toLowerCase().indexOf('/' + srv.toLowerCase()) !== -1);
|
|
222
|
+
return (e.toLowerCase().indexOf(' ' + srv.toLowerCase() + ':') !== -1) || (e.toLowerCase().indexOf('(' + srv.toLowerCase() + ' ') !== -1) || (e.toLowerCase().indexOf('(' + srv.toLowerCase() + ')') !== -1) || (e.toLowerCase().indexOf(' ' + srv.toLowerCase().replace(/[0-9.]/g, '') + ':') !== -1) || (e.toLowerCase().indexOf('/' + srv.toLowerCase()) !== -1);
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
const pids = [];
|
package/lib/util.js
CHANGED
|
@@ -635,6 +635,10 @@ function smartMonToolsInstalled() {
|
|
|
635
635
|
return _smartMonToolsInstalled;
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
+
// reference values: https://elinux.org/RPi_HardwareHistory
|
|
639
|
+
// https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
|
|
640
|
+
// https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#hardware-revision-codes
|
|
641
|
+
|
|
638
642
|
function isRaspberry(cpuinfo) {
|
|
639
643
|
const PI_MODEL_NO = [
|
|
640
644
|
'BCM2708',
|
package/lib/wifi.js
CHANGED
|
@@ -405,7 +405,7 @@ function parseWifiDarwin(wifiStr) {
|
|
|
405
405
|
wifiObj.forEach(function (wifiItem) {
|
|
406
406
|
|
|
407
407
|
let security = [];
|
|
408
|
-
const sm = wifiItem.spairport_security_mode;
|
|
408
|
+
const sm = wifiItem.spairport_security_mode || '';
|
|
409
409
|
if (sm === 'spairport_security_mode_wep') {
|
|
410
410
|
security.push('WEP');
|
|
411
411
|
} else if (sm === 'spairport_security_mode_wpa2_personal') {
|
|
@@ -666,7 +666,7 @@ function wifiConnections(callback) {
|
|
|
666
666
|
const signalLevel = airportWifiObj.spairport_signal_noise || null;
|
|
667
667
|
|
|
668
668
|
let security = [];
|
|
669
|
-
const sm = airportWifiObj.spairport_security_mode;
|
|
669
|
+
const sm = airportWifiObj.spairport_security_mode || '';
|
|
670
670
|
if (sm === 'spairport_security_mode_wep') {
|
|
671
671
|
security.push('WEP');
|
|
672
672
|
} else if (sm === 'spairport_security_mode_wpa2_personal') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.27.
|
|
3
|
+
"version": "5.27.2",
|
|
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)",
|