node/lib/internal/loader
guybedford d21a11dc23 module: resolve and instantiate loader pipeline hooks
This enables a --loader flag for Node, which can provide custom
"resolve" and "dynamicInstantiate" methods for custom ES module
loading.

In the process, module providers have been converted from classes
into functions and the module APIs have been made to pass URL strings
over objects.

PR-URL: https://github.com/nodejs/node/pull/15445
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
2017-10-11 08:47:23 -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 module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
search.js module: resolve and instantiate loader pipeline hooks 2017-10-11 08:47:23 -05:00