diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-10-31 22:18:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 22:18:33 -0700 |
commit | 6c6bbeb97495e8c3e8eac7bea27bf836f02b575f (patch) | |
tree | c64933f984e01d3aacae6ee03a13a1a78db45392 /ext/node/lib.rs | |
parent | 6d44952d4daaaab8ed9ec82212d2256c058eb05d (diff) |
fix(node): Implement `os.userInfo` properly, add missing `toPrimitive` (#24702)
Fixes the implementation of `os.userInfo`, and adds a missing
`toPrimitive` for `tmpdir`. This allows us to enable the corresponding
node_compat test.
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index 32624f38b..b34bea815 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -348,7 +348,7 @@ deno_core::extension!(deno_node, ops::http2::op_http2_send_response, ops::os::op_node_os_get_priority<P>, ops::os::op_node_os_set_priority<P>, - ops::os::op_node_os_username<P>, + ops::os::op_node_os_user_info<P>, ops::os::op_geteuid<P>, ops::os::op_getegid<P>, ops::os::op_cpus<P>, |