1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-04 17:18:23 -05:00
denoland-deno/tests/unit_node
Marvin Hagemeister 927352bd4e
fix(node/fs): add missing stat path argument validation (#27086)
We didn't validate the `path` argument that's passed to `fs.stat()` and
`fs.statSync()` which lead to wrong errors being thrown. The
`@rollup/plugin-node-resolve` code calls it with `undefined` quite a lot
which lead to `nitro` and `nuxt` failing.

Fixes https://github.com/denoland/deno/issues/26700

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-11-27 08:35:39 +01:00
..
_fs fix(node/fs): add missing stat path argument validation (#27086) 2024-11-27 08:35:39 +01:00
crypto fix(node/crypto): support promisify on generateKeyPair (#26913) 2024-11-19 01:39:40 +01:00
internal chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
testdata fix(ext/crypto): support md4 digest algorithm (#25656) 2024-09-16 11:04:40 +00:00
_test_utils.ts test: remove usage of --unstable flag (#25549) 2024-09-10 11:28:59 +00:00
assert_test.ts fix(node/assert): throws not checking error instance (#24466) 2024-07-08 21:28:39 +02:00
assertion_error_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
async_hooks_test.ts fix: add test ensuring als works across dynamic import (#25593) 2024-09-12 05:42:26 +00:00
buffer_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
child_process_test.ts fix(child_process): map node --no-warnings flag to --quiet (#26288) 2024-10-16 18:25:25 +00:00
cluster_test.ts fix(node/cluster): improve stubs to make log4js work (#25146) 2024-08-26 11:19:58 +02:00
console_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
dgram_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
domain_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
events_test.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
fetch_test.ts feat(fetch): accept async iterables for body (#26882) 2024-11-15 15:54:28 +01:00
fs_test.ts fix(node/fs): add missing stat path argument validation (#27086) 2024-11-27 08:35:39 +01:00
http2_test.ts fix(ext/node): add autoSelectFamily option to net.createConnection (#26661) 2024-11-12 19:54:47 +09:00
http_test.ts Revert "fix(ext/node): fix dns.lookup result ordering (#26264)" (#26621) 2024-10-29 18:41:16 +01:00
inspector_test.ts fix(node/inspector): Session constructor should not throw (#25041) 2024-08-14 13:34:24 +00:00
module_test.ts feat(check): turn on useUnknownInCatchVariables (#25465) 2024-09-05 15:22:31 +02:00
net_test.ts feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
os_test.ts feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
path_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
perf_hooks_test.ts feat(ext/node): perf_hooks.monitorEventLoopDelay() (#26905) 2024-11-19 16:49:25 +05:30
process_test.ts fix(ext/node): process.getBuiltinModule (#26833) 2024-11-13 08:02:09 +05:30
punycode_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
querystring_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
readline_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
repl_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
stream_test.ts feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
string_decoder_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
timers_test.ts chore(node/tests): increase tolerance of timers test on CI (#27077) 2024-11-26 09:19:13 -05:00
tls_test.ts Revert "fix(ext/node): fix dns.lookup result ordering (#26264)" (#26621) 2024-10-29 18:41:16 +01:00
tty_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
util_test.ts fix(node/util): support array formats in styleText (#26507) 2024-10-24 11:46:51 +02:00
v8_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
vm_test.ts feat: vm rewrite (#24596) 2024-08-06 12:52:53 +00:00
wasi_test.ts fix(ext/node): register node:wasi built-in (#25134) 2024-08-22 09:03:52 +05:30
worker_threads_test.ts fix(node): fix worker_threads issues blocking Angular support (#26024) 2024-10-04 09:26:32 -07:00
zlib_test.ts fix(ext/node): zlib.crc32() (#26856) 2024-11-13 20:07:45 +05:30