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 Node version to 10.0.0 because Promise.finally since this version #3079

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

ilgonmic
Copy link
Contributor

To make work KT-49738 with async @AfterTest, necessary to upgrade Node.JS version, because Promise.finally exists since 10.0.0

@qwwdfsad qwwdfsad self-requested a review December 13, 2021 11:32
@qwwdfsad qwwdfsad changed the base branch from master to develop December 13, 2021 11:32
@qwwdfsad qwwdfsad merged commit e0a080c into develop Dec 13, 2021
@qwwdfsad qwwdfsad deleted the ilgonmic/update-node branch December 13, 2021 11:42
@dkhalanskyjb
Copy link
Collaborator

Just curious: looking at the description of the method https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/finally#description, maybe .then(onFinally, onFinally) would suffice and allow to target more versions?

@ilgonmic
Copy link
Contributor Author

Yes, they are similar, but I wanted to get rid of duplicated callbacks.
Apart from that, now Kotlin/JS targeting 16.13.x, because of M1 support and ES modules, which are planned to be supported in Kotlin/JS.
I don't think that we need to target earlier than 10 version, because it is not supported more (https://nodejs.org/en/about/releases/)

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.

None yet

3 participants