🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

systeminformation

Package Overview
Dependencies
Maintainers
1
Versions
699
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

to
5.26.1

3

lib/graphics.js

@@ -428,3 +428,4 @@ 'use strict';

try {
const res = execSync(cmd, options).toString();
const sanitized = util.sanitizeShellString(cmd);
const res = execSync(sanitized, options).toString();
return res;

@@ -431,0 +432,0 @@ } catch (e) {

@@ -994,4 +994,7 @@ // Type definitions for systeminformation

export function networkGatewayDefault(cb?: (data: string) => any): Promise<string>;
export function networkInterfaces(): Promise<Systeminformation.NetworkInterfacesData[]>;
export function networkInterfaces(defaultString: 'default'): Promise<Systeminformation.NetworkInterfacesData>;
export function networkInterfaces(rescan: boolean): Promise<Systeminformation.NetworkInterfacesData[]>;
export function networkInterfaces(
cb?:
cb:
| ((data: Systeminformation.NetworkInterfacesData[] | Systeminformation.NetworkInterfacesData) => any)

@@ -998,0 +1001,0 @@ | boolean

{
"name": "systeminformation",
"version": "5.26.0",
"version": "5.26.1",
"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