Skip to content

chore: Bump TypeScript to 5.8 - #4141

Merged
FrederikBolding merged 13 commits into
mainfrom
fb/typescript-bump
Oct 8, 2026
Merged

FrederikBolding merged 13 commits into
mainfrom
fb/typescript-bump

Conversation

@FrederikBolding

@FrederikBolding FrederikBolding commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Bump TypeScript to ~5.8.3 and use NodeNext. This should unblock using ESM packages from core.

Also fixes a couple of type issues after the TypeScript bump and adds a feature to the fetch Response that we were missing.

@socket-security

socket-security Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedtypescript@​5.3.3 ⏵ 5.8.31001009010090

View full report

@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.65%. Comparing base (f42b562) to head (a0245d6).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4141      +/-   ##
==========================================
+ Coverage   98.60%   98.65%   +0.05%     
==========================================
  Files         429      429              
  Lines       12513    12522       +9     
  Branches     1977     1979       +2     
==========================================
+ Hits        12338    12354      +16     
+ Misses        175      168       -7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@FrederikBolding
FrederikBolding marked this pull request as ready for review October 8, 2026 10:10
@FrederikBolding
FrederikBolding requested a review from a team as a code owner October 8, 2026 10:10
<Input
name={component.name}
type={component.inputType}
type={component.inputType ?? InputType.Text}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is also the default in the clients, so we may as well now that not having a default is a type error.

);
}

async bytes(): Promise<Uint8Array> {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this related to this PR? 🤔

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes. It was added to Response in TypeScript and so required to not have a type error for implements Response.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

(and a good reminder for something we should have added 😅 )

@FrederikBolding
FrederikBolding added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit 29a4b99 Oct 8, 2026
129 checks passed
@FrederikBolding
FrederikBolding deleted the fb/typescript-bump branch October 8, 2026 10:34
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