systeminformation 5.22.4 → 5.22.5

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/wifi.js +1 -1
  2. package/package.json +1 -1
package/lib/wifi.js CHANGED
@@ -541,7 +541,7 @@ function getVendor(model) {
541
541
  }
542
542
 
543
543
  function formatBssid(s) {
544
- s = s.replace(/</g, '').replace(/>/g, '').match(/.{1,2}/g);
544
+ s = s.replace(/</g, '').replace(/>/g, '').match(/.{1,2}/g) || [];
545
545
  return s.join(':');
546
546
  }
547
547
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "5.22.4",
3
+ "version": "5.22.5",
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)",