diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2024-02-21 13:11:04 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 20:11:04 +0000 |
| commit | 76ebf567e25d0b7f3ed365dd2da336a9b5768fad (patch) | |
| tree | cbe6963ca696d6e37661bc08495a7d3a89903ba7 /ext/fs/Cargo.toml | |
| parent | a2c1cc5a1a8513b9f6434de2764602ae97e6d8b3 (diff) | |
fix(ext/fs): make errors in tempfile creation clearer (#22498)
When using a prefix or suffix containing an invalid filename character,
it's not entirely clear where the errors come from. We make these errors
more consistent across platforms.
In addition, all permission prompts for tempfile and tempdir were
printing the same API name.
We also take the opportunity to make the tempfile random space larger by
2x (using a base32-encoded u64 rather than a hex-encoded u32).
Diffstat (limited to 'ext/fs/Cargo.toml')
| -rw-r--r-- | ext/fs/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml index 81dab267f..8bdc5cf38 100644 --- a/ext/fs/Cargo.toml +++ b/ext/fs/Cargo.toml @@ -18,6 +18,7 @@ sync_fs = [] [dependencies] async-trait.workspace = true +base32.workspace = true deno_core.workspace = true deno_io.workspace = true filetime.workspace = true |
