disable Deno object in javascript #13722
Replies: 3 comments 2 replies
-
You simply need to delete delete_core.js delete Deno.core; main.js import "./delete_core.js";
console.log(Deno.core); // undefined All internal code binds early to |
Beta Was this translation helpful? Give feedback.
-
thanks mr kitsonk |
Beta Was this translation helpful? Give feedback.
-
Maybe you should consider running it on worker. By default the Deno namespace is not available in worker scope. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm executing untrusted javascript (users script) inside deno, and i need to disable users to use Deno functionality like Deno.core or Deno.core.opAsync or anything related to Deno, how to do it?
Beta Was this translation helpful? Give feedback.
All reactions