src: prefer internal fields in ModuleWrap
Use internal fields instead of v8::Global
s where possible, since
they generally come with lower overhead and it’s much harder to
introduce memory leaks with them.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines