Skip to content

Deprecation warnings during install #119

@challet

Description

@challet

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

$ npm install bignum

> bignum@0.13.0 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

+ bignum@0.13.0

$ node -v
v11.14.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions