I want to use eventloop, but I don't want the method require because I don't want the script can access my filesystem.
I can make a source loader that will always return an error, but the built-in modules such as node:console could still be required.
It's not a such big issue, but I already implement my own console object, so I don't want the script use the other.
I want to use eventloop, but I don't want the method
require
because I don't want the script can access my filesystem.I can make a source loader that will always return an error, but the built-in modules such as
node:console
could still be required.It's not a such big issue, but I already implement my own console object, so I don't want the script use the other.