Socket
Socket
Sign inDemoInstall

@fye/sftp-utils

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fye/sftp-utils - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

10

lib/file-system-utils.js

@@ -9,2 +9,3 @@ const fs = require('fs');

const rmdir = util.promisify(fs.rmdir);
const readFileAsync = util.promisify(fs.readFile);

@@ -44,2 +45,10 @@ async function exists(path) {

async function readFile(path) {
let data;
if (await exists(path)) {
data = await readFileAsync(path);
}
return data;
}
module.exports = {

@@ -49,2 +58,3 @@ exists,

deleteFolder,
readFile,
};

7

package.json
{
"name": "@fye/sftp-utils",
"version": "1.0.2",
"version": "1.1.0",
"description": "sftp utility library",

@@ -35,3 +35,3 @@ "main": "lib/index.js",

"dependencies": {
"@fye/sftp-client": "^1.0.1",
"@fye/sftp-client": "^1.1.0",
"apr-for-each": "^3.0.3",

@@ -45,3 +45,4 @@ "debug": "^4.1.1"

"access": "public"
}
},
"gitHead": "dc6ed265ef735155455989b4fd7eb7a68b3a1fa7"
}
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