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] node v10.0 lacks fs.promises #21

Merged
merged 1 commit into from
Feb 10, 2021
Merged

[fix] node v10.0 lacks fs.promises #21

merged 1 commit into from
Feb 10, 2021

Conversation

ljharb
Copy link
Contributor

@ljharb ljharb commented Feb 8, 2021

In this node version, fall back to util.promisify of the callback version.

Maybe fixes npm/cli#2623. Maybe fixes npm/cli#2652. Maybe fixes npm/cli#2625.

Updated the tests to run on the .0s as well.

@ljharb
Copy link
Contributor Author

ljharb commented Feb 8, 2021

Looks like these tests will fail until npm/node-gyp#5 lands and is released (and possibly updated here).

@ljharb
Copy link
Contributor Author

ljharb commented Feb 10, 2021

Tests are now passing here, so this can be merged and released as well :-D

In this node version, fall back to `util.promisify` of the callback version.

Maybe fixes npm/cli#2623. Maybe fixes npm/cli#2652. Maybe fixes npm/cli#2625.

PR-URL: #21
Credit: @ljharb
Close: #21
Reviewed-by: @ruyadorno
@ruyadorno ruyadorno merged commit 86c55af into npm:master Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants