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

basic-ftp

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-ftp - npm Package Compare versions

Comparing version 4.5.3 to 4.5.4

3

CHANGELOG.md
# Changelog
## 4.5.4
- Fixed: Catch server closing connection without error. (#138)
## 4.5.3

@@ -5,0 +8,0 @@

@@ -122,2 +122,7 @@ "use strict";

socket.on("data", data => this._onControlSocketData(data));
// Server sending a FIN packet is treated as an error.
socket.on("end", () => this.closeWithError(new Error("Server closed connection.")));
// Control being closed without error by server is treated as an error.
socket.on("close", hadError => { if (!hadError)
this.closeWithError(new Error("Server closed connection.")); });
this._setupErrorHandlers(socket, "control socket");

@@ -332,2 +337,3 @@ }

socket.removeAllListeners("data");
socket.removeAllListeners("end");
socket.removeAllListeners("error");

@@ -334,0 +340,0 @@ socket.removeAllListeners("close");

19

package.json
{
"name": "basic-ftp",
"version": "4.5.3",
"version": "4.5.4",
"description": "FTP client for Node.js, supports explicit FTPS over TLS, IPv6, Async/Await, and Typescript.",

@@ -39,12 +39,13 @@ "main": "dist/index",

"devDependencies": {
"@types/node": "13.1.6",
"@typescript-eslint/eslint-plugin": "2.16.0",
"@typescript-eslint/parser": "2.16.0",
"eslint": "6.8.0",
"@types/node": "13.9.2",
"@typescript-eslint/eslint-plugin": "2.24.0",
"@typescript-eslint/parser": "2.24.0",
"eslint": "^6.8.0",
"js-yaml": ">=3.13.1",
"mocha": "7.0.0",
"mock-fs": "4.10.4",
"rimraf": "3.0.0",
"typescript": "3.7.4"
"minimist": ">=1.2.2",
"mocha": "7.1.1",
"mock-fs": "4.11.0",
"rimraf": "3.0.2",
"typescript": "3.8.3"
}
}

@@ -9,3 +9,3 @@ # Basic FTP

Prefer alternative transfer protocols like HTTPS or SFTP (SSH). Use this library when you have no choice and need to use FTP. Try to use FTPS whenever possible, FTP alone does not provide any security.
Prefer alternative transfer protocols like HTTPS or SFTP (SSH). Use this library when you have no choice and need to use FTP. Try to use FTPS (FTP over TLS) whenever possible, FTP alone does not provide any security.

@@ -12,0 +12,0 @@ ## Dependencies

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