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

Node 12 support #5

Merged
merged 1 commit into from Mar 20, 2019
Merged

Node 12 support #5

merged 1 commit into from Mar 20, 2019

Conversation

avaer
Copy link
Owner

@avaer avaer commented Mar 20, 2019

Continuation and cleanup of #4.

@avaer avaer mentioned this pull request Mar 20, 2019
@@ -9,13 +9,19 @@ using namespace v8;
#define JS_FLOAT(val) Nan::New<v8::Number>(val)
#define JS_BOOL(val) Nan::New<v8::Boolean>(val)

#define TO_NUM(x) (Nan::To<double>(x).FromJust())
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @shawwn for writing these macros 👍.

@avaer
Copy link
Owner Author

avaer commented Mar 20, 2019

This seems to be backwards-compatible with node 11.

@avaer avaer merged commit 799dfed into master Mar 20, 2019
@avaer avaer deleted the node-12 branch March 20, 2019 00:33
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.

None yet

1 participant