systeminformation 5.21.1 → 5.21.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/lib/cpu.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -370,7 +370,7 @@ Full function reference with examples can be found at [https://systeminformation
370
370
  | | platform | X | X | X | X | X | 'linux', 'darwin', 'win32', ... |
371
371
  | | distro | X | X | X | X | X | |
372
372
  | | release | X | X | X | X | X | |
373
- | | codename | | | X | | | |
373
+ | | codename | X | | X | | | |
374
374
  | | kernel | X | X | X | X | X | kernel release - same as os.release() |
375
375
  | | arch | X | X | X | X | X | same as os.arch() |
376
376
  | | hostname | X | X | X | X | X | same as os.hostname() |
package/lib/cpu.js CHANGED
@@ -1067,7 +1067,7 @@ function cpuTemperature(callback) {
1067
1067
  const value = parts.length > 1 && parts[1] ? parts[1] : '0';
1068
1068
  if (value && (label === undefined || (label && label.toLowerCase().startsWith('core')))) {
1069
1069
  result.cores.push(Math.round(parseInt(value, 10) / 100) / 10);
1070
- } else if (value && label && result.main === null && (label.toLowerCase().indexOf('package') >= 0 || label.toLowerCase().indexOf('physical') >= 0)) {
1070
+ } else if (value && label && result.main === null && (label.toLowerCase().indexOf('package') >= 0 || label.toLowerCase().indexOf('physical') >= 0 || label.toLowerCase() === 'tctl')) {
1071
1071
  result.main = Math.round(parseInt(value, 10) / 100) / 10;
1072
1072
  }
1073
1073
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.21.1",
3
+ "version": "5.21.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)",