node-bignum icon indicating copy to clipboard operation
node-bignum copied to clipboard

Deprecation warnings during install

Open challet opened this issue 6 years ago • 1 comments

Hello, some of this warnings are outputed during the install process. They seem to be related to nan functions.

$ npm install bignum

> [email protected] install /Users/challet/node_modules/bignum
> prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=11.14.0 runtime=node arch=x64 platform=darwin)
  CXX(target) Release/obj.target/bignum/bignum.o
In file included from ../bignum.cc:8:
In file included from ../../nan/nan.h:203:
In file included from ../../nan/nan_new.h:189:
../../nan/nan_implementation_12_inl.h:337:28: warning: 'New' is deprecated: Use Isolate* version [-Wdeprecated-declarations]
  return v8::StringObject::New(value).As<v8::StringObject>();
                           ^
/Users/challet/.node-gyp/11.14.0/include/node/v8.h:5242:37: note: 'New' has been explicitly marked deprecated here
                static Local<Value> New(Local<String> value));
                                    ^
In file included from ../bignum.cc:8:
../../nan/nan.h:1034:44: warning: 'ToString' is deprecated: Use maybe version [-Wdeprecated-declarations]
      v8::Local<v8::String> string = from->ToString();
                                           ^
[ ... ]

30 warnings generated.
  SOLINK_MODULE(target) Release/bignum.node

+ [email protected]

$ node -v
v11.14.0

challet avatar Apr 24 '19 17:04 challet

yes ihave the same issue.

tjtarunkumar avatar Jun 28 '19 03:06 tjtarunkumar