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

node-ssh

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ssh - npm Package Compare versions

Comparing version 4.2.1 to 4.2.2

5

CHANGELOG.md

@@ -0,1 +1,6 @@

#### 4.2.2
- Fix put directory for long paths
- Add tests for long paths in test suite
#### 4.2.1

@@ -2,0 +7,0 @@

10

lib/index.js

@@ -384,6 +384,7 @@ 'use strict';

var config = Helpers.normalizePutDirectoryConfig(givenConfig);
var files = (yield (0, _sbScandir2.default)(localDirectory, config.recursive, config.validate)).map(function (item) {
return _path2.default.relative(localDirectory, item);
var files = (yield (0, _sbScandir2.default)(localDirectory, config.recursive, config.validate)).map(function (i) {
return _path2.default.relative(localDirectory, i);
});
var directoriesCreated = new Set();
var directoriesQueue = Promise.resolve();

@@ -397,4 +398,7 @@ // eslint-disable-next-line arrow-parens

if (!directoriesCreated.has(remoteFileDirectory)) {
yield _this4.mkdir(remoteFileDirectory, 'sftp', sftp);
directoriesCreated.add(remoteFileDirectory);
directoriesQueue = directoriesQueue.then(function () {
return _this4.mkdir(remoteFileDirectory, 'sftp', sftp);
});
yield directoriesQueue;
}

@@ -401,0 +405,0 @@ try {

{
"name": "node-ssh",
"version": "4.2.1",
"version": "4.2.2",
"description": "SS2 with Promises",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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