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

Using N-API but with Fixed Node module version #359

Open
mhdawson opened this issue Jan 28, 2019 · 1 comment
Open

Using N-API but with Fixed Node module version #359

mhdawson opened this issue Jan 28, 2019 · 1 comment

Comments

@mhdawson
Copy link
Member

In some cases module owners would like to us N-API even if they are using other internal APIs like libuv, openssl.

Today that would be unsafe because N-API bypasses the Node module version check and therefore you should only use N-API for "pure" modules.

We should an an option through Macros or some other solution so people can use N-API but also use those other modules safely.

@gabrielschulhof
Copy link
Collaborator

nodejs/node#25539 proposes an ABI checking scheme.

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

No branches or pull requests

2 participants