Skip to content

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

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

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 Oct 3, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 7.0.2.

Release notes

Sourced from typescript's releases.

TypeScript 7.0.2

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/

This tag was originally released at: https://github.com/microsoft/typescript-go/releases/tag/typescript%2Fv7.0.2

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.1 RC

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
  • 1e4744d Merge branch 'main' into ts7-release
  • a5a219cmicrosoft/typescript-go#4558
  • ecfe30d Update status localization
  • 5de25b5 Hide executable name in TypeScript status
  • d7ce74a Show bundled TypeScript version for packaged servers
  • 29be66a Correct TS 7 release version to 7.0.2
  • ed2bd1b Merge branch 'main' into ts7-release
  • 8873075 Bump the github-actions group across 1 directory with 3 updates (microsoft/ty...
  • 9427131 Set up stable / nightly extension split, other prep (microsoft/typescript-go#...
  • d4eaca5microsoft/typescript-go#4549
  • Additional commits viewable in compare view
Maintainer changes

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


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.9.3...v7.0.2)

---
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 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 3, 2026
@MongLong0214

Copy link
Copy Markdown
Owner

Closing this, with what the evaluation found so it does not have to be repeated.

As it stands the bump does not typecheck. npm run typecheck against this
branch reports 636 errors, all of the same shape:

src/cli.ts(67,40): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? ...
src/mcp/server.ts(1112,3): error TS2552: Cannot find name 'console'. Did you mean 'Console'?

It is not a @types/node version problem: the identical 636 errors appear with
@types/node 22.20.4 and with 26.6.3. TypeScript 7 does not pick up the
@types/* packages this tsconfig.json relied on being included automatically.

It is adoptable. Adding "types": ["node"] to compilerOptions takes it to
0 errors.

But it is not a dev-dependency bump. typescript@7 is the native compiler,
shipped as platform-specific optional dependencies
(@typescript/typescript-darwin-arm64 and nineteen siblings), and tsc is not
only a gate here — it emits dist/*.js and dist/*.d.ts, which
installer/canonical-artifact.json pins and users install. Swapping the
compiler implementation changes the bytes that ship.

Two things follow, and neither belongs in a monthly pull request:

  1. The canonical builder runs linux/amd64 in Docker, so the lockfile has to
    carry that platform's optional dependency metadata — the exact class of
    problem fa9909a ("preserve optional Linux dependency metadata") fixed for a
    different package.
  2. The TS7 emit should be compared against the TS5 output before it becomes the
    artifact the install script hands out.

So this wants its own change: the tsconfig.json edit, a canonical rebuild
diffed against the current one, and a deliberate decision to ship Go-compiler
emit. typescript stays on ^5.7.0 until then. Dependabot will open a fresh
pull request when a newer 7.x lands, and this evaluation will still hold.

@dependabot @github

dependabot Bot commented on behalf of github Oct 3, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/typescript-7.0.2 branch October 3, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant