1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
denoland-deno/ext/node/ops
Divy Srivastava bba553bea5
fix(ext/node): homedir() getpwuid/SHGetKnownFolderPath fallback (#23841)
**Unix**: Returns the value of the HOME environment variable if it is
set even if it is an empty string. Otherwise, it tries to determine the
home directory by invoking the
[getpwuid_r](https://linux.die.net/man/3/getpwuid_r) function with the
UID of the current user.

**Windows**: Returns the value of the USERPROFILE environment variable
if it is set and it is not an empty string. Otherwise, it tries to
determine the home directory by invoking the
[SHGetKnownFolderPath](https://learn.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath)
function with
[FOLDERID_Profile](https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid).

Fixes https://github.com/denoland/deno/issues/23824
2024-05-16 10:52:40 +05:30
..
crypto fix(ext/node): exporting rsa public keys (#23596) 2024-04-29 19:16:38 +05:30
os fix(ext/node): homedir() getpwuid/SHGetKnownFolderPath fallback (#23841) 2024-05-16 10:52:40 +05:30
zlib fix(ext/node): flush brotli decompression stream (#22856) 2024-03-12 17:23:31 +05:30
fs.rs fix(node): add nul byte to statfs path on windows (#22905) 2024-03-13 20:57:34 +00:00
http.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
http2.rs fix(node): require of pkg json imports was broken (#22821) 2024-03-09 10:21:31 -05:00
idna.rs fix(ext/node): Match punycode module behavior to node (#22847) 2024-03-11 15:49:43 -07:00
ipc.rs chore: enable clippy unused_async rule (#22834) 2024-03-11 23:48:00 -04:00
mod.rs fix(ext/node): implement process.kill in Rust (#23130) 2024-04-20 18:55:07 +05:30
process.rs fix(ext/node): implement process.kill in Rust (#23130) 2024-04-20 18:55:07 +05:30
require.rs feat(runtime): Allow embedders to perform additional access checks on file open (#23208) 2024-04-19 18:12:03 -06:00
util.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
v8.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
vm.rs fix(ext/node): node:vm contexts (#23202) 2024-04-09 21:24:25 +05:30
vm_internal.rs fix(ext/node): promise rejection in VM contexts (#23305) 2024-04-13 17:02:07 +05:30
winerror.rs chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
worker_threads.rs fix(ext/node): worker_threads ESM handling (#22841) 2024-03-20 09:12:22 +05:30