node-gyp: node-gyp fails with node 12.13.0

I get errors with

gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5

while compiling nodehun:

make: *** [Release/obj.target/nodehun/src/nodehun.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.9.184-linuxkit
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /musixmatch/node_modules/nodehun
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok 
npm WARN musixmatch-ai-console@5.6.7-20191022 No repository field.
npm WARN musixmatch-ai-console@5.6.7-20191022 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodehun@2.0.12 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the nodehun@2.0.12 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-10-25T11_23_09_727Z-debug.log

and following the stack trace:

In file included from ../src/post0.12.0/nodehun.cpp:1:0,
                 from ../src/nodehun.cpp:7:
../src/post0.12.0/nodehun.hpp:131:24: error: 'v8::Handle' has not been declared
   static void Init(v8::Handle<v8::Object>, v8::Handle<v8::Object>);
                        ^~~~~~
../src/post0.12.0/nodehun.hpp:131:30: error: expected ',' or '...' before '<' token
   static void Init(v8::Handle<v8::Object>, v8::Handle<v8::Object>);
                              ^
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:7:37: error: variable or field 'Init' declared void
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                     ^~~~~~
../src/post0.12.0/nodehun.cpp:7:37: error: 'Handle' was not declared in this scope
../src/post0.12.0/nodehun.cpp:7:37: note: suggested alternative: 'rand_r'
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                     ^~~~~~
                                     rand_r
../src/post0.12.0/nodehun.cpp:7:50: error: expected primary-expression before '>' token
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                                  ^
../src/post0.12.0/nodehun.cpp:7:52: error: 'exports' was not declared in this scope
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                                    ^~~~~~~
../src/post0.12.0/nodehun.cpp:7:61: error: 'Handle' was not declared in this scope
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                                             ^~~~~~
../src/post0.12.0/nodehun.cpp:7:61: note: suggested alternative: 'rand_r'
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                                             ^~~~~~
                                                             rand_r
../src/post0.12.0/nodehun.cpp:7:74: error: expected primary-expression before '>' token
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                                                          ^
../src/post0.12.0/nodehun.cpp:7:76: error: 'module' was not declared in this scope
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                                                            ^~~~~~
../src/post0.12.0/nodehun.cpp:7:76: note: suggested alternative: 'mode_t'
 void Nodehun::SpellDictionary::Init(Handle<Object> exports, Handle<Object> module)
                                                                            ^~~~~~
                                                                            mode_t
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::createNewNodehun(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:51:100: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a buffer"));
                                                                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:52:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:55:101: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "Second argument must be a buffer"));
                                                                                                     ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:56:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::createNewNodehunFinish(uv_work_t*, int)':
../src/post0.12.0/nodehun.cpp:89:3: error: 'Handle' was not declared in this scope
   Handle<Value> ext = External::New(isolate, nodeData->obj);
   ^~~~~~
../src/post0.12.0/nodehun.cpp:89:3: note: suggested alternative: 'handle'
   Handle<Value> ext = External::New(isolate, nodeData->obj);
   ^~~~~~
   handle
../src/post0.12.0/nodehun.cpp:89:15: error: expected primary-expression before '>' token
   Handle<Value> ext = External::New(isolate, nodeData->obj);
               ^
../src/post0.12.0/nodehun.cpp:89:17: error: 'ext' was not declared in this scope
   Handle<Value> ext = External::New(isolate, nodeData->obj);
                 ^~~
../src/post0.12.0/nodehun.cpp:89:17: note: suggested alternative: 'exit'
   Handle<Value> ext = External::New(isolate, nodeData->obj);
                 ^~~
                 exit
