Skip to content

chore(deps): upgrade TypeScript 4.4.4 → 4.7.4 - #3020

Merged
kopernic-pl merged 1 commit into
stoplightio:developfrom
kopernic-pl:chore/typescript-4-upgrade
Jul 31, 2026
Merged

chore(deps): upgrade TypeScript 4.4.4 → 4.7.4#3020
kopernic-pl merged 1 commit into
stoplightio:developfrom
kopernic-pl:chore/typescript-4-upgrade

Conversation

@kopernic-pl

Copy link
Copy Markdown
Contributor

Summary

  • Bumps typescript from 4.4.4 to 4.7.4 (latest 4.7.x patch, exact pin)
  • No source code changes required — TypeScript 4.7 introduces no breaking changes that affect this codebase
  • Keeps TypeScript on the 4.x line intentionally (not upgrading to 5.x)

Motivation

TypeScript 4.4.4 is over 3 years old. 4.7.4 is also the minimum version required by @typescript-eslint v8, keeping the door open for a future ESLint 10 upgrade without a toolchain conflict.

Test plan

  • yarn build — passes with no errors
  • yarn test.jest — 199/200 suites pass (1 pre-existing unrelated failure in ruleset-migrator fixture, present on develop before this change)

🤖 Generated with Claude Code

Bumps to the latest 4.7.x patch. No source changes required — TypeScript 4.7
does not introduce the in-operator narrowing or AggregateError.errors typing
breaking changes that appeared in later 4.x versions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kopernic-pl
kopernic-pl requested a review from a team as a code owner July 31, 2026 09:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s pinned TypeScript version to a newer 4.7.x release to modernize the toolchain while staying on the TypeScript 4.x line.

Changes:

  • Bump typescript devDependency from 4.4.4 to 4.7.4 in package.json.
  • Update yarn.lock entries to include TypeScript 4.7.4 resolutions.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Pins TypeScript devDependency to 4.7.4.
yarn.lock Adds TypeScript 4.7.4 lock entries (but still retains a 4.4.4 resolution for ^4.4.3).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tekyu
tekyu self-requested a review July 31, 2026 09:17
@kopernic-pl
kopernic-pl merged commit f54eba6 into stoplightio:develop Jul 31, 2026
8 checks passed
@kopernic-pl
kopernic-pl deleted the chore/typescript-4-upgrade branch July 31, 2026 09:25
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