util: use V8 C++ API for inspecting Promises
Avoid using the deprecated debug mirror API.
Refs: https://github.com/nodejs/node/issues/11875 Refs: https://github.com/nodejs/node/pull/12243
CI: https://ci.nodejs.org/job/node-test-pull-request/7244/
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
url