From 6a96d37b81afe562a4c1cf051323a9d4882de700 Mon Sep 17 00:00:00 2001 From: dojyorin Date: Sun, 21 Jan 2024 05:29:12 +0900 Subject: [PATCH] remove unstable permission. --- src/worker.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/worker.ts b/src/worker.ts index d83640f..018f60b 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -46,10 +46,7 @@ export function createTask(task:WorkerTask return (message:T, transfer?:Transferable[])=>{ return new Promise((res, rej)=>{ const worker = new Worker(url, { - type: "module", - deno: { - permissions: "inherit" - } + type: "module" }); worker.onmessage = ({data})=>{