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 deprecated Int32Value for node12 #5

Merged
merged 2 commits into from
Sep 25, 2019
Merged

Conversation

KimNyholm
Copy link
Contributor

@jhead
Copy link
Owner

jhead commented Sep 24, 2019

Thanks for the PR! @KimNyholm

Small nitpick, could we use the shorter syntax described here?
bcoin-org/bcrypto#7 (comment)

Nan::To<int32_t>(info[0]).FromJust()

@KimNyholm
Copy link
Contributor Author

Something like this?

@jhead jhead merged commit 8d0e70d into jhead:master Sep 25, 2019
@jhead
Copy link
Owner

jhead commented Sep 25, 2019

Looks good to me, thanks! If there's no rush to release it, I'd like to fix the other deprecated calls and add a test first.

@jhead
Copy link
Owner

jhead commented Oct 7, 2019

v1.0.7 published, I'll get to the other stuff later.

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

Successfully merging this pull request may close these issues.

2 participants