diff --git a/CHANGELOG.md b/CHANGELOG.md index d6cfb74..fd017df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 4.25.1 | 2020-05-07 | `get()` minor bounds test fix, updated docs | | 4.25.0 | 2020-05-07 | `get()` added function to get partial system info | | 4.24.2 | 2020-05-06 | `cpu()` fix (BSD), `networkStats()` fix BSD | | 4.24.1 | 2020-05-03 | `processes()` fix parsing command and params | diff --git a/docs/history.html b/docs/history.html index 53de7ba..10ba2f8 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.25.1 + 2020-05-07 + get() minor bounds test fix, updated docs /td> + 4.25.0 2020-05-07 diff --git a/docs/index.html b/docs/index.html index 2e24136..c6ce963 100644 --- a/docs/index.html +++ b/docs/index.html @@ -168,7 +168,7 @@
systeminformation
-
Current Version: 4.25.0
+
Current Version: 4.25.1
diff --git a/lib/index.js b/lib/index.js index f2dd0cf..7542b92 100644 --- a/lib/index.js +++ b/lib/index.js @@ -319,7 +319,7 @@ function get(valueObject, callback) { const result = {}; let i = 0; for (let key in valueObject) { - if ({}.hasOwnProperty.call(valueObject, key) && {}.hasOwnProperty.call(exports, key) && data.length >= i) { + if ({}.hasOwnProperty.call(valueObject, key) && {}.hasOwnProperty.call(exports, key) && data.length > i) { if (valueObject[key] === '*' || valueObject[key] === 'all') { result[key] = data[i]; } else {