diff --git a/CHANGELOG.md b/CHANGELOG.md index bcd8987..561c261 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,6 +100,7 @@ Other changes | Version | Date | Comment | | -------------- | -------------- | -------- | +| 3.45.9 | 2018-10-22 | fixed node 4 incompatibility | | 3.45.8 | 2018-10-22 | `system()` fix Raspberry Pi detection | | 3.45.7 | 2018-10-05 | fixed typos | | 3.45.6 | 2018-09-12 | `mem()` bug parsing linux in other languages | diff --git a/lib/util.js b/lib/util.js index f037aa3..987a524 100644 --- a/lib/util.js +++ b/lib/util.js @@ -14,7 +14,7 @@ const os = require('os'); const fs = require('fs'); -const { spawn } = require('child_process'); +const spawn = require('child_process').spawn; let _cores = 0; let wmic = '';