systeminformation 5.30.6 → 5.30.8

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/README.md CHANGED
@@ -31,7 +31,7 @@
31
31
  ## The Systeminformation Project
32
32
 
33
33
  This is amazing. Started as a small project just for myself, it now has > 19,000
34
- lines of code, > 700 versions published, up to 15 mio downloads per month, > 450
34
+ lines of code, > 700 versions published, up to 20 mio downloads per month, > 480
35
35
  mio downloads overall. Top 10 NPM ranking for backend packages. Thank you to all
36
36
  who contributed to this project!
37
37
 
package/lib/network.js CHANGED
@@ -434,7 +434,7 @@ function getWindowsIEEE8021x(connectionType, iface, ifaces) {
434
434
  i8021x.state = i8021xState.split(':').pop();
435
435
  i8021x.protocol = i8021xProtocol.split(':').pop();
436
436
  }
437
- } catch {
437
+ } catch (error) {
438
438
  if (error.status === 1 && error.stdout.includes('AutoConfig')) {
439
439
  i8021x.state = 'Disabled';
440
440
  i8021x.protocol = 'Not defined';
package/lib/wifi.js CHANGED
@@ -437,8 +437,8 @@ function wifiNetworks(callback) {
437
437
  const res = getWifiNetworkListIw(ifaceSanitized);
438
438
  if (res === -1) {
439
439
  // try again after 4 secs
440
- setTimeout((iface) => {
441
- const res = getWifiNetworkListIw(iface);
440
+ setTimeout(() => {
441
+ const res = getWifiNetworkListIw(ifaceSanitized);
442
442
  if (res !== -1) {
443
443
  result = res;
444
444
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.30.6",
3
+ "version": "5.30.8",
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)",