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

remove node: prefix from import module #228

Closed
wants to merge 1 commit into from

Conversation

jkowalleck
Copy link

#224 introduced the usage of the builtin module. This is a great feature.

Unfortunately, the change introduced the import with prefix node:, which appears to break the usage of normalize-package-data downstream. Some projects run in an env where node:-prefixed imports of builtins are not recognized, yet without it are working pretty fine.

This PR aims for compatibility, by removing said prefix.

References

Caused by #224

@wraithgar
Copy link
Member

As of version 16 the engines field of this package is { node: '^16.14.0 || >=18.0.0' } and the node: prefix works in all versions of node inside that range.

@wraithgar wraithgar closed this Jun 26, 2024
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