ftp-deploy
Advanced tools
Comparing version 1.2.0 to 1.2.1
# 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 @@ |
@@ -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 @@ }; |
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 2 instances in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
15453
19
2
231
1
+ Addedasync@2.6.4(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedminimatch@3.0.3(transitive)
+ Addedread@1.0.7(transitive)
- Removedasync@1.5.2(transitive)
- Removedlru-cache@2.7.3(transitive)
- Removedminimatch@0.2.12(transitive)
- Removedread@1.0.5(transitive)
- Removedsigmund@1.0.1(transitive)
Updatedasync@2.x.x
Updatedminimatch@3.0.3
Updatedread@1.0.7