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 2558b50 + e237d0c commit 15f7535Copy full SHA for 15f7535
LDAPCookie.cc
@@ -35,7 +35,8 @@ v8::Local<v8::Object> LDAPCookie::NewInstance() {
35
const unsigned argc = 1;
36
v8::Local<v8::Value> argv[argc] = { Nan::Undefined() };
37
v8::Local<v8::Function> cons = Nan::New<v8::Function>(constructor);
38
- v8::Local<v8::Object> instance = cons->NewInstance(argc, argv);
+ v8::Local<v8::Object> instance = Nan::NewInstance(cons, argc, argv)
39
+ .ToLocalChecked();
40
41
return scope.Escape(instance);
42
}
package.json
@@ -21,7 +21,7 @@
21
"dependencies": {
22
"bindings": "^1.2.1",
23
"lodash": "^3.10.1",
24
- "nan": "^2.0.5",
+ "nan": "^2.12.1",
25
"node-gyp": ""
26
},
27
"engines": {
0 commit comments