Skip to content

chore(deps-dev): bump typescript from 4.9.5 to 7.0.2 - #1901

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2
Open

chore(deps-dev): bump typescript from 4.9.5 to 7.0.2#1901
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 6, 2026

Copy link
Copy Markdown
Contributor

Bumps typescript from 4.9.5 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:

TypeScript 5.9.3

Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.

For release notes, check out the release announcement

... (truncated)

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 dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 6, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch 3 times, most recently from 1244bee to 85fa420 Compare August 20, 2026 02:15
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch 3 times, most recently from c184004 to 071da07 Compare August 29, 2026 09:26
@chagong

Copy link
Copy Markdown
Contributor

Dependabot (@dependabot) rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch 3 times, most recently from bbc7c0c to 62ef4ad Compare September 3, 2026 11:21
Bumps [typescript](https://github.com/microsoft/TypeScript) from 4.9.5 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.9.5...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 force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from 62ef4ad to 067db86 Compare September 3, 2026 12:04
Use the official TypeScript 6 compatibility alias for API-based tooling while retaining the native TypeScript 7 compiler.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@chagong Changyong Gong (chagong) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved: the TypeScript 7 migration uses the official TypeScript 6 compatibility alias for API-based tooling, and all current-head checks pass.

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.

🟡 Changes recommended

The current dependency update results in mixed TypeScript versions (TS 7 for tsc via @typescript/native, TS 6 for require('typescript')), and the tsconfig lib setting is inconsistent with the new target.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the repository’s TypeScript toolchain and related compilation settings to support newer TypeScript behavior, including updated module import semantics and a higher JS emit target.

Changes:

  • Updates TypeScript-related devDependencies (including introducing @typescript/native and changing the typescript package source).
  • Updates tsconfig.json to emit ES2018 and enable esModuleInterop.
  • Adjusts several imports (glob, mocha, lru-cache) to use default-import style under esModuleInterop.
File summaries
File Description
tsconfig.json Raises JS output target to ES2018 and enables esModuleInterop/explicit strict settings.
test/unmanaged-folder-suite/index.ts Switches glob/mocha to default imports.
test/suite/index.ts Switches glob/mocha to default imports.
src/controller/debouncing.ts Switches lru-cache to a default import.
package.json Updates TypeScript-related devDependencies.
package-lock.json Lockfile updates reflecting the dependency changes.
Review details
  • Files reviewed: 4/6 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json

@chagong Changyong Gong (chagong) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved: the TypeScript 7 migration follows the official dual-compiler compatibility pattern, both direct compiler dependencies have required build-tooling roles, and all current-head checks pass.

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.

3 participants