systeminformation 5.22.9 → 5.22.11

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/osinfo.js CHANGED
@@ -320,6 +320,7 @@ function osInfo(callback) {
320
320
  result.codename = (result.release.startsWith('12.') ? 'macOS Monterey' : result.codename);
321
321
  result.codename = (result.release.startsWith('13.') ? 'macOS Ventura' : result.codename);
322
322
  result.codename = (result.release.startsWith('14.') ? 'macOS Sonoma' : result.codename);
323
+ result.codename = (result.release.startsWith('15.') ? 'macOS Sequoia' : result.codename);
323
324
  result.uefi = true;
324
325
  result.codepage = util.getCodepage();
325
326
  if (callback) {
package/lib/util.js CHANGED
@@ -416,7 +416,7 @@ function powerShellStart() {
416
416
  powerShellProceedResults(_psResult + _psError);
417
417
  });
418
418
  _psChild.on('close', function () {
419
- _psChild.kill();
419
+ if (_psChild) { _psChild.kill(); }
420
420
  });
421
421
  }
422
422
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.22.9",
3
+ "version": "5.22.11",
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)",