src: update v8::Object::GetPropertyNames() usage
Use the non-deprecated version of GetPropertyNames()
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
EDIT: CI: https://ci.nodejs.org/job/node-test-pull-request/17938/