Skip to content

Use node: protocol for imports where possible#112

Merged
DmitrySharabin merged 2 commits intohtest-dev:mainfrom
Zearin:style/node-protocol-imports
Dec 29, 2025
Merged

Use node: protocol for imports where possible#112
DmitrySharabin merged 2 commits intohtest-dev:mainfrom
Zearin:style/node-protocol-imports

Conversation

@Zearin
Copy link
Copy Markdown
Contributor

@Zearin Zearin commented Dec 28, 2025

👍 Makes it really easy to see which imports are from the NodeJS standard lib!

This makes it really easy to see which imports are from the NodeJS standard lib.

It also disambiguates 3rd-party packages that might have similar looking names.
@netlify
Copy link
Copy Markdown

netlify bot commented Dec 28, 2025

Deploy Preview for h-test ready!

Name Link
🔨 Latest commit ad8a6d2
🔍 Latest deploy log https://app.netlify.com/projects/h-test/deploys/695161d76be7d1000808033b
😎 Deploy Preview https://deploy-preview-112--h-test.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@LeaVerou LeaVerou left a comment

Choose a reason for hiding this comment

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

Oh that's a good point, I never considered this. Thanks!

Copy link
Copy Markdown
Member

@DmitrySharabin DmitrySharabin left a comment

Choose a reason for hiding this comment

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

I deeply support these changes (this is what I try to do in all our new projects). Do you mind adding tests/index.js to this PR? I haven’t spotted any other files that also need to be changed.

@Zearin
Copy link
Copy Markdown
Contributor Author

Zearin commented Dec 29, 2025

Will do!

@Zearin
Copy link
Copy Markdown
Contributor Author

Zearin commented Dec 29, 2025

@DmitrySharabin Oh…I…already did tests/index.js?

Copy link
Copy Markdown
Member

@DmitrySharabin DmitrySharabin left a comment

Choose a reason for hiding this comment

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

Oh, right. My bad!
LGTM, then!

Thanks. 🤝

@Zearin
Copy link
Copy Markdown
Contributor Author

Zearin commented Dec 29, 2025

Got Merge™?

@DmitrySharabin DmitrySharabin merged commit 7a59f66 into htest-dev:main Dec 29, 2025
4 checks passed
@DmitrySharabin
Copy link
Copy Markdown
Member

Thank you!

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.

3 participants