chore(deps-dev): bump typescript from 4.9.5 to 7.0.2 - #1901
chore(deps-dev): bump typescript from 4.9.5 to 7.0.2#1901dependabot[bot] wants to merge 2 commits into
Conversation
1244bee to
85fa420
Compare
c184004 to
071da07
Compare
|
Dependabot (@dependabot) rebase |
bbc7c0c to
62ef4ad
Compare
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>
62ef4ad to
067db86
Compare
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>
Changyong Gong (chagong)
left a comment
There was a problem hiding this comment.
Approved: the TypeScript 7 migration uses the official TypeScript 6 compatibility alias for API-based tooling, and all current-head checks pass.
There was a problem hiding this comment.
🟡 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/nativeand changing thetypescriptpackage source). - Updates
tsconfig.jsonto emit ES2018 and enableesModuleInterop. - Adjusts several imports (
glob,mocha,lru-cache) to use default-import style underesModuleInterop.
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.
Changyong Gong (chagong)
left a comment
There was a problem hiding this comment.
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.
Bumps typescript from 4.9.5 to 7.0.2.
Release notes
Sourced from typescript's releases.
... (truncated)
Commits
1e4744dMerge branch 'main' into ts7-releasea5a219cmicrosoft/typescript-go#4558ecfe30dUpdate status localization5de25b5Hide executable name in TypeScript statusd7ce74aShow bundled TypeScript version for packaged servers29be66aCorrect TS 7 release version to 7.0.2ed2bd1bMerge branch 'main' into ts7-release8873075Bump the github-actions group across 1 directory with 3 updates (microsoft/ty...9427131Set up stable / nightly extension split, other prep (microsoft/typescript-go#...d4eaca5microsoft/typescript-go#4549Maintainer changes
This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.