node/lib/internal/loader
Bradley Farias a36aa049c8 src: add internalBindings for binding isolation
This commit adds a method to internal/process that allows access to
bindings that are not intended to be used by user code. It has a
separate cache object and modlist in order to avoid collisions.

You can use NODE_MODULE_CONTEXT_AWARE_INTERNAL to register a C++
module as an internal.

PR-URL: https://github.com/nodejs/node/pull/15759
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Refael Ackermann <refack@gmail.com>
2017-10-12 09:13:29 -05:00
..
Loader.js module: resolve and instantiate loader pipeline hooks 2017-10-11 08:47:23 -05:00
ModuleJob.js module: resolve and instantiate loader pipeline hooks 2017-10-11 08:47:23 -05:00
ModuleMap.js module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
ModuleRequest.js module: resolve and instantiate loader pipeline hooks 2017-10-11 08:47:23 -05:00
ModuleWrap.js src: add internalBindings for binding isolation 2017-10-12 09:13:29 -05:00
search.js src: add internalBindings for binding isolation 2017-10-12 09:13:29 -05:00