Comparing version 3.2.0 to 3.2.1
@@ -5,5 +5,2 @@ var EventEmitter = require('events').EventEmitter, | ||
zlib = require('zlib'), | ||
fs = require('fs'), | ||
concat = require('concat-stream'), | ||
path = require('path'), | ||
Container = require('./container'), | ||
@@ -255,3 +252,2 @@ Image = require('./image'), | ||
var content; | ||
var pack = tar.pack(); | ||
@@ -306,3 +302,3 @@ if (!callback && typeof opts === 'function') { | ||
if (file && file.context) { | ||
pack = tar.pack(file.context, { | ||
var pack = tar.pack(file.context, { | ||
entries: file.src | ||
@@ -895,3 +891,3 @@ }); | ||
if (args.callback === undefined) { | ||
if (callback === undefined) { | ||
return new this.modem.Promise(function(resolve, reject) { | ||
@@ -898,0 +894,0 @@ self.modem.dial(optsf, function(err, data) { |
{ | ||
"name": "dockerode", | ||
"description": "Docker Remote API module.", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"author": "Pedro Dias <petermdias@gmail.com>", | ||
@@ -18,3 +18,2 @@ "maintainers": [ | ||
"dependencies": { | ||
"concat-stream": "~2.0.0", | ||
"docker-modem": "^2.1.0", | ||
@@ -21,0 +20,0 @@ "tar-fs": "~2.0.1" |
@@ -131,2 +131,3 @@ # dockerode [![Build Status](https://travis-ci.org/apocas/dockerode.svg?branch=master)](https://travis-ci.org/apocas/dockerode) | ||
### Building an Image | ||
Context: provides the path to the Dockerfile. Additionaly files that are involved in the build *must* be explicitly mentioned in src array, since they are sent to a temp env to build. Example: file for COPY command are extracted from that temporary environment. | ||
@@ -204,3 +205,3 @@ ``` js | ||
There is also support for [HTTP connection hijacking](https://docs.docker.com/engine/reference/api/docker_remote_api_v1.22/#3-2-hijacking), | ||
There is also support for [HTTP connection hijacking](https://docs.docker.com/engine/api/v1.22/#32-hijacking), | ||
which allows for cleaner interactions with commands that work with stdin and stdout separately. | ||
@@ -233,3 +234,3 @@ | ||
* `create_options` - (optional) Options used for container creation. Refer to the [DockerEngine ContainerCreate documentation](https://docs.docker.com/engine/api/v1.37/#operation/ContainerCreate) for the possible values | ||
* `start_options` - (optional) Options used for container start. Refer to the [DockerEngine ContainerCreate documentation](hhttps://docs.docker.com/engine/api/v1.37/#operation/ContainerStart) for the possible values | ||
* `start_options` - (optional) Options used for container start. Refer to the [DockerEngine ContainerStart documentation](https://docs.docker.com/engine/api/v1.37/#operation/ContainerStart) for the possible values | ||
* `callback` - callback called when execution ends (optional, promise will be returned if not used). | ||
@@ -236,0 +237,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
139912
2
519
0
4140
- Removedconcat-stream@~2.0.0
- Removedbuffer-from@1.1.2(transitive)
- Removedconcat-stream@2.0.0(transitive)
- Removedtypedarray@0.0.6(transitive)