chore: remove node 16 compatibility patches and comments#5789
Merged
chenjiahan merged 1 commit intomainfrom Aug 7, 2025
Merged
chore: remove node 16 compatibility patches and comments#5789chenjiahan merged 1 commit intomainfrom
chenjiahan merged 1 commit intomainfrom
Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR removes Node 16 compatibility patches and references as the project no longer requires compatibility with that version. The changes clean up legacy workarounds that were put in place to support Node 16.
- Removes patches for the 'open' and 'wsl-utils' dependencies that were needed for Node 16 compatibility
- Deletes patch files that contained workarounds for Node 16 import issues
- Updates comments to reflect the new minimum Node version (18)
Reviewed Changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Removes patch entries for open@10.2.0 and wsl-utils@0.1.0 |
| patches/wsl-utils@0.1.0.patch | Deletes the entire patch file |
| patches/open@10.2.0.patch | Deletes the entire patch file |
| packages/plugin-sass/prebundle.config.mjs | Removes Node 16 compatibility comment |
| packages/plugin-less/prebundle.config.mjs | Removes Node 16 compatibility comment |
| packages/core/src/helpers/index.ts | Updates comment to reference Node 18 instead of Node 16 |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
This PR removes the custom patches for the 'open' and 'wsl-utils' dependencies, since compatibility with Node 16 is no longer required.
Related Links
Checklist