UNPKG

@discue/somewhat-secure-insecure-fn-executor

Version:

Tries to isolate execution of untrusted code

3 lines (2 loc) 267 B
export function setupHelperScripts(isolate: import('isolated-vm').Isolate, context: import('isolated-vm').Context): Promise<undefined>; export function freezeGlobals(isolate: import('isolated-vm').Isolate, context: import('isolated-vm').Context): Promise<undefined>;