Files
node/lib/internal/vm
Chengzhong WuandMike Ralphson 9e1c2293bf vm: harden module type checks
Check if the value returned from user linker function is a null-ish
value.

`validateInternalField` should be preferred when checking `this`
argument to guard against null-ish `this`.

Co-authored-by: Mike Ralphson <mike.ralphson@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/52162
Backport-PR-URL: https://github.com/nodejs/node/pull/53109
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
2024-10-02 16:04:22 +02:00
..
2024-10-02 16:04:22 +02:00