From 33137354d421a26d0d5ea57099794c52ef2a8b25 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Tue, 1 Dec 2020 09:35:49 +0100 Subject: [PATCH] cpu() corrected processor names (Raspberry Pi) --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 2 +- lib/util.js | 8 ++++---- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 79d7145..3b2e30a 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.30.9 | 2020-11-30 | `cpu()` corrected processor names (Raspberry Pi) | | 4.30.8 | 2020-11-30 | `fsSize()` catch error (mac OS) | | 4.30.7 | 2020-11-29 | `cpuTemperature()` rewrite hwmon parsing | | 4.30.6 | 2020-11-27 | wmic added default windows path (windows) | diff --git a/docs/history.html b/docs/history.html index 0fdb9c9..ede11ce 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.30.9 + 2020-12-01 + cpu() corrected processor names (Raspberry Pi) + 4.30.8 2020-11-30 diff --git a/docs/index.html b/docs/index.html index c3dd11e..121790e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -169,7 +169,7 @@
systeminformation
-
Current Version: 4.30.8
+
Current Version: 4.30.9
diff --git a/lib/util.js b/lib/util.js index 7a5692c..a4743ee 100644 --- a/lib/util.js +++ b/lib/util.js @@ -718,10 +718,10 @@ function decodePiCpuinfo(lines) { } const processorList = [ - 'BMC2835', - 'BMC2836', - 'BMC2837', - 'BMC2711', + 'BCM2835', + 'BCM2836', + 'BCM2837', + 'BCM2711', ]; const manufacturerList = [ 'Sony UK',