systeminformation 5.18.13 → 5.18.14
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/package.json +1 -1
package/lib/filesystem.js
CHANGED
|
@@ -142,7 +142,7 @@ function fsSize(drive, callback) {
|
|
|
142
142
|
execSync('cat /proc/mounts 2>/dev/null').toString().split('\n').filter(line => {
|
|
143
143
|
return line.startsWith('/');
|
|
144
144
|
}).forEach((line) => {
|
|
145
|
-
osMounts[line.split(' ')[0]] = osMounts[line.split(' ')[0]]
|
|
145
|
+
osMounts[line.split(' ')[0]] = osMounts[line.split(' ')[0]] || false;
|
|
146
146
|
if (line.toLowerCase().indexOf('/snap/') === -1) {
|
|
147
147
|
osMounts[line.split(' ')[0]] = ((line.toLowerCase().indexOf('rw,') >= 0 || line.toLowerCase().indexOf(' rw ') >= 0));
|
|
148
148
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.18.
|
|
3
|
+
"version": "5.18.14",
|
|
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)",
|