systeminformation 4.34.8 → 4.34.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/CHANGELOG.md CHANGED
@@ -30,7 +30,8 @@ For major (breaking) changes - version 3 and 2 see end of page.
30
30
 
31
31
  | Version | Date | Comment |
32
32
  | -------------- | -------------- | -------- |
33
- | 4.34.8 | 2020-01-25 | `graphics()` controller subid fix (win) |
33
+ | 4.34.9 | 2020-01-25 | `graphics()` virtual controller vram value fix (win) |
34
+ | 4.34.8 | 2020-01-25 | `graphics()` controller subDeviceId fix (win) |
34
35
  | 4.34.7 | 2020-01-13 | `services()` improved service discovery (linux) |
35
36
  | 4.34.6 | 2020-01-12 | `networkInterfaces()` catch errors |
36
37
  | 4.34.5 | 2020-01-07 | `networkInterfaceDefault()` fixed CMD popup (windows) |
package/lib/graphics.js CHANGED
@@ -899,7 +899,7 @@ function graphics(callback) {
899
899
  vendor: util.getValue(lines, 'AdapterCompatibility', '='),
900
900
  model: util.getValue(lines, 'name', '='),
901
901
  bus: util.getValue(lines, 'PNPDeviceID', '=').startsWith('PCI') ? 'PCI' : '',
902
- vram: parseInt(util.getValue(lines, 'AdapterRAM', '='), 10) / 1024 / 1024,
902
+ vram: util.toInt(util.getValue(lines, 'AdapterRAM', '=')) / 1024 / 1024,
903
903
  vramDynamic: (util.getValue(lines, 'VideoMemoryType', '=') === '2'),
904
904
  subDeviceId
905
905
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "4.34.8",
3
+ "version": "4.34.9",
4
4
  "description": "Simple system and OS information library",
5
5
  "license": "MIT",
6
6
  "author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",