New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zsqnodetools

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zsqnodetools - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

17

dist/ftpTool.js

@@ -54,24 +54,27 @@ "use strict";

case 1:
_a.trys.push([1, 6, 7, 8]);
_a.trys.push([1, 7, 8, 9]);
return [4 /*yield*/, client.access(ftpConfig.uploadconfig.ftpConnectConfig)];
case 2:
_a.sent();
return [4 /*yield*/, client.ensureDir(ftpConfig.uploadconfig.remotePath)];
return [4 /*yield*/, client.features()];
case 3:
_a.sent();
return [4 /*yield*/, client.clearWorkingDir()];
return [4 /*yield*/, client.ensureDir(ftpConfig.uploadconfig.remotePath)];
case 4:
_a.sent();
return [4 /*yield*/, client.uploadFromDir(ftpConfig.uploadconfig.uploadPath)];
return [4 /*yield*/, client.clearWorkingDir()];
case 5:
_a.sent();
return [3 /*break*/, 8];
return [4 /*yield*/, client.uploadFromDir(ftpConfig.uploadconfig.uploadPath)];
case 6:
_a.sent();
return [3 /*break*/, 9];
case 7:
err_1 = _a.sent();
console.log(err_1);
return [2 /*return*/, false];
case 7:
case 8:
client.close();
return [7 /*endfinally*/];
case 8: return [2 /*return*/, true];
case 9: return [2 /*return*/, true];
}

@@ -78,0 +81,0 @@ });

{
"name": "zsqnodetools",
"version": "1.0.10",
"version": "1.0.11",
"description": "tools of nodejs",

@@ -5,0 +5,0 @@ "repository": {

@@ -13,2 +13,3 @@ export async function UploadFiles() {

await client.access(ftpConfig.uploadconfig.ftpConnectConfig);
await client.features();
await client.ensureDir(ftpConfig.uploadconfig.remotePath);

@@ -15,0 +16,0 @@ await client.clearWorkingDir();

Sorry, the diff of this file is not supported yet

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