mysql/mysql-js

Deprecation warnings building jones-ndb with node 6.9.1

jdduncan opened this issue · 2 comments

../impl/include/common/JsWrapper.h: In constructor ‘Envelope::Envelope(const char*)’:
../impl/include/common/JsWrapper.h:173:55: warning: ‘static v8::Localv8::ObjectTemplate v8::ObjectTemplate::New()’ is deprecated (declared at /Users/jdd/.node-gyp/6.9.1/include/node/v8.h:4664): Use isolate version [-Wdeprecated-declarations]
Local proto = ObjectTemplate::New();

Here's another:

../impl/src/ndb/TransactionImpl_wrapper.cpp:65:3: note: in expansion of macro ‘DEFINE_JS_INT’
DEFINE_JS_INT(target, "Started", NdbTransaction::Started);
^
../impl/include/common/js_wrapper_macros.h:87:68: warning: ‘bool v8::Object::ForceSet(v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated (declared at /Users/jdd/.node-gyp/6.9.1/include/node/v8.h:2694): Use CreateDataProperty / DefineOwnProperty [-Wdeprecated-declarations]
static_cast(ReadOnly|DontDelete))
^

And another:

CXX(target) Release/obj.target/ndb_adapter/impl/src/common/async_common.o
../impl/src/common/async_common.cpp:55:16: warning: 'TryCatch' is deprecated [-Wdeprecated-declarations]
v8::TryCatch try_catch;
^
/Users/clr/.node-gyp/6.9.1/include/node/v8.h:6771:40: note: 'TryCatch' has been explicitly marked deprecated here
V8_DEPRECATED("Use isolate version", TryCatch());