From abd96105300a7729a4d8eb69af2e81dd6307a163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 24 Jan 2023 18:54:10 +0100 Subject: refactor: remove Deno.core (#16881) This commit removes "Deno.core" namespace. It is strictly private API that has no stability guarantees, we were supposed to remove it long time ago. Co-authored-by: Yoshiya Hinosawa --- cli/tests/testdata/run/eval_context_throw_dom_exception.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/tests/testdata/run/eval_context_throw_dom_exception.js') diff --git a/cli/tests/testdata/run/eval_context_throw_dom_exception.js b/cli/tests/testdata/run/eval_context_throw_dom_exception.js index b8e99d498..31baeedfc 100644 --- a/cli/tests/testdata/run/eval_context_throw_dom_exception.js +++ b/cli/tests/testdata/run/eval_context_throw_dom_exception.js @@ -1,2 +1,4 @@ -const [, errorInfo] = Deno.core.evalContext('throw new DOMException("foo")'); +const [, errorInfo] = Deno[Deno.internal].core.evalContext( + 'throw new DOMException("foo")', +); console.log(errorInfo); -- cgit v1.2.3