Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ssh2 to 1.16.0 #560

Closed
juniorUsca opened this issue Oct 25, 2024 · 2 comments
Closed

Update ssh2 to 1.16.0 #560

juniorUsca opened this issue Oct 25, 2024 · 2 comments

Comments

@juniorUsca
Copy link

Using this code give me error with node 23

const rdr = sftp.createReadStream(sftpRoute, { autoClose: true })
Error: createReadStream: isDate is not a function

Please update ssh2 to 1.16.0
the last version fix the deprecation and the removed function

mscdex/ssh2#1396

@theophilusx
Copy link
Owner

theophilusx commented Oct 26, 2024 via email

@theophilusx
Copy link
Owner

theophilusx commented Oct 28, 2024

BTW if you run either

npm update

or remove nod_modules and run

npm i

then ssh2 will be updated to 1.16.0 automatically. The package.json file only limits the version to the 1.x.x series.

Given that all new installs get v1.16.0 of ssh2 and existing users can just do an npm update, I'm going to hold off on pushing a new version until some other updates are compleed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants