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

refactor: rename structures related to Modules #4217

Merged
merged 2 commits into from
Mar 2, 2020

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Mar 2, 2020

  • rename structures related to ES Modules; add "Modules" prefix
  • remove unneeded Unpin trait requirement for "ModuleLoader"

/// Eg. Both "https://example.com/a.ts" and
/// "https://example.com/b.ts" may point to "https://example.com/c.ts"
/// By keeping track of specified and found URL we can alias modules and avoid
/// recompiling the same code 3 times.
Copy link
Member

Choose a reason for hiding this comment

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

Why 3?

Copy link
Member Author

Choose a reason for hiding this comment

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

Don't know; old comment, PTAL at my TODO comment below

Copy link
Member

Choose a reason for hiding this comment

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

Having some bookkeeping of redirects sounds useful.

Copy link
Member Author

Choose a reason for hiding this comment

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

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 cfe4369 into denoland:master Mar 2, 2020
@bartlomieju bartlomieju deleted the modules_clean branch March 2, 2020 18:12
bartlomieju added a commit to bartlomieju/deno that referenced this pull request Mar 3, 2020
* rename structures related to ES Modules; add "Modules" prefix
* remove unneeded Unpin trait requirement for "ModuleLoader"
mhvsa pushed a commit to mhvsa/deno that referenced this pull request Mar 6, 2020
* rename structures related to ES Modules; add "Modules" prefix
* remove unneeded Unpin trait requirement for "ModuleLoader"
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.

None yet

2 participants