Closed mitra42 closed 6 years ago
Thanks for reporting this!
It is the latter, I think their Node compatibility layer has not been updated in a bit of time.
On a side note, I think we should add some tests that verifies webpack compatibility.
Would you mind adding an example so I can verify the fix?
I'm not sure how to add a simple example for your test ... haven't worked on readable-streams (just using it in @internetarchive/dweb-transports).
A change to readable-stream 3.0.1 from the previous 2.3.6 causes the following bug while loading the webpacked application on a browser, the application then fails to load.
A simple rollback to 2.3.6 fixes this, so it looks like something broken in the major release.
The line in question is break in
BufferList.prototype[inspect.custom] = function () {
Andinspect
is defined in:I thought it might be just an undeclared dependency on
inspect
which I didn't find anywhere in package-lock.json, but even installinginspect
(version 0.0.2) doesnt fix it, could it be an unforseen bad interaction withwebpack
?