Update systeminformation to 5.22.7

Change-type: patch
Signed-off-by: Christina Ying Wang <christina@balena.io>
This commit is contained in:
Christina Ying Wang
2024-04-22 12:03:05 -07:00
parent 4eede9f1fd
commit 7bb5900649
3 changed files with 27 additions and 5 deletions

8
package-lock.json generated
View File

@ -100,7 +100,7 @@
"sinon-chai": "^3.7.0", "sinon-chai": "^3.7.0",
"strict-event-emitter-types": "^2.0.0", "strict-event-emitter-types": "^2.0.0",
"supertest": "^6.1.3", "supertest": "^6.1.3",
"systeminformation": "5.18.10", "systeminformation": "^5.22.7",
"tar-stream": "^2.1.3", "tar-stream": "^2.1.3",
"terser-webpack-plugin": "^5.3.6", "terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.0", "ts-loader": "^9.4.0",
@ -14222,9 +14222,9 @@
} }
}, },
"node_modules/systeminformation": { "node_modules/systeminformation": {
"version": "5.18.10", "version": "5.22.7",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.18.10.tgz", "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.22.7.tgz",
"integrity": "sha512-p7Su6y3MhKODBVOeQuJQG8jk3HvaU9dtSgVHT/pkRGj2g97n4fmYhYCJ2+djK0Ed5Zq4nSQ7zzEYFVlW71RbHg==", "integrity": "sha512-AWxlP05KeHbpGdgvZkcudJpsmChc2Y5Eo/GvxG/iUA/Aws5LZKHAMSeAo+V+nD+nxWZaxrwpWcnx4SH3oxNL3A==",
"dev": true, "dev": true,
"os": [ "os": [
"darwin", "darwin",

View File

@ -126,7 +126,7 @@
"sinon-chai": "^3.7.0", "sinon-chai": "^3.7.0",
"strict-event-emitter-types": "^2.0.0", "strict-event-emitter-types": "^2.0.0",
"supertest": "^6.1.3", "supertest": "^6.1.3",
"systeminformation": "5.18.10", "systeminformation": "^5.22.7",
"tar-stream": "^2.1.3", "tar-stream": "^2.1.3",
"terser-webpack-plugin": "^5.3.6", "terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.0", "ts-loader": "^9.4.0",

View File

@ -263,12 +263,16 @@ const mockCPU = {
currentLoadNice: 0, currentLoadNice: 0,
currentLoadIdle: 98.53975121687398, currentLoadIdle: 98.53975121687398,
currentLoadIrq: 0, currentLoadIrq: 0,
currentLoadSteal: 0,
currentLoadGuest: 0,
rawCurrentLoad: 5400, rawCurrentLoad: 5400,
rawCurrentLoadUser: 2700, rawCurrentLoadUser: 2700,
rawCurrentLoadSystem: 2700, rawCurrentLoadSystem: 2700,
rawCurrentLoadNice: 0, rawCurrentLoadNice: 0,
rawCurrentLoadIdle: 364400, rawCurrentLoadIdle: 364400,
rawCurrentLoadIrq: 0, rawCurrentLoadIrq: 0,
rawCurrentLoadSteal: 0,
rawCurrentLoadGuest: 0,
cpus: [ cpus: [
{ {
load: 1.8660812294182216, load: 1.8660812294182216,
@ -277,12 +281,16 @@ const mockCPU = {
loadNice: 0, loadNice: 0,
loadIdle: 98.13391877058177, loadIdle: 98.13391877058177,
loadIrq: 0, loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 1700, rawLoad: 1700,
rawLoadUser: 700, rawLoadUser: 700,
rawLoadSystem: 1000, rawLoadSystem: 1000,
rawLoadNice: 0, rawLoadNice: 0,
rawLoadIdle: 89400, rawLoadIdle: 89400,
rawLoadIrq: 0, rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0,
}, },
{ {
load: 1.7204301075268817, load: 1.7204301075268817,
@ -291,12 +299,16 @@ const mockCPU = {
loadNice: 0, loadNice: 0,
loadIdle: 98.27956989247312, loadIdle: 98.27956989247312,
loadIrq: 0, loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 1600, rawLoad: 1600,
rawLoadUser: 800, rawLoadUser: 800,
rawLoadSystem: 800, rawLoadSystem: 800,
rawLoadNice: 0, rawLoadNice: 0,
rawLoadIdle: 91400, rawLoadIdle: 91400,
rawLoadIrq: 0, rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0,
}, },
{ {
load: 1.186623516720604, load: 1.186623516720604,
@ -305,12 +317,16 @@ const mockCPU = {
loadNice: 0, loadNice: 0,
loadIdle: 98.8133764832794, loadIdle: 98.8133764832794,
loadIrq: 0, loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 1100, rawLoad: 1100,
rawLoadUser: 900, rawLoadUser: 900,
rawLoadSystem: 200, rawLoadSystem: 200,
rawLoadNice: 0, rawLoadNice: 0,
rawLoadIdle: 91600, rawLoadIdle: 91600,
rawLoadIrq: 0, rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0,
}, },
{ {
load: 1.0752688172043012, load: 1.0752688172043012,
@ -319,12 +335,16 @@ const mockCPU = {
loadNice: 0, loadNice: 0,
loadIdle: 98.9247311827957, loadIdle: 98.9247311827957,
loadIrq: 0, loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 1000, rawLoad: 1000,
rawLoadUser: 300, rawLoadUser: 300,
rawLoadSystem: 700, rawLoadSystem: 700,
rawLoadNice: 0, rawLoadNice: 0,
rawLoadIdle: 92000, rawLoadIdle: 92000,
rawLoadIrq: 0, rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0,
}, },
], ],
}, },
@ -440,4 +460,6 @@ const mockMemory = {
swaptotal: 2016358400, swaptotal: 2016358400,
swapused: 0, swapused: 0,
swapfree: 2016358400, swapfree: 2016358400,
writeback: 0,
dirty: 0,
}; };