Expose URL
constructor to sandboxes
This commit is contained in:
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
Block a user