src: do not use deprecated V8 API
Namely:
-
v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, ...); -
v8::ObjectTemplate::SetNativeDataPropertywithAccessControl
Refs: https://github.com/v8/v8/commit/46c241eb99557fe8205acac5c526650c3847d180 Refs: https://github.com/v8/v8/commit/6ec883986bd417e2a42ddb960bd9449deb7e4639
Review requested:
- [ ] @nodejs/startup
CI: https://ci.nodejs.org/job/node-test-pull-request/59354/
CI: https://ci.nodejs.org/job/node-test-pull-request/59358/
CI: https://ci.nodejs.org/job/node-test-pull-request/59360/
CI: https://ci.nodejs.org/job/node-test-pull-request/59370/
CI: https://ci.nodejs.org/job/node-test-pull-request/59382/
@nodejs/cpp-reviewers
Landed in ff659faeb8858a9fba70027ccfb1a0251fd64e1f...bd151552ef35b0eed415eb1c50d30dafd341cee8