New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.12.1 to 2.12.2

4

CHANGELOG.md
# Changelog
## 2.12.2
- Fixed: Don't deny EPSV over IPv4. This can help in some circumstances with a NAT.
## 2.12.1

@@ -4,0 +8,0 @@

5

lib/ftp.js

@@ -560,6 +560,2 @@ "use strict";

async function enterPassiveModeIPv6(client) {
const controlIP = client.ftp.socket.remoteAddress;
if (!net.isIPv6(controlIP)) {
throw new Error(`EPSV not possible, control connection is not using IPv6: ${controlIP}`);
}
const res = await client.send("EPSV");

@@ -570,2 +566,3 @@ const port = parseIPv6PasvResponse(res.message);

}
const controlIP = client.ftp.socket.remoteAddress;
await connectForPassiveTransfer(controlIP, port, client.ftp);

@@ -572,0 +569,0 @@ return res;

{
"name": "basic-ftp",
"version": "2.12.1",
"version": "2.12.2",
"description": "FTP client for Node.js with support for explicit FTPS over TLS.",

@@ -5,0 +5,0 @@ "main": "./lib/ftp",

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