Few more nan updates. Scopes are not needed for exported functions now.
Note: Ideally when we're creating new V8 values from user input we should be using Nan::To instead of Nan::New for conversion. V8 will return a MaybeLocal that we need to check, to check if the variable converted properly.
Few more nan updates. Scopes are not needed for exported functions now.
Note: Ideally when we're creating new V8 values from user input we should be using
Nan::To
instead ofNan::New
for conversion. V8 will return aMaybeLocal
that we need to check, to check if the variable converted properly.