From 330c820ae8d7826dfe3d88c01ba07728121fa021 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 17 May 2022 21:27:17 +0100 Subject: BREAKING(unstable): Enable Deno namespace in workers by default (#14581) This commit removes "WorkerOptions.deno" option as a boolean, as well as "WorkerOptions.deno.namespace" settings. Starting with this commit all workers have access to "Deno" namespace by default. --- cli/tests/testdata/unstable_worker.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'cli/tests/testdata/unstable_worker.ts') diff --git a/cli/tests/testdata/unstable_worker.ts b/cli/tests/testdata/unstable_worker.ts index 429754dfe..a3b89a180 100644 --- a/cli/tests/testdata/unstable_worker.ts +++ b/cli/tests/testdata/unstable_worker.ts @@ -1,12 +1,6 @@ const w = new Worker( new URL("workers/worker_unstable.ts", import.meta.url).href, - { - type: "module", - deno: { - namespace: true, - }, - name: "Unstable Worker", - }, + { type: "module", name: "Unstable Worker" }, ); w.postMessage({}); -- cgit v1.2.3