Closed lil5 closed 8 months ago
Thanks @lil5 ! Looking forward to having this PR merged :)
@auvipy I'm not sure how to do that more than I've already done.
Have you looked at the list of files I changed?
Tests that previously used global
now use globalThis
and it works just fine.
@auvipy Would you like me to run npm run glup release
and commit the /dist/
files before you merge?
Fixes #581
Problem
Fix
The
globalThis
property provides a standard way of accessing the global this value (and hence the global object itself) across environments.https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis