GeezerVison is showing github.com — fs.mkdtemp should return a Buffer when prefix argument is a Buffer · Issue #58795 · nodejs/node
fs.mkdtemp should return a Buffer when prefix argument is a Buffer #58795
Labels
fsIssues and PRs related to file-system APIs and the fs module. Description
fs.mkdtemp and friends take a prefix argument, which can be a Buffer encoding a non-UTF8 path. But the APIs always return a string, which can mangle the encoding. So these should return a Buffer in that case. See #58516 (comment).
Reacted by Ethan Arrowood
Activity
added
fsIssues and PRs related to file-system APIs and the fs module. on Jun 29, 2025github-actions commented on Apr 19, 2026
This issue has been marked as stale due to 210 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
added
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure. on Apr 19, 2026bakkot commented on Apr 20, 2026
ContributorAuthor
More actions
removed
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure. on Apr 21, 2026github-actions commented on Jul 20, 2026
This issue has been marked as stale due to 90 days of inactivity.
It will be automatically closed in 30 days if no further activity occurs. If this is still relevant, please leave a comment or update it to keep it open.
added
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure. on Jul 20, 2026bakkot commented on Jul 20, 2026
ContributorAuthor
More actions
removed
staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure. on Jul 21, 2026
Metadata
Metadata
fsIssues and PRs related to file-system APIs and the fs module. Development
No branches or pull requestsIssue actions