quickjs-emscripten icon indicating copy to clipboard operation
quickjs-emscripten copied to clipboard

Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions

Results 21 quickjs-emscripten issues
Sort by recently updated
recently updated
newest added

There are many scenes of using Symbol, but I cant make it with vm.newSymbol. I see `JS_NewAtomWithSymbol` and `JS_SymbolGetIterato` in quickjs. Can you add it? Really appreciate it.

Hey, first of all - thanks for this great library. Now - I'm having slight issues with getting a result from an async function call. Full code example below (I...

can i exchange TypedArray or Buffer between host and vm ? --- i want to use libsodium-wrapper in vm, but it need `crypto.getRandomValues` function, so when i try to impl...

Thank you for creating this wonderful library. I have developed "quickjs-emscripten-sync" to facilitate the passing of objects between QuickJS VMs and hosts. https://github.com/reearth/quickjs-emscripten-sync It is using a limited API to...

community

Thanks so much for working on the project! I want to build a small js playground on the web and I couldn't make `quickjs-emscripten` work :( I forked the project...

For better debugging experience,are there plans to support sourcemap?

If async function doesn't have await stmt, hasPendingJob return false throw Error in this function, I can't get the error msg ```ts const asyncCode = ` async function main() {...

Fixes #160 New versions of quickjs library return `Promise` when evaluating a module. Our wrapper code unwrapped this implicit promise if it's resolved and return the module exports, and replace...

Thanks so much for this project! ## Bug Starting from version `0.28.0`, when evaluating code as an ES module, `evalCode` won't return the error. For example, the `result` won't have...