From 462ce14a78b4109143918878042b9f552083c82e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 26 Jan 2024 23:46:46 +0100 Subject: 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. --- ext/web/08_text_encoding.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/web/08_text_encoding.js') diff --git a/ext/web/08_text_encoding.js b/ext/web/08_text_encoding.js index 5d41e4cd9..1b777d91b 100644 --- a/ext/web/08_text_encoding.js +++ b/ext/web/08_text_encoding.js @@ -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, -- cgit v1.2.3