ssh2-sftp-client 7.0.2 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/README.org +2 -1
- package/package.json +1 -1
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ an SFTP client for node.js, a wrapper around [SSH2](https://github.com/mscdex/ss
|
|
|
61
61
|
|
|
62
62
|
Documentation on the methods and available options in the underlying modules can be found on the [SSH2](https://github.com/mscdex/ssh2) project pages.
|
|
63
63
|
|
|
64
|
-
Current stable release is **v7.0.
|
|
64
|
+
Current stable release is **v7.0.3**.
|
|
65
65
|
|
|
66
66
|
Code has been tested against Node versions 12.22.1, 14.17.0 and 16.2.0
|
|
67
67
|
|
|
@@ -1355,3 +1355,4 @@ Thanks to the following for their contributions -
|
|
|
1355
1355
|
- **kennylbj:** Contributed example of using a throttle stream to limit upload/download bandwidth.
|
|
1356
1356
|
- **anton-erofeev:** Documentation fix
|
|
1357
1357
|
- **Ladislav Jacho:** Contributed solution explanation for connections hanging when transferring larger files.
|
|
1358
|
+
- **Emma Milner:** Contributed fix for put() bug
|
package/README.org
CHANGED
|
@@ -9,7 +9,7 @@ convenience abstraction as well as a Promise based API.
|
|
|
9
9
|
Documentation on the methods and available options in the underlying modules can
|
|
10
10
|
be found on the [[https://github.com/mscdex/ssh2][SSH2]] project pages.
|
|
11
11
|
|
|
12
|
-
Current stable release is *v7.0.
|
|
12
|
+
Current stable release is *v7.0.3*.
|
|
13
13
|
|
|
14
14
|
Code has been tested against Node versions 12.22.1, 14.17.0 and 16.2.0
|
|
15
15
|
|
|
@@ -1764,3 +1764,4 @@ Thanks to the following for their contributions -
|
|
|
1764
1764
|
- anton-erofeev :: Documentation fix
|
|
1765
1765
|
- Ladislav Jacho :: Contributed solution explanation for connections hanging
|
|
1766
1766
|
when transferring larger files.
|
|
1767
|
+
- Emma Milner :: Contributed fix for put() bug
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -716,7 +716,7 @@ class SftpClient {
|
|
|
716
716
|
this.debugMsg(`put source is a file path: ${localSrc}`);
|
|
717
717
|
rdr = fs.createReadStream(
|
|
718
718
|
localSrc,
|
|
719
|
-
options.readStreamOptions ? options.
|
|
719
|
+
options.readStreamOptions ? options.readStreamOptions : {}
|
|
720
720
|
);
|
|
721
721
|
} else {
|
|
722
722
|
this.debugMsg('put source is a stream');
|