-
Notifications
You must be signed in to change notification settings - Fork 117
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 for support node 12 #120
Conversation
@rvagg can you check this? secp256k1-node which I maintain need bignum with node12 support |
yeah, doesn't compile for me This whole addon needs to be converted to node-addon-api but I neither have the time or the expertise to pull that off with any reliability. |
With this PR bignum building not work for you on node12? |
no, tests segfault with an unchecked Maybe failure leading to an abort |
what if this used js bigints in >= v12, and the native addon in others? that would fix the build issues and probably give perf boosts as well. |
^--- With above patch on top of this PR the tests pass. |
@sam-github thank you! Updated. |
First time for me seeing time travellers on github! This is just a drive-through comment, I don't have any dependencies on bigint, but I think @devsnek has a reasonable suggestion. Also, while my patch will unblock this PR if its hurting downstream users, its not in general a good idea to use |
@rvagg PTAL |
Sounds like we have a solution. I don't think I'll be in a position to even test this in the next few days so bear with me. |
While this can be temporary solution, now I agree with @rvagg that addon needs to be converted to node-addon-api. I tried it on previous week and this is nice simple thing, but I'm not sure that I have time for big PR with update everything :( |
pulled and squashed in #124 plus a few additions to get v13 support |
Thanks! |
Blocked by nodejs/nan#849
Currently only changed to use Maybe version.