Use polyfills directly

This commit is contained in:
Adria Navarro 2025-01-30 08:47:24 +01:00
parent 148924f821
commit 7fdb22459a
1 changed files with 0 additions and 8 deletions

View File

@ -175,14 +175,6 @@ export class IsolatedVM implements VM {
return result
}
),
atobCB: new ivm.Callback((...args: Parameters<typeof atob>) => {
const result = atob(...args)
return result
}),
btoaCB: new ivm.Callback((...args: Parameters<typeof btoa>) => {
const result = btoa(...args)
return result
}),
})
const script = this.isolate.compileScriptSync(