systeminformation 5.28.9 → 5.28.10

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/graphics.js +1 -1
  2. package/package.json +1 -1
package/lib/graphics.js CHANGED
@@ -462,7 +462,7 @@ function graphics(callback) {
462
462
  options.stdio = ['pipe', 'pipe', 'ignore'];
463
463
  }
464
464
  try {
465
- const sanitized = util.sanitizeShellString(cmd) + (_linux ? ' 2>/dev/null' : '');
465
+ const sanitized = util.sanitizeShellString(cmd) + (_linux ? ' 2>/dev/null' : '') + (_windows ? ' 2> nul' : '');
466
466
  const res = execSync(sanitized, options).toString();
467
467
  return res;
468
468
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.28.9",
3
+ "version": "5.28.10",
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)",