systeminformation 5.31.4 → 5.31.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.
- package/README.md +2 -3
- package/lib/network.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
## The Systeminformation Project
|
|
32
32
|
|
|
33
|
-
This is amazing. Started as a small project just for myself, it now has >
|
|
33
|
+
This is amazing. Started as a small project just for myself, it now has > 20,000
|
|
34
34
|
lines of code, > 700 versions published, up to 20 mio downloads per month, > 500
|
|
35
35
|
mio downloads overall. Top 10 NPM ranking for backend packages. Thank you to all
|
|
36
36
|
who contributed to this project!
|
|
@@ -1130,8 +1130,7 @@ OSX Temperature: credits here are going to:
|
|
|
1130
1130
|
|
|
1131
1131
|
### Powered by
|
|
1132
1132
|
|
|
1133
|
-
<a href="https://
|
|
1134
|
-
<a href="https://plus-innovations.com"><img src="https://www.plus-innovations.com/wp-content/themes/bootstrap3/img/logo1000.png" alt="Alt Text" width="150" style="margin-bottom: 8px"></a>
|
|
1133
|
+
<a href="https://plus-innovations.com"><img src="https://www.plus-innovations.com/wp-content/themes/bootstrap3/img/logo1000.png" alt="Alt Text" width="200" style="margin-bottom: 8px"></a>
|
|
1135
1134
|
|
|
1136
1135
|
## Copyright Information
|
|
1137
1136
|
|
package/lib/network.js
CHANGED
|
@@ -1476,7 +1476,7 @@ function networkStatsSingle(iface) {
|
|
|
1476
1476
|
result.operstate = (stdout.toString().split(':')[1] || '').trim();
|
|
1477
1477
|
result.operstate = (result.operstate || '').toLowerCase();
|
|
1478
1478
|
result.operstate = result.operstate === 'active' ? 'up' : result.operstate === 'inactive' ? 'down' : 'unknown';
|
|
1479
|
-
cmd = 'netstat -
|
|
1479
|
+
cmd = 'netstat -bdnI ' + ifaceSanitized; // lgtm [js/shell-command-constructed-from-input]
|
|
1480
1480
|
exec(cmd, (error, stdout) => {
|
|
1481
1481
|
if (!error) {
|
|
1482
1482
|
lines = stdout.toString().split('\n');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.31.
|
|
3
|
+
"version": "5.31.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)",
|