summaryrefslogtreecommitdiff
path: root/ext/web/09_file.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/09_file.js')
-rw-r--r--ext/web/09_file.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/web/09_file.js b/ext/web/09_file.js
index 7ee029d8a..6e91e2492 100644
--- a/ext/web/09_file.js
+++ b/ext/web/09_file.js
@@ -10,12 +10,11 @@
/// <reference path="./internal.d.ts" />
/// <reference lib="esnext" />
-const core = globalThis.Deno.core;
+import { core, primordials } from "ext:core/mod.js";
const ops = core.ops;
import * as webidl from "ext:deno_webidl/00_webidl.js";
import { ReadableStream } from "ext:deno_web/06_streams.js";
import { URL } from "ext:deno_url/00_url.js";
-const primordials = globalThis.__bootstrap.primordials;
const {
ArrayBufferPrototype,
ArrayBufferPrototypeSlice,