mirror of
https://github.com/denoland/deno.git
synced 2025-09-23 10:52:33 +00:00
refactor: pull 'core', 'internals', 'primordials' from ES module (#21462)
This commit refactors how we access "core", "internals" and "primordials" objects coming from `deno_core`, in our internal JavaScript code. Instead of capturing them from "globalThis.__bootstrap" namespace, we import them from recently added "ext:core/mod.js" file.
This commit is contained in:
parent
5dd9b26155
commit
c1fc7b2cd5
71 changed files with 72 additions and 126 deletions
|
@ -30,7 +30,7 @@ import {
|
|||
} from "ext:deno_fetch/20_headers.js";
|
||||
import { HttpClientPrototype } from "ext:deno_fetch/22_http_client.js";
|
||||
import * as abortSignal from "ext:deno_web/03_abort_signal.js";
|
||||
const primordials = globalThis.__bootstrap.primordials;
|
||||
import { primordials } from "ext:core/mod.js";
|
||||
const {
|
||||
ArrayPrototypeMap,
|
||||
ArrayPrototypeSlice,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue