systeminformation 5.28.0 → 5.28.1

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/util.js CHANGED
@@ -51,13 +51,13 @@ const _psIdSeperator = '--##ID##--';
51
51
 
52
52
  const execOptsWin = {
53
53
  windowsHide: true,
54
- maxBuffer: 1024 * 20000,
54
+ maxBuffer: 1024 * 102400,
55
55
  encoding: 'UTF-8',
56
56
  env: Object.assign({}, process.env, { LANG: 'en_US.UTF-8' })
57
57
  };
58
58
 
59
59
  const execOptsLinux = {
60
- maxBuffer: 1024 * 20000,
60
+ maxBuffer: 1024 * 102400,
61
61
  encoding: 'UTF-8',
62
62
  stdio: ['pipe', 'pipe', 'ignore']
63
63
  };
@@ -436,7 +436,7 @@ function powerShellStart() {
436
436
  _psChild = spawn(_powerShell, ['-NoProfile', '-NoLogo', '-InputFormat', 'Text', '-NoExit', '-Command', '-'], {
437
437
  stdio: 'pipe',
438
438
  windowsHide: true,
439
- maxBuffer: 1024 * 20000,
439
+ maxBuffer: 1024 * 102400,
440
440
  encoding: 'UTF-8',
441
441
  env: Object.assign({}, process.env, { LANG: 'en_US.UTF-8' })
442
442
  });
@@ -516,7 +516,7 @@ function powerShell(cmd) {
516
516
  const child = spawn(_powerShell, ['-NoProfile', '-NoLogo', '-InputFormat', 'Text', '-ExecutionPolicy', 'Unrestricted', '-Command', cmd], {
517
517
  stdio: 'pipe',
518
518
  windowsHide: true,
519
- maxBuffer: 1024 * 20000,
519
+ maxBuffer: 1024 * 102400,
520
520
  encoding: 'UTF-8',
521
521
  env: Object.assign({}, process.env, { LANG: 'en_US.UTF-8' })
522
522
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.28.0",
3
+ "version": "5.28.1",
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)",