Skip to content

chore(deps): bump typescript from 5.9.3 to 7.0.2 - #49

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2
Open

chore(deps): bump typescript from 5.9.3 to 7.0.2#49
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 7.0.2.

Release notes

Sourced from typescript's releases.

TypeScript 6.0.3

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.


@dependabot @github

dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@changeset-bot

changeset-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 45ca248

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security

socket-security Bot commented Jul 13, 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.9.3 ⏵ 7.0.29910089 -1100100 +10

View full report

@cursor cursor Bot 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.

Risk: medium. Not approving: the eslint check failed on this TypeScript 5.9→7.0 bump and human review is needed. Cursor Bugbot was not present on this PR. Assigned yakimoto for review.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Router and Approver

@cursor
cursor Bot requested a review from yakimoto July 13, 2026 03:07
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from fae5ff9 to dd5044e Compare August 2, 2026 00:35
@greptile-apps

greptile-apps Bot commented Aug 2, 2026

Copy link
Copy Markdown

PR author is in the excluded authors list.

@devin-ai-integration devin-ai-integration Bot 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.

Devin Review found 2 potential issues.

Open in Devin Review

Comment thread package.json
"eslint": "^9.39.4",
"tsup": "^8.0.0",
"typescript": "^5.9.0",
"typescript": "^7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 Lint tooling is incompatible with the new TypeScript version, breaking installs and checks

The project's TypeScript version is raised to 7.x ("typescript": "^7.0.2" at package.json:59) while the linting toolchain still declares support only up to 6.x, so installing dependencies and running the lint/type gates can fail.

Impact: Contributors and CI can hit dependency-resolution errors or a broken lint step until the linting toolchain is upgraded too.

Peer dependency range mismatch between typescript-eslint 8.60.1 and typescript 7.0.2

package-lock.json records typescript-eslint@8.60.1 (and its @typescript-eslint/* sub-packages, e.g. parser, typescript-estree) with peerDependencies: { "typescript": ">=4.8.4 <6.1.0" }, while node_modules/typescript is now resolved to 7.0.2. npm install without --legacy-peer-deps reports ERESOLVE, and even when installed, the type-aware ESLint config (eslint.config.js) runs against an unsupported compiler version. npm run lint (package.json:21) uses --max-warnings 0, so any tooling-level failure blocks the required gate.

Additionally, tsup@8.5.1 declares typescript: ">=4.5.0", but the --dts flow (package.json:19) relies on the TypeScript JS compiler API; TS 7 ships as native binaries, so declaration emit should be verified before merging.

Prompt for agents
The devDependency typescript was bumped from ^5.9.0 to ^7.0.2 in package.json, but typescript-eslint@8.60.1 (and all @typescript-eslint/* packages in package-lock.json) declare a peer dependency of typescript >=4.8.4 <6.1.0. This causes npm ERESOLVE failures on a clean install and leaves the type-aware lint config running against an unsupported compiler. Either hold the bump until typescript-eslint publishes a version supporting TypeScript 7, or upgrade typescript-eslint in the same PR and verify `npm ci`, `npm run lint`, `npm run type-check`, and `npm run build` (which uses tsup --dts, relying on the TypeScript JS API that TS 7 native builds may not provide) all succeed.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread package.json
"eslint": "^9.39.4",
"tsup": "^8.0.0",
"typescript": "^5.9.0",
"typescript": "^7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔍 Major compiler bump may interact with tsconfig options and declaration emit

This is a major-version compiler bump (5.x -> 7.x) via a dependency bot. Beyond the peer-range conflict already reported, the repo's tsconfig.json uses moduleResolution: "Bundler", esModuleInterop, and declaration: true with noEmit: true, and the build relies on tsup --dts (package.json:19) for the .d.ts files that types/exports advertise. A TypeScript 7 native compiler can differ in supported options and does not expose the same JS compiler API surface, so reviewers should confirm npm run type-check and npm run build produce identical dist/index.d.ts / dist/cli/index.js output before merging.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from dd5044e to 45ca248 Compare August 2, 2026 04:26

@devin-ai-integration devin-ai-integration Bot 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.

Devin Review found 2 new potential issues.

Open in Devin Review

Comment thread package.json
"eslint": "^9.39.4",
"tsup": "^8.0.0",
"typescript": "^5.9.0",
"typescript": "^7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔍 CHANGELOG Unreleased not updated for a major toolchain bump

AGENTS.md requires updating CHANGELOG.md (Unreleased) for user-facing changes. This is a devDependency-only bump so it is arguably not user-facing, but a TypeScript major version changes the emitted dist/*.d.ts that consumers actually consume (the build runs tsup --dts). Worth a maintainer decision on whether an Unreleased entry is required here.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Comment thread package.json
"eslint": "^9.39.4",
"tsup": "^8.0.0",
"typescript": "^5.9.0",
"typescript": "^7.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔍 Lockfile grew a duplicated typescript-eslint subtree

The lockfile diff adds a full nested copy of the typescript-eslint dependency tree under node_modules/typescript-eslint/node_modules/... (package-lock.json:2948-3130), while top-level @typescript-eslint/scope-manager|types|visitor-keys remain at 8.60.1. Duplicated trees like this typically indicate the resolver could not satisfy constraints flatly; it is worth confirming the lockfile was regenerated without --force/--legacy-peer-deps before merging, since npm ci in .github/workflows/lint.yml installs strictly from it.

Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

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.

0 participants