diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-26 23:46:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 23:46:46 +0100 |
commit | 462ce14a78b4109143918878042b9f552083c82e (patch) | |
tree | 64c65d91557159efccb40117e340e7abbb08d75d /ext/crypto/00_crypto.js | |
parent | d889f996577a6345d08c4ce71063be6d765fb5ec (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/crypto/00_crypto.js')
-rw-r--r-- | ext/crypto/00_crypto.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js index 18e51fbd4..8f9c431ed 100644 --- a/ext/crypto/00_crypto.js +++ b/ext/crypto/00_crypto.js @@ -12,7 +12,7 @@ const { isTypedArray, isDataView, } = core; -const { +import { op_crypto_base64url_decode, op_crypto_base64url_encode, op_crypto_decrypt, @@ -42,7 +42,7 @@ const { op_crypto_verify_ed25519, op_crypto_verify_key, op_crypto_wrap_key, -} = core.ensureFastOps(); +} from "ext:core/ops"; const { ArrayBufferIsView, ArrayBufferPrototypeGetByteLength, |