systeminformation 4.34.22 → 4.34.23

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/CHANGELOG.md CHANGED
@@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
30
30
 
31
31
  | Version | Date | Comment |
32
32
  | -------------- | -------------- | -------- |
33
+ | 4.34.23 | 2021-05-05 | `networkInterfaces()` fixed Windows XP bug (WMIC NetEnabled) |
33
34
  | 4.34.22 | 2021-05-05 | restored Node 4.x compatibility |
34
35
  | 4.34.21 | 2021-05-04 | `dockerContainerInspect()`, `dockerContainerProcesses()` parameter validation fix |
35
36
  | 4.34.20 | 2021-04-08 | `versions()` parameter validation |
package/lib/network.js CHANGED
@@ -239,7 +239,7 @@ function parseLinesWindowsNics(sections, nconfigsections) {
239
239
  }
240
240
 
241
241
  function getWindowsNics() {
242
- const cmd = util.getWmic() + ' nic get MACAddress, name, NetEnabled, Speed, NetConnectionStatus, AdapterTypeId /value';
242
+ const cmd = util.getWmic() + ' nic get /value';
243
243
  const cmdnicconfig = util.getWmic() + ' nicconfig get dhcpEnabled /value';
244
244
  try {
245
245
  const nsections = execSync(cmd, util.execOptsWin).split(/\n\s*\n/);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "systeminformation",
3
- "version": "4.34.22",
3
+ "version": "4.34.23",
4
4
  "description": "Simple system and OS information library",
5
5
  "license": "MIT",
6
6
  "author": "Sebastian Hildebrandt <hildebrandt@plus-innovations.com> (https://plus-innovations.com)",