Skip to content

Remove experimental for node:process#4960

Merged
guybedford merged 3 commits intomainfrom
gbedford/process-unflag
Sep 3, 2025
Merged

Remove experimental for node:process#4960
guybedford merged 3 commits intomainfrom
gbedford/process-unflag

Conversation

@guybedford
Copy link
Copy Markdown
Contributor

@guybedford guybedford commented Sep 2, 2025

Removes experimental for node:process and sets a compat date of 15 September.

In addition, also relaxes flag conditions:

  • Adds a test for using process without FS - that while the virtual filesystem still is used for its representation of Stdout and Stderr file descriptors, process.stdout.write() can be used when disabling FS.
  • Removes the impliedBy for NodeJS compat v2 for process. I misunderstood nodejs compat flag gating here that process can only be physically obtained when compat / compat v2 is enabled, so it makes sense to align with the other builtins rather, and without requiring compat v2.

Also updates the reported Node.js version to 22.19.0.

@guybedford guybedford requested review from a team as code owners September 2, 2025 21:22
@guybedford guybedford requested a review from a team September 2, 2025 21:22
@guybedford guybedford requested a review from a team as a code owner September 2, 2025 21:22
Copy link
Copy Markdown
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

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

LGTM!

I'll work on updating the unenv preset to use process v2 (when enabled) on Monday so that we process v2 can be enabled from Tuesday release or whenever a workerd release containing this PR is available after Tuesday.

@guybedford guybedford merged commit e3b3311 into main Sep 3, 2025
21 of 23 checks passed
@guybedford guybedford deleted the gbedford/process-unflag branch September 3, 2025 19:10
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.

4 participants