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 cbc9b7b + e2ff5e4 commit 2fab8a9Copy full SHA for 2fab8a9
.travis.yml
@@ -4,6 +4,7 @@ node_js:
4
- "8"
5
- "10"
6
- "11"
7
+- "13"
8
sudo: required
9
10
matrix:
binding.cc
@@ -1297,8 +1297,8 @@ namespace zmq {
1297
}
1298
1299
1300
- Local<Object> buf = batch->Get(i).As<Object>();
1301
- Local<Number> flagsObj = batch->Get(i + 1).As<Number>();
+ Local<Object> buf = batch->Get(Nan::GetCurrentContext(), i).ToLocalChecked().As<Object>();
+ Local<Number> flagsObj = batch->Get(Nan::GetCurrentContext(), i + 1).ToLocalChecked().As<Number>();
1302
1303
int flags = Nan::To<int>(flagsObj).FromJust();
1304
0 commit comments