module: NativeModule._cache turned to a Map
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Description of change
Changed NativeModule._cache
in lib/internal/bootstrap_node.js
to be a Map
, in accordance to https://github.com/nodejs/code-and-learn/issues/56#issuecomment-247447165