-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
What is the problem this feature will solve?
That issue is still not fixed in LTS. There are no guarantees that the bug will not appear in Current again.
What is the feature you are proposing to solve the problem?
Just add tests for fs functions that will work with names contain surrogate pairs (emoji, but not only):
import fs from "node:fs/promises";
await fs.writeFile("🚀🔥🛸.txt", "");
await fs.lstat("🚀🔥🛸.txt");
Don't release Node.js while they fail.
What alternatives have you considered?
Something like this:
https://github.com/oven-sh/bun/blob/3221bfeeb7036e76872c1a602aa5cd7c83ed3b4a/test/js/node/fs/fs.test.ts#L681-L701
RnbsovRnbsov
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.