../src/post0.12.0/nodehun.cpp:94:62: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
   cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::New(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:116:135: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::Error(String::NewFromUtf8(isolate, "Use the new operator to create an instance of this object.")));
                                                                                                                                       ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:128:114: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       isolate->ThrowException(Exception::Error(String::NewFromUtf8(isolate, "Constructor requires two arguments.")));
                                                                                                                  ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:132:114: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a buffer")));
                                                                                                                  ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:136:115: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "Second argument must be a buffer")));
                                                                                                                   ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::isCorrect(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:159:100: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
                                                                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:160:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [3])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:165:48: error: no matching function for call to 'v8::Value::ToString()'
       String::Utf8Value arg0(args[0]->ToString());
                                                ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::isCorrectSync(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:186:48: error: no matching function for call to 'v8::Value::ToString()'
       String::Utf8Value arg0(args[0]->ToString());
                                                ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:191:113: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
                                                                                                                 ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function 'bool Nodehun::SpellDictionary::spell(const char*)':
../src/post0.12.0/nodehun.cpp:198:46: warning: 'int Hunspell::spell(const char*, int*, char**)' is deprecated [-Wdeprecated-declarations]
   bool correct = this->spellClass->spell(word);
                                              ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:131:20: note: declared here
   H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL);
                    ^~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::sendCorrect(uv_work_t*, int)':
