systeminformation 5.21.16 → 5.21.18
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/network.js +1 -1
- package/lib/util.js +2 -2
- package/package.json +1 -1
package/lib/network.js
CHANGED
|
@@ -1525,7 +1525,7 @@ function networkConnections(callback) {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
if (_darwin) {
|
|
1527
1527
|
// let cmd = 'netstat -natv | grep "ESTABLISHED\\|SYN_SENT\\|SYN_RECV\\|FIN_WAIT1\\|FIN_WAIT2\\|TIME_WAIT\\|CLOSE\\|CLOSE_WAIT\\|LAST_ACK\\|LISTEN\\|CLOSING\\|UNKNOWN"';
|
|
1528
|
-
let cmd = 'netstat -
|
|
1528
|
+
let cmd = 'netstat -natvln | grep "tcp4\\|tcp6\\|udp4\\|udp6"';
|
|
1529
1529
|
const states = 'ESTABLISHED|SYN_SENT|SYN_RECV|FIN_WAIT1|FIN_WAIT2|TIME_WAIT|CLOSE|CLOSE_WAIT|LAST_ACK|LISTEN|CLOSING|UNKNOWN';
|
|
1530
1530
|
exec(cmd, { maxBuffer: 1024 * 20000 }, function (error, stdout) {
|
|
1531
1531
|
if (!error) {
|
package/lib/util.js
CHANGED
|
@@ -993,7 +993,7 @@ function decodePiCpuinfo(lines) {
|
|
|
993
993
|
'13': '400',
|
|
994
994
|
'14': 'CM4',
|
|
995
995
|
'15': 'CM4S',
|
|
996
|
-
'17': '
|
|
996
|
+
'17': '5',
|
|
997
997
|
};
|
|
998
998
|
|
|
999
999
|
const revisionCode = getValue(lines, 'revision', ':', true);
|
|
@@ -1052,7 +1052,7 @@ function getRpiGpu() {
|
|
|
1052
1052
|
|
|
1053
1053
|
const rpi = decodePiCpuinfo(cpuinfo);
|
|
1054
1054
|
if (rpi.type === '4B' || rpi.type === 'CM4' || rpi.type === 'CM4S' || rpi.type === '400') { return 'VideoCore VI'; }
|
|
1055
|
-
if (rpi.type === '
|
|
1055
|
+
if (rpi.type === '5') { return 'VideoCore VII'; }
|
|
1056
1056
|
return 'VideoCore IV';
|
|
1057
1057
|
}
|
|
1058
1058
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.21.
|
|
3
|
+
"version": "5.21.18",
|
|
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)",
|