Comparing version 0.1.3 to 0.1.4
@@ -85,3 +85,3 @@ var fs = require('fs'); | ||
ssh.on('keyboard-interactive', function(name, instructions, instructionsLang, prompts, finish) { | ||
self.emit('keyboard-interactive', name, instructions, instructionsLang, prompts, finish) | ||
self.emit('keyboard-interactive', name, instructions, instructionsLang, prompts, finish); | ||
}); | ||
@@ -192,2 +192,6 @@ ssh.on('change password', function(message, language, done) { | ||
chunkSize = Math.min(chunkSize, attrs.size - lastIndex); | ||
if (!chunkSize) { | ||
callback(err); | ||
return; | ||
} | ||
var buf = new Buffer(chunkSize); | ||
@@ -259,3 +263,3 @@ fs.read(content, buf, 0, chunkSize, lastIndex, function(err, byteRead, buf) { | ||
attrs: _attrs | ||
}, callback) | ||
}, callback); | ||
} | ||
@@ -262,0 +266,0 @@ ], function(err) { |
{ | ||
"name": "scp2", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A pure javascript scp program based on ssh2.", | ||
@@ -15,6 +15,6 @@ "author": "Hsiaoming Yang <lepture@me.com>", | ||
"dependencies": { | ||
"ssh2": "~0.2.5", | ||
"glob": "~3.2.1", | ||
"async": "~0.2.6", | ||
"lodash": "~1.2.1" | ||
"ssh2": "~0.2.12", | ||
"glob": "~3.2.6", | ||
"async": "~0.2.9", | ||
"lodash": "~2.0.0" | ||
}, | ||
@@ -21,0 +21,0 @@ "repository": { |
@@ -192,2 +192,6 @@ # scp2 | ||
**2013-11-07** `0.1.4` ~stable | ||
1. Bugfix | ||
**2013-06-04** `0.1.3` ~stable | ||
@@ -194,0 +198,0 @@ |
Sorry, the diff of this file is not supported yet
21363
365
258
+ Addedlodash@2.0.0(transitive)
- Removedlodash@1.2.1(transitive)
Updatedasync@~0.2.9
Updatedglob@~3.2.6
Updatedlodash@~2.0.0
Updatedssh2@~0.2.12