refactor: migrate extensions to virtual ops module (#22135)

First pass of migrating away from `Deno.core.ensureFastOps()`.

A few "tricky" ones have been left for a follow up.
This commit is contained in:
Bartek Iwańczuk 2024-01-26 23:46:46 +01:00 committed by GitHub
parent d889f99657
commit 462ce14a78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 93 additions and 156 deletions

View file

@ -1,9 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { core, primordials } from "ext:core/mod.js";
const {
op_bootstrap_log_level,
} = core.ensureFastOps();
import { primordials } from "ext:core/mod.js";
import { op_bootstrap_log_level } from "ext:core/ops";
const {
Promise,
SafeArrayIterator,