Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ftp-deploy

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ftp-deploy - npm Package Compare versions

Comparing version 2.4.6 to 2.4.7

4

package.json
{
"name": "ftp-deploy",
"version": "2.4.6",
"version": "2.4.7",
"author": "Simon Hampton",

@@ -15,3 +15,3 @@ "description": "Ftp a folder from your local disk to an ftp destination",

"read": "^2.1.0",
"ssh2-sftp-client": "^7.2.1",
"ssh2-sftp-client": "^7.2.3",
"upath": "^2.0.1"

@@ -18,0 +18,0 @@ },

@@ -5,4 +5,2 @@ # ftp-deploy

Version 2.0.0 is an almost complete re-write to use promises and [promise-ftp](https://github.com/realtymaps/promise-ftp) instead of jsftp. The one breaking change is listed in the notes of Usage section.
## Installation

@@ -120,2 +118,11 @@

## Release
```sh
npm version patch
git commit -m 'bump'
npm publish
git push origin vx.y.z
```
## ToDo

@@ -122,0 +129,0 @@

@@ -30,3 +30,3 @@ "use strict";

const d = new FtpDeploy();
const configError = Object.assign({}, config, { port: 212 });
const configError = { ...config, port: 212 };
return del(remoteDir)

@@ -49,3 +49,3 @@ .then(() => {

.then(() => {
let c2 = Object.assign({}, config, { include: [] });
let c2 = { ...config, include: [] };
return d.deploy(c2);

@@ -52,0 +52,0 @@ })

@@ -6,3 +6,2 @@ const fs = require("fs");

const read = require("read");
const readP = util.promisify(read);

@@ -39,3 +38,3 @@ const { minimatch } = require("minimatch");

};
return readP(options).then((res) => {
return read(options).then((res) => {
let config2 = Object.assign(config, { password: res });

@@ -162,6 +161,5 @@ return config2;

// Apply the mapper function to the current item
return mapper(item, index, array)
.then(res => {
output.push(res);
});
return mapper(item, index, array).then((res) => {
output.push(res);
});
});

@@ -168,0 +166,0 @@ });

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