ssh2-sftp-client
Advanced tools
Comparing version 2.4.2 to 2.4.3
{ | ||
"name": "ssh2-sftp-client", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"description": "ssh2 sftp client for node", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -57,3 +57,3 @@ ## SSH2 SFTP Client | ||
#### Get | ||
Get a Chunk from remotePath. The encoding is passed to Node Stream (https://nodejs.org/api/stream.html) and it controls how the content is encoded. For example, when downloading binary data, 'null' should be passed (check node stream documentation). Default to 'utf8'. | ||
Get a `ReadableStream` from remotePath. The encoding is passed to Node Stream (https://nodejs.org/api/stream.html) and it controls how the content is encoded. For example, when downloading binary data, 'null' should be passed (check node stream documentation). Default to 'utf8'. | ||
@@ -161,2 +161,14 @@ ```javascript | ||
### Log | ||
### V2.4.3 | ||
- merge #108, #110 | ||
- fix connect promise if connection ends | ||
### V2.4.2 | ||
- merge #105 | ||
- fix windows path | ||
### V2.4.1 | ||
- merge pr #99, #100 | ||
- bug fix | ||
#### V2.4.0 | ||
@@ -163,0 +175,0 @@ Requires node.js v7.5.0 or above. |
@@ -454,2 +454,3 @@ /** | ||
this.client.removeListener('error', reject); | ||
this.client.removeListener('end', reject); | ||
if (err) { | ||
@@ -462,2 +463,3 @@ reject(new Error(`Failed to connect to server: ${err.message}`)); | ||
}) | ||
.on('end', reject) | ||
.on('error', reject) | ||
@@ -464,0 +466,0 @@ .connect(config); |
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
78493
1583
212