Hello, deno-dom uses this library to emulate the DOM in Deno. However, executing JavaScript from strings can result in possible insecure security flaws within code. As a result, secure web platforms such as Deno Deploy have disabled string code execution, which makes nwsapi.js unusable in secure contexts due to its use of the Function constructor for codegen in nwsapi.js, I am going to try and fix this later today after I get home but just going to create an issue in response to another issue in the deno-dom repo about deno-dom not working on Deno Deploy.
Hello,
deno-domuses this library to emulate the DOM in Deno. However, executing JavaScript from strings can result in possible insecure security flaws within code. As a result, secure web platforms such as Deno Deploy have disabled string code execution, which makesnwsapi.jsunusable in secure contexts due to its use of theFunctionconstructor for codegen in nwsapi.js, I am going to try and fix this later today after I get home but just going to create an issue in response to another issue in thedeno-domrepo aboutdeno-domnot working on Deno Deploy.