systeminformation 5.9.13 → 5.9.17

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 CHANGED
@@ -1428,16 +1428,16 @@ function cpuCache(callback) {
1428
1428
  const installedSize = util.getValue(lines, 'InstalledSize');
1429
1429
  // L1 Instructions
1430
1430
  if (level === '3' && cacheType === '3') {
1431
- result.cache.l1i = parseInt(installedSize, 10);
1431
+ result.l1i = parseInt(installedSize, 10);
1432
1432
  }
1433
1433
  // L1 Data
1434
1434
  if (level === '3' && cacheType === '4') {
1435
- result.cache.l1d = parseInt(installedSize, 10);
1435
+ result.l1d = parseInt(installedSize, 10);
1436
1436
  }
1437
1437
  // L1 all
1438
- if (level === '3' && cacheType === '5' && !result.cache.l1i && !result.cache.l1d) {
1439
- result.cache.l1i = parseInt(installedSize, 10) / 2;
1440
- result.cache.l1d = parseInt(installedSize, 10) / 2;
1438
+ if (level === '3' && cacheType === '5' && !result.l1i && !result.l1d) {
1439
+ result.l1i = parseInt(installedSize, 10) / 2;
1440
+ result.l1d = parseInt(installedSize, 10) / 2;
1441
1441
  }
1442
1442
  });
1443
1443
  }