Closed lionel-rowe closed 10 months ago
Good call!
It's a little funny, because Bun used the globalThis.eval
behavior, some of the the scope stuff had already been coded for. I didn't think to look around to change the function call.
I'm going to do some checking to make sure this works across different browsers / environments, but thank you for the MR.
Released in v1.2.9
, thank you for the contribution!
This library's use of direct
eval
gives warnings when bundled with esbuild:Explanation:
Example of the different behavior of direct vs indirect
eval
: