Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

systeminformation

Package Overview
Dependencies
Maintainers
1
Versions
653
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

systeminformation - npm Package Compare versions

Comparing version 5.22.11 to 5.23.0

7

lib/usb.js

@@ -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;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc