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

fix: utils.isDate deprecated #1396

Closed
wants to merge 1 commit into from

Conversation

wdavidw
Copy link
Contributor

@wdavidw wdavidw commented Jun 12, 2024

Node.js version 22 deprecated the utils.isDate function. The proposal implements the proposed official correction present in the console output Uncaught DeprecationWarning: The util.isDateAPI is deprecated. Please usearg instanceof Date instead..

Note, the deprecation brakes code execution when the --throw-deprecation flag is enabled.

lib/protocol/SFTP.js Outdated Show resolved Hide resolved
@wdavidw
Copy link
Contributor Author

wdavidw commented Jun 13, 2024

Thanks, I didn't saw that the function was moved. PR is updated to reflect your suggestion.

@mscdex
Copy link
Owner

mscdex commented Jun 13, 2024

Thanks, landed in 4f771c9.

@mscdex mscdex closed this Jun 13, 2024
@wdavidw
Copy link
Contributor Author

wdavidw commented Jun 15, 2024

Thanks @mscdex for merging. Would you mind releasing a patch version as it currently blocks our test pipelines.

@wdavidw
Copy link
Contributor Author

wdavidw commented Jul 20, 2024

Hi @mscdex, I don't want to be pushy but would have an anticipate date when the next release will be published ?

@wdavidw wdavidw deleted the fix/isdate-depracated branch September 9, 2024 10:02
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

Successfully merging this pull request may close these issues.

2 participants