systeminformation 5.18.6 → 5.18.7

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/index.d.ts CHANGED
@@ -2,6 +2,8 @@
2
2
  // Project: https://github.com/sebhildebrandt/systeminformation
3
3
  // Definitions by: sebhildebrandt <https://github.com/sebhildebrandt>
4
4
 
5
+ /// <reference types="node" />
6
+
5
7
  export namespace Systeminformation {
6
8
 
7
9
  // 1. General
package/lib/osinfo.js CHANGED
@@ -314,6 +314,7 @@ function osInfo(callback) {
314
314
  result.codename = (result.release.startsWith('11.') ? 'macOS Big Sur' : result.codename);
315
315
  result.codename = (result.release.startsWith('12.') ? 'macOS Monterey' : result.codename);
316
316
  result.codename = (result.release.startsWith('13.') ? 'macOS Ventura' : result.codename);
317
+ result.codename = (result.release.startsWith('14.') ? 'macOS Sonoma' : result.codename);
317
318
  result.uefi = true;
318
319
  result.codepage = util.getCodepage();
319
320
  if (callback) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.18.6",
3
+ "version": "5.18.7",
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)",