Move systeminformation to devDependencies

devDependencies are tree-shaked, while dependencies are stored in the
image. We reserve dependencies just for those that contain binary
bindings

Change-type: patch
This commit is contained in:
Felipe Lalanne 2023-08-03 17:11:37 -04:00
parent ddf99429eb
commit a67a5a0f8f
2 changed files with 15 additions and 12 deletions

23
package-lock.json generated
View File

@ -14,8 +14,7 @@
"got": "^12.5.3", "got": "^12.5.3",
"mdns-resolver": "^1.0.0", "mdns-resolver": "^1.0.0",
"semver": "^7.3.2", "semver": "^7.3.2",
"sqlite3": "^5.1.6", "sqlite3": "^5.1.6"
"systeminformation": "^5.6.10"
}, },
"devDependencies": { "devDependencies": {
"@balena/contrato": "^0.6.0", "@balena/contrato": "^0.6.0",
@ -100,6 +99,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",
"tar-stream": "^2.1.3", "tar-stream": "^2.1.3",
"terser-webpack-plugin": "^5.3.6", "terser-webpack-plugin": "^5.3.6",
"tmp": "^0.1.0", "tmp": "^0.1.0",
@ -11204,9 +11204,10 @@
} }
}, },
"node_modules/systeminformation": { "node_modules/systeminformation": {
"version": "5.6.10", "version": "5.18.10",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.6.10.tgz", "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.18.10.tgz",
"integrity": "sha512-OHOsd0OuVxocAzrG0TXz4yw7bixR6qrYot9G3w8oNX8OF7hjmGTePCieVvSfgWNgK2NBA5tfziwxTfNqX0ej9g==", "integrity": "sha512-p7Su6y3MhKODBVOeQuJQG8jk3HvaU9dtSgVHT/pkRGj2g97n4fmYhYCJ2+djK0Ed5Zq4nSQ7zzEYFVlW71RbHg==",
"dev": true,
"os": [ "os": [
"darwin", "darwin",
"linux", "linux",
@ -11214,13 +11215,14 @@
"freebsd", "freebsd",
"openbsd", "openbsd",
"netbsd", "netbsd",
"sunos" "sunos",
"android"
], ],
"bin": { "bin": {
"systeminformation": "lib/cli.js" "systeminformation": "lib/cli.js"
}, },
"engines": { "engines": {
"node": ">=4.0.0" "node": ">=8.0.0"
}, },
"funding": { "funding": {
"type": "Buy me a coffee", "type": "Buy me a coffee",
@ -21864,9 +21866,10 @@
"dev": true "dev": true
}, },
"systeminformation": { "systeminformation": {
"version": "5.6.10", "version": "5.18.10",
"resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.6.10.tgz", "resolved": "https://registry.npmjs.org/systeminformation/-/systeminformation-5.18.10.tgz",
"integrity": "sha512-OHOsd0OuVxocAzrG0TXz4yw7bixR6qrYot9G3w8oNX8OF7hjmGTePCieVvSfgWNgK2NBA5tfziwxTfNqX0ej9g==" "integrity": "sha512-p7Su6y3MhKODBVOeQuJQG8jk3HvaU9dtSgVHT/pkRGj2g97n4fmYhYCJ2+djK0Ed5Zq4nSQ7zzEYFVlW71RbHg==",
"dev": true
}, },
"table": { "table": {
"version": "5.4.6", "version": "5.4.6",

View File

@ -36,8 +36,7 @@
"got": "^12.5.3", "got": "^12.5.3",
"mdns-resolver": "^1.0.0", "mdns-resolver": "^1.0.0",
"semver": "^7.3.2", "semver": "^7.3.2",
"sqlite3": "^5.1.6", "sqlite3": "^5.1.6"
"systeminformation": "^5.6.10"
}, },
"engines": { "engines": {
"node": "^18.18.0", "node": "^18.18.0",
@ -126,6 +125,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",
"tar-stream": "^2.1.3", "tar-stream": "^2.1.3",
"terser-webpack-plugin": "^5.3.6", "terser-webpack-plugin": "^5.3.6",
"tmp": "^0.1.0", "tmp": "^0.1.0",