1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-03 17:08:35 -05:00
denoland-deno/tests/unit_node/_fs
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
..
testdata chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
_fs_access_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_appendFile_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
_fs_chmod_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_chown_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_close_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
_fs_copy_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_dir_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_dirent_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_exists_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_fdatasync_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
_fs_fstat_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
_fs_fsync_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
_fs_ftruncate_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
_fs_futimes_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
_fs_handle_test.ts fix(ext/node): add fs.promises.fstat and FileHandle#stat (#26719) 2024-11-25 15:02:38 +09:00
_fs_link_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_lstat_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_mkdir_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_mkdtemp_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_open_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_opendir_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_read_test.ts fix(node/fs): Use correct offset and length in node:fs.read and write (#25049) 2024-08-16 09:48:57 -07:00
_fs_readdir_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_readFile_test.ts fix(node/fs): missing uv error context for readFile (#27011) 2024-11-22 22:42:27 +01:00
_fs_readlink_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_realpath_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_rename_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_rm_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_rmdir_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_stat_test.ts fix(node/fs): add missing stat path argument validation (#27086) 2024-11-27 08:35:39 +01:00
_fs_statfs_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_symlink_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_truncate_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_unlink_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_utimes_test.ts chore: update to std@2024.07.19 (#24715) 2024-07-25 15:30:28 +10:00
_fs_watch_test.ts fix(node/fs/promises): watch should be async iterable (#24805) 2024-07-31 13:07:49 +02:00
_fs_write_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00
_fs_writeFile_test.ts BREAKING(fs): remove Deno.FsFile.prototype.rid (#25499) 2024-09-11 07:19:34 +10:00