systeminformation 5.21.19 → 5.21.21

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.
Files changed (3) hide show
  1. package/README.md +22 -0
  2. package/lib/util.js +5 -5
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -28,6 +28,28 @@
28
28
  [![Caretaker][caretaker-image]][caretaker-url]
29
29
  [![MIT license][license-img]][license-url]
30
30
 
31
+ ### Merry Christmas and Happy new year
32
+
33
+ ```
34
+ .''.
35
+ .''. . *''* :_\/_:
36
+ :_\/_: _\(/_ .:.*_\/_* : /\ :
37
+ .''.: /\ : ./)\ ':'* /\ * : '..'.
38
+ :_\/_:'.:::. ' *''* * '.\'/.' _\(/_
39
+ : /\ : ::::: *_\/_* -= o =- /)\
40
+ '..' ':::' * /\ * .'/.\'. '
41
+ *..* :
42
+ *
43
+ * /.\ * * . *
44
+ . /..'\ . . * .
45
+ */'.'\* . . . * *
46
+ * /.''.'\ * . . . *
47
+ . */.'.'.\*
48
+ ...".""""/'.''.'.\""."."...
49
+ ^^^[_]^^^*
50
+ ```
51
+ I wish you all a Merry Christmas and a peaceful New Year 2024.
52
+
31
53
  ## The Systeminformation Project
32
54
  This is amazing. Started as a small project just for myself, it now has > 15,000 lines of code, > 600 versions published, up to 8 mio downloads per month, > 220 mio downloads overall. #1 NPM ranking for backend packages. Thank you to all who contributed to this project!
33
55
 
package/lib/util.js CHANGED
@@ -423,10 +423,10 @@ 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('|');
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
430
 
431
431
  if (_psPersistent) {
432
432
  const id = Math.random().toString(36).substring(2, 12);
@@ -472,7 +472,7 @@ function powerShell(cmd) {
472
472
  }
473
473
  if (child && child.pid) {
474
474
  child.stdout.on('data', function (data) {
475
- result = result + data.toString('utf8').replace(pattern, '');
475
+ result = result + data.toString('utf8');
476
476
  });
477
477
  child.stderr.on('data', function () {
478
478
  child.kill();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.21.19",
3
+ "version": "5.21.21",
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)",