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

Require "node:stream" instead of "stream" #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

boenrobot
Copy link

And adjust minimum nodejs version accordingly.

Also removed package-lock.json and added it to .gitignore.


Using "node:stream" instead of "stream" enable use of this library in runtimes other than nodejs (e.g. workerd), at the cost of leaving behind older Nodejs versions.

The package-lock.json is unnecessary in a library, especially when not in a monorepo under CI. It generated a lockfile with older versions due to me testing at 14.18.0 and its bundled npm, while I imagine the latest used was newer.

…version accordingly.

Also removed package-lock.json and added it to .gitignore.
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.

1 participant