Socket
Socket
Sign inDemoInstall

jsftp

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsftp - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

.editorconfig

12

lib/jsftp.js

@@ -559,8 +559,12 @@ /* vim:set ts=2 sw=2 sts=2 expandtab */

var totalSize = err ? 0 : stats.size;
if (stats.isDirectory()) {
return callback(new Error('Local path cannot be a directory'));
}
var totalSize = err ? 0 : stats.size;
var localFileStream = fs.createReadStream(from, {
bufferSize: 4 * 1024
});
bufferSize: 4 * 1024
});
putReadable(localFileStream, to, totalSize, callback);
});
});
} else { // `from` is a readable stream

@@ -567,0 +571,0 @@ putReadable(from, to, from.size, callback);

{
"name": "jsftp",
"id": "jsftp",
"version": "1.5.2",
"version": "1.5.3",
"description": "A sane FTP client implementation for NodeJS",

@@ -24,16 +24,17 @@ "keywords": [

"dependencies": {
"debug": "2.1.1",
"debug": "2.2.0",
"event-stream": "3.1.7",
"ftp-response-parser": "1.0.0",
"once": "1.3.0",
"parse-listing": "1.1.2",
"unorm": "^1.3.3"
"parse-listing": "1.1.3",
"unorm": "1.4.1"
},
"devDependencies": {
"concat-stream": "1.5.0",
"ftp-test-server": "0.0.2",
"istanbul": "0.3.22",
"mocha": "1.21.4",
"istanbul": "0.3.2",
"mocha-istanbul": "0.2.0",
"sinon": "1.10.3",
"ftp-test-server": "0.0.2",
"rimraf": "2.2.8"
"rimraf": "2.2.8",
"sinon": "1.17.1"
},

@@ -40,0 +41,0 @@ "main": "./jsftp.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc