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

fix: add buffer require #4

Merged
merged 2 commits into from
Jul 2, 2020

Conversation

achingbrain
Copy link
Collaborator

Future versions of webpack will not bundle node internals so we have to require them as they won't be globals any more.

Weirdly buffer was already a dep of this module but wasn't used in the actual source 🤷‍♂️

Future versions of webpack will not bundle node internals so we have to `require` them as they won't be globals any more.

Weirdly `buffer` was already a dep of this module but wasn't used in the actual source 🤷‍♂️
achingbrain added a commit to ipfs/js-ipfs-utils that referenced this pull request Jul 2, 2020
Exiting an async iterator in a pipline early causes a `ERR_STREAM_PREMATURE_CLOSE`
to be thrown.

This should be fixed in a future node release: nodejs/node#23890
@alanshaw alanshaw merged commit 6136e12 into alanshaw:master Jul 2, 2020
achingbrain added a commit to ipfs/js-ipfs-utils that referenced this pull request Jul 9, 2020
* chore: update aegir

Depends on:

- [alanshaw/it-to-stream#4](alanshaw/it-to-stream#4)

* chore: update it-to-stream
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