1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/tests/unit_node
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
..
_fs fix(ext/node): cp into non-existent parent directory (#23469) 2024-04-20 11:41:27 +00:00
crypto fix(ext/node): exporting rsa public keys (#23596) 2024-04-29 19:16:38 +05:30
internal chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
testdata fix(ext/node): worker_threads ESM handling (#22841) 2024-03-20 09:12:22 +05:30
_test_utils.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
assertion_error_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
async_hooks_test.ts fix(node): stub AsyncResource.emitDestroy() (#23802) 2024-05-15 00:42:43 +02:00
buffer_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
child_process_test.ts fix(ext/node): support stdin: "inherit" in node:child_process (#23110) 2024-03-28 19:44:42 +05:30
console_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
dgram_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
domain_test.ts fix(ext/node): polyfill node:domain module (#23088) 2024-04-03 21:37:10 +02:00
events_test.ts fix(ext/node): implement EventEmitterAsyncResource (#22994) 2024-03-20 11:20:18 +05:30
fs_test.ts fix(ext/node): out-of-order writes of fs.createWriteStream (#23244) 2024-04-08 12:47:34 +09:00
http2_test.ts fix(ext/node): http2.createServer (#22708) 2024-03-07 19:28:46 +05:30
http_test.ts chore: fix flaky '[node/http] send request with non-chunked body' test (#23818) 2024-05-15 08:37:46 -04:00
module_test.ts fix(ext/node): Add "module" to builtinsModule (#23242) 2024-04-05 11:38:00 +00:00
net_test.ts fix(ext/node): Correctly send ALPN on node TLS connections (#23434) 2024-04-18 09:37:47 -06:00
os_test.ts fix(ext/node): homedir() getpwuid/SHGetKnownFolderPath fallback (#23841) 2024-05-16 10:52:40 +05:30
path_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
perf_hooks_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
process_test.ts fix(ext/node): export geteuid from node:process (#23840) 2024-05-16 10:32:11 +05:30
punycode_test.ts feat: TypeScript 5.4 (#23086) 2024-03-26 18:52:57 -04:00
querystring_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
readline_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
repl_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
stream_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
string_decoder_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
timers_test.ts fix(ext/node): spread args in setImmediate (#22998) 2024-03-20 07:52:50 +00:00
tls_test.ts fix(ext/node): Correctly send ALPN on node TLS connections (#23434) 2024-04-18 09:37:47 -06:00
tty_test.ts chore: use @std import instead of @test_util/std (#22398) 2024-02-13 02:05:10 +00:00
util_test.ts fix: util.parseArgs() missing node:process import (#22405) 2024-02-18 07:30:27 -07:00
v8_test.ts fix(node): implement v8 serialize and deserialize (#22975) 2024-03-18 13:48:55 +05:30
vm_test.ts fix(ext/node): promise rejection in VM contexts (#23305) 2024-04-13 17:02:07 +05:30
worker_threads_test.ts fix(node): wrong worker_threads.terminate() return value (#23803) 2024-05-15 17:08:25 +02:00
zlib_test.ts chore: ignore flaky brotli test (#23020) 2024-03-21 17:01:11 +00:00