Skip to content

Commit 4e671af

Browse files
committed
fix: update stdin handling in attach method and bump dependencies to version 4.0.10
1 parent 7d91490 commit 4e671af

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

lib/container.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ Container.prototype.attach = function(opts, callback) {
743743
method: 'POST',
744744
abortSignal: args.opts.abortSignal,
745745
isStream: true,
746-
hijack: args.opts.hijack,
746+
hijack: args.opts.hijack || args.opts.stdin,
747747
openStdin: args.opts.stdin,
748748
statusCodes: {
749749
200: true,

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dockerode",
33
"description": "Docker Remote API module.",
4-
"version": "4.0.9",
4+
"version": "4.0.10",
55
"author": "Pedro Dias <petermdias@gmail.com>",
66
"maintainers": [
77
"apocas <petermdias@gmail.com>"
@@ -18,7 +18,7 @@
1818
"@balena/dockerignore": "^1.0.2",
1919
"@grpc/grpc-js": "^1.11.1",
2020
"@grpc/proto-loader": "^0.7.13",
21-
"docker-modem": "^5.0.6",
21+
"docker-modem": "^5.0.7",
2222
"protobufjs": "^7.3.2",
2323
"tar-fs": "^2.1.4",
2424
"uuid": "^10.0.0"

0 commit comments

Comments
 (0)