New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

systeminformation

Package Overview
Dependencies
Maintainers
1
Versions
694
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.25.7 to 5.25.8

6

lib/graphics.js

@@ -736,4 +736,4 @@ 'use strict';

// Raspberry: https://elinux.org/RPI_vcgencmd_usage
if (util.isRaspberry() && util.isRaspbian()) {
let cmd = 'fbset -s | grep \'mode "\'; vcgencmd get_mem gpu; tvservice -s; tvservice -n;';
if (util.isRaspberry()) {
let cmd = 'fbset -s 2> /dev/null | grep \'mode "\' ; vcgencmd get_mem gpu 2> /dev/null; tvservice -s 2> /dev/null; tvservice -n 2> /dev/null;';
exec(cmd, function (error, stdout) {

@@ -763,3 +763,3 @@ let lines = stdout.toString().split('\n');

}
if (lines.length > 1 && stdout.toString().indexOf('gpu=') >= -1) {
if (lines.length >= 1 && stdout.toString().indexOf('gpu=') >= -1) {
result.controllers.push({

@@ -766,0 +766,0 @@ vendor: 'Broadcom',

{
"name": "systeminformation",
"version": "5.25.7",
"version": "5.25.8",
"description": "Advanced, lightweight system and OS information library",

@@ -5,0 +5,0 @@ "license": "MIT",

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