🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

basic-ftp

Package Overview
Dependencies
Maintainers
1
Versions
120
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
5.2.0
to
5.2.1
+4
-0
dist/Client.js

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

async protectWhitespace(path) {
// Reject CRLF injection attempts
if (/[\r\n\0]/.test(path)) {
throw new Error("Invalid path: Contains control characters");
}
if (!path.startsWith(" ")) {

@@ -680,0 +684,0 @@ return path;

+7
-7
{
"name": "basic-ftp",
"version": "5.2.0",
"version": "5.2.1",
"description": "FTP client for Node.js, supports FTPS over TLS, IPv6, Async/Await, and Typescript.",

@@ -41,10 +41,10 @@ "main": "dist/index",

"devDependencies": {
"@eslint/eslintrc": "3.3.3",
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "10.0.1",
"@types/mocha": "10.0.10",
"@types/node": "25.3.0",
"@typescript-eslint/eslint-plugin": "8.56.0",
"@typescript-eslint/parser": "8.56.0",
"eslint": "10.0.1",
"globals": "17.3.0",
"@types/node": "25.5.2",
"@typescript-eslint/eslint-plugin": "8.58.1",
"@typescript-eslint/parser": "8.58.1",
"eslint": "10.2.0",
"globals": "17.4.0",
"mocha": "11.7.5",

@@ -51,0 +51,0 @@ "typescript": "5.9.3"