systeminformation 5.18.0 → 5.18.1
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/filesystem.js +1 -1
- package/lib/network.js +2 -2
- package/package.json +1 -1
package/lib/filesystem.js
CHANGED
|
@@ -137,7 +137,7 @@ function fsSize(drive, callback) {
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
if (_linux) {
|
|
140
|
-
cmd = '
|
|
140
|
+
cmd = 'df -lkPTx squashfs';
|
|
141
141
|
execSync('cat /proc/mounts 2>/dev/null').toString().split('\n').filter(line => {
|
|
142
142
|
return line.startsWith('/');
|
|
143
143
|
}).forEach((line) => {
|
package/lib/network.js
CHANGED
|
@@ -673,9 +673,9 @@ function getLinuxIfaceIEEE8021xState(authenticationProtocol) {
|
|
|
673
673
|
}
|
|
674
674
|
|
|
675
675
|
function testVirtualNic(iface, ifaceName, mac) {
|
|
676
|
-
const virtualMacs = ['00:00:00:00:00:00', '00:03:FF', '00:05:69', '00:0C:29', '00:0F:4B', '00:
|
|
676
|
+
const virtualMacs = ['00:00:00:00:00:00', '00:03:FF', '00:05:69', '00:0C:29', '00:0F:4B', '00:13:07', '00:13:BE', '00:15:5d', '00:16:3E', '00:1C:42', '00:21:F6', '00:24:0B', '00:50:56', '00:A0:B1', '00:E0:C8', '08:00:27', '0A:00:27', '18:92:2C', '16:DF:49', '3C:F3:92', '54:52:00', 'FC:15:97'];
|
|
677
677
|
if (mac) {
|
|
678
|
-
return virtualMacs.filter(item => { return mac.toUpperCase().toUpperCase().startsWith(item.
|
|
678
|
+
return virtualMacs.filter(item => { return mac.toUpperCase().toUpperCase().startsWith(item.substring(0, mac.length)); }).length > 0 ||
|
|
679
679
|
iface.toLowerCase().indexOf(' virtual ') > -1 ||
|
|
680
680
|
ifaceName.toLowerCase().indexOf(' virtual ') > -1 ||
|
|
681
681
|
iface.toLowerCase().indexOf('vethernet ') > -1 ||
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.18.
|
|
3
|
+
"version": "5.18.1",
|
|
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)",
|