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

systeminformation

Package Overview
Dependencies
Maintainers
1
Versions
670
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.23.22 to 5.23.23

lib/bluetoothVendors.js

8

lib/bluetooth.js

@@ -20,2 +20,3 @@ 'use strict';

const util = require('./util');
const bluetoothVendors = require('./bluetoothVendors');
const fs = require('fs');

@@ -67,2 +68,7 @@

function parseBluetoothVendor(str) {
const id = parseInt(str);
if (!isNaN(id)) return bluetoothVendors[id];
}
function parseLinuxBluetoothInfo(lines, macAddr1, macAddr2) {

@@ -89,3 +95,3 @@ const result = {};

result.name = bluetoothObject.device_name || '';
result.manufacturer = bluetoothObject.device_manufacturer || parseBluetoothManufacturer(bluetoothObject.device_name || '') || '';
result.manufacturer = bluetoothObject.device_manufacturer || parseBluetoothVendor(bluetoothObject.device_vendorID) || parseBluetoothManufacturer(bluetoothObject.device_name || '') || '';
result.macDevice = (bluetoothObject.device_addr || bluetoothObject.device_address || '').toLowerCase().replace(/-/g, ':');

@@ -92,0 +98,0 @@ result.macHost = macAddr2;

4

lib/util.js

@@ -582,3 +582,3 @@ 'use strict';

try {
const stdout = execSync('echo $LANG', util.execOptsLinux);
const stdout = execSync('echo $LANG', execOptsLinux);
const lines = stdout.toString().split('\r\n');

@@ -1160,3 +1160,3 @@ const parts = lines[0].split('.');

try {
result = execSync('uname -v', util.execOptsLinux).toString();
result = execSync('uname -v', execOptsLinux).toString();
} catch (e) {

@@ -1163,0 +1163,0 @@ result = '';

{
"name": "systeminformation",
"version": "5.23.22",
"version": "5.23.23",
"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