basic-ftp
Advanced tools
+4
-0
@@ -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" |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
138117
0.12%3073
0.13%0
-100%