File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2550,7 +2550,7 @@ NAN_DEPRECATED inline void SetAccessor(
25502550 , obj
25512551 , settings
25522552 , attribute
2553- #if (NODE_MODULE_VERSION < NODE_18_0_MODULE_VERSION )
2553+ #if (NODE_MODULE_VERSION < NODE_16_0_MODULE_VERSION )
25542554 , signature
25552555#endif
25562556 );
Original file line number Diff line number Diff line change @@ -52,8 +52,10 @@ typedef void(*IndexQueryCallback)(
5252 const PropertyCallbackInfo<v8::Integer>&);
5353
5454namespace imp {
55- #if (NODE_MODULE_VERSION < NODE_18_0_MODULE_VERSION)
56- NAN_DEPRECATED typedef v8::Local<v8::AccessorSignature> Sig;
55+ #if (NODE_MODULE_VERSION < NODE_16_0_MODULE_VERSION)
56+ typedef v8::Local<v8::AccessorSignature> Sig;
57+ #else
58+ typedef v8::Local<v8::Data> Sig;
5759#endif
5860
5961static const int kDataIndex = 0 ;
You can’t perform that action at this time.
0 commit comments