Expose `URL` constructor to sandboxes

pull/66/head
Zef Hemel 2022-07-29 17:50:44 +02:00
parent a01578a7ff
commit 9574eaf7ec
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ let vm = new VM({
setTimeout,
clearTimeout,
setInterval,
URL,
clearInterval,
fetch: require(`${nodeModulesPath}/node-fetch`),
WebSocket: require(`${nodeModulesPath}/ws`),