steam-sysreq
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -26,9 +26,7 @@ import { osInfo, cpu, mem, graphics, fsSize } from 'systeminformation'; | ||
os: `${formattedOsNames[osInfo_.platform] ?? osInfo_.platform} ${osInfo_.kernel} (${osInfo_.distro} ${osInfo_.release})`, | ||
processor: `${cpu_.manufacturer} ${cpu_.brand} @ ${cpu_.speedMax.toFixed(2)}GHz`, | ||
processor: `${cpu_.manufacturer}${cpu_.brand.length !== 0 ? ` ${cpu_.brand}` : ''} @ ${cpu_.speedMax.toFixed(2)}GHz`, | ||
ram: formatBytes(mem_.total), | ||
graphics: graphics_.controllers.map((controller) => `${controller.vendor} ${controller.model.at(-1) === ' ' | ||
? controller.model.slice(0, -1) | ||
: controller.model}`), | ||
availableDiskSpace: formatBytes(fsSize_[0].available) | ||
graphics: graphics_.controllers.map((controller) => `${controller.vendor} ${controller.model.trim()}`), | ||
availableDiskSpace: fsSize_.length !== 0 ? formatBytes(fsSize_[0].available) : null | ||
}; | ||
} |
{ | ||
"name": "steam-sysreq", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "Gets system requirement information to compare to the ones shown in Steam.", | ||
@@ -20,20 +20,20 @@ "main": "index.js", | ||
"dependencies": { | ||
"systeminformation": "^5.12.12" | ||
"systeminformation": "^5.17.12" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^18.11.9", | ||
"@typescript-eslint/eslint-plugin": "^5.42.0", | ||
"@typescript-eslint/parser": "^5.42.0", | ||
"eslint": "^8.26.0", | ||
"prettier": "^2.7.1", | ||
"typescript": "^4.8.4" | ||
"@types/node": "^18.16.3", | ||
"@typescript-eslint/eslint-plugin": "^5.59.2", | ||
"@typescript-eslint/parser": "^5.59.2", | ||
"eslint": "^8.39.0", | ||
"prettier": "^2.8.8", | ||
"typescript": "^5.0.4" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/VoltrexMaster/steam-sysreq/issues" | ||
"url": "https://github.com/VoltrexKeyva/steam-sysreq/issues" | ||
}, | ||
"homepage": "https://github.com/VoltrexMaster/steam-sysreq", | ||
"homepage": "https://github.com/VoltrexKeyva/steam-sysreq", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/VoltrexMaster/steam-sysreq" | ||
"url": "git+https://github.com/VoltrexKeyva/steam-sysreq" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
3952
31
Updatedsysteminformation@^5.17.12