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

fix: remove bootstrap methods from global scope after bootstrapping #4869

Merged
merged 1 commit into from
Apr 24, 2020

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Apr 23, 2020

Closes #4747

This PR changes how bootstrapping methods are handled:

  • instead of bootstrap prefix for each method; a bootstrap namespace is assigned to global scope
  • after runtime is bootstrapped globalThis.bootstrap is removed so it doesn't leak to userspace anymore

@bartlomieju bartlomieju requested a review from ry April 23, 2020 15:57
@bartlomieju bartlomieju force-pushed the remove_bootstrap_methods branch from 8a286d4 to 5f546c8 Compare April 23, 2020 16:08
@bartlomieju
Copy link
Member Author

@ry PTAL

Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit 1378df3 into denoland:master Apr 24, 2020
@bartlomieju bartlomieju deleted the remove_bootstrap_methods branch April 24, 2020 23:03
@ry ry mentioned this pull request Apr 27, 2020
43 tasks
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 this pull request may close these issues.

Remove bootstrap functions from global scope
2 participants