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.0 to 4.5.1

4

CHANGELOG.md
# Changelog
## 4.5.1
- Fixed: Remove eager check for `remoteAddress` of a socket. (#106)
## 4.5.0

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

10

dist/parseListMLSD.js

@@ -35,3 +35,3 @@ "use strict";

info.link = value.substr(value.indexOf(":") + 1);
return false;
return 1 /* Continue */;
}

@@ -52,7 +52,7 @@ switch (value) {

case "pdir": // Parent directory
return true; // Don't include these entries in the listing
return 2 /* IgnoreFile */; // Don't include these entries in the listing
default:
info.type = FileInfo_1.FileType.Unknown;
}
return false;
return 1 /* Continue */;
},

@@ -137,4 +137,4 @@ "unix.mode": (value, info) => {

}
const shouldIgnoreEntry = factHandler(factValue, info);
if (shouldIgnoreEntry === true) {
const result = factHandler(factValue, info);
if (result === 2 /* IgnoreFile */) {
return undefined;

@@ -141,0 +141,0 @@ }

@@ -222,3 +222,3 @@ "use strict";

const dataSocket = config.ftp.dataSocket;
if (!dataSocket || !dataSocket.remoteAddress) {
if (!dataSocket) {
resolver.onError(task, new Error("Upload should begin but no data connection is available."));

@@ -263,3 +263,3 @@ return;

const dataSocket = config.ftp.dataSocket;
if (!dataSocket || !dataSocket.remoteAddress) {
if (!dataSocket) {
resolver.onError(task, new Error("Download should begin but no data connection is available."));

@@ -266,0 +266,0 @@ return;

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

@@ -5,0 +5,0 @@ "main": "dist/index",

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