v10.0.0
版本发布时间: 2024-01-19 11:22:18
theophilusx/ssh2-sftp-client最新发布版本:v11.0.0(2024-08-07 10:09:55)
- Bump to depend on ssh2 1.15.0, which has the fix for CVE-2023-48795
- Add new promiseLimit setting to limit the number of concurrent promises used by downloadDir/uploadDir. Default is set to 10. Testing indicated for most situations, increasing much above 10 had little benefit and eventually, once number was large enough, actually degraded performance as node would spend more time context switching than data transferring.
- Some minor code clenup and added quite a few new tests
- Changed minimum supported node version. While testing with v16.20.2 still appears to work, it is HIGHLY recommended that at least node 18.18.2 is used. Bottom line, if you log an issue, you need to be on node >= v18.