We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 603f006 + b18d91c commit ae9ea9bCopy full SHA for ae9ea9b
libxml.cpp
@@ -70,7 +70,7 @@ NAN_METHOD(Libxml::New) {
70
const int argc = 1;
71
Local<Value> argv[argc] = {info[0]};
72
Local<Function> cons = Nan::New(constructor());
73
- info.GetReturnValue().Set(cons->NewInstance(argc, argv));
+ info.GetReturnValue().Set(Nan::NewInstance(cons, argc, argv).ToLocalChecked());
74
}
75
76
0 commit comments