systeminformation 5.21.0 → 5.21.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 +34 -33
- package/lib/graphics.js +4 -4
- package/lib/index.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -128,6 +128,7 @@ si.cpu()
|
|
|
128
128
|
|
|
129
129
|
(last 7 major and minor version releases)
|
|
130
130
|
|
|
131
|
+
- Version 5.21.0: `graphics()` added subVendor (linux)
|
|
131
132
|
- Version 5.20.0: `mem()` added writeback and dirty (linux)
|
|
132
133
|
- Version 5.19.0: `currentLoad()` added steal and guest time (linux)
|
|
133
134
|
- Version 5.18.0: `fsSize()` added optional drive parameter
|
|
@@ -329,7 +330,7 @@ Full function reference with examples can be found at [https://systeminformation
|
|
|
329
330
|
| si.graphics(cb) | {...} | X | | X | X | | arrays of graphics controllers and displays |
|
|
330
331
|
| | controllers[] | X | | X | X | | graphics controllers array |
|
|
331
332
|
| | ...[0].vendor | X | | X | X | | e.g. NVIDIA |
|
|
332
|
-
| | ...[0].
|
|
333
|
+
| | ...[0].subVendor | X | | | | | e.g. Gigabyte |
|
|
333
334
|
| | ...[0].vendorId | | | X | | | vendor ID |
|
|
334
335
|
| | ...[0].model | X | | X | X | | graphics controller model |
|
|
335
336
|
| | ...[0].deviceId | | | X | | | device ID |
|
|
@@ -635,38 +636,38 @@ Full function reference with examples can be found at [https://systeminformation
|
|
|
635
636
|
|
|
636
637
|
#### 14. Wifi
|
|
637
638
|
|
|
638
|
-
| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments
|
|
639
|
-
| ---------------------- | --------------- | ----- | --- | --- | --- | --- |
|
|
640
|
-
| si.wifiNetworks(cb) | [{...}] | X | | X | X | | array of available wifi networks
|
|
641
|
-
| | [0].ssid | X | | X | X | | Wifi network SSID
|
|
642
|
-
| | [0].bssid | X | | X | X | | BSSID (mac)
|
|
643
|
-
| | [0].mode | X | | | | | mode
|
|
644
|
-
| | [0].channel | X | | X | X | | channel
|
|
645
|
-
| | [0].frequency | X | | X | X | | frequency in MHz
|
|
646
|
-
| | [0].signalLevel | X | | X | X | | signal level in dB
|
|
647
|
-
| | [0].quality | X | | X | X | | quality in %
|
|
648
|
-
| | [0].security | X | | X | X | | array e.g. WPA, WPA-2
|
|
649
|
-
| | [0].wpaFlags | X | | X | X | | array of WPA flags
|
|
650
|
-
| | [0].rsnFlags | X | | | | | array of RDN flags
|
|
651
|
-
| si.wifiInterfaces(cb) | [{...}] | X | | X | X | | array of detected wifi interfaces
|
|
652
|
-
| | [0].id | X | | X | X | | ID
|
|
653
|
-
| | [0].iface | X | | X | X | | interface
|
|
654
|
-
| | [0].model | X | | X | X | | model
|
|
655
|
-
| | [0].vendor | X | | X | X | | vendor
|
|
656
|
-
| | [0].mac | X | | X | X | | MAC address
|
|
657
|
-
| si.wifiConnections(cb) | [{...}] | X | | X | X | | array of active wifi connections
|
|
658
|
-
| | [0].id | X | | X | X | | ID
|
|
659
|
-
| | [0].iface | X | | X | X | | interface
|
|
660
|
-
| | [0].name | X | | X | X | | name
|
|
661
|
-
| | [0].mode | X | | X | X | | model
|
|
662
|
-
| | [0].bssid | X | | X
|
|
663
|
-
| | [0].mode | X | | | | | mode
|
|
664
|
-
| | [0].channel | X | | X | X | | channel
|
|
665
|
-
| | [0].frequency | X | | X | X | | frequency in MHz
|
|
666
|
-
| | [0].signalLevel | X | | X | X | | signal level in dB
|
|
667
|
-
| | [0].quality | X | | X | X | | quality in %
|
|
668
|
-
| | [0].security | X | | X | X | | array e.g. WPA, WPA-2
|
|
669
|
-
| | [0].txRate | X | | X | X | | transfer rate MBit/s
|
|
639
|
+
| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
|
|
640
|
+
| ---------------------- | --------------- | ----- | --- | --- | --- | --- | --------------------------------------------- |
|
|
641
|
+
| si.wifiNetworks(cb) | [{...}] | X | | X | X | | array of available wifi networks |
|
|
642
|
+
| | [0].ssid | X | | X | X | | Wifi network SSID |
|
|
643
|
+
| | [0].bssid | X | | X | X | | BSSID (mac) |
|
|
644
|
+
| | [0].mode | X | | | | | mode |
|
|
645
|
+
| | [0].channel | X | | X | X | | channel |
|
|
646
|
+
| | [0].frequency | X | | X | X | | frequency in MHz |
|
|
647
|
+
| | [0].signalLevel | X | | X | X | | signal level in dB |
|
|
648
|
+
| | [0].quality | X | | X | X | | quality in % |
|
|
649
|
+
| | [0].security | X | | X | X | | array e.g. WPA, WPA-2 |
|
|
650
|
+
| | [0].wpaFlags | X | | X | X | | array of WPA flags |
|
|
651
|
+
| | [0].rsnFlags | X | | | | | array of RDN flags |
|
|
652
|
+
| si.wifiInterfaces(cb) | [{...}] | X | | X | X | | array of detected wifi interfaces |
|
|
653
|
+
| | [0].id | X | | X | X | | ID |
|
|
654
|
+
| | [0].iface | X | | X | X | | interface |
|
|
655
|
+
| | [0].model | X | | X | X | | model |
|
|
656
|
+
| | [0].vendor | X | | X | X | | vendor |
|
|
657
|
+
| | [0].mac | X | | X | X | | MAC address |
|
|
658
|
+
| si.wifiConnections(cb) | [{...}] | X | | X | X | | array of active wifi connections |
|
|
659
|
+
| | [0].id | X | | X | X | | ID |
|
|
660
|
+
| | [0].iface | X | | X | X | | interface |
|
|
661
|
+
| | [0].name | X | | X | X | | name |
|
|
662
|
+
| | [0].mode | X | | X | X | | model |
|
|
663
|
+
| | [0].bssid | X | | (X) | X | | BSSID (mac) - macOS only on older os versions |
|
|
664
|
+
| | [0].mode | X | | | | | mode |
|
|
665
|
+
| | [0].channel | X | | X | X | | channel |
|
|
666
|
+
| | [0].frequency | X | | X | X | | frequency in MHz |
|
|
667
|
+
| | [0].signalLevel | X | | X | X | | signal level in dB |
|
|
668
|
+
| | [0].quality | X | | X | X | | quality in % |
|
|
669
|
+
| | [0].security | X | | X | X | | array e.g. WPA, WPA-2 |
|
|
670
|
+
| | [0].txRate | X | | X | X | | transfer rate MBit/s |
|
|
670
671
|
|
|
671
672
|
#### 15. Bluetooth
|
|
672
673
|
|
package/lib/graphics.js
CHANGED
|
@@ -204,7 +204,7 @@ function graphics(callback) {
|
|
|
204
204
|
let controllers = [];
|
|
205
205
|
let currentController = {
|
|
206
206
|
vendor: '',
|
|
207
|
-
|
|
207
|
+
subVendor: '',
|
|
208
208
|
model: '',
|
|
209
209
|
bus: '',
|
|
210
210
|
busAddress: '',
|
|
@@ -293,9 +293,9 @@ function graphics(callback) {
|
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
if (currentController.model && subsystem.indexOf(currentController.model) !== -1) {
|
|
296
|
-
const
|
|
297
|
-
if (
|
|
298
|
-
currentController.
|
|
296
|
+
const subVendor = subsystem.split(currentController.model)[0].trim();
|
|
297
|
+
if (subVendor) {
|
|
298
|
+
currentController.subVendor = subVendor;
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
301
|
}
|
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.21.
|
|
3
|
+
"version": "5.21.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)",
|