summaryrefslogtreecommitdiff
path: root/ext/web/09_file.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-26 23:46:46 +0100
committerGitHub <noreply@github.com>2024-01-26 23:46:46 +0100
commit462ce14a78b4109143918878042b9f552083c82e (patch)
tree64c65d91557159efccb40117e340e7abbb08d75d /ext/web/09_file.js
parentd889f996577a6345d08c4ce71063be6d765fb5ec (diff)
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.
Diffstat (limited to 'ext/web/09_file.js')
-rw-r--r--ext/web/09_file.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/web/09_file.js b/ext/web/09_file.js
index 1b35b6aa4..023886693 100644
--- a/ext/web/09_file.js
+++ b/ext/web/09_file.js
@@ -17,7 +17,7 @@ const {
isDataView,
isTypedArray,
} = core;
-const {
+import {
op_blob_create_object_url,
op_blob_create_part,
op_blob_from_object_url,
@@ -25,7 +25,7 @@ const {
op_blob_remove_part,
op_blob_revoke_object_url,
op_blob_slice_part,
-} = core.ensureFastOps();
+} from "ext:core/ops";
const {
ArrayBufferIsView,
ArrayBufferPrototypeGetByteLength,