Usage of deprecated functions
Hi,
It is currently not possible to build the NAN examples, because lines like
cons->NewInstance(argc, argv)
are frequently used. However, NewInstance is deprecated and
Nan::NewInstance(cons, argc, argv).ToLocalChecked()
or similar should be used instead (see https://stackoverflow.com/questions/45388032/how-to-silence-newinstance-is-deprecated-warning-in-node-gyp-rebuild-what)
I will try to fix this, but I'm just a beginner with NAN/Node...
@robinchrist thanks most of those active in this repo are focussed on the N-API versions of the examples so your help is appreciated.
@robinchrist I should have also mentioned that work on the examples has moved to : https://github.com/nodejs/node-addon-examples
I need to get this repo archived.