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 modern syntax for node module imports #128

Merged
merged 1 commit into from
Aug 19, 2023
Merged

Use modern syntax for node module imports #128

merged 1 commit into from
Aug 19, 2023

Conversation

FilterUnfiltered
Copy link
Contributor

node: protocol imports are supported in Node 12.20.0 and up. They are recommended to be used this way, especially since Node 14. Some services, like cloudflare workers require this syntax to be used, or the imports break.

This PR just updates the "bad" imports I found. This will make no real difference to most, but will help compatibility for some.

@zerodytrash zerodytrash merged commit 75ef60a into zerodytrash:main Aug 19, 2023
@zerodytrash
Copy link
Owner

Thanks!

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.

2 participants