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 --- tools/wpt/runner.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts index ce6d41841..a3c22006a 100644 --- a/tools/wpt/runner.ts +++ b/tools/wpt/runner.ts @@ -185,9 +185,9 @@ async function generateBundle(location: URL): Promise { return scriptContents.map(([url, contents]) => ` (function() { - const [_,err] = Deno.core.evalContext(${JSON.stringify(contents)}, ${ - JSON.stringify(url) - }); + const [_,err] = Deno[Deno.internal].core.evalContext(${ + JSON.stringify(contents) + }, ${JSON.stringify(url)}); if (err !== null) { throw err?.thrown; } -- cgit v1.2.3