summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-01-24 18:54:10 +0100
committerGitHub <noreply@github.com>2023-01-24 18:54:10 +0100
commitabd96105300a7729a4d8eb69af2e81dd6307a163 (patch)
tree75b7556f876b2a2df3e22b905922dfb11572ef6d /tools
parent1084027d502d54ebf256c867fe85600b295d8a06 (diff)
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 <stibium121@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/runner.ts6
1 files changed, 3 insertions, 3 deletions
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<string> {
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;
}