systeminformation
Advanced tools
Comparing version 5.24.3 to 5.24.4
@@ -459,3 +459,7 @@ 'use strict'; | ||
containerIDsSanitized.__proto__.replace = util.stringReplace; | ||
containerIDsSanitized.__proto__.toString = util.stringToString; | ||
containerIDsSanitized.__proto__.substr = util.stringSubstr; | ||
containerIDsSanitized.__proto__.substring = util.stringSubstring; | ||
containerIDsSanitized.__proto__.trim = util.stringTrim; | ||
containerIDsSanitized.__proto__.startsWith = util.stringStartWith; | ||
} catch (e) { | ||
@@ -462,0 +466,0 @@ Object.setPrototypeOf(containerIDsSanitized, util.stringObj); |
@@ -132,3 +132,7 @@ 'use strict'; | ||
srvString.__proto__.replace = util.stringReplace; | ||
srvString.__proto__.toString = util.stringToString; | ||
srvString.__proto__.substr = util.stringSubstr; | ||
srvString.__proto__.substring = util.stringSubstring; | ||
srvString.__proto__.trim = util.stringTrim; | ||
srvString.__proto__.startsWith = util.stringStartWith; | ||
} catch (e) { | ||
@@ -993,3 +997,8 @@ Object.setPrototypeOf(srvString, util.stringObj); | ||
processesString.__proto__.replace = util.stringReplace; | ||
processesString.__proto__.toString = util.stringToString; | ||
processesString.__proto__.substr = util.stringSubstr; | ||
processesString.__proto__.substring = util.stringSubstring; | ||
processesString.__proto__.trim = util.stringTrim; | ||
processesString.__proto__.startsWith = util.stringStartWith; | ||
} catch (e) { | ||
@@ -996,0 +1005,0 @@ Object.setPrototypeOf(processesString, util.stringObj); |
@@ -92,2 +92,3 @@ 'use strict'; | ||
const stringSubstr = new String().substr; | ||
const stringSubstring = new String().substring; | ||
const stringTrim = new String().trim; | ||
@@ -768,2 +769,5 @@ const stringStartWith = new String().startsWith; | ||
st.__proto__.substr = stringSubstr; | ||
st.__proto__.substring = stringSubstring; | ||
st.__proto__.trim = stringTrim; | ||
st.__proto__.startsWith = stringStartWith; | ||
} catch (e) { | ||
@@ -2583,2 +2587,3 @@ Object.setPrototypeOf(st, stringObj); | ||
exports.stringSubstr = stringSubstr; | ||
exports.stringSubstring = stringSubstring; | ||
exports.stringTrim = stringTrim; | ||
@@ -2585,0 +2590,0 @@ exports.stringStartWith = stringStartWith; |
{ | ||
"name": "systeminformation", | ||
"version": "5.24.3", | ||
"version": "5.24.4", | ||
"description": "Advanced, lightweight system and OS information library", | ||
@@ -9,2 +9,3 @@ "license": "MIT", | ||
"main": "./lib/index.js", | ||
"type": "commonjs", | ||
"bin": { | ||
@@ -15,3 +16,4 @@ "systeminformation": "lib/cli.js" | ||
"scripts": { | ||
"test": "node ./test/test.js" | ||
"test": "node ./test/test.js", | ||
"testDeno": "deno run -A ./test/test.js" | ||
}, | ||
@@ -18,0 +20,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
814590
18326