diff --git a/packages/common/package.json b/packages/common/package.json index b1c7707f..d6289a44 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -22,7 +22,7 @@ }, "devDependencies": { "@jest/globals": "29.7.0", - "@types/dockerode": "^3.3.14", + "@types/dockerode": "^3.3.26", "@types/lodash-es": "^4.17.12", "@types/node": "18", "@types/shell-escape": "^0.2.1", diff --git a/packages/compose-tunnel-agent/package.json b/packages/compose-tunnel-agent/package.json index 8f1e19ba..9f8bd14d 100644 --- a/packages/compose-tunnel-agent/package.json +++ b/packages/compose-tunnel-agent/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@jest/globals": "29.7.0", - "@types/dockerode": "^3.3.14", + "@types/dockerode": "^3.3.26", "@types/http-proxy": "^1.17.9", "@types/lodash-es": "^4.17.12", "@types/node": "18", diff --git a/packages/compose-tunnel-agent/src/docker/filters.ts b/packages/compose-tunnel-agent/src/docker/filters.ts index 8959818f..1456efb1 100644 --- a/packages/compose-tunnel-agent/src/docker/filters.ts +++ b/packages/compose-tunnel-agent/src/docker/filters.ts @@ -35,7 +35,7 @@ export const filters = ({ const listContainers = async () => await docker.listContainers({ all: true, - filters: { ...apiFilter }, + filters: JSON.stringify({ ...apiFilter }), }) const adhocFilter = (c: Pick): boolean => ( diff --git a/yarn.lock b/yarn.lock index fdfc9351..b3e158e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3986,10 +3986,10 @@ "@types/node" "*" "@types/ssh2" "*" -"@types/dockerode@^3.3.14": - version "3.3.23" - resolved "https://registry.yarnpkg.com/@types/dockerode/-/dockerode-3.3.23.tgz#07b2084013d01e14d5d97856446f4d9c9f27c223" - integrity sha512-Lz5J+NFgZS4cEVhquwjIGH4oQwlVn2h7LXD3boitujBnzOE5o7s9H8hchEjoDK2SlRsJTogdKnQeiJgPPKLIEw== +"@types/dockerode@^3.3.26": + version "3.3.26" + resolved "https://registry.npmjs.org/@types/dockerode/-/dockerode-3.3.26.tgz#e7f5f06e985ee045c9b9643fd9c34684deb80cd1" + integrity sha512-/K+I9bGhRO2SvyIHisGeOsy/ypxnWLz8+Rde9S2tNNEKa3r91e0XMYIEq2D+kb7srm7xrmpAR0CDKfXoZOr4OA== dependencies: "@types/docker-modem" "*" "@types/node" "*"