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>
parent
52255868
Please register or sign in to comment