systeminformation
Advanced tools
Comparing version
@@ -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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
818139
0.05%18410
0.02%