diff options
author | snek <the@snek.dev> | 2024-05-21 15:50:59 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-21 15:50:59 -0700 |
commit | 8f2d17140468512372ccd3aeebb0d505c607b977 (patch) | |
tree | b8a4e2d10a0cd3121d637e399b111b0c3dd8b32a /ext/node/lib.rs | |
parent | db82e8b557c9836481618a73cec7c014903ff256 (diff) |
feat(node): buffer isUtf8/isAscii (#23928)
Fixes: https://github.com/denoland/deno/issues/23657
Implements `isUtf8` and `isAscii` as ops.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index b4eeb71c2..2b31f704f 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -186,6 +186,8 @@ deno_core::extension!(deno_node, deps = [ deno_io, deno_fs ], parameters = [P: NodePermissions], ops = [ + ops::buffer::op_is_ascii, + ops::buffer::op_is_utf8, ops::crypto::op_node_create_decipheriv, ops::crypto::op_node_cipheriv_encrypt, ops::crypto::op_node_cipheriv_final, |