systeminformation
Advanced tools
Comparing version 5.22.11 to 5.23.0
@@ -80,2 +80,7 @@ 'use strict'; | ||
const iSerial = util.getValue(lines, 'iSerial', ' ', true).trim(); | ||
let iSerialParts = iSerial.split(' '); | ||
iSerialParts.shift(); | ||
const serial = iSerialParts.join(' '); | ||
result.id = (idVendor.startsWith('0x') ? idVendor.split(' ')[0].substr(2, 10) : '') + ':' + (idProduct.startsWith('0x') ? idProduct.split(' ')[0].substr(2, 10) : ''); | ||
@@ -88,3 +93,3 @@ result.name = product; | ||
result.maxPower = util.getValue(lines, 'MaxPower', ' ', true); | ||
result.serialNumber = null; | ||
result.serialNumber = serial; | ||
@@ -91,0 +96,0 @@ return result; |
{ | ||
"name": "systeminformation", | ||
"version": "5.22.11", | ||
"version": "5.23.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
746004
15824