node/lib/internal/loader
Gus Caplan cb36b6733c
loader: fix up #18394
This commit fixes up some issues in #18394.

* Switch vm.Module internals to use the new link method properly
* Fix bug with ModuleWrap::Link
* Add tests for ModuleWrap::Link

PR-URL: https://github.com/nodejs/node/pull/18509
Fixes: https://github.com/nodejs/node/issues/18249
Refs: https://github.com/nodejs/node/pull/18394
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
2018-02-21 14:20:23 -05:00
..
CreateDynamicModule.js module: refactor loader 2018-02-20 17:02:45 -05:00
DefaultResolve.js lib,doc: revert format name to cjs over commonjs 2018-02-20 17:03:44 -05:00
Loader.js inspector: --inspect-brk for es modules 2018-02-21 10:18:42 -05:00
ModuleJob.js src, lib: return promises from link 2018-02-21 10:19:15 -05:00
ModuleMap.js
ModuleWrap.js loader: fix up #18394 2018-02-21 14:20:23 -05:00
Translators.js lib,doc: revert format name to cjs over commonjs 2018-02-20 17:03:44 -05:00