systeminformation 5.25.8 → 5.25.9
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/README.md +0 -21
- package/lib/memory.js +4 -2
- package/lib/util.js +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,27 +30,6 @@
|
|
|
30
30
|
|
|
31
31
|
## The Systeminformation Project
|
|
32
32
|
|
|
33
|
-
```
|
|
34
|
-
.''.
|
|
35
|
-
.''. . *''* :_\/_:
|
|
36
|
-
:_\/_: _\(/_ .:.*_\/_* : /\ :
|
|
37
|
-
.''.: /\ : ./)\ ':'* /\ * : '..'.
|
|
38
|
-
:_\/_:'.:::. ' *''* * '.\'/.' _\(/_
|
|
39
|
-
: /\ : ::::: *_\/_* -= o =- /)\
|
|
40
|
-
'..' ':::' * /\ * .'/.\'. '
|
|
41
|
-
*..* :
|
|
42
|
-
*
|
|
43
|
-
* /.\ * * . *
|
|
44
|
-
. /..'\ . . * .
|
|
45
|
-
*/'.'\* . . . * *
|
|
46
|
-
* /.''.'\ * . . . *
|
|
47
|
-
. */.'.'.\*
|
|
48
|
-
.........".""""/'.''.'.\""."."........".".".......................
|
|
49
|
-
^^^[_]^^^*
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
I wish you all a Merry Christmas and a peaceful New Year 2025.
|
|
53
|
-
|
|
54
33
|
This is amazing. Started as a small project just for myself, it now has > 17,000
|
|
55
34
|
lines of code, > 650 versions published, up to 8 mio downloads per month, > 330
|
|
56
35
|
mio downloads overall. #1 NPM ranking for backend packages. Thank you to all who
|
package/lib/memory.js
CHANGED
|
@@ -409,10 +409,12 @@ function memLayout(callback) {
|
|
|
409
409
|
'0': 400,
|
|
410
410
|
'1': 450,
|
|
411
411
|
'2': 450,
|
|
412
|
-
'3': 3200
|
|
412
|
+
'3': 3200,
|
|
413
|
+
'4': 4267
|
|
413
414
|
};
|
|
414
415
|
result[0].type = 'LPDDR2';
|
|
415
|
-
result[0].type = version && version[2] && version[2] === '3' ? 'LPDDR4' : result[0].type;
|
|
416
|
+
result[0].type = version && version[2] && (version[2] === '3') ? 'LPDDR4' : result[0].type;
|
|
417
|
+
result[0].type = version && version[2] && (version[2] === '4') ? 'LPDDR4X' : result[0].type;
|
|
416
418
|
result[0].ecc = false;
|
|
417
419
|
result[0].clockSpeed = version && version[2] && clockSpeed[version[2]] || 400;
|
|
418
420
|
result[0].clockSpeed = version && version[4] && version[4] === 'd' ? 500 : result[0].clockSpeed;
|
package/lib/util.js
CHANGED
|
@@ -1094,9 +1094,11 @@ function decodePiCpuinfo(lines) {
|
|
|
1094
1094
|
return result;
|
|
1095
1095
|
}
|
|
1096
1096
|
|
|
1097
|
-
function getRpiGpu() {
|
|
1098
|
-
|
|
1099
|
-
if (_rpi_cpuinfo !==
|
|
1097
|
+
function getRpiGpu(cpuinfo) {
|
|
1098
|
+
|
|
1099
|
+
if (_rpi_cpuinfo === null && cpuinfo !== undefined) {
|
|
1100
|
+
_rpi_cpuinfo = cpuinfo;
|
|
1101
|
+
} else if (cpuinfo === undefined && _rpi_cpuinfo !== null) {
|
|
1100
1102
|
cpuinfo = _rpi_cpuinfo;
|
|
1101
1103
|
} else {
|
|
1102
1104
|
try {
|
|
@@ -1109,7 +1111,7 @@ function getRpiGpu() {
|
|
|
1109
1111
|
|
|
1110
1112
|
const rpi = decodePiCpuinfo(cpuinfo);
|
|
1111
1113
|
if (rpi.type === '4B' || rpi.type === 'CM4' || rpi.type === 'CM4S' || rpi.type === '400') { return 'VideoCore VI'; }
|
|
1112
|
-
if (rpi.type === '5') { return 'VideoCore VII'; }
|
|
1114
|
+
if (rpi.type === '5' || rpi.type === '500') { return 'VideoCore VII'; }
|
|
1113
1115
|
return 'VideoCore IV';
|
|
1114
1116
|
}
|
|
1115
1117
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.25.
|
|
3
|
+
"version": "5.25.9",
|
|
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)",
|