preload: Improve error handling (stop spinning wheels)

Update balena-preload from 10.4.2 to 10.4.6

Connects-to: #2045
Change-type: patch
This commit is contained in:
Paulo Castro 2021-05-06 23:37:02 +01:00
parent 732fc2d539
commit d9821939d9
2 changed files with 72 additions and 16 deletions

86
npm-shrinkwrap.json generated
View File

@ -3442,16 +3442,16 @@
}
},
"balena-preload": {
"version": "10.4.2",
"resolved": "https://registry.npmjs.org/balena-preload/-/balena-preload-10.4.2.tgz",
"integrity": "sha512-IObDEgpR6+0M6UJhNVHun9dez8Nz6/fpVFowR08BkhBcfy5vR+cff+5AGMgNqg7fwcHgdqKT9MN5gab35PB3/Q==",
"version": "10.4.6",
"resolved": "https://registry.npmjs.org/balena-preload/-/balena-preload-10.4.6.tgz",
"integrity": "sha512-/wcAd8LNMTEbIWsNiXUJZov1SZBTjr0A4fpOJAkDn9woCSm4UBsNQfOJ3Wj7eYB1G5meD1XmmCTxQwa9suZa6A==",
"requires": {
"archiver": "^3.1.1",
"balena-sdk": "^15.3.1",
"bluebird": "^3.7.2",
"compare-versions": "^3.6.0",
"docker-progress": "^4.0.3",
"dockerode": "^2.5.8",
"docker-progress": "^5.0.0",
"dockerode": "^3.3.0",
"get-folder-size": "^2.0.1",
"get-port": "^3.2.0",
"lodash": "^4.17.20",
@ -3463,18 +3463,74 @@
"unzipper": "^0.8.14"
},
"dependencies": {
"docker-progress": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/docker-progress/-/docker-progress-4.0.3.tgz",
"integrity": "sha512-RgL8bL/TPe/nmb03yyiL4gS19gu6fSCCZxR+3ZsD93XYghFn/M9dGP//b53Kw20yoBo0vyg6uqSrQ388PRU1WQ==",
"docker-modem": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/docker-modem/-/docker-modem-3.0.0.tgz",
"integrity": "sha512-WwFajJ8I5geZ/dDZ5FDMDA6TBkWa76xWwGIGw8uzUjNUGCN0to83wJ8Oi1AxrJTC0JBn+7fvIxUctnawtlwXeg==",
"requires": {
"debug": "^4.1.1",
"readable-stream": "^3.5.0",
"split-ca": "^1.0.1",
"ssh2": "^0.8.7"
}
},
"docker-progress": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/docker-progress/-/docker-progress-5.0.0.tgz",
"integrity": "sha512-VklvJlTnDXqpvHnh9j/rOifxBgZby5dScBO6KFDiuow8ePC1VELoPteB8ZyIBDNjygFb1tmxlakEb0xOrL/yfw==",
"requires": {
"@types/bluebird": "^3.5.30",
"JSONStream": "^1.3.5",
"bluebird": "^3.7.2",
"docker-toolbelt": "^3.3.7",
"lodash": "^4.17.15",
"request": "^2.88.2",
"semver": "^7.1.3"
"lodash": "^4.17.15"
}
},
"dockerode": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/dockerode/-/dockerode-3.3.0.tgz",
"integrity": "sha512-St08lfOjpYCOXEM8XA0VLu3B3hRjtddODphNW5GFoA0AS3JHgoPQKOz0Qmdzg3P+hUPxhb02g1o1Cu1G+U3lRg==",
"requires": {
"docker-modem": "^3.0.0",
"tar-fs": "~2.0.1"
},
"dependencies": {
"tar-fs": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.0.1.tgz",
"integrity": "sha512-6tzWDMeroL87uF/+lin46k+Q+46rAJ0SyPGz7OW7wTgblI273hsBqk2C1j0/xNadNLKDTUL9BukSjB7cwgmlPA==",
"requires": {
"chownr": "^1.1.1",
"mkdirp-classic": "^0.5.2",
"pump": "^3.0.0",
"tar-stream": "^2.0.0"
}
}
}
},
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
"requires": {
"inherits": "^2.0.3",
"string_decoder": "^1.1.1",
"util-deprecate": "^1.0.1"
}
},
"ssh2": {
"version": "0.8.9",
"resolved": "https://registry.npmjs.org/ssh2/-/ssh2-0.8.9.tgz",
"integrity": "sha512-GmoNPxWDMkVpMFa9LVVzQZHF6EW3WKmBwL+4/GeILf2hFmix5Isxm7Amamo8o7bHiU0tC+wXsGcUXOxp8ChPaw==",
"requires": {
"ssh2-streams": "~0.4.10"
}
},
"ssh2-streams": {
"version": "0.4.10",
"resolved": "https://registry.npmjs.org/ssh2-streams/-/ssh2-streams-0.4.10.tgz",
"integrity": "sha512-8pnlMjvnIZJvmTzUIIA5nT4jr2ZWNNVHwyXfMGdRJbug9TpI3kd99ffglgfSWqujVv/0gxwMsDn9j9RVst8yhQ==",
"requires": {
"asn1": "~0.2.0",
"bcrypt-pbkdf": "^1.0.2",
"streamsearch": "~0.1.2"
}
},
"tmp": {

View File

@ -203,7 +203,7 @@
"balena-errors": "^4.7.1",
"balena-image-fs": "^7.0.6",
"balena-image-manager": "^7.0.3",
"balena-preload": "^10.4.2",
"balena-preload": "^10.4.6",
"balena-release": "^3.0.0",
"balena-sdk": "^15.31.0",
"balena-semver": "^2.3.0",