systeminformation 5.16.0 → 5.16.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/README.md +0 -7
- package/lib/filesystem.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,8 +24,6 @@
|
|
|
24
24
|
[![Git Issues][issues-img]][issues-url]
|
|
25
25
|
[![Closed Issues][closed-issues-img]][closed-issues-url]
|
|
26
26
|
<img src="docs/assets/no-dependencies.svg" alt="no dependencies">
|
|
27
|
-
[![Code Quality: Javascript][lgtm-badge]][lgtm-badge-url]
|
|
28
|
-
[![Total alerts][lgtm-alerts]][lgtm-alerts-url]
|
|
29
27
|
[![Caretaker][caretaker-image]][caretaker-url]
|
|
30
28
|
[![Sponsoring][sponsor-badge]][sponsor-url]
|
|
31
29
|
[![MIT license][license-img]][license-url]
|
|
@@ -1059,11 +1057,6 @@ All other trademarks are the property of their respective owners.
|
|
|
1059
1057
|
[downloads-image]: https://img.shields.io/npm/dm/systeminformation.svg?style=flat-square
|
|
1060
1058
|
[downloads-url]: https://npmjs.org/package/systeminformation
|
|
1061
1059
|
|
|
1062
|
-
[lgtm-badge]: https://img.shields.io/lgtm/grade/javascript/g/sebhildebrandt/systeminformation.svg?style=flat-square
|
|
1063
|
-
[lgtm-badge-url]: https://lgtm.com/projects/g/sebhildebrandt/systeminformation/context:javascript
|
|
1064
|
-
[lgtm-alerts]: https://img.shields.io/lgtm/alerts/g/sebhildebrandt/systeminformation.svg?style=flat-square
|
|
1065
|
-
[lgtm-alerts-url]: https://lgtm.com/projects/g/sebhildebrandt/systeminformation/alerts
|
|
1066
|
-
|
|
1067
1060
|
[sponsor-badge]: https://img.shields.io/badge/-Buy%20me%20a%20coffee-blue?style=flat-square
|
|
1068
1061
|
[sponsor-url]: https://www.buymeacoffee.com/systeminfo
|
|
1069
1062
|
|
package/lib/filesystem.js
CHANGED
|
@@ -132,7 +132,7 @@ function fsSize(callback) {
|
|
|
132
132
|
}
|
|
133
133
|
if (_linux) {
|
|
134
134
|
cmd = 'df -lkPTx squashfs';
|
|
135
|
-
execSync('cat /proc/mounts').toString().split('\n').filter(line => {
|
|
135
|
+
execSync('cat /proc/mounts 2>/dev/null').toString().split('\n').filter(line => {
|
|
136
136
|
return line.startsWith('/');
|
|
137
137
|
}).forEach((line) => {
|
|
138
138
|
osMounts[line.split(' ')[0]] = line.toLowerCase().indexOf('rw') >= 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.16.
|
|
3
|
+
"version": "5.16.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)",
|