Merge pull request #2310 from balena-os/update-dependencies-node-20

Update dependencies node 20
This commit is contained in:
flowzone-app[bot] 2024-04-23 18:57:29 +00:00 committed by GitHub
commit dee1833307
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1473 additions and 2756 deletions

4176
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -41,35 +41,32 @@
"devDependencies": {
"@balena/contrato": "^0.6.0",
"@balena/es-version": "^1.0.3",
"@balena/lint": "^7.3.0",
"@balena/lint": "^8.0.2",
"@types/bluebird": "^3.5.37",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",
"@types/chai-like": "^1.1.1",
"@types/chai-things": "0.0.38",
"@types/common-tags": "^1.8.1",
"@types/copy-webpack-plugin": "^10.1.0",
"@types/dockerode": "^2.5.34",
"@types/event-stream": "^3.3.34",
"@types/express": "^4.17.14",
"@types/json-mask": "2.0.3",
"@types/json-mask": "^2.0.3",
"@types/JSONStream": "npm:@types/jsonstream@^0.8.33",
"@types/lodash": "^4.14.186",
"@types/memoizee": "^0.4.8",
"@types/mocha": "^8.2.3",
"@types/mocha": "^10.0.6",
"@types/mock-fs": "^4.13.1",
"@types/morgan": "^1.9.3",
"@types/node": "^20.11.24",
"@types/request": "^2.48.8",
"@types/rewire": "^2.5.28",
"@types/rimraf": "^4.0.0",
"@types/rwlock": "^5.0.3",
"@types/semver": "^7.3.12",
"@types/shell-quote": "^1.7.1",
"@types/sinon": "^10.0.13",
"@types/sinon-chai": "^3.2.8",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@types/supertest": "^6.0.0",
"@types/terser-webpack-plugin": "^5.2.0",
"@types/webpack": "^5.28.0",
"@types/yargs": "^15.0.14",
"balena-auth": "^6.0.1",
@ -97,36 +94,36 @@
"husky": "^8.0.1",
"io-ts": "^2.2.10",
"io-ts-reporters": "^1.2.2",
"json-mask": "^0.3.9",
"json-mask": "^2.0.0",
"JSONStream": "^1.3.5",
"knex": "^2.5.1",
"lint-staged": "^13.0.3",
"knex": "^3.1.0",
"lint-staged": "^15.2.2",
"livepush": "^3.5.1",
"lodash": "^4.17.21",
"mdns-resolver": "1.1.0",
"memoizee": "^0.4.14",
"mocha": "^8.3.2",
"mocha-pod": "^0.9.0",
"mocha": "^10.4.0",
"mocha-pod": "^2.0.5",
"mock-fs": "^4.14.0",
"morgan": "^1.10.0",
"network-checker": "^0.1.1",
"nock": "^13.1.2",
"nodemon": "^2.0.4",
"nodemon": "^3.1.0",
"pinejs-client-request": "^7.3.5",
"pretty-ms": "^7.0.1",
"request": "^2.88.2",
"resin-docker-build": "^1.1.6",
"resumable-request": "^2.0.1",
"rewire": "^6.0.0",
"rewire": "^7.0.0",
"rimraf": "^5.0.0",
"rwlock": "^5.0.0",
"semver": "7.6.0",
"shell-quote": "^1.7.2",
"sinon": "^14.0.1",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"strict-event-emitter-types": "^2.0.0",
"supertest": "^6.1.3",
"systeminformation": "5.18.10",
"systeminformation": "^5.22.7",
"tar-stream": "^2.1.3",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.0",

View File

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