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