Skip to content

Error Boundary

Compare
Choose a tag to compare
@caridy caridy released this 10 Jan 17:08

Release notes

This release implements the error boundary to prevent stack overflow and other related issues that can leak an error from the outer realm into the sandbox via a try/catch. Special thanks to @mmis1000 for #48, it pushes us to find a solution for this.

Additionally, this release changes the public API, now the environment returns an evaluator function rather than the provided secure global object.