Description
We are having some trouble with the stream
package because it only implements the Stream
interface itself but doesn't support things like stream.Readable
. This is problematic because we are including this library in a larger application (backstage) and it clashes with other dependencies that need some stream features (in our case pdfkit
). Since it is provided by this package, a configured polyfill fallback in webpack doesn't work anymore because the dependency is favoured over the other.
#7341 aims to move it to a direct dependency, but for us, it woul be better to skip depending on the stream
package. Maybe one can advice users to install it by themselves if they get problems? Or maybe make it a peerDependency
so users can decide if they want to install it or not?
Using a more complete polyfill like stream-browserify
would also be nice, but I assume this would again require a fork of the xml
package.