systeminformation 5.13.2 → 5.13.3

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 (2) hide show
  1. package/lib/cpu.js +1 -1
  2. package/package.json +1 -1
package/lib/cpu.js CHANGED
@@ -1044,7 +1044,7 @@ function cpuTemperature(callback) {
1044
1044
  const value = parts.length > 1 && parts[1] ? parts[1] : '0';
1045
1045
  if (value && (label === undefined || (label && label.toLowerCase().startsWith('core')))) {
1046
1046
  result.cores.push(Math.round(parseInt(value, 10) / 100) / 10);
1047
- } else if (value && label && result.main === null && (label.toLowerCase().indexOf('package') >= 0 || label.toLowerCase().startsWith('physical') >= 0)) {
1047
+ } else if (value && label && result.main === null && (label.toLowerCase().indexOf('package') >= 0 || label.toLowerCase().indexOf('physical') >= 0)) {
1048
1048
  result.main = Math.round(parseInt(value, 10) / 100) / 10;
1049
1049
  }
1050
1050
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.13.2",
3
+ "version": "5.13.3",
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)",