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

ftp-deploy

Package Overview
Dependencies
Maintainers
2
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 1.2.0 to 1.2.1

notes.md

7

CHANGELOG.md
# Changelog
## 1.2.0
- Adds an optional config.include which supersedes any exclusion rules.
- Linting code cleanup via xo style/tool
## 1.1.0
- Updated dependencies
## 1.0.0

@@ -4,0 +11,0 @@

6

ftp-deploy.js

@@ -159,5 +159,5 @@ const fs = require('fs');

fullRemoteDirectory = fullRemoteDirectory.replace(/\/\//g, '/');
ftp.raw.cwd(fullRemoteDirectory, err => {
ftp.raw('cwd', fullRemoteDirectory, (err) => {
if (err) {
ftp.raw.mkd(fullRemoteDirectory, err => {
ftp.raw('mkd', fullRemoteDirectory, (err) => {
if (err) {

@@ -222,3 +222,3 @@ cb(err);

} else {
ftp.raw.quit(err => {
ftp.raw('quit', (err, data) => {
cb(err);

@@ -225,0 +225,0 @@ });

@@ -0,0 +0,0 @@ # The MIT License

{
"name": "ftp-deploy",
"version": "1.2.0",
"author": "Rick Bergfalk <rick.bergfalk@gmail.com> (http://rickbergfalk.com/)",
"version": "1.2.1",
"author": "Simon Hampton (was Rick Bergfalk)",
"description": "Ftp a folder from your local disk to an ftp destination. Does not delete from destination directory. Derived from grunt-ftp-deploy",

@@ -10,7 +10,8 @@ "keywords": [

],
"license": "",
"dependencies": {
"jsftp": "1.x.x",
"async": "1.x.x",
"minimatch": "0.2.12",
"read": "1.0.5"
"async": "2.x.x",
"minimatch": "3.0.3",
"read": "1.0.7"
},

@@ -17,0 +18,0 @@ "repository": {

@@ -9,5 +9,5 @@ # ftp-deploy

## Currently Unmaintained
## New maintianer
If you would like to take ownership of this module on npm let me know.
I've taken over from Rick and will start working on the deprecation warnings, and the 'delete remote directory' requests.

@@ -41,3 +41,3 @@ ## Usage

```
```js
ftpDeploy.on('uploading', function(data) {

@@ -56,3 +56,3 @@ data.totalFileCount; // total file count being transferred

```
```js
config.continueOnError = true;

@@ -59,0 +59,0 @@

@@ -7,3 +7,3 @@ const path = require('path');

const config = {
username: 'rickbergfalk',
username: 'simon',
password: '', // Optional, prompted if none given

@@ -13,3 +13,3 @@ host: 'localhost',

localRoot: path.join(__dirname, 'test-root'),
remoteRoot: '/Users/rickbergfalk/Public/',
remoteRoot: path.join(__dirname, 'ftpsite'),
exclude: ['.git', '.idea', 'tmp/*']

@@ -16,0 +16,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