0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/modules
Ruben Bridgewater 9939762322
module: prevent race condition while combining import and require
This checks if any require calls have happened to the same file
during the file read. If that was the case, it'll return the same
module instead of creating a new instance.

PR-URL: https://github.com/nodejs/node/pull/27674
Reviewed-By: Guy Bedford <guybedford@gmail.com>
2019-06-15 11:23:03 +02:00
..
cjs module: handle empty require.resolve() options 2019-06-11 10:20:31 -07:00
esm module: prevent race condition while combining import and require 2019-06-15 11:23:03 +02:00