systeminformation
Advanced tools
Comparing version 5.21.8 to 5.21.9
@@ -465,3 +465,4 @@ 'use strict'; | ||
const s = (util.isPrototypePolluted() ? '' : util.sanitizeShellString(containerIDs, true)).trim(); | ||
for (let i = 0; i <= util.mathMin(s.length, 2000); i++) { | ||
const l = util.mathMin(s.length, 2000); | ||
for (let i = 0; i <= l; i++) { | ||
if (s[i] !== undefined) { | ||
@@ -468,0 +469,0 @@ s[i].__proto__.toLowerCase = util.stringToLower; |
@@ -48,3 +48,4 @@ 'use strict'; | ||
const s = util.sanitizeShellString(url, true); | ||
for (let i = 0; i <= util.mathMin(s.length, 2000); i++) { | ||
const l = util.mathMin(s.length, 2000); | ||
for (let i = 0; i <= l; i++) { | ||
if (s[i] !== undefined) { | ||
@@ -147,3 +148,4 @@ s[i].__proto__.toLowerCase = util.stringToLower; | ||
const s = (util.isPrototypePolluted() ? '8.8.8.8' : util.sanitizeShellString(host, true)).trim(); | ||
for (let i = 0; i <= util.mathMin(s.length, 2000); i++) { | ||
const l = util.mathMin(s.length, 2000); | ||
for (let i = 0; i <= l; i++) { | ||
if (!(s[i] === undefined)) { | ||
@@ -150,0 +152,0 @@ s[i].__proto__.toLowerCase = util.stringToLower; |
@@ -134,3 +134,4 @@ 'use strict'; | ||
const s = util.sanitizeShellString(srv); | ||
for (let i = 0; i <= util.mathMin(s.length, 2000); i++) { | ||
const l = util.mathMin(s.length, 2000); | ||
for (let i = 0; i <= l; i++) { | ||
if (s[i] !== undefined) { | ||
@@ -990,3 +991,5 @@ srvString = srvString + s[i]; | ||
const s = util.sanitizeShellString(proc); | ||
for (let i = 0; i <= util.mathMin(s.length, 2000); i++) { | ||
const l = util.mathMin(s.length, 2000); | ||
for (let i = 0; i <= l; i++) { | ||
if (s[i] !== undefined) { | ||
@@ -993,0 +996,0 @@ processesString = processesString + s[i]; |
@@ -685,3 +685,4 @@ 'use strict'; | ||
let result = ''; | ||
for (let i = 0; i <= mathMin(s.length, 2000); i++) { | ||
const l = mathMin(s.length, 2000); | ||
for (let i = 0; i <= l; i++) { | ||
if (!(s[i] === undefined || | ||
@@ -688,0 +689,0 @@ s[i] === '>' || |
@@ -406,3 +406,5 @@ 'use strict'; | ||
const s = util.isPrototypePolluted() ? '---' : util.sanitizeShellString(iface, true); | ||
for (let i = 0; i <= util.mathMin(s.length, 2000); i++) { | ||
const l = util.mathMin(s.length, 2000); | ||
for (let i = 0; i <= l; i++) { | ||
if (s[i] !== undefined) { | ||
@@ -543,3 +545,5 @@ ifaceSanitized = ifaceSanitized + s[i]; | ||
const s = util.isPrototypePolluted() ? '---' : util.sanitizeShellString(ifaceDetail.iface, true); | ||
for (let i = 0; i <= util.mathMin(s.length, 2000); i++) { | ||
const ll = util.mathMin(s.length, 2000); | ||
for (let i = 0; i <= ll; i++) { | ||
if (s[i] !== undefined) { | ||
@@ -556,3 +560,4 @@ ifaceSanitized = ifaceSanitized + s[i]; | ||
const t = util.isPrototypePolluted() ? '---' : util.sanitizeShellString(ssid, true); | ||
for (let i = 0; i <= util.mathMin(t.length, 2000); i++) { | ||
const l = util.mathMin(t.length, 2000); | ||
for (let i = 0; i <= l; i++) { | ||
if (t[i] !== undefined) { | ||
@@ -559,0 +564,0 @@ ssidSanitized = ssidSanitized + t[i]; |
{ | ||
"name": "systeminformation", | ||
"version": "5.21.8", | ||
"version": "5.21.9", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
740195
15679