-
Notifications
You must be signed in to change notification settings - Fork 78
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
N-API Support #87
N-API Support #87
Conversation
@@ -46,7 +46,7 @@ function urlTemplate (opts) { | |||
return hostMirrorUrl + '/v{version}/' + packageName | |||
} | |||
|
|||
if (opts.pkg.binary) { | |||
if (opts.pkg.binary && opts.pkg.binary.host) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this related to n-api?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Support for N-API requires a binary
property that was not required before. For N-API, the binary
property may be missing the host
property.
I've completed all planned work on this PR. Are there further concerns that need to be addressed before it can be merged? |
5.2.0 |
This pull request implements changes to
prebuild-install
to support installing Node native modules based on N-API by adding a newnapi
runtime. The changes are described on the README.This PR should be coordinated with its counterpart PR on
prebuild
.