You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just upgraded to readable-stream@4.5.0 and I am now getting this error (using readable-stream in the browser):
global is not defined
I tracked these changes back to this commit, where there are many references to global that did not exist before. I'm wondering if they should be changed to globalThis instead, so it will not crash in browsers (global is only globally defined in node).
Here is one of the affected places for quick reference:
I just upgraded to readable-stream@4.5.0 and I am now getting this error (using readable-stream in the browser):
global is not defined
I tracked these changes back to this commit, where there are many references to
global
that did not exist before. I'm wondering if they should be changed toglobalThis
instead, so it will not crash in browsers (global
is only globally defined in node).Here is one of the affected places for quick reference:
readable-stream/lib/ours/util.js
Lines 5 to 6 in 700d28b
The text was updated successfully, but these errors were encountered: