Skip to content

Target ES2022 for Node.js packages - #5931

Merged
Bharat Middha (bmiddha) merged 3 commits into
mainfrom
es2022-baseline
Aug 18, 2026
Merged

Target ES2022 for Node.js packages#5931
Bharat Middha (bmiddha) merged 3 commits into
mainfrom
es2022-baseline

Conversation

@bmiddha

Copy link
Copy Markdown
Member

Summary

  • Raise the local and decoupled Node.js rigs to the ES2022 target and library baseline
  • Remove stale package-level ES2019 and ES2020 overrides
  • Preserve BaseRushAction property narrowing under native class field semantics

Stacked on #5930.

Validation

  • Built the Rush repository and representative Node.js rig consumers
  • rush change --verify --no-fetch

Base automatically changed from node20-engines to main August 18, 2026 04:38
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8ebd5bf2-c44b-42d5-be25-e7936d4b0a14
Keep Webpack 4 fixtures on ES2019 because its parser cannot consume
nullish coalescing emitted by ES2022 targets.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8ebd5bf2-c44b-42d5-be25-e7936d4b0a14
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 8ebd5bf2-c44b-42d5-be25-e7936d4b0a14
@bmiddha
Bharat Middha (bmiddha) merged commit a610e85 into main Aug 18, 2026
10 checks passed
@github-project-automation github-project-automation Bot moved this from Needs triage to Closed in Bug Triage Aug 18, 2026
@bmiddha
Bharat Middha (bmiddha) deleted the es2022-baseline branch August 18, 2026 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants