systeminformation 5.21.18 → 5.21.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +0 -1
- package/lib/util.js +5 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/util.js
CHANGED
|
@@ -423,6 +423,11 @@ function powerShellRelease() {
|
|
|
423
423
|
|
|
424
424
|
function powerShell(cmd) {
|
|
425
425
|
|
|
426
|
+
/// const pattern = [
|
|
427
|
+
/// '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
|
|
428
|
+
/// '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))'
|
|
429
|
+
/// ].join('|');
|
|
430
|
+
|
|
426
431
|
if (_psPersistent) {
|
|
427
432
|
const id = Math.random().toString(36).substring(2, 12);
|
|
428
433
|
return new Promise((resolve) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.21.
|
|
3
|
+
"version": "5.21.20",
|
|
4
4
|
"description": "Advanced, lightweight system and OS information library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",
|