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

Use native Node promisify, to aviod issues with Node 10 #527

Merged
merged 1 commit into from
Jun 20, 2018

Conversation

HitkoDev
Copy link
Contributor

Node 8 comes with a builtin promisify function, which has proper type declarations and is well-tested. promisify-node breaks with Node 10, since we don't need support for Node < 8, we should use the builtin function.

"node": ">=8"

@TimvdLippe
Copy link
Contributor

Ref: #496

@HitkoDev
Copy link
Contributor Author

HitkoDev commented Jun 17, 2018

I'd definitely go with the native option, especially considering promisify-node is one of the least popular promisify solutions on NPM, and we have to rely on unmaintained type definitions to use it.

@usergenic usergenic self-assigned this Jun 18, 2018
@usergenic
Copy link
Contributor

This is pretty great! Thanks, @HitkoDev -- I'm currently working on Node 10-ifying the tools suite and I really appreciate this PR.

Copy link
Contributor

@usergenic usergenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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

Successfully merging this pull request may close these issues.

4 participants