evanplaice / node-ftpsync

Intelligent file syncronization over FTP
http://evanplaice.github.io/node-ftpsync
MIT License
74 stars 21 forks source link

updating project dependencies to the latest versions (and fixing DeprecationWarning: Ftp.raw[user](args): Use Ftp.raw('user args') instead) #43

Closed pwittchen closed 4 years ago

pwittchen commented 6 years ago

I'm bumping project dependencies. It should fix #40 and #41. Problem mentioned in these issues was fixed in https://github.com/sergi/jsftp/issues/226 (jsftp v. 2.0.0). I bumped jsftp to 2.1.3, which is the latest version of this library. Moreover, I've tested it after that update in my own project and I haven't noticed any warnings, so I can confirm it should solve this problem.

pwittchen commented 6 years ago

I pushed another commit to this branch https://github.com/evanplaice/node-ftpsync/pull/43/commits/7c13d426743f647bb6e3e8eeade9df309937e0e5, which updates deprecated API calls in the code. Now, it should work fine.