JS-Interpreter icon indicating copy to clipboard operation
JS-Interpreter copied to clipboard

A sandboxed JavaScript interpreter in JavaScript.

Results 55 JS-Interpreter issues
Sort by recently updated
recently updated
newest added

This increases compatibility of the included `acorn.js` file to support environments that don't support a root `this` object (e.g., Deno) by falling back to `globalThis` if `this` is not defined....

I think some users will like this idea as it will help to eliminate eval() and new Function() restrictions in workers.

Changed line 190 in interpreter.js to fix a bug with "this" not referring to the browser in Svelte-based npm contexts.

I am using JS-Interpreter to parse the code blocks entered by the user in the editor. I hope to get the functions entered by the user in some cases, so...

I'm trying to import momentjs library. When I use moment().format(), the library pass this to next function, but this is the object of JS-Interpreter and not momentjs. This is my...

question

Thank you for this amazing project. I'm successfully running JS Interpreter + Babel to create a very nice scripting environment for my Electron app's user-supplied JS. I have a very...

bug

It seems that js-interpreter currently does not support functions for JSON.stringify replacer. Are there any plans for support in the future? ECMAScript 5.1 does support them, as seen at https://262.ecma-international.org/5.1/#sec-15.12.3...

I'm attempting to implement a sort of IPC system (a bridge to put it bluntly) between the sandboxed code running within the interpreter and the process that is running the...

Alright, I did it. This is finally something I am actually proud of. So, here are the changes in a nutshell: # acorn.js I changed the export code at the...