feat(core)!: Use globalThis for code injection
#610
+8
−58
Merged