1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/ext
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
..
broadcast_channel chore: forward v1.43.3 release commit to main (#23771) 2024-05-10 19:20:34 -04:00
cache chore: forward v1.43.3 release commit to main (#23771) 2024-05-10 19:20:34 -04:00
canvas chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
console fix(runtime): output to stderr with colors if a tty and stdout is piped (#23813) 2024-05-14 17:32:09 -04:00
cron chore: forward v1.43.3 release commit to main (#23771) 2024-05-10 19:20:34 -04:00
crypto chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
fetch chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
ffi chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
fs chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
http chore: forward v1.43.3 release commit to main (#23771) 2024-05-10 19:20:34 -04:00
io chore: forward v1.43.3 release commit to main (#23771) 2024-05-10 19:20:34 -04:00
kv chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
napi chore: forward v1.43.3 release commit to main (#23771) 2024-05-10 19:20:34 -04:00
net chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
node fix(ext/node): homedir() getpwuid/SHGetKnownFolderPath fallback (#23841) 2024-05-16 10:52:40 +05:30
tls chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
url chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
web fix(ext/web): update ongoing promise in async iterator return() method (#23642) 2024-05-13 23:34:25 +00:00
webgpu chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00
webidl chore: forward v1.43.3 release commit to main (#23771) 2024-05-10 19:20:34 -04:00
websocket chore: forward v1.43.3 release commit to main (#23771) 2024-05-10 19:20:34 -04:00
webstorage chore: cleanup unused dependencies (#23787) 2024-05-13 14:23:39 -07:00