mirror of
https://github.com/denoland/deno.git
synced 2025-08-31 15:57:53 +00:00
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:
parent
d889f99657
commit
462ce14a78
41 changed files with 93 additions and 156 deletions
|
@ -15,14 +15,14 @@ const {
|
|||
isSharedArrayBuffer,
|
||||
isTypedArray,
|
||||
} = core;
|
||||
const {
|
||||
import {
|
||||
op_encoding_decode,
|
||||
op_encoding_decode_single,
|
||||
op_encoding_decode_utf8,
|
||||
op_encoding_encode_into,
|
||||
op_encoding_new_decoder,
|
||||
op_encoding_normalize_label,
|
||||
} = core.ensureFastOps();
|
||||
} from "ext:core/ops";
|
||||
const {
|
||||
DataViewPrototypeGetBuffer,
|
||||
DataViewPrototypeGetByteLength,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue