chore: Update dist

This commit is contained in:
GitHub Actions
2026-04-10 21:57:51 +00:00
parent 787075d425
commit 3c894dabff
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2665,7 +2665,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm package may be included in this product:
- basic-ftp@5.2.1
- basic-ftp@5.2.2
This package contains the following license:
Generated Vendored
+3 -3
View File
@@ -50252,6 +50252,9 @@ var require_FtpContext = __commonJS({
* Send an FTP command without waiting for or handling the result.
*/
send(command) {
if (/[\r\n\0]/.test(command)) {
throw new Error(`Invalid command: Contains control characters. (${command})`);
}
const containsPassword = command.startsWith("PASS");
const message = containsPassword ? "> PASS ###" : `> ${command}`;
this.log(message);
@@ -51890,9 +51893,6 @@ var require_Client = __commonJS({
* a given path to fix that issue for most cases.
*/
async protectWhitespace(path3) {
if (/[\r\n\0]/.test(path3)) {
throw new Error("Invalid path: Contains control characters");
}
if (!path3.startsWith(" ")) {
return path3;
}