Skip to content

Node6 compatibility warning #79

@indeyets

Description

@indeyets

I get the following when I run test suite of my app on NodeJS 6.0

(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x2128330c9fa9 <JS Object>#0#
    1: .node [module.js:568] [pc=0x121388625b24] (this=0x26964cde2a79 <an Object with map 0x32a2c90af9d9>#1#,module=0x3cc85fcba279 <a Module with map 0x32a2c90181b9>#2#,filename=0x3cc85fcba251 <String[107]: /path/to/project/node_modules/mmmagic/build/Release/magic.node>)
    2: load [module.js:~447] [pc=0x12138878fcf6] (this=0x3cc85fcba279 <a Module with map 0x32a2c90181b9>#2#,filename=0x3cc85fcba251 <String[107]: /path/to/project/node_modules/mmmagic/build/Release/magic.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x12138843899d] (this=0x212833004189 <undefined>,module=0x3cc85fcba279 <a Module with map 0x32a2c90181b9>#2#,filename=0x3cc85fcba251 <String[107]: /path/to/project/node_modules/mmmagic/build/Release/magic.node>)
    4: _load [m 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: Magic::Initialize(v8::Local<v8::Object>)
 3: init
 4: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 5: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 6: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
 7: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
 8: 0x12138830961b

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