diff options
Diffstat (limited to 'ext/web/06_streams.js')
-rw-r--r-- | ext/web/06_streams.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js index 9fc15d1ad..1df375328 100644 --- a/ext/web/06_streams.js +++ b/ext/web/06_streams.js @@ -6,8 +6,7 @@ /// <reference path="./lib.deno_web.d.ts" /> /// <reference lib="esnext" /> -const core = globalThis.Deno.core; -const internals = globalThis.__bootstrap.internals; +import { core, internals, primordials } from "ext:core/mod.js"; const { op_arraybuffer_was_detached, op_transfer_arraybuffer, @@ -29,7 +28,6 @@ import { remove, signalAbort, } from "ext:deno_web/03_abort_signal.js"; -const primordials = globalThis.__bootstrap.primordials; const { ArrayBuffer, ArrayBufferIsView, |