mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-03 04:26:44 +00:00
Update dependencies
Change-type: patch
This commit is contained in:
parent
e0187090b1
commit
1decd87c21
817
package-lock.json
generated
817
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@ -37,32 +37,32 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@balena/contrato": "^0.2.1",
|
"@balena/contrato": "^0.2.1",
|
||||||
"@balena/lint": "^5.1.0",
|
"@balena/lint": "^5.1.0",
|
||||||
"@types/bluebird": "^3.5.30",
|
"@types/bluebird": "^3.5.31",
|
||||||
"@types/chai": "^4.2.11",
|
"@types/chai": "^4.2.11",
|
||||||
"@types/chai-as-promised": "^7.1.2",
|
"@types/chai-as-promised": "^7.1.2",
|
||||||
"@types/common-tags": "^1.8.0",
|
"@types/common-tags": "^1.8.0",
|
||||||
"@types/dbus": "^1.0.0",
|
"@types/dbus": "^1.0.0",
|
||||||
"@types/dockerode": "^2.5.25",
|
"@types/dockerode": "^2.5.28",
|
||||||
"@types/event-stream": "^3.3.34",
|
"@types/event-stream": "^3.3.34",
|
||||||
"@types/express": "^4.17.3",
|
"@types/express": "^4.17.3",
|
||||||
"@types/lockfile": "^1.0.1",
|
"@types/lockfile": "^1.0.1",
|
||||||
"@types/lodash": "^4.14.149",
|
"@types/lodash": "^4.14.151",
|
||||||
"@types/memoizee": "^0.4.3",
|
"@types/memoizee": "^0.4.4",
|
||||||
"@types/mkdirp": "^0.5.2",
|
"@types/mkdirp": "^0.5.2",
|
||||||
"@types/mocha": "^5.2.7",
|
"@types/mocha": "^5.2.7",
|
||||||
"@types/morgan": "^1.9.0",
|
"@types/morgan": "^1.9.0",
|
||||||
"@types/mz": "0.0.32",
|
"@types/mz": "0.0.32",
|
||||||
"@types/node": "^12.12.6",
|
"@types/node": "^12.12.39",
|
||||||
"@types/request": "^2.48.4",
|
"@types/request": "^2.48.4",
|
||||||
"@types/rimraf": "^2.0.4",
|
"@types/rimraf": "^2.0.4",
|
||||||
"@types/rwlock": "^5.0.2",
|
"@types/rwlock": "^5.0.2",
|
||||||
"@types/semver": "^7.1.0",
|
"@types/semver": "^7.2.0",
|
||||||
"@types/shell-quote": "^1.6.1",
|
"@types/shell-quote": "^1.6.1",
|
||||||
"@types/sinon": "^7.5.2",
|
"@types/sinon": "^7.5.2",
|
||||||
"@types/sinon-chai": "^3.2.3",
|
"@types/sinon-chai": "^3.2.4",
|
||||||
"@types/supertest": "^2.0.9",
|
"@types/supertest": "^2.0.9",
|
||||||
"@types/tmp": "^0.1.0",
|
"@types/tmp": "^0.1.0",
|
||||||
"@types/yargs": "^15.0.4",
|
"@types/yargs": "^15.0.5",
|
||||||
"balena-register-device": "^6.1.6",
|
"balena-register-device": "^6.1.6",
|
||||||
"blinking": "~0.0.3",
|
"blinking": "~0.0.3",
|
||||||
"bluebird": "^3.7.2",
|
"bluebird": "^3.7.2",
|
||||||
@ -82,7 +82,7 @@
|
|||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"fork-ts-checker-webpack-plugin": "^4.1.3",
|
"fork-ts-checker-webpack-plugin": "^4.1.3",
|
||||||
"fp-ts": "^2.5.3",
|
"fp-ts": "^2.5.3",
|
||||||
"husky": "^4.2.3",
|
"husky": "^4.2.5",
|
||||||
"io-ts": "^2.1.2",
|
"io-ts": "^2.1.2",
|
||||||
"io-ts-reporters": "^1.0.0",
|
"io-ts-reporters": "^1.0.0",
|
||||||
"json-mask": "^0.3.9",
|
"json-mask": "^0.3.9",
|
||||||
@ -114,13 +114,13 @@
|
|||||||
"strict-event-emitter-types": "^2.0.0",
|
"strict-event-emitter-types": "^2.0.0",
|
||||||
"supertest": "^4.0.2",
|
"supertest": "^4.0.2",
|
||||||
"tar-stream": "^2.1.2",
|
"tar-stream": "^2.1.2",
|
||||||
"terser-webpack-plugin": "^2.3.5",
|
"terser-webpack-plugin": "^2.3.6",
|
||||||
"tmp": "^0.1.0",
|
"tmp": "^0.1.0",
|
||||||
"ts-loader": "^6.2.2",
|
"ts-loader": "^6.2.2",
|
||||||
"ts-node": "^8.8.1",
|
"ts-node": "^8.10.1",
|
||||||
"typed-error": "^2.0.0",
|
"typed-error": "^2.0.0",
|
||||||
"typescript": "^3.8.3",
|
"typescript": "^3.9.2",
|
||||||
"webpack": "^4.42.0",
|
"webpack": "^4.43.0",
|
||||||
"webpack-cli": "^3.3.11",
|
"webpack-cli": "^3.3.11",
|
||||||
"winston": "^3.2.1",
|
"winston": "^3.2.1",
|
||||||
"yargs": "^15.3.1"
|
"yargs": "^15.3.1"
|
||||||
|
@ -217,7 +217,9 @@ export class Network {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static validateComposeConfig(
|
private static validateComposeConfig(
|
||||||
config: Partial<ComposeNetworkConfig>,
|
config: Partial<Omit<ComposeNetworkConfig, 'ipam'>> & {
|
||||||
|
ipam?: Partial<ComposeNetworkConfig['ipam']>;
|
||||||
|
},
|
||||||
): void {
|
): void {
|
||||||
// Check if every ipam config entry has both a subnet and a gateway
|
// Check if every ipam config entry has both a subnet and a gateway
|
||||||
_.each(_.get(config, 'config.ipam.config', []), ({ subnet, gateway }) => {
|
_.each(_.get(config, 'config.ipam.config', []), ({ subnet, gateway }) => {
|
||||||
|
@ -92,10 +92,8 @@ export class EventTracker {
|
|||||||
(event: string) => {
|
(event: string) => {
|
||||||
// Call this function at maximum once every minute
|
// Call this function at maximum once every minute
|
||||||
return _.throttle(
|
return _.throttle(
|
||||||
(properties) => {
|
(properties: EventTrackProperties | Error) => {
|
||||||
if (this.client != null) {
|
this.client?.track(event, properties);
|
||||||
this.client.track(event, properties);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
eventDebounceTime,
|
eventDebounceTime,
|
||||||
{ leading: true },
|
{ leading: true },
|
||||||
|
Loading…
Reference in New Issue
Block a user