chore: use globalThis
over global
everywhere
#12447
Merged
globalThis
over global
everywhere
#12447