Update dependencies

Change-type: patch
This commit is contained in:
Pagan Gazzard 2020-03-13 13:23:30 +00:00
parent 0bc6fc9a4a
commit 6e3db3bd60
5 changed files with 312 additions and 327 deletions

582
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -38,33 +38,33 @@
},
"devDependencies": {
"@balena/contrato": "^0.2.1",
"@types/bluebird": "^3.5.29",
"@types/chai": "^4.2.7",
"@types/bluebird": "^3.5.30",
"@types/chai": "^4.2.10",
"@types/chai-as-promised": "^7.1.2",
"@types/common-tags": "^1.8.0",
"@types/dockerode": "^2.5.21",
"@types/event-stream": "^3.3.34",
"@types/express": "^4.17.2",
"@types/express": "^4.17.3",
"@types/knex": "^0.15.2",
"@types/lockfile": "^1.0.1",
"@types/lodash": "^4.14.149",
"@types/memoizee": "^0.4.3",
"@types/mkdirp": "^0.5.2",
"@types/mocha": "^5.2.7",
"@types/morgan": "^1.7.37",
"@types/morgan": "^1.9.0",
"@types/mz": "0.0.32",
"@types/node": "^10.17.13",
"@types/node": "^10.17.17",
"@types/request": "^2.48.4",
"@types/rimraf": "^2.0.3",
"@types/rwlock": "^5.0.2",
"@types/shell-quote": "^1.6.1",
"@types/sinon": "^7.5.1",
"@types/sinon": "^7.5.2",
"@types/sinon-chai": "^3.2.3",
"@types/tmp": "^0.1.0",
"balena-sync": "^10.0.0",
"blinking": "~0.0.2",
"bluebird": "^3.5.3",
"body-parser": "^1.12.0",
"blinking": "~0.0.3",
"bluebird": "^3.7.2",
"body-parser": "^1.19.0",
"buffer-equal-constant-time": "^1.0.1",
"chai-as-promised": "^7.1.1",
"chai-events": "0.0.1",
@ -80,21 +80,21 @@
"docker-toolbelt": "^3.3.7",
"duration-js": "^4.0.0",
"event-stream": "3.3.4",
"express": "^4.0.0",
"express": "^4.17.1",
"fork-ts-checker-webpack-plugin": "^0.5.2",
"fp-ts": "^2.0.0",
"husky": "^4.2.1",
"fp-ts": "^2.0.5",
"husky": "^4.2.3",
"io-ts": "^2.0.1",
"io-ts-reporters": "^1.0.0",
"istanbul": "^0.4.5",
"json-mask": "^0.3.8",
"knex": "~0.15.2",
"lint-staged": "^10.0.7",
"knex": "^0.15.2",
"lint-staged": "^10.0.8",
"livepush": "^2.0.2",
"lockfile": "^1.0.1",
"lodash": "^4.17.13",
"lockfile": "^1.0.4",
"lodash": "^4.17.15",
"log-timestamp": "^0.1.2",
"memoizee": "^0.4.1",
"memoizee": "^0.4.14",
"mixpanel": "^0.10.1",
"mkdirp": "^0.5.1",
"mocha": "^5.2.0",
@ -102,25 +102,24 @@
"mz": "^2.7.0",
"network-checker": "^0.1.1",
"pinejs-client-request": "^5.2.0",
"prettier": "1.19.1",
"pretty-ms": "^5.1.0",
"request": "^2.51.0",
"request": "^2.88.2",
"resin-lint": "^3.2.4",
"resin-register-device": "^3.0.0",
"resumable-request": "^2.0.0",
"rimraf": "^2.6.2",
"rwlock": "^5.0.0",
"shell-quote": "^1.6.1",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.5.0",
"strict-event-emitter-types": "^2.0.0",
"terser": "^3.14.1",
"tmp": "^0.1.0",
"ts-loader": "^5.4.5",
"ts-node": "^8.6.2",
"typed-error": "^2.0.0",
"typescript": "^3.7.5",
"webpack": "^4.25.0",
"typescript": "^3.8.3",
"webpack": "^4.28.0",
"webpack-cli": "^3.1.2",
"winston": "^3.2.1",
"yargs": "^15.1.0"

View File

@ -202,9 +202,7 @@ module.exports = class ApplicationManager extends EventEmitter
else
log.debug('Ignoring legacy dependent image', image)
obj = { local: apps, dependent }
obj.commit = currentCommit
return obj
return { local: apps, dependent, commit: currentCommit }
)
getDependentState: =>
@ -1015,4 +1013,3 @@ module.exports = class ApplicationManager extends EventEmitter
message = "Not running containers because of contract violations: #{serviceNames.join('. ')}"
log.info(message)
@logger.logSystemMessage(message, {}, 'optionalContainerViolation', true)

View File

@ -97,7 +97,11 @@ class ApplicationManager extends EventEmitter {
transaction: Knex.Transaction,
): Promise<void>;
public getStatus(): Promise<DeviceStatus>;
public getStatus(): Promise<{
local: DeviceStatus.local.apps;
dependent: DeviceStatus.dependent;
commit: DeviceStatus.commit;
}>;
// The return type is incompleted
public getTargetApps(): Promise<InstancedAppState>;
public stopAll(opts: { force?: boolean; skipLock?: boolean }): Promise<void>;

View File

@ -7,6 +7,7 @@ const CopyWebpackPlugin = require('copy-webpack-plugin');
var ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
var externalModules = [
'async_hooks',
'sqlite3',
'mysql2',
'pg',