../src/post0.12.0/nodehun.cpp:219:91: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
   argv[2] = Local<Value>::New(isolate, String::NewFromUtf8(isolate, corrData->word.c_str()));
                                                                                           ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:221:62: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [3])'
   cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::spellSuggest(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:239:100: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
                                                                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:240:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [3])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:245:48: error: no matching function for call to 'v8::Value::ToString()'
       String::Utf8Value arg0(args[0]->ToString());
                                                ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::spellSuggestSync(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:266:46: error: no matching function for call to 'v8::Value::ToString()'
     String::Utf8Value arg0(args[0]->ToString());
                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:271:95: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       args.GetReturnValue().Set(Local<Value>::New(isolate, String::NewFromUtf8(isolate, arr[0])));
                                                                                               ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:274:41: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
     obj->spellClass->free_list(&arr, num);
                                         ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:278:113: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
                                                                                                                 ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::spellSuggestions(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:295:100: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
                                                                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:296:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [3])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:301:48: error: no matching function for call to 'v8::Value::ToString()'
       String::Utf8Value arg0(args[0]->ToString());
                                                ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::spellSuggestionsSync(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:322:46: error: no matching function for call to 'v8::Value::ToString()'
     String::Utf8Value arg0(args[0]->ToString());
                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:328:52: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       a->Set(i, String::NewFromUtf8(isolate, arr[i]));
                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:328:53: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       a->Set(i, String::NewFromUtf8(isolate, arr[i]));
                                                     ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:330:41: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
     obj->spellClass->free_list(&arr, num);
                                         ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:334:113: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
                                                                                                                 ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function 'int Nodehun::SpellDictionary::spellCheck(bool*, char***, const char*)':
../src/post0.12.0/nodehun.cpp:342:42: warning: 'int Hunspell::spell(const char*, int*, char**)' is deprecated [-Wdeprecated-declarations]
   *correct = this->spellClass->spell(word);
                                          ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:131:20: note: declared here
   H_DEPRECATED int spell(const char* word, int* info = NULL, char** root = NULL);
                    ^~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:344:47: warning: 'int Hunspell::suggest(char***, const char*)' is deprecated [-Wdeprecated-declarations]
     sugg = this->spellClass->suggest(arr, word);
                                               ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:141:20: note: declared here
   H_DEPRECATED int suggest(char*** slst, const char* word);
                    ^~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::sendSuggestions(uv_work_t*, int)':
../src/post0.12.0/nodehun.cpp:365:92: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
   argv[3] = Local<Value>::New(isolate, String::NewFromUtf8(isolate, spellData->word.c_str()));
                                                                                            ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:376:71: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  suglist->Set(t,String::NewFromUtf8(isolate, spellData->suggestions[t]));
                                                                       ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:376:72: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  suglist->Set(t,String::NewFromUtf8(isolate, spellData->suggestions[t]));
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:380:71: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[2] = String::NewFromUtf8(isolate, spellData->suggestions[0]);
                                                                       ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:383:89: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
   spellData->obj->spellClass->free_list(&(spellData->suggestions), spellData->numSuggest);
                                                                                         ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:385:62: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [4])'
   cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::addDictionary(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:404:95: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a buffer"));
                                                                                               ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:405:67: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [1])'
  callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                   ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:415:114: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a buffer")));
                                                                                                                  ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::addDictionarySync(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:440:113: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a buffer.")));
                                                                                                                 ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::addDictionaryFinish(uv_work_t*, int)':
../src/post0.12.0/nodehun.cpp:468:226: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     argv[0] = dictData->success ? Local<Value>::New(isolate, Null(isolate)) : Exception::TypeError(String::NewFromUtf8(isolate, "There was an error adding the dictionary to the nodehun class, because the buffer was deformed."));
                                                                                                                                                                                                                                  ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:470:64: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [1])'
     cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::addRemoveWordInit(const v8::FunctionCallbackInfo<v8::Value>&, bool)':
../src/post0.12.0/nodehun.cpp:504:46: error: no matching function for call to 'v8::Value::ToString()'
     String::Utf8Value arg0(args[0]->ToString());
                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:512:95: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
  argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
                                                                                               ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:514:67: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
  callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                   ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:524:115: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
                                                                                                                   ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::addRemoveWordInitSync(const v8::FunctionCallbackInfo<v8::Value>&, bool)':
../src/post0.12.0/nodehun.cpp:545:46: error: no matching function for call to 'v8::Value::ToString()'
     String::Utf8Value arg0(args[0]->ToString());
                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:550:113: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
                                                                                                                 ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::addRemoveWordFinish(uv_work_t*, int)':
../src/post0.12.0/nodehun.cpp:581:244: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     argv[0] = wordData->success ? Local<Value>::New(isolate, Null(isolate)) : Exception::TypeError(String::NewFromUtf8(isolate, "There was an error changing the status of the word. The dictionary may be corrupted, or the word may be malfored."));
                                                                                                                                                                                                                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:582:113: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     argv[1] = wordData->success ? Local<Value>::New(isolate, String::NewFromUtf8(isolate, wordData->word.c_str())) : Local<Value>::New(isolate, Null(isolate));
                                                                                                                 ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:584:64: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
     cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::stem(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:600:100: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
                                                                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:602:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:607:52: error: no matching function for call to 'v8::Value::ToString()'
       v8::String::Utf8Value arg0(args[0]->ToString());
                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::stemSync(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:626:50: error: no matching function for call to 'v8::Value::ToString()'
     v8::String::Utf8Value arg0(args[0]->ToString());
                                                  ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:631:52: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       a->Set(i, String::NewFromUtf8(isolate, arr[i]));
                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:631:53: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       a->Set(i, String::NewFromUtf8(isolate, arr[i]));
                                                     ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:633:41: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
     obj->spellClass->free_list(&arr, num);
                                         ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:637:113: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
                                                                                                                 ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function 'int Nodehun::SpellDictionary::stemWord(char***, const char*)':
../src/post0.12.0/nodehun.cpp:645:45: warning: 'int Hunspell::stem(char***, const char*)' is deprecated [-Wdeprecated-declarations]
   int res = this->spellClass->stem(arr, word);
                                             ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:168:20: note: declared here
   H_DEPRECATED int stem(char*** slst, const char* word);
                    ^~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::stemFinish(uv_work_t*, int)':
../src/post0.12.0/nodehun.cpp:667:69: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     suglist->Set(t,String::NewFromUtf8(isolate, stemData->results[t]));
                                                                     ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:667:70: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     suglist->Set(t,String::NewFromUtf8(isolate, stemData->results[t]));
                                                                      ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:668:79: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
   stemData->obj->spellClass->free_list(&stemData->results,stemData->numResults);
                                                                               ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:672:62: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
   cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::generate(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:687:100: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
                                                                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:689:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:694:101: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "Second argument must be a string"));
                                                                                                     ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:696:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:701:52: error: no matching function for call to 'v8::Value::ToString()'
       v8::String::Utf8Value arg0(args[0]->ToString());
                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:702:52: error: no matching function for call to 'v8::Value::ToString()'
       v8::String::Utf8Value arg1(args[1]->ToString());
                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::generateSync(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:722:50: error: no matching function for call to 'v8::Value::ToString()'
     v8::String::Utf8Value arg0(args[0]->ToString());
                                                  ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:723:50: error: no matching function for call to 'v8::Value::ToString()'
     v8::String::Utf8Value arg1(args[1]->ToString());
                                                  ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:728:52: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       a->Set(i, String::NewFromUtf8(isolate, arr[i]));
                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:728:53: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       a->Set(i, String::NewFromUtf8(isolate, arr[i]));
                                                     ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:730:41: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
     obj->spellClass->free_list(&arr, num);
                                         ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:734:125: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First and second arguments must be a string.")));
                                                                                                                             ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function 'int Nodehun::SpellDictionary::generateWord(char***, const char*, const char*)':
../src/post0.12.0/nodehun.cpp:741:56: warning: 'int Hunspell::generate(char***, const char*, const char*)' is deprecated [-Wdeprecated-declarations]
   int num = this->spellClass->generate(arr, word, word2);
                                                        ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:181:20: note: declared here
   H_DEPRECATED int generate(char*** slst, const char* word, const char* word2);
                    ^~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::generateFinish(uv_work_t*, int)':
../src/post0.12.0/nodehun.cpp:763:73: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     suglist->Set(t,String::NewFromUtf8(isolate, generateData->results[t]));
                                                                         ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:763:74: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     suglist->Set(t,String::NewFromUtf8(isolate, generateData->results[t]));
                                                                          ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:764:91: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
   generateData->obj->spellClass->free_list(&generateData->results,generateData->numResults);
                                                                                           ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:768:62: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
   cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::analyze(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:783:100: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       argv[0] = Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string"));
                                                                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:785:72: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
       callback->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:790:52: error: no matching function for call to 'v8::Value::ToString()'
       v8::String::Utf8Value arg0(args[0]->ToString());
                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::analyzeSync(const v8::FunctionCallbackInfo<v8::Value>&)':
../src/post0.12.0/nodehun.cpp:809:50: error: no matching function for call to 'v8::Value::ToString()'
     v8::String::Utf8Value arg0(args[0]->ToString());
                                                  ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
                                            ^~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2572:44: note:   candidate expects 1 argument, 0 provided
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note: candidate: v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2588:31: note:   candidate expects 1 argument, 0 provided
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:814:52: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       a->Set(i, String::NewFromUtf8(isolate, arr[i]));
                                                    ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:814:53: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
       a->Set(i, String::NewFromUtf8(isolate, arr[i]));
                                                     ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:816:41: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
     obj->spellClass->free_list(&arr, num);
                                         ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:820:113: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     isolate->ThrowException(Exception::TypeError(String::NewFromUtf8(isolate, "First argument must be a string.")));
                                                                                                                 ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In member function 'int Nodehun::SpellDictionary::analyzeWord(char***, const char*)':
../src/post0.12.0/nodehun.cpp:828:48: warning: 'int Hunspell::analyze(char***, const char*)' is deprecated [-Wdeprecated-declarations]
   int num = this->spellClass->analyze(arr, word);
                                                ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:164:20: note: declared here
   H_DEPRECATED int analyze(char*** slst, const char* word);
                    ^~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp: In static member function 'static void Nodehun::SpellDictionary::analyzeFinish(uv_work_t*, int)':
../src/post0.12.0/nodehun.cpp:850:72: warning: 'static v8::Local<v8::String> v8::String::NewFromUtf8(v8::Isolate*, const char*, v8::String::NewStringType, int)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     suglist->Set(t,String::NewFromUtf8(isolate, analyzeData->results[t]));
                                                                        ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:2936:21: note: declared here
       Local<String> NewFromUtf8(Isolate* isolate, const char* data,
                     ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:850:73: warning: 'bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)' is deprecated: Use maybe version [-Wdeprecated-declarations]
     suglist->Set(t,String::NewFromUtf8(isolate, analyzeData->results[t]));
                                                                         ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/v8-internal.h:14:0,
                 from /root/.cache/node-gyp/12.13.0/include/node/v8.h:25,
                 from /root/.cache/node-gyp/12.13.0/include/node/node.h:63,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:3412:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/root/.cache/node-gyp/12.13.0/include/node/v8config.h:311:3: note: in definition of macro 'V8_DEPRECATED'
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:851:88: warning: 'void Hunspell::free_list(char***, int)' is deprecated [-Wdeprecated-declarations]
   analyzeData->obj->spellClass->free_list(&analyzeData->results,analyzeData->numResults);
                                                                                        ^
In file included from ../src/post0.12.0/nodehun.hpp:4:0,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
../src/hunspell/src/hunspell/hunspell.hxx:155:21: note: declared here
   H_DEPRECATED void free_list(char*** slst, int n);
                     ^~~~~~~~~
In file included from ../src/nodehun.cpp:7:0:
../src/post0.12.0/nodehun.cpp:855:62: error: no matching function for call to 'v8::Function::Call(v8::Local<v8::Object>, const unsigned int&, v8::Local<v8::Value> [2])'
   cb->Call(isolate->GetCurrentContext()->Global(), argc, argv);
                                                              ^
In file included from /root/.cache/node-gyp/12.13.0/include/node/node.h:63:0,
                 from ../src/post0.12.0/nodehun.hpp:5,
                 from ../src/post0.12.0/nodehun.cpp:1,
                 from ../src/nodehun.cpp:7:
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note: candidate: v8::MaybeLocal<v8::Value> v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
   V8_WARN_UNUSED_RESULT MaybeLocal<Value> Call(Local<Context> context,
                                           ^~~~
/root/.cache/node-gyp/12.13.0/include/node/v8.h:4193:43: note:   candidate expects 4 arguments, 3 provided

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

I’m facing the same error. can someone suggest the solution?

Node : v12.14.1 Npm: 6.13.4

It would be really helpful if someone could create GitHub Actions that replicate these failure conditions. Reverting to old versions does not help this community to move forward.

using node@10 solved my problem totally uninstall node 13 and install 10 using brew, sometimes install yarn and brew cause problem, choose one and install/uninstall all the time using one thing. I catch i had 2 different install , one from yarn one from brew, i uninstall separately

In fact, I can see that node-gyp depends on https://www.npmjs.com/package/proofreader https://www.npmjs.com/package/spellchecker_ptbr https://www.npmjs.com/package/proofread-core https://www.npmjs.com/package/writewell

which in turn depends on nodehun.

I’ve no idea why you think that. node-gyp has never depended on those modules. https://github.com/nodejs/node-gyp/blob/master/package.json

@ahtashamabbasse currently, my configuration works having:

$ node -v
v12.16.1
$ node-gyp -v
v6.0.1
$ npm -v
6.13.4
$ python --version
Python 2.7.16

I want to remark that this will not working using python3, so since I have macOS I had to to this in .bash_profile:

function __py3 {
	export PYTHONPATH=/usr/local/lib/python3.7/site-packages/
}
function __py2 {
	export PYTHONPATH=/Library/Python/2.7/site-packages
}
alias py3='__py3'
alias py2='__py2'

and then use the alias py2 before using node-gyp.

This issue needs to be dealt with by the node-ffi team.

At this point neither FFI or node-gyp work for me so I think I’ll just use N-API with Cmake.js. Thanks for the reply!

Perhaps for ffi on Node.js 10 try legacy Python:

$ npm install --python="/usr/bin/python2" ffi
# or on Windows
$ npm install --python="C:\Python27" ffi

Unfortunately, ffi’s last update was two years ago and its automated testing is failing across the board. node-ffi/node-ffi#596

~What version of node-gyp?~ What command did you type? What was the output log?

I guess node -v 14 has issues working with node-gyp. Just spent minutes trying to fix a gyp error which disappeared when i switched to v12

The module you are trying to install is not compatible with Node.js 12: https://github.com/Wulf/nodehun/issues/66#issuecomment-494497568