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

Use the node: protocol when importing Node.js builtins #1433

Open
1 task
MantisClone opened this issue Jul 16, 2024 · 0 comments
Open
1 task

Use the node: protocol when importing Node.js builtins #1433

MantisClone opened this issue Jul 16, 2024 · 0 comments

Comments

@MantisClone
Copy link
Member

MantisClone commented Jul 16, 2024

Motivation

  • Makes it perfectly clear that the import is a Node.js builtin module. (Beginners don't always realize this)
  • Makes the import identifier a valid absolute URL.
  • Avoids conflicts for future Node.js builtin modules.

Definition of Done

Reference

@MantisClone MantisClone changed the title Use the node: protocol for all Node.js builtin imports Use the node: protocol when importing Node.js builtins Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎫 Backlog
Development

No branches or pull requests

1 participant