Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleInfo should have a notion of module visibility #501

Open
bartlomieju opened this issue Jan 27, 2024 · 0 comments · May be fixed by #507
Open

ModuleInfo should have a notion of module visibility #501

bartlomieju opened this issue Jan 27, 2024 · 0 comments · May be fixed by #507

Comments

@bartlomieju
Copy link
Member

At this point we have 3 distinct types of modules that are executed in deno_core:

  • internal modules - these are ext:core/mod.js and ext:core/ops - these modules are provided automatically by deno_core and have to be accessible only to other ext:* modules
  • ext modules - these are all modules defined using extension! macro - these modules have to be accessible only by native code or other ext:* modules
  • user code modules - these are all the modules executed after the runtime has bootstrapped - these modules mustn't have access to internal or ext modules. (Maybe there are situation where this is needed - in such case, there should be a method to expose them)
@bartlomieju bartlomieju linked a pull request Jan 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant