systeminformation
Advanced tools
Comparing version
@@ -466,2 +466,3 @@ 'use strict'; | ||
gulp: '', | ||
homebrew: '', | ||
java: '', | ||
@@ -498,3 +499,3 @@ mongodb: '', | ||
versions: versionObject, | ||
counter: 32 | ||
counter: 34 | ||
}; | ||
@@ -614,2 +615,12 @@ } | ||
} | ||
if ({}.hasOwnProperty.call(appsObj.versions, 'homebrew')) { | ||
cmd = 'brew'; | ||
exec(`${cmd} --version`, function (error, stdout) { | ||
if (!error) { | ||
const brew = stdout.toString().split('\n')[0] || ''; | ||
appsObj.versions.homebrew = (brew.toLowerCase().split(' ')[1] || '').trim(); | ||
} | ||
functionProcessed(); | ||
}); | ||
} | ||
if ({}.hasOwnProperty.call(appsObj.versions, 'tsc')) { | ||
@@ -616,0 +627,0 @@ cmd = 'tsc'; |
{ | ||
"name": "systeminformation", | ||
"version": "5.24.9", | ||
"version": "5.25.0", | ||
"description": "Advanced, lightweight system and OS information library", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
816864
0.1%18374
0.13%1203
0.08%