| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:849565d2-6791-673a-2386-61b0a18291b6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E2F6:2B6F5F:2661915:3644C33:6AED0F37 |
| html-safe-nonce | 999ab24df163706b7fe8bc4770759800cab540ed62e157bd79de3db87610e0ee |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkY2OjJCNkY1RjoyNjYxOTE1OjM2NDRDMzM6NkFFRDBGMzciLCJ2aXNpdG9yX2lkIjoiMTYzNzk3NDA2MzE3NjI5MDEwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4b8918994ed358f9683d7f5a828a7df1924bc53165fbfca91280fdba01985b3f |
| hovercard-subject-tag | pull_request:4024934861 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/pull/64397/files |
| twitter:image | https://avatars.githubusercontent.com/u/161077982?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/161077982?s=400&v=4 |
| og:image:alt | This PR fixes an issue where passing a Buffer as the prefix to the fs.mkdtemp family of functions incorrectly returned a string, which could mangle non-UTF8 paths.
The options encoding is now safel... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fe1176aafc8029267cb0358377ab58ce39547be3f743f36e1b549da3e6483a68 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 106bd81506ed8ed05cbd358a6a7d969bc8215167 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/nodejs/node/pull/64397/changes#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F64397%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fpull%2F64397%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=nodejs%2Fnode |
| Reload | https://github.com/nodejs/node/pull/64397/changes |
| Reload | https://github.com/nodejs/node/pull/64397/changes |
| Reload | https://github.com/nodejs/node/pull/64397/changes |
| nodejs | https://github.com/nodejs |
| node | https://github.com/nodejs/node |
| Code | https://github.com/nodejs/node |
| Issues655 (655) | https://github.com/nodejs/node/issues |
| Pull requests666 (666) | https://github.com/nodejs/node/pulls |
| Actions | https://github.com/nodejs/node/actions |
| Projects | https://github.com/nodejs/node/projects |
| Security and quality | https://github.com/nodejs/node/security |
| Insights | https://github.com/nodejs/node/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fnodejs%2Fnode%2Fissues%2Fnew%2Fchoose |
| nodejs-github-bot | https://github.com/nodejs-github-bot |
| nodejs:main | https://github.com/nodejs/node/tree/main |
| hamidrezaghavami:fix-fs-mkdtemp-buffer | https://github.com/hamidrezaghavami/node/tree/fix-fs-mkdtemp-buffer |
|
Conversation
61
| https://github.com/nodejs/node/pull/64397 |
|
Commits
20
| https://github.com/nodejs/node/pull/64397/commits |
|
Checks
42
| https://github.com/nodejs/node/pull/64397/checks |
|
Files changed
| https://github.com/nodejs/node/pull/64397/files |
| Please reload this page | https://github.com/nodejs/node/pull/64397/changes |
|
fs: return Buffer from mkdtemp when prefix is a Buffer
| https://github.com/nodejs/node/pull/64397/changes#top |
|
Show all changes
20 commits
| https://github.com/nodejs/node/pull/64397/files |
|
5721674
fs: return Buffer from mkdtemp when prefix is a Buffer
hamidrezaghavami Jul 9, 2026
| https://github.com/nodejs/node/pull/64397/commits/5721674276b16194f3031349a85f8c628017c6c2 |
|
4b03819
test: restore missing mkdtemp async buffer tests
hamidrezaghavami Jul 11, 2026
| https://github.com/nodejs/node/pull/64397/commits/4b0381965609515e3a0511dbd6274b345e9a08cf |
|
5f6fca5
doc: update fs.mkdtemp() return types and history
hamidrezaghavami Jul 12, 2026
| https://github.com/nodejs/node/pull/64397/commits/5f6fca585d81339756cd220cfaf16d0939cd52f8 |
|
d7f0985
doc: physically wrap long lines in fs.md to fix markdown linter
hamidrezaghavami Jul 12, 2026
| https://github.com/nodejs/node/pull/64397/commits/d7f098504929668ee7f28e04f33eb90216b88e50 |
|
f7977f3
doc: fix markdown and yaml line lengths in fs.md
hamidrezaghavami Jul 12, 2026
| https://github.com/nodejs/node/pull/64397/commits/f7977f35d05cad6fa20e7533a7b9aa01242a680d |
|
34885d8
doc: update mkdtempSync and fsPromises.mkdtemp docs
hamidrezaghavami Jul 14, 2026
| https://github.com/nodejs/node/pull/64397/commits/34885d8c57acb00dd34b924d8410659a51404095 |
|
1a8da2a
doc: update disposable mkdtemp return types
hamidrezaghavami Jul 22, 2026
| https://github.com/nodejs/node/pull/64397/commits/1a8da2aff784f82cd8916177b10036494ef5a868 |
|
ca78ff4
doc: wrap lines in fs.md
hamidrezaghavami Jul 23, 2026
| https://github.com/nodejs/node/pull/64397/commits/ca78ff40ab692e06a8b7f9bc579a0b9a175b5dfa |
|
a271708
doc: add changes blocks to mkdtempDisposable functions
hamidrezaghavami Jul 23, 2026
| https://github.com/nodejs/node/pull/64397/commits/a2717082e0e9f7e1662463a4c71bc2ea4c70b027 |
|
728fb8d
doc: update encoding default for mkdtemp
hamidrezaghavami Sep 4, 2026
| https://github.com/nodejs/node/pull/64397/commits/728fb8d831b2189a759a58a89aad8db299ecbdbf |
|
f4664f1
doc: update missing encoding default for fsPromises.mkdtemp
hamidrezaghavami Sep 4, 2026
| https://github.com/nodejs/node/pull/64397/commits/f4664f1b7cf27b9bd33ed3d61105455a7543fe53 |
|
11d4f55
doc: add changes YAML entries for mkdtemp encoding default
hamidrezaghavami Sep 4, 2026
| https://github.com/nodejs/node/pull/64397/commits/11d4f553acd267b7737d784832f6aef700383c2e |
|
0b55cab
Update test/parallel/test-fs-mkdtemp-buffer.js
hamidrezaghavami Sep 4, 2026
| https://github.com/nodejs/node/pull/64397/commits/0b55cab5a71bac07b4a569d7b56c56459f5edd58 |
|
c11bd20
doc: fix YAML changes indentation for mkdtemp encoding default
hamidrezaghavami Sep 4, 2026
| https://github.com/nodejs/node/pull/64397/commits/c11bd20e3f6fa727fc8477802334f8f6116fcced |
|
cccc0fa
doc: simplify version entry format for mkdtemp
hamidrezaghavami Sep 4, 2026
| https://github.com/nodejs/node/pull/64397/commits/cccc0faf3e8f6aa636e32833001e1c1820067ff5 |
|
9d77adc
Update doc/api/fs.md
hamidrezaghavami Sep 4, 2026
| https://github.com/nodejs/node/pull/64397/commits/9d77adc42a285e90f796024cce6d36b7524b9de1 |
|
fe50452
ci: re-run workflows
hamidrezaghavami Sep 5, 2026
| https://github.com/nodejs/node/pull/64397/commits/fe5045248516f29bafe2f9efedcd1eff879886ff |
|
b2b1410
doc: use REPLACEME for remaining mkdtemp versions
hamidrezaghavami Sep 5, 2026
| https://github.com/nodejs/node/pull/64397/commits/b2b1410d7b1be07017fd35b93505201bc057aeaa |
|
c866ac7
doc: add missing YAML
hamidrezaghavami Sep 5, 2026
| https://github.com/nodejs/node/pull/64397/commits/c866ac719fd7a62bca8d4c719427a955aebc9d38 |
|
6bd088c
Update doc/api/fs.md
hamidrezaghavami Sep 5, 2026
| https://github.com/nodejs/node/pull/64397/commits/6bd088cefc664480d5f741724efe73f140bf4b72 |
|
Clear filters
| https://github.com/nodejs/node/pull/64397/files |
| Please reload this page | https://github.com/nodejs/node/pull/64397/changes |
| Please reload this page | https://github.com/nodejs/node/pull/64397/changes |
|
fs.md
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
fs.js
| https://github.com/nodejs/node/pull/64397/changes#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad |
|
promises.js
| https://github.com/nodejs/node/pull/64397/changes#diff-408a6d8eb0a23c586754d4f3af46c8b1927a32d80a6bdfd3bbd87c0f2a012b1a |
|
test-fs-mkdtemp-buffer.js
| https://github.com/nodejs/node/pull/64397/changes#diff-dad3b11b3c244763833120cb01a8bb9789712cb97e1519d94649bd0ec9bedcd6 |
|
test-fs-mkdtemp.js
| https://github.com/nodejs/node/pull/64397/changes#diff-1394a748365d296140c9b39bdb7f7b2a03e8d0dc36f1f6e335d24a935b9ff9bc |
| doc/api/fs.md | https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
View file
| https://github.com/hamidrezaghavami/node/blob/6bd088cefc664480d5f741724efe73f140bf4b72/doc/api/fs.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/64397/{{ revealButtonHref }} |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
| Please reload this page | https://github.com/nodejs/node/pull/64397/changes |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
| Please reload this page | https://github.com/nodejs/node/pull/64397/changes |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-11c13307cb334211e0d11f4e7e43bdc0a34e437779a63a6ff645e62448d973d2 |
| lib/fs.js | https://github.com/nodejs/node/pull/64397/changes#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad |
|
View file
| https://github.com/hamidrezaghavami/node/blob/6bd088cefc664480d5f741724efe73f140bf4b72/lib/fs.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/64397/{{ revealButtonHref }} |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-9b2c5bf36570be7a09ba2597abdf6d9bc2cc1e19866b6674b0cf275c1188dcad |
| lib/internal/fs/promises.js | https://github.com/nodejs/node/pull/64397/changes#diff-408a6d8eb0a23c586754d4f3af46c8b1927a32d80a6bdfd3bbd87c0f2a012b1a |
|
View file
| https://github.com/hamidrezaghavami/node/blob/6bd088cefc664480d5f741724efe73f140bf4b72/lib/internal/fs/promises.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/64397/{{ revealButtonHref }} |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-408a6d8eb0a23c586754d4f3af46c8b1927a32d80a6bdfd3bbd87c0f2a012b1a |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-408a6d8eb0a23c586754d4f3af46c8b1927a32d80a6bdfd3bbd87c0f2a012b1a |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-408a6d8eb0a23c586754d4f3af46c8b1927a32d80a6bdfd3bbd87c0f2a012b1a |
| test/parallel/test-fs-mkdtemp-buffer.js | https://github.com/nodejs/node/pull/64397/changes#diff-dad3b11b3c244763833120cb01a8bb9789712cb97e1519d94649bd0ec9bedcd6 |
|
View file
| https://github.com/hamidrezaghavami/node/blob/6bd088cefc664480d5f741724efe73f140bf4b72/test/parallel/test-fs-mkdtemp-buffer.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/64397/{{ revealButtonHref }} |
| test/parallel/test-fs-mkdtemp.js | https://github.com/nodejs/node/pull/64397/changes#diff-1394a748365d296140c9b39bdb7f7b2a03e8d0dc36f1f6e335d24a935b9ff9bc |
|
View file
| https://github.com/hamidrezaghavami/node/blob/6bd088cefc664480d5f741724efe73f140bf4b72/test/parallel/test-fs-mkdtemp.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/nodejs/node/pull/64397/{{ revealButtonHref }} |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-1394a748365d296140c9b39bdb7f7b2a03e8d0dc36f1f6e335d24a935b9ff9bc |
|
| https://github.com/nodejs/node/pull/64397/changes#diff-1394a748365d296140c9b39bdb7f7b2a03e8d0dc36f1f6e335d24a935b9ff9bc |
| Please reload this page | https://github.com/nodejs/node/pull/64397/changes |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |