Expose `URL` constructor to sandboxes
parent
a01578a7ff
commit
9574eaf7ec
|
@ -38,6 +38,7 @@ let vm = new VM({
|
|||
setTimeout,
|
||||
clearTimeout,
|
||||
setInterval,
|
||||
URL,
|
||||
clearInterval,
|
||||
fetch: require(`${nodeModulesPath}/node-fetch`),
|
||||
WebSocket: require(`${nodeModulesPath}/ws`),
|
||||
|
|
Loading…
Reference in New Issue