@zachleat there is also the `Function` constructor that can execute code, Vento uses it here: https://github.com/ventojs/vento/blob/main/src/environment.ts#L142
Posts
-
Doing some research into non-eval methods to dynamically execute JavaScript code in Node.js: -
Doing some research into non-eval methods to dynamically execute JavaScript code in Node.js:@zachleat does Node support `Blob`? a bit cleaner than `data:` URL https://github.com/dbushell/dinossr/blob/main/src/bundle/import.ts#L13
This is Deno though.
-
yes please https://blog.playstation.com/2024/09/19/celebrating-30-years-of-playstation-with-a-nostalgic-look/