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
{{ message }}
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
The buffer module currently used (v4) performs a check of a variable explicitly on the global variable, something like if(global.TYPED_ARRAY_SUPPORT). As mentioned in #31, global is not polyfilled—at least it isn’t when building a Webpack bundle for the webworker target. As a result, code that relies on Webpack polyfilling the buffer module will break in webworkers.
This can be trivially fixed by updating to the latest version of the buffer module (5), but in #45 it seems that sticking to an older version is a deliberate decision.
The text was updated successfully, but these errors were encountered:
The
buffer
module currently used (v4) performs a check of a variable explicitly on theglobal
variable, something likeif(global.TYPED_ARRAY_SUPPORT)
. As mentioned in #31,global
is not polyfilled—at least it isn’t when building a Webpack bundle for thewebworker
target. As a result, code that relies on Webpack polyfilling thebuffer
module will break in webworkers.This can be trivially fixed by updating to the latest version of the
buffer
module (5), but in #45 it seems that sticking to an older version is a deliberate decision.The text was updated successfully, but these errors were encountered: