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
As mentioned by @ricmoo, the nodejs injected Buffer is insecure and also makes adds a browser dependency of a Buffer implementation. It seems that for (most of?) our use cases, we should use Uint8Array and not Buffer, ideally we remove this "dependency" from our packages.
Tracking issue as this is a long-term issue.
The text was updated successfully, but these errors were encountered:
The first option is type-only solution, what means it costs nothing at runtime. The second allows to implement some utility methods and do instanceof check, but it has some overhead in runtime.
As mentioned by @ricmoo, the nodejs injected Buffer is insecure and also makes adds a browser dependency of a Buffer implementation. It seems that for (most of?) our use cases, we should use Uint8Array and not Buffer, ideally we remove this "dependency" from our packages.
Tracking issue as this is a long-term issue.
The text was updated successfully, but these errors were encountered: