You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test/mock_loader module exposed without node: prefix #54071
The builtin module test/mock_loader was added in v22.3.0. However, it wasn't added to schemelessBlockList, meaning it's currently importable as "test/mock_loader", and appears in module.builtinModules.
Could be as simple as adding the new module to the list, although I wonder if realm.js should implement some kind of matching behaviour so that if a module foo is in schemelessBlockList, then any foo/bar submodules are automatically excluded as well.
changed the title [-]`tests/mock_loader` module exposed without `node:` prefix[/-][+]`test/mock_loader` module exposed without `node:` prefix[/+]on Jul 27, 2024
One thing to note is that the loader is not intended to be public at all. We need register() to support internals (it didn't the last time I tested it).
Activity
[-]`tests/mock_loader` module exposed without `node:` prefix[/-][+]`test/mock_loader` module exposed without `node:` prefix[/+]cjihrig commentedon Jul 28, 2024
One thing to note is that the loader is not intended to be public at all. We need
register()to support internals (it didn't the last time I tested it).test_runner: do not expose internal loader
test_runner: do not expose internal loader
test_runner: do not expose internal loader
test_runner: do not expose internal loader