Skip to content

fix: first node version that supports fs.mkdtempDisposable#720

Open
Kiwow wants to merge 1 commit into
e18e:mainfrom
Kiwow:patch-1
Open

fix: first node version that supports fs.mkdtempDisposable#720
Kiwow wants to merge 1 commit into
e18e:mainfrom
Kiwow:patch-1

Conversation

@Kiwow

@Kiwow Kiwow commented Jun 8, 2026

Copy link
Copy Markdown

📚 Description

According to the Node docs, mkdtempDisposable was added in Node 24.4.0, not 20.4.0 as we say currently.

This also tracks with the fact that Node only added support for the explicit resource managenment and the using keyword in version 24.

According to [the docs](https://nodejs.org/api/fs.html#fspromisesmkdtempdisposableprefix-options), `mkdtempDisposable` was added in Node 24.4.0, not 20.4.0 as we say currently.

This also tracks with the fact that Node added support for the explicit resource managenment and the `using` keyword in version 24

@gameroman gameroman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like that was my typo 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants