Files
node/test/fixtures
guybedford e68307737c module: fix hook module CJS dependency loading
It can be useful to load dependencies as part of the loader hook
definition file. This fixes a bug where `import x from 'x'` would
always return `x` as `undefined` if the import was made in a loader
hooks definition module.

A parallel change to the CJS loading injection process meant that the
CJS module wasn't being injected into the correct loader instance,
which is corrected here with a test.

PR-URL: https://github.com/nodejs/node/pull/16381
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2017-10-31 00:15:02 +00:00
..
2017-09-20 09:32:43 -07:00
2017-03-10 11:23:48 -08:00
2017-07-18 19:56:14 +02:00
2017-03-10 11:23:48 -08:00
…
…
…
…
2014-08-29 00:36:48 +04:00
…
…
2017-05-19 15:22:44 -04:00
2017-05-19 15:22:44 -04:00
…
2016-09-19 12:40:16 -07:00
…
2013-10-16 09:43:19 -07:00
2013-10-16 09:43:19 -07:00
2013-10-16 09:43:19 -07:00
2017-06-07 13:32:25 -07:00
2017-10-17 21:06:55 -07:00
2012-12-13 17:00:28 -08:00
…