Skip to content

Conversation

clentfort
Copy link

Closes #6

Not sure if this is the best approach. I tried to keep the changes to a minimum. I resolved the dependency on module "stream" by depending on "stream-browserify" and the dependency on "util" by using the "inherits"-packages (which is also used by stream-browserify, see package.json).

carlobeltrame added a commit to carlobeltrame/react-pdf that referenced this pull request Jun 16, 2022
Adaptations taken from devongovett/blob-stream#7
which is unlikely to ever get merged, judging from the fact that the
package has not been updated since 2014.

blob-stream is only used in the web version of react-pdf, so it is safe
to directly use stream-browserify, because it will never be used on
node.
@diavrank
Copy link

Awesome, I guess your PR solves this issue then:

image

have you published your changes with another alias?

@clentfort
Copy link
Author

I did not. I'm also no longer working with this package.

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.

Provide browser-specific version

2 participants