Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-sftp-server

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-sftp-server - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

12

lib/index.js

@@ -123,3 +123,2 @@ "use strict";

}
exports.default = SFTPServer;
_SFTPServer_port = new WeakMap(), _SFTPServer_privateKey = new WeakMap(), _SFTPServer_server = new WeakMap(), _SFTPServer_printWarning = new WeakMap(), _SFTPServer_printError = new WeakMap(), _SFTPServer_printSuccess = new WeakMap(), _SFTPServer_authMethods = new WeakMap(), _SFTPServer_midlewares = new WeakMap(), _SFTPServer_instances = new WeakSet(), _SFTPServer_executeMidleware = function _SFTPServer_executeMidleware(req, res, _this, eventString) {

@@ -311,7 +310,7 @@ const midlewareLength = __classPrivateFieldGet(this, _SFTPServer_midlewares, "f").length;

mode: (fileDetails.typeOfContent === 'directory' ? fs.constants.S_IFDIR : fs.constants.S_IFREG) |
fileDetails.permissions,
uid: fileDetails.uid,
gid: fileDetails.gid,
size: fileDetails.size,
atime: fileDetails.lastAccessTimestamp,
fileDetails.permissions, // Bit mask of file type and permissions
uid: fileDetails.uid, // User ID that owns the file.
gid: fileDetails.gid, // Group ID that owns the file.
size: fileDetails.size, // File size in bytes.
atime: fileDetails.lastAccessTimestamp, // Created at (unix style timestamp in seconds-from-epoch).
mtime: fileDetails.lastModifiedTimestamp, // Modified at (unix style timestamp in seconds-from-epoch).

@@ -727,1 +726,2 @@ },

};
exports.default = SFTPServer;
{
"name": "ts-sftp-server",
"version": "0.3.5",
"version": "0.3.6",
"description": "NodeJS SFTP Server using TypeScript",

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

"tsc-prog": "^2.2.1",
"typescript": "^4.7.3"
"typescript": "^5.3.3"
},

@@ -39,4 +39,4 @@ "devDependencies": {

"@types/ssh2-streams": "^0.1.9",
"nodemon": "^2.0.22",
"prettier": "^2.8.8",
"nodemon": "^3.0.3",
"prettier": "^3.2.4",
"rimraf": "^5.0.1",

@@ -43,0 +43,0 @@ "ts-node": "^10.9.1",

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