systeminformation 5.25.3 → 5.25.4

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 (2) hide show
  1. package/lib/osinfo.js +1 -1
  2. package/package.json +1 -1
package/lib/osinfo.js CHANGED
@@ -1081,7 +1081,7 @@ function versions(apps, callback) {
1081
1081
  if ({}.hasOwnProperty.call(appsObj.versions, 'powershell')) {
1082
1082
  if (_windows) {
1083
1083
  util.powerShell('$PSVersionTable').then(stdout => {
1084
- const lines = stdout.toString().split('\n').map(line => line.replace(/ +/g, ' ').replace(/ +/g, ':'));
1084
+ const lines = stdout.toString().toLowerCase().split('\n').map(line => line.replace(/ +/g, ' ').replace(/ +/g, ':'));
1085
1085
  appsObj.versions.powershell = util.getValue(lines, 'psversion');
1086
1086
  functionProcessed();
1087
1087
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.25.3",
3
+ "version": "5.25.4",
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)",