systeminformation 5.11.10 → 5.11.11
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/network.js +1 -1
- package/package.json +1 -1
package/lib/network.js
CHANGED
|
@@ -217,7 +217,7 @@ function parseLinesWindowsNics(sections, nconfigsections) {
|
|
|
217
217
|
if (sections[i].trim() !== '') {
|
|
218
218
|
|
|
219
219
|
let lines = sections[i].trim().split('\r\n');
|
|
220
|
-
let linesNicConfig = nconfigsections[i].trim().split('\r\n');
|
|
220
|
+
let linesNicConfig = nconfigsections && nconfigsections[i] ? nconfigsections[i].trim().split('\r\n') : [];
|
|
221
221
|
let netEnabled = util.getValue(lines, 'NetEnabled', ':');
|
|
222
222
|
let adapterType = util.getValue(lines, 'AdapterTypeID', ':') === '9' ? 'wireless' : 'wired';
|
|
223
223
|
let ifacename = util.getValue(lines, 'Name', ':').replace(/\]/g, ')').replace(/\[/g, '(');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "systeminformation",
|
|
3
|
-
"version": "5.11.
|
|
3
|
+
"version": "5.11.11",
|
|
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)",
|