Files
node/lib
Joyee Cheung db1746182b module: disallow CJS <-> ESM edges in a cycle from require(esm)
This patch disallows CJS <-> ESM edges when they come from
require(esm) requested in ESM evalaution.

Drive-by: don't reuse the cache for imported CJS modules to stash
source code of required ESM because the former is also used for
cycle detection.

PR-URL: https://github.com/nodejs/node/pull/52264
Fixes: https://github.com/nodejs/node/issues/52145
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-08 14:45:55 +00:00
..
2023-06-24 15:52:38 +00:00
2023-11-11 16:25:08 +00:00
2024-03-16 09:08:56 +00:00
2023-11-11 16:25:08 +00:00
2024-01-12 16:09:48 +00:00
2023-06-12 00:00:46 +00:00
2023-11-11 16:25:08 +00:00
2023-04-03 17:47:28 +00:00
2024-02-02 15:25:34 +01:00
2024-03-20 17:27:29 +00:00
2024-03-19 15:38:17 +00:00
2023-12-23 10:23:43 +00:00
2023-11-11 16:25:08 +00:00