There is a problem with the global reference used in the source code, it may not exist, because it is a compatibility problem, why not use globalThis?
Activity
justin0mcateer commentedon Nov 8, 2022
I ran into this problem and needed to patch the package due to lack of 'global' in the browser environment.
Here is the (hack) patch I used:
Use globalThis if available
bneijt commentedon Jan 9, 2023
I think it makes sense to use globalThis if available and fall back to the injected global if required, so I created a PR to that effect.
Use globalThis if available (#34)