diff options
Diffstat (limited to 'ext/fetch/22_body.js')
-rw-r--r-- | ext/fetch/22_body.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/fetch/22_body.js b/ext/fetch/22_body.js index 644b9f76f..54edb7999 100644 --- a/ext/fetch/22_body.js +++ b/ext/fetch/22_body.js @@ -11,7 +11,7 @@ /// <reference path="./lib.deno_fetch.d.ts" /> /// <reference lib="esnext" /> -const core = globalThis.Deno.core; +import { core, primordials } from "ext:core/mod.js"; import * as webidl from "ext:deno_webidl/00_webidl.js"; import { parseUrlEncoded, @@ -36,7 +36,6 @@ import { readableStreamTee, readableStreamThrowIfErrored, } from "ext:deno_web/06_streams.js"; -const primordials = globalThis.__bootstrap.primordials; const { ArrayBufferPrototype, ArrayBufferIsView, |