Socket
Socket
Sign inDemoInstall

ftps

Package Overview
Dependencies
1
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.4 to 0.4.5

11

index.js

@@ -164,3 +164,14 @@ var spawn = require('child_process').spawn,

FTP.prototype.rmdir = function () { return this.raw('rmdir ' + Array.prototype.slice.call(arguments).map(this._escapeshell.bind(this)).join(' ')); };
FTP.prototype.mirror = function (opts) {
opts = opts || {};
opts.remoteDir = opts.remoteDir || '.';
opts.localDir = opts.localDir || '.';
var raw = 'mirror';
if (opts.filter) {
raw += ' -i "'+String(opts.filter).slice(1, -1)+'"';
}
raw += ' ' + this._escapeshell(opts.remoteDir) + ' ' + this._escapeshell(opts.localDir);
return this.raw(raw);
};
module.exports = FTP;

2

package.json
{
"name": "ftps",
"version": "0.4.4",
"version": "0.4.5",
"author": {

@@ -5,0 +5,0 @@ "name" : "Sébastien Chopin" ,